src/HOL/Main.thy
author blanchet
Wed Nov 20 18:58:00 2013 +0100 (2013-11-20)
changeset 54538 ba7392b52a7c
parent 53012 cb82606b8215
child 54540 5d7006e9205e
permissions -rw-r--r--
factor 'List_Prefix' out of 'Sublist' and move to 'Main' (needed for codatatypes)
     1 header {* Main HOL *}
     2 
     3 theory Main
     4 imports Predicate_Compile Nitpick Extraction Lifting_Sum List_Prefix
     5 begin
     6 
     7 text {*
     8   Classical Higher-order Logic -- only ``Main'', excluding real and
     9   complex numbers etc.
    10 *}
    11 
    12 text {* See further \cite{Nipkow-et-al:2002:tutorial} *}
    13 
    14 no_notation
    15   bot ("\<bottom>") and
    16   top ("\<top>") and
    17   inf (infixl "\<sqinter>" 70) and
    18   sup (infixl "\<squnion>" 65) and
    19   Inf ("\<Sqinter>_" [900] 900) and
    20   Sup ("\<Squnion>_" [900] 900)
    21 
    22 no_syntax (xsymbols)
    23   "_INF1"     :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b"           ("(3\<Sqinter>_./ _)" [0, 10] 10)
    24   "_INF"      :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b"  ("(3\<Sqinter>_\<in>_./ _)" [0, 0, 10] 10)
    25   "_SUP1"     :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b"           ("(3\<Squnion>_./ _)" [0, 10] 10)
    26   "_SUP"      :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b"  ("(3\<Squnion>_\<in>_./ _)" [0, 0, 10] 10)
    27 
    28 end