author | haftmann |
Mon, 02 Aug 2021 10:01:06 +0000 | |
changeset 74101 | d804e93ae9ff |
parent 73691 | 2f9877db82a1 |
child 74102 | 0572c733d12d |
permissions | -rw-r--r-- |
65553 | 1 |
section \<open>Main HOL\<close> |
2 |
||
3 |
text \<open> |
|
4 |
Classical Higher-order Logic -- only ``Main'', excluding real and |
|
5 |
complex numbers etc. |
|
6 |
\<close> |
|
7 |
||
8 |
theory Main |
|
66817 | 9 |
imports |
10 |
Predicate_Compile |
|
70078 | 11 |
Quickcheck_Narrowing |
73691
2f9877db82a1
reimplemented Mirabelle as Isabelle/ML presentation hook + Isabelle/Scala tool, but sledgehammer is still inactive;
wenzelm
parents:
70336
diff
changeset
|
12 |
Mirabelle |
66817 | 13 |
Extraction |
14 |
Nunchaku |
|
69275 | 15 |
BNF_Greatest_Fixpoint |
16 |
Filter |
|
66817 | 17 |
Conditionally_Complete_Lattices |
18 |
Binomial |
|
19 |
GCD |
|
65553 | 20 |
begin |
21 |
||
69275 | 22 |
text \<open>Namespace cleanup\<close> |
23 |
||
24 |
hide_const (open) |
|
25 |
czero cinfinite cfinite csum cone ctwo Csum cprod cexp image2 image2p vimage2p Gr Grp collect |
|
26 |
fsts snds setl setr convol pick_middlep fstOp sndOp csquare relImage relInvImage Succ Shift |
|
27 |
shift proj id_bnf |
|
28 |
||
29 |
hide_fact (open) id_bnf_def type_definition_id_bnf_UNIV |
|
30 |
||
31 |
||
32 |
text \<open>Syntax cleanup\<close> |
|
33 |
||
65814 | 34 |
no_notation |
35 |
bot ("\<bottom>") and |
|
36 |
top ("\<top>") and |
|
37 |
inf (infixl "\<sqinter>" 70) and |
|
38 |
sup (infixl "\<squnion>" 65) and |
|
69745 | 39 |
Inf ("\<Sqinter>") and |
40 |
Sup ("\<Squnion>") and |
|
65814 | 41 |
ordLeq2 (infix "<=o" 50) and |
42 |
ordLeq3 (infix "\<le>o" 50) and |
|
43 |
ordLess2 (infix "<o" 50) and |
|
44 |
ordIso2 (infix "=o" 50) and |
|
45 |
card_of ("|_|") and |
|
69275 | 46 |
BNF_Cardinal_Arithmetic.csum (infixr "+c" 65) and |
47 |
BNF_Cardinal_Arithmetic.cprod (infixr "*c" 80) and |
|
48 |
BNF_Cardinal_Arithmetic.cexp (infixr "^c" 90) and |
|
49 |
BNF_Def.convol ("\<langle>(_,/ _)\<rangle>") |
|
65814 | 50 |
|
70078 | 51 |
bundle cardinal_syntax begin |
52 |
notation |
|
53 |
ordLeq2 (infix "<=o" 50) and |
|
54 |
ordLeq3 (infix "\<le>o" 50) and |
|
55 |
ordLess2 (infix "<o" 50) and |
|
56 |
ordIso2 (infix "=o" 50) and |
|
57 |
card_of ("|_|") and |
|
58 |
BNF_Cardinal_Arithmetic.csum (infixr "+c" 65) and |
|
59 |
BNF_Cardinal_Arithmetic.cprod (infixr "*c" 80) and |
|
60 |
BNF_Cardinal_Arithmetic.cexp (infixr "^c" 90) |
|
61 |
||
62 |
alias cinfinite = BNF_Cardinal_Arithmetic.cinfinite |
|
63 |
alias czero = BNF_Cardinal_Arithmetic.czero |
|
64 |
alias cone = BNF_Cardinal_Arithmetic.cone |
|
65 |
alias ctwo = BNF_Cardinal_Arithmetic.ctwo |
|
66 |
end |
|
67 |
||
65814 | 68 |
no_syntax |
69 |
"_INF1" :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Sqinter>_./ _)" [0, 10] 10) |
|
70 |
"_INF" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Sqinter>_\<in>_./ _)" [0, 0, 10] 10) |
|
71 |
"_SUP1" :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Squnion>_./ _)" [0, 10] 10) |
|
72 |
"_SUP" :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b" ("(3\<Squnion>_\<in>_./ _)" [0, 0, 10] 10) |
|
73 |
||
74101 | 74 |
thy_deps |
75 |
||
65553 | 76 |
end |