-
Notifications
You must be signed in to change notification settings - Fork 2
VerboseFormula
George Plotnikov edited this page Mar 29, 2021
·
3 revisions
let rec VerboseFormula formula =
match formula with
| Var(n) -> n
| Const(n) -> n.ToString()
| Disj(n, m) -> $"({VerboseFormula(n)} || {VerboseFormula(m)})"
| Conj(n, m) -> $"({VerboseFormula(n)} && {VerboseFormula(m)})"
| Neg(n) -> $"~{VerboseFormula(n)}"
| Bic(n, m) -> $"({VerboseFormula(n)} <=> {VerboseFormula(m)})"
| Impl(n, m) -> $"({VerboseFormula(n)} -> {VerboseFormula(m)})"
Functions