Repository navigation
Added
Tptp.Header, a public reader for the% Key : valueheader of a problem, an
axiom set or a TSTP solution:from_string/2,from_file/2,get/2,
entries/2(a% :line starts a further entry, as inRefs),
to_map/1,status/1(Status, or a solution'sResult, through the SZS
ontology) andspc/1(FOF_THM_RFO_SEQas form, status and features).TPTP0901, a header line with no:after its key, in a newTPTP09xxtier.
MGT087+1.p,MGT088+1.p,MGT105+1.pandMGT108+1.pof TPTP v9.3.1 write
Refs,SourceandNamesthat way; the reader had dropped those lines without
a word.
Changed
-
The parser is regenerated from TPTP BNF v9.3.1.6, which
Tptp.bnf_version/0now
reports; it was v9.3.1.3. This breaks callers that name what it removed:<comment_line>(::-) changed<fof_binary_assoc>(::=) is no longer defined<fof_binary_formula>(::=) no longer admits<fof_binary_assoc><fof_binary_formula>(::=) no longer admits<fof_binary_nonassoc><fof_binary_nonassoc>(::=) is no longer defined<ntf_logic_name>(:==) no longer admits$temporal_instant<printable_char>(:::) is no longer defined<tff_binary_assoc>(::=) is no longer defined<tff_binary_formula>(::=) no longer admits<tff_binary_assoc><tff_binary_formula>(::=) no longer admits<tff_binary_nonassoc><tff_binary_nonassoc>(::=) is no longer defined<thf_binary_assoc>(::=) is no longer defined<thf_binary_formula>(::=) no longer admits<thf_binary_assoc><thf_binary_formula>(::=) no longer admits<thf_binary_nonassoc><thf_binary_nonassoc>(::=) is no longer defined<viewable_char>(:::) is no longer defined
The BNF records what changed:
% v9.3.1.4 - Changed <*_binary_assoc> to <*_binary_list> and <*_binary_nonassoc> to % <*_binary_pair>, to reflect the intended non-associativity. % v9.3.1.5 - Changed <printable_char> ::: . to <comment_char> ::: [^\r\n], and replaced % <printable_char> with <comment_char> in all uses. Removed unused <viewable_char>. % Thanks to Jiazhen Xia for these fixes. % v9.3.1.6 - Removed $temporal_instant and added $intuitionistic as a <ntf_logic_name> -
The nodes of a binary formula with a non-associative connective are now of kind
:fof_binary_pair,:tff_binary_pairand:thf_binary_pair, where they were
:fof_binary_nonassoc,:tff_binary_nonassocand:thf_binary_nonassoc. The
children and the printed text are unchanged;<*_binary_list>, like
<*_binary_assoc>before it, passes its child through and has no node. -
$intuitionisticis an<ntf_logic_name>and$temporal_instantis not, so
Tptp.Bnf.Vocabulary.ntf_logic_name?/1andreserved_word?/1answer accordingly. -
Tptp.Tstpreads its header throughTptp.Header. A% : textline
now contributestextto the value rather than: text, andfrom_string/2
returnsTPTP0901among its diagnostics.
Removed
verify/, the Lean 4 project, and theproofsworkflow that built it. Its
models were transcriptions of the Elixir by hand, so nothing kept them in step
with the code they described; the oracle and property tests remain.