Packages

A span-preserving parser, linter and printer for the TPTP language, generated from the published BNF; with the SZS ontologies and TSTP readers.

Current section

Files

Jump to
tptp NOTICE
Raw

NOTICE

This package redistributes material from the TPTP World, which is not covered by
the MIT licence in LICENSE.

    The TPTP is copyrighted 1993-onwards, by Geoff Sutcliffe & Christian Suttner.
    Verbatim redistribution of the TPTP and parts of the TPTP is permitted provided
    that the redistribution is clearly attributed to the TPTP. Distribution of any
    modified version or modified part of the TPTP requires permission.

        -- https://tptp.org/cgi-bin/SeeTPTP?Category=Documents&File=ReadMe

Two files are redistributed, each carried unmodified:

    priv/bnf/SyntaxBNF-v10.0.0.1
        The TPTP syntax BNF, version 10.0.0.1, attributed to the TPTP and taken from
        https://github.com/TPTPWorld/SyntaxBNF at commit 22e70448 of 2026-11-12:
        https://raw.githubusercontent.com/TPTPWorld/SyntaxBNF/22e70448b43609ed0a7b3f777d190407db2db2da/SyntaxBNF-v10.0.0.1
        sha256 c90f7cd8fd75a75b329d1087561c43898c6a035eac1d4d05d2a8b5d4bb0c9679

    priv/bnf/SZSOntology.bnf
        The BNF of the three SZS ontologies, licensed CC BY 4.0 by its repository
        (https://creativecommons.org/licenses/by/4.0/; see the repository's LICENSE)
        and taken from https://github.com/TPTPWorld/SZSOntologies at commit
        df81444d of 2026-10-12:
        https://raw.githubusercontent.com/TPTPWorld/SZSOntologies/df81444d3dfe8a3bd553a0c331865c6cef3e11a9/BNF/SZSOntology.bnf
        sha256 8d7c0174f3f3ab7972db7334fa01e80198fa81fe121a8dc3281e3c9a6da55e14

They are vendored so that installing this package needs no network access. Nothing
in this repository edits them. The files under lib/, src/ and test/support/ that are
derived from them are produced by `mix tptp.gen` and are regenerated rather than
hand-maintained.

The repository file of the syntax BNF is the source of the page published at
https://tptp.org/UserDocs/TPTPLanguage/SyntaxBNF.html, and the two are not the same
text under the same version number: at the time of writing the page still lists
`unknown` among the alternatives of <source> and still carries the <status_value>
rule, both of which the repository file has dropped, the latter in favour of the SZS
BNF. The repository is the maintained copy and is the one vendored.

A further piece of TPTP material is carried without being redistributed as a file.
lib/tptp/szs/page.ex transcribes what the SZS ontology page at
https://szs.tptp.org publishes and the SZS BNF does not: the mnemonic of each of
the 112 values, and the description of each, the last of these quoted from the page
in the TPTP's own words. The transcription is maintained by hand and was last
checked against the page on 2026-09-10. It is offered as attributed verbatim
quotation of the published text; no wording is altered.

The SZS ontology moved to https://szs.tptp.org during 2026; the former address,
https://tptp.org/UserDocs/SZSOntology, now serves a notice pointing there.

Note that the BNF served by SeeTPTP under Category=Documents lags both of the above:
at the time of writing it is version 9.3.0.4.

TPTP World is the work of Geoff Sutcliffe. See https://tptp.org.