logic/Logic/readme.md
2025-08-15 11:35:50 +00:00

1.4 KiB

things that are in here:

general things

Logic.Parse

  • generic sequence parser

Logic.Graph

  • generic breadth-first search
  • verify graph paths reach the goal and have all extant edges

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

syntactic things

Logic.Statements.Laws

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

Logic.Language

Logic.Language.Derivation

  • verify derivations in formal languages

formal languages