https://github.com/kenny2github/validtnt
Parse and validate Typographic Number Theory proofs
https://github.com/kenny2github/validtnt
Last synced: about 1 year ago
JSON representation
Parse and validate Typographic Number Theory proofs
- Host: GitHub
- URL: https://github.com/kenny2github/validtnt
- Owner: Kenny2github
- Created: 2020-03-12T17:16:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T01:41:28.000Z (about 2 years ago)
- Last Synced: 2025-02-13T07:45:34.905Z (about 1 year ago)
- Language: Python
- Size: 126 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# validtnt
Parse and validate [Typographic Number Theory](https://github.com/Kenny2github/language-tnt#summary-of-tnt) proofs.
## Examples
This proof passes:
```tnt
∀a:~Sa=0 axiom 1
∃b:∀a:~Sa=b existence
<∀a:~Sa=0∧∃b:∀a:~Sa=b> joining
```
because all rules of TNT were applied correctly.
This proof doesn't:
```tnt
∀a:(a+0)=a axiom 2
∃b:∀a:(a+b)=a existence
∃b:(b+b)=b specification
```
because specification is not allowed when the term that specifies the variable contains any quantified variable.