Debian Codegraph @

contrib/wordn/help/ENTRIES/prove_wordn_const_cases.doc

raw
1 \DOC prove_wordn_const_cases
2
3 \TYPE {prove_wordn_const_cases : thm -> thm}
4
5 \LIBRARY wordn
6
7 \SYNOPSIS
8 Exhaustive cases theorem for wordn constants.
9
10 \DESCRIBE
11 {prove_wordn_const_cases} derives an exhaustive cases theorem for
12 constants of type {:wordn}. Use only for small n.
13 The input is a theorem of the form returned by {prove_word_cases_thm}:
14 {
15 |- !w. ?b0...bn-1. w = WORDn [b0;...;bn-1]
16 }
17 \noindent The corresponding output has the form:
18 {
19 |- !w. ((w = #0...0) \/ ...) \/ (... \/ w = #1...1)
20 }
21
22 \FAILURE
23
24
25 \EXAMPLE
26 {prove_wordn_const_cases word3_CASES} returns the following theorem:
27 {
28 |- !w.
29 (((w = #000) \/ (w = #001)) \/ (w = #010) \/ (w = #011)) \/
30 ((w = #100) \/ (w = #101)) \/
31 (w = #110) \/
32 (w = #111)
33 }
34
35 \SEEALSO
36 {prove_wordn_cases_thm}
37
38 \ENDDOC