File: DNF_CONV.doc

package info (click to toggle)
hol-light 20170109-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 36,568 kB
  • ctags: 8,549
  • sloc: ml: 540,018; cpp: 439; lisp: 286; java: 279; makefile: 262; sh: 229; yacc: 108; perl: 78; ansic: 57; sed: 39
file content (30 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
\DOC DNF_CONV

\TYPE {DNF_CONV : conv}

\SYNOPSIS
Converts a term already in negation normal form into disjunctive normal form.

\DESCRIBE
When applied to a term already in negation normal form (see {NNF_CONV}),
meaning that all other propositional connectives have been eliminated in favour
of disjunction, disjunction and negation, and negation is only applied to
atomic formulas, {DNF_CONV} puts the term into an equivalent disjunctive normal
form, which is a right-associated disjunction of conjunctions without
repetitions. No reduction by subsumption is performed, however, e.g. from
{a \/ a /\ b} to just {a}).

\FAILURE
Never fails; non-Boolean terms will just yield a reflexive theorem.

\EXAMPLE
{
  # DNF_CONV `(a \/ b) /\ (a \/ c /\ e)`;;
  val it : thm =
    |- (a \/ b) /\ (a \/ c /\ e) <=> a \/ a /\ b \/ a /\ c /\ e \/ b /\ c /\ e
}

\SEEALSO
CNF_CONV, NNF_CONV, WEAK_CNF_CONV, WEAK_DNF_CONV.

\ENDDOC