src/HOL/Main.thy
author wenzelm
Mon Dec 28 21:47:32 2015 +0100 (2015-12-28)
changeset 61955 e96292f32c3c
parent 60758 d8d85a8172b5
child 62921 499a63c30d55
permissions -rw-r--r--
former "xsymbols" syntax is used by default, and ASCII replacement syntax with print mode "ASCII";
wenzelm@60758
     1
section \<open>Main HOL\<close>
wenzelm@12024
     2
nipkow@15131
     3
theory Main
hoelzl@60036
     4
imports Predicate_Compile Quickcheck_Narrowing Extraction Coinduction Nitpick BNF_Greatest_Fixpoint Filter
nipkow@15131
     5
begin
wenzelm@9650
     6
wenzelm@60758
     7
text \<open>
wenzelm@29304
     8
  Classical Higher-order Logic -- only ``Main'', excluding real and
wenzelm@29304
     9
  complex numbers etc.
wenzelm@60758
    10
\<close>
wenzelm@29304
    11
wenzelm@60758
    12
text \<open>See further @{cite "Nipkow-et-al:2002:tutorial"}\<close>
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@55078
    25
  card_of ("|_|") and
blanchet@55057
    26
  csum (infixr "+c" 65) and
blanchet@55057
    27
  cprod (infixr "*c" 80) and
blanchet@55086
    28
  cexp (infixr "^c" 90) and
wenzelm@57641
    29
  convol ("\<langle>(_,/ _)\<rangle>")
haftmann@51112
    30
blanchet@55087
    31
hide_const (open)
blanchet@58152
    32
  czero cinfinite cfinite csum cone ctwo Csum cprod cexp image2 image2p vimage2p Gr Grp collect
blanchet@58152
    33
  fsts snds setl setr convol pick_middlep fstOp sndOp csquare relImage relInvImage Succ Shift
blanchet@58353
    34
  shift proj id_bnf
blanchet@58353
    35
blanchet@58353
    36
hide_fact (open) id_bnf_def type_definition_id_bnf_UNIV
blanchet@55087
    37
wenzelm@61955
    38
no_syntax
haftmann@51112
    39
  "_INF1"     :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b"           ("(3\<Sqinter>_./ _)" [0, 10] 10)
haftmann@51112
    40
  "_INF"      :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b"  ("(3\<Sqinter>_\<in>_./ _)" [0, 0, 10] 10)
haftmann@51112
    41
  "_SUP1"     :: "pttrns \<Rightarrow> 'b \<Rightarrow> 'b"           ("(3\<Squnion>_./ _)" [0, 10] 10)
haftmann@51112
    42
  "_SUP"      :: "pttrn \<Rightarrow> 'a set \<Rightarrow> 'b \<Rightarrow> 'b"  ("(3\<Squnion>_\<in>_./ _)" [0, 0, 10] 10)
haftmann@51112
    43
wenzelm@9650
    44
end