readme: messing w markdown

This commit is contained in:
hi 2025-08-12 08:00:28 +00:00
parent a553a17a15
commit 6f1bca4cbb

View file

@ -2,38 +2,38 @@
things that are in here: things that are in here:
### general statement things ## general statement things
#### [Logic/Statement/Parse.hs](Logic/Statement/Serialize.hs) ### [Logic/Statement/Parse.hs](Logic/Statement/Serialize.hs)
- parse string -> statement - parse string -> statement
- serialize a statement -> plaintext, LaTeX - serialize a statement -> plaintext, LaTeX
#### [Logic/Language/Impl/L.hs](Logic/Language/Impl/L.hs) ### [Logic/Language/Impl/L.hs](Logic/Language/Impl/L.hs)
- serialize a statement -> L (the formal language) - serialize a statement -> L (the formal language)
- parse L (the formal language) string -> statement - parse L (the formal language) string -> statement
### semantic things (statements have meaning I guess) ## semantic things (statements have meaning I guess)
#### [Logic/Statement/Eval.hs](Logic/Statement/Eval.hs) ### [Logic/Statement/Eval.hs](Logic/Statement/Eval.hs)
- assign truth values and evaluate statements - assign truth values and evaluate statements
- determine tautology, contradiction, or contingent - determine tautology, contradiction, or contingent
#### [Logic/Statement/Serialize.hs](Logic/Statement/Serialize.hs) ### [Logic/Statement/Serialize.hs](Logic/Statement/Serialize.hs)
- generate a LaTeX truth table from a statement - generate a LaTeX truth table from a statement
#### [Logic/Statements/Laws.hs](Logic/Statements/Laws.hs) ### [Logic/Statements/Laws.hs](Logic/Statements/Laws.hs)
- match/replace patterns in statements (e.g. logical laws) - match/replace patterns in statements (e.g. logical laws)
- verify logical-law equivalence of statements (TODO) - verify logical-law equivalence of statements (TODO)
- find logical-law equivalence of statements with breadth-first search (slow) - find logical-law equivalence of statements with breadth-first search (slow)
### syntactic things (statements are strings of symbols) ## syntactic things (statements are strings of symbols)
#### [Logic/Language.hs](Logic/Language.hs) ### [Logic/Language.hs](Logic/Language.hs)
- implement formal languages (symbols, axioms schemas, and inference rules) - implement formal languages (symbols, axioms schemas, and inference rules)
with a clunky api, see also with a clunky api, see also
@ -43,26 +43,26 @@ things that are in here:
- verify derivations in formal languages - verify derivations in formal languages
### formal languages implemented ## formal languages implemented
- [the MIU system](Logic/Language/Impl/MIU.hs) (from "Gödel, Escher, Bach") - [the MIU system](Logic/Language/Impl/MIU.hs) (from "Gödel, Escher, Bach")
- [L](Logic/Language/Impl/L.hs) - [L](Logic/Language/Impl/L.hs)
### general things ## general things
#### [Logic/Parse.hs](Logic/Parse.hs) ### [Logic/Parse.hs](Logic/Parse.hs)
- generic sequence parser - generic sequence parser
#### [Logic/Graph.hs](Logic/Graph.hs) ### [Logic/Graph.hs](Logic/Graph.hs)
- generic breadth-first search - generic breadth-first search
## requirements # requirements
a haskell compiler e.g. GHC a haskell compiler e.g. GHC
## compile it # compile it
```sh ```sh
make make
@ -70,7 +70,7 @@ make
or look in [`Makefile`](Makefile) or look in [`Makefile`](Makefile)
## usage # usage
only this has been implemented in the main function: only this has been implemented in the main function: