Searched refs:theorems (Results 1 - 21 of 21) sorted by relevance

/ontohub/lib/hets/
H A Dprove_options.rb4 # theorems-array in the prove-request.
58 prepare_sentences(:theorems)
59 options.delete(:theorems) if single_theorem_input_type?
89 if @options[:theorems]
90 @options[:theorems].size
92 @ontology.theorems.original.count
/ontohub/db/seeds/
H A D041-proving.rb10 theorem = ontology.theorems.find_by_name('antisymmetric')
17 theorem = ontology.theorems.find_by_name('beer < liquid')
27 theorem = ontology.theorems.find_by_name('beer < liquid')
/ontohub/app/helpers/
H A Dproofs_helper.rb16 def theorems method in class:ProofsHelper
20 resource.proof_obligation.theorems
H A Dnavigation_helper.rb60 pages << [:theorems, url_for([resource_chain.last, :theorems])]
68 if %i(axioms theorems).include?(page.first)
146 %w(classes axioms theorems proof_attempts prover_outputs).include?(controller_name)
/ontohub/spec/lib/hets/
H A Dprove_options_spec.rb16 theorems: [theorem.name],
29 theorems: [theorem],
32 let!(:theorem_names) { options[:theorems].map(&:name) }
51 it 'sets :theorems to the theorems names' do
52 expect(prove_options.options[:theorems]).to eq(theorem_names)
63 context 'with three theorems' do
65 theorems: [theorem, theorem2],
74 context 'without theorems' do
/ontohub/app/controllers/
H A Dproofs_controller.rb35 url_for([resource.proof_obligation.ontology, :theorems])
/ontohub/spec/models/ontology_version/
H A Dproving_spec.rb15 it 'have no theorems parameter' do
16 expect(prove_options.options[:theorems]).to be(nil)
/ontohub/spec/factories/
H A Daxiom_selection_factory.rb34 theorem = ontology.theorems.first
/ontohub/spec/lib/
H A Dproof_status_determining_spec.rb39 let(:theorem) { ontology.theorems.original.first }
79 let(:theorem) { ontology.theorems.original.first }
110 let(:theorem) { ontology.theorems.original.first }
138 let(:theorem) { ontology.theorems.original.first }
H A Daxiom_selection_proof_status_spec.rb30 let(:theorem) { ontology.theorems.original.find_by_name('rightunit') }
H A Dproof_spec.rb24 ontology.theorems << theorem2
66 let(:theorems_count) { ontology.theorems.original.count }
76 it 'proof_attempts has "#provers * #theorems" many entries' do
/ontohub/app/models/
H A Dontology_version.rb20 has_many :theorems, through: :ontology
22 has_many :theorems, through: :ontology
H A Dtheorem.rb40 ontology: ontology, theorems: [self])
/ontohub/app/models/ontology/
H A Dassociations_and_attributes.rb41 has_many :theorems,
/ontohub/spec/models/
H A Dontology_spec.rb387 expect(version.ontology.theorems.count).to eq(1)
391 expect(version.ontology.theorems.first.provable).to be(true)
395 expect(version.ontology.theorems.first.proof_status.identifier).
422 expect(version.ontology.theorems.count).to eq(1)
426 expect(version.ontology.theorems.first.provable).to be(false)
430 expect(version.ontology.theorems.first.proof_status.identifier).
552 context 'theorems count' do
554 expect(ontology.theorems.original.count).to eq(0)
558 expect(ontology.theorems_count).to eq(ontology.theorems.original.count)
695 expect(child_with_theorem.theorems
[all...]
H A Dtheorem_spec.rb21 it 'have the theorem name as theorems parameter' do
22 expect(prove_options.options[:theorems]).to eq([theorem.name])
/ontohub/app/fake_records/
H A Dproof.rb125 proof_obligation.theorems.each do |theorem|
/ontohub/lib/hets/prove/
H A Dprove_evaluation_helper.rb32 ontology.theorems.original.find_by_name(proof_info[:theorem_name])
/ontohub/spec/controllers/
H A Dproofs_controller_spec.rb50 it 'redirect to the theorems view' do
51 expect(response).to redirect_to(url_for([ontology, :theorems]))
/ontohub/lib/hets/dg/
H A Dnode_evaluator.rb151 theorem = ontology.theorems.update_or_create_from_hash(
/ontohub/config/
H A Droutes.rb114 specified_get '/ref/mmt/:repository_id/*path' => 'theorems#index',
125 Currently the representation is a list of all theorems in the ontology.
165 axioms theorems
461 specified_get '/:repository_id/*locid' => 'theorems#index',
467 reroute_on_mime 'application/json', to: 'api/v1/theorems#show'
720 resources :theorems, only: :index do

Completed in 18 milliseconds