proof_attempt.rb revision 4c77a4730a0f49a0c61423da62f60568652d3d2c
numbering_parent_column 'sentence_id'
class_name: 'Axiom',
association_foreign_key: 'sentence_id',
join_table: 'used_axioms_proof_attempts'
class_name: 'Theorem',
association_foreign_key: 'sentence_id',
join_table: 'used_axioms_proof_attempts'
:number,
:state,
end
end
"#{theorem.locid}//#{self.class.to_s.underscore.dasherize}-#{number}"
end
end
ontology_version.provers << prover
ontology_version.save!
end
end
def retry_failed
ProofExecutionWorker.perform_async(id)
end
def proper_subset_of_axioms_selected?
selected = proof_attempt_configuration.axiom_selection.axioms
available = theorem.ontology.axioms
selected.any? && selected.count < available.count
end
end