TPTP EditorTPTP Editor is a VSCode extension that provides a streamlined development environment for working with the TPTP language, a standard format used extensively in automated theorem proving and formal logic research. Built by Daniel Li in collaboration with Dr. Geoff Sutcliffe, the creator of the TPTP library, the extension features full syntax highlighting for both CNF, FOF, THF, etc. formats, enabling clear visual structuring of axioms, hypotheses, and conjectures. It recognizes '.p' & '.s' problem files, supports pretty-printing and safe character escaping, and integrates directly with the SystemOnTPTP + SystemOnTSTP service, allowing users to author, submit, and view solver results without leaving the editor. Designed for researchers, students, and logic developers. TPTP Editor enhances productivity and readability in formal logic workflows within the comfort of VS Code. Features- TPTP Language Features
TPTP Extension Functionality
Theorem Proving & Solution Processing
RequirementsNo dependencies required — just install and start editing Design and Tradeoffs
Extension SettingsThis extension does not contribute any custom settings. Release Notes0.0.1Initial release with base syntax support for TPTP problem files. 0.0.2Updated logo and extension image. Changed README. 0.0.3Added Change Log. Removed Known Issues. 0.0.4Implemented Multiline reading. Added file icon. 0.0.5Added pretty-printing. Fixed newline issue. 0.0.6Implemented problem prover inside editor context menu. 0.0.7Added continute to option for TPTP Format and IDV Image. 0.0.8Added solving for problems using multiple provers. 0.0.9Added processing solutions using multiple provers. Added importing problems and solutions. 0.1.0Refined readme and fixed image path. 0.1.1Added importing problems and solutions. 0.1.2Edited description in package.json. 0.1.3Changed the lists of tools/systems for each of the proving and solving interfaces. 0.1.4Fixed issue where when invoked from the Command Palette, no URI is passed. 0.1.5Added dynamic loading of ATP systems from tptp.org by using fetch. 0.1.7Automated linting, and standardized releases with GitHub actions. 0.1.8Fixed issue where some greater-than-signs are not handled correctly by command "Format TPTP File". 0.1.9Added local pretty-printer so that "Format TPTP File" works without Internet connection. The original remote pretty-printer is kept as a fallback. 0.1.10Added error handling for "Format TPTP File": display error message and jump to position of syntax error. 0.1.11Added title-menu button for "TPTP: Pretty-Print TPTP File"; improved error handling for pretty-printer. 0.1.12Added title-menu button for "TPTP: Type-Check with LEO-III"; improved error handling for pretty-printer; retired legacy formatter. For TPTP LanguageThe Thousands of Problems for Theorem Provers (TPTP) World is the established infrastructure used by the Automated Theorem Proving (ATP) community for research, development, and deployment of ATP systems. The TPTP format is widely used in logic and automated reasoning. Learn more at http://www.tptp.org Development Notes
Enjoy using TPTP Editor! |




