src/HOL/Main.thy
author blanchet
Mon Jan 20 18:24:56 2014 +0100 (2014-01-20)
changeset 55065 6d0af3c10864
parent 55062 6d3fad6f01c9
child 55066 4e5ddf3162ac
permissions -rw-r--r--
compile
wenzelm@12024
     1
header {* Main HOL *}
wenzelm@12024
     2
nipkow@15131
     3
theory Main
blanchet@55062
     4
imports Predicate_Compile Extraction Lifting_Sum List_Prefix Coinduction BNF_LFP BNF_GFP
nipkow@15131
     5
begin
wenzelm@9650
     6
wenzelm@29304
     7
text {*
wenzelm@29304
     8
  Classical Higher-order Logic -- only ``Main'', excluding real and
wenzelm@29304
     9
  complex numbers etc.
wenzelm@29304
    10
*}
wenzelm@29304
    11
haftmann@27367
    12
text {* See further \cite{Nipkow-et-al:2002:tutorial} *}
haftmann@25964
    13
haftmann@51112
    14
no_notation
haftmann@51112
    15
  bot ("\<bottom>") and
haftmann@51112
    16
  top ("\<top>") and
haftmann@51112
    17
  inf (infixl "\<sqinter>" 70) and
haftmann@51112
    18
  sup (infixl "\<squnion>" 65) and
haftmann@51112
    19
  Inf ("\<Sqinter>_" [900] 900) and
blanchet@55057
    20
  Sup ("\<Squnion>_" [900] 900) and
blanchet@55065
    21
  ordLeq2 (infix "<=o" 50) and
blanchet@55065
    22
  ordLeq3 (infix "\<le>o" 50) and
blanchet@55065
    23
  ordLess2 (infix "<o" 50) and
blanchet@55065
    24
  ordIso2 (infix "=o" 50) and
blanchet@55057
    25
  csum (infixr "+c" 65) and
blanchet@55057
    26
  cprod (infixr "*c" 80) and
blanchet@55057
    27
  cexp (infixr "^c" 90)
haftmann@51112
    28
haftmann@51112
    29
no_syntax (xsymbols)
haftmann@51112
    30
  "_INF1"     :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b"           ("(3\<Sqinter>_./ _)" [0, 10] 10)
haftmann@51112
    31
  "_INF"      :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b"  ("(3\<Sqinter>_\<in>_./ _)" [0, 0, 10] 10)
haftmann@51112
    32
  "_SUP1"     :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b"           ("(3\<Squnion>_./ _)" [0, 10] 10)
haftmann@51112
    33
  "_SUP"      :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b"  ("(3\<Squnion>_\<in>_./ _)" [0, 0, 10] 10)
haftmann@51112
    34
wenzelm@9650
    35
end