author | blanchet |
Wed, 24 Sep 2014 15:45:55 +0200 | |
changeset 58425 | 246985c6b20b |
parent 58377 | c6f93b8d2d8e |
child 58623 | 2db1df2c8467 |
permissions | -rw-r--r-- |
12024 | 1 |
header {* Main HOL *} |
2 |
||
15131 | 3 |
theory Main |
58128 | 4 |
imports Predicate_Compile Quickcheck_Narrowing Extraction Lifting_Sum Coinduction Nitpick |
58377
c6f93b8d2d8e
moved old 'size' generator together with 'old_datatype'
blanchet
parents:
58372
diff
changeset
|
5 |
BNF_Greatest_Fixpoint |
15131 | 6 |
begin |
9650
6f0b89f2a1f9
Main now new-style theory; added Main.ML for compatibility;
wenzelm
parents:
9619
diff
changeset
|
7 |
|
29304 | 8 |
text {* |
9 |
Classical Higher-order Logic -- only ``Main'', excluding real and |
|
10 |
complex numbers etc. |
|
11 |
*} |
|
12 |
||
27367 | 13 |
text {* See further \cite{Nipkow-et-al:2002:tutorial} *} |
25964 | 14 |
|
51112 | 15 |
no_notation |
16 |
bot ("\<bottom>") and |
|
17 |
top ("\<top>") and |
|
18 |
inf (infixl "\<sqinter>" 70) and |
|
19 |
sup (infixl "\<squnion>" 65) and |
|
20 |
Inf ("\<Sqinter>_" [900] 900) and |
|
55057 | 21 |
Sup ("\<Squnion>_" [900] 900) and |
55065 | 22 |
ordLeq2 (infix "<=o" 50) and |
23 |
ordLeq3 (infix "\<le>o" 50) and |
|
24 |
ordLess2 (infix "<o" 50) and |
|
25 |
ordIso2 (infix "=o" 50) and |
|
55078 | 26 |
card_of ("|_|") and |
55057 | 27 |
csum (infixr "+c" 65) and |
28 |
cprod (infixr "*c" 80) and |
|
55086 | 29 |
cexp (infixr "^c" 90) and |
57641
dc59f147b27d
more robust notation BNF_Def.convol, which is private to main HOL, but may cause syntax ambiguities nonetheless (e.g. List.thy);
wenzelm
parents:
57208
diff
changeset
|
30 |
convol ("\<langle>(_,/ _)\<rangle>") |
51112 | 31 |
|
55087
252c7fec4119
renamed 'regular' to 'regularCard' to avoid clashes (e.g. in Meson_Test)
blanchet
parents:
55086
diff
changeset
|
32 |
hide_const (open) |
58152 | 33 |
czero cinfinite cfinite csum cone ctwo Csum cprod cexp image2 image2p vimage2p Gr Grp collect |
34 |
fsts snds setl setr convol pick_middlep fstOp sndOp csquare relImage relInvImage Succ Shift |
|
58353 | 35 |
shift proj id_bnf |
36 |
||
37 |
hide_fact (open) id_bnf_def type_definition_id_bnf_UNIV |
|
55087
252c7fec4119
renamed 'regular' to 'regularCard' to avoid clashes (e.g. in Meson_Test)
blanchet
parents:
55086
diff
changeset
|
38 |
|
51112 | 39 |
no_syntax (xsymbols) |
40 |
"_INF1" :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Sqinter>_./ _)" [0, 10] 10) |
|
41 |
"_INF" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Sqinter>_\<in>_./ _)" [0, 0, 10] 10) |
|
42 |
"_SUP1" :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Squnion>_./ _)" [0, 10] 10) |
|
43 |
"_SUP" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Squnion>_\<in>_./ _)" [0, 0, 10] 10) |
|
44 |
||
9650
6f0b89f2a1f9
Main now new-style theory; added Main.ML for compatibility;
wenzelm
parents:
9619
diff
changeset
|
45 |
end |