logic/Logic
2025-08-12 13:36:06 +00:00
..
Language tidy: del unused Eq, add custom Show 2025-08-12 13:29:08 +00:00
Statement tidy: del unused Eq, add custom Show 2025-08-12 13:29:08 +00:00
Graph.hs bfs: use a Set for visited nodes 2025-08-12 13:28:23 +00:00
Language.hs tidy: del unused Eq, add custom Show 2025-08-12 13:29:08 +00:00
Parse.hs tidy: Logic.Parse 2025-08-12 13:36:06 +00:00
readme.md readme: relative markdown links in Logic/ 2025-08-12 08:15:34 +00:00
Statement.hs bfs: use a Set for visited nodes 2025-08-12 13:28:23 +00:00

things that are in here:

general things

Logic.Parse

  • generic sequence parser

Logic.Graph

  • generic breadth-first search

statement things

Logic.Statement.Parse

  • parse string -> statement
  • serialize a statement -> plaintext, LaTeX

Logic.Language.Impl.L

  • serialize a statement -> L (the formal language)
  • parse L (the formal language) string -> statement

semantic statement things

Logic.Statement.Eval

  • assign truth values and evaluate statements
  • determine tautology, contradiction, or contingent

Logic.Statement.Serialize

  • generate a LaTeX truth table from a statement

Logic.Statements.Laws

  • match/replace patterns in statements (e.g. logical laws)
  • verify logical-law equivalence of statements (TODO)
  • find logical-law equivalence of statements with breadth-first search (slow)

syntactic things

Logic.Language

Logic.Language.Derivation

  • verify derivations in formal languages

formal languages