Propositional Logic

using Deductive

@symbols a b

tableau(a ∧ b)      # true
tableau(a ∧ b, ¬a)  # false, because contradiction

println(truthtable(a ∧ b))
#= Outputs:
 Row │ a      b      a ∧ b 
     │ Bool   Bool   Bool  
─────┼─────────────────────
   1 │ false  false  false
   2 │  true  false  false
   3 │ false   true  false
   4 │  true   true   true
=#

Several operators are exported and their use is required in defining statements.

SymbolCompletion SequenceDescription
¬\negNegation
\wedgeLogical Conjunction
\veeLogical Disjunction
\rightarrowMaterial Implication
\leftrightarrowMaterial Equivalence