src/HOL/Library/Continuity.thy
author paulson
Mon, 06 Aug 2001 12:42:43 +0200
changeset 11461 ffeac9aa1967
parent 11355 778c369559d9
child 14706 71590b7733b7
permissions -rw-r--r--
removed an unsuitable default simprule
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
     1
(*  Title:      HOL/Library/Continuity.thy
11355
wenzelm
parents: 11351
diff changeset
     2
    ID:         $Id$
wenzelm
parents: 11351
diff changeset
     3
    Author:     David von Oheimb, TU Muenchen
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
     4
    License:    GPL (GNU GENERAL PUBLIC LICENSE)
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
     5
*)
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
     6
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
     7
header {*
11355
wenzelm
parents: 11351
diff changeset
     8
  \title{Continuity and iterations (of set transformers)}
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
     9
  \author{David von Oheimb}
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    10
*}
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    11
11355
wenzelm
parents: 11351
diff changeset
    12
theory Continuity = Main:
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    13
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    14
subsection "Chains"
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    15
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    16
constdefs
11355
wenzelm
parents: 11351
diff changeset
    17
  up_chain :: "(nat => 'a set) => bool"
wenzelm
parents: 11351
diff changeset
    18
  "up_chain F == \<forall>i. F i \<subseteq> F (Suc i)"
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    19
11355
wenzelm
parents: 11351
diff changeset
    20
lemma up_chainI: "(!!i. F i \<subseteq> F (Suc i)) ==> up_chain F"
wenzelm
parents: 11351
diff changeset
    21
  by (simp add: up_chain_def)
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    22
11355
wenzelm
parents: 11351
diff changeset
    23
lemma up_chainD: "up_chain F ==> F i \<subseteq> F (Suc i)"
wenzelm
parents: 11351
diff changeset
    24
  by (simp add: up_chain_def)
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    25
11355
wenzelm
parents: 11351
diff changeset
    26
lemma up_chain_less_mono [rule_format]:
wenzelm
parents: 11351
diff changeset
    27
    "up_chain F ==> x < y --> F x \<subseteq> F y"
wenzelm
parents: 11351
diff changeset
    28
  apply (induct_tac y)
wenzelm
parents: 11351
diff changeset
    29
  apply (blast dest: up_chainD elim: less_SucE)+
wenzelm
parents: 11351
diff changeset
    30
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    31
11355
wenzelm
parents: 11351
diff changeset
    32
lemma up_chain_mono: "up_chain F ==> x \<le> y ==> F x \<subseteq> F y"
wenzelm
parents: 11351
diff changeset
    33
  apply (drule le_imp_less_or_eq)
wenzelm
parents: 11351
diff changeset
    34
  apply (blast dest: up_chain_less_mono)
wenzelm
parents: 11351
diff changeset
    35
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    36
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    37
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    38
constdefs
11355
wenzelm
parents: 11351
diff changeset
    39
  down_chain :: "(nat => 'a set) => bool"
wenzelm
parents: 11351
diff changeset
    40
  "down_chain F == \<forall>i. F (Suc i) \<subseteq> F i"
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    41
11355
wenzelm
parents: 11351
diff changeset
    42
lemma down_chainI: "(!!i. F (Suc i) \<subseteq> F i) ==> down_chain F"
wenzelm
parents: 11351
diff changeset
    43
  by (simp add: down_chain_def)
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    44
11355
wenzelm
parents: 11351
diff changeset
    45
lemma down_chainD: "down_chain F ==> F (Suc i) \<subseteq> F i"
wenzelm
parents: 11351
diff changeset
    46
  by (simp add: down_chain_def)
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    47
11355
wenzelm
parents: 11351
diff changeset
    48
lemma down_chain_less_mono [rule_format]:
wenzelm
parents: 11351
diff changeset
    49
    "down_chain F ==> x < y --> F y \<subseteq> F x"
wenzelm
parents: 11351
diff changeset
    50
  apply (induct_tac y)
wenzelm
parents: 11351
diff changeset
    51
  apply (blast dest: down_chainD elim: less_SucE)+
wenzelm
parents: 11351
diff changeset
    52
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    53
11355
wenzelm
parents: 11351
diff changeset
    54
lemma down_chain_mono: "down_chain F ==> x \<le> y ==> F y \<subseteq> F x"
wenzelm
parents: 11351
diff changeset
    55
  apply (drule le_imp_less_or_eq)
wenzelm
parents: 11351
diff changeset
    56
  apply (blast dest: down_chain_less_mono)
wenzelm
parents: 11351
diff changeset
    57
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    58
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    59
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    60
subsection "Continuity"
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    61
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    62
constdefs
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    63
  up_cont :: "('a set => 'a set) => bool"
11355
wenzelm
parents: 11351
diff changeset
    64
  "up_cont f == \<forall>F. up_chain F --> f (\<Union>(range F)) = \<Union>(f ` range F)"
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    65
11355
wenzelm
parents: 11351
diff changeset
    66
lemma up_contI:
wenzelm
parents: 11351
diff changeset
    67
    "(!!F. up_chain F ==> f (\<Union>(range F)) = \<Union>(f ` range F)) ==> up_cont f"
wenzelm
parents: 11351
diff changeset
    68
  apply (unfold up_cont_def)
wenzelm
parents: 11351
diff changeset
    69
  apply blast
wenzelm
parents: 11351
diff changeset
    70
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    71
11355
wenzelm
parents: 11351
diff changeset
    72
lemma up_contD:
wenzelm
parents: 11351
diff changeset
    73
    "up_cont f ==> up_chain F ==> f (\<Union>(range F)) = \<Union>(f ` range F)"
wenzelm
parents: 11351
diff changeset
    74
  apply (unfold up_cont_def)
wenzelm
parents: 11351
diff changeset
    75
  apply auto
wenzelm
parents: 11351
diff changeset
    76
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    77
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    78
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    79
lemma up_cont_mono: "up_cont f ==> mono f"
11355
wenzelm
parents: 11351
diff changeset
    80
  apply (rule monoI)
wenzelm
parents: 11351
diff changeset
    81
  apply (drule_tac F = "\<lambda>i. if i = 0 then A else B" in up_contD)
wenzelm
parents: 11351
diff changeset
    82
   apply (rule up_chainI)
wenzelm
parents: 11351
diff changeset
    83
   apply  simp+
wenzelm
parents: 11351
diff changeset
    84
  apply (drule Un_absorb1)
11461
ffeac9aa1967 removed an unsuitable default simprule
paulson
parents: 11355
diff changeset
    85
  apply (auto simp add: nat_not_singleton)
11355
wenzelm
parents: 11351
diff changeset
    86
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    87
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    88
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    89
constdefs
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    90
  down_cont :: "('a set => 'a set) => bool"
11355
wenzelm
parents: 11351
diff changeset
    91
  "down_cont f ==
wenzelm
parents: 11351
diff changeset
    92
    \<forall>F. down_chain F --> f (Inter (range F)) = Inter (f ` range F)"
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
    93
11355
wenzelm
parents: 11351
diff changeset
    94
lemma down_contI:
wenzelm
parents: 11351
diff changeset
    95
  "(!!F. down_chain F ==> f (Inter (range F)) = Inter (f ` range F)) ==>
wenzelm
parents: 11351
diff changeset
    96
    down_cont f"
wenzelm
parents: 11351
diff changeset
    97
  apply (unfold down_cont_def)
wenzelm
parents: 11351
diff changeset
    98
  apply blast
wenzelm
parents: 11351
diff changeset
    99
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   100
11355
wenzelm
parents: 11351
diff changeset
   101
lemma down_contD: "down_cont f ==> down_chain F ==>
wenzelm
parents: 11351
diff changeset
   102
    f (Inter (range F)) = Inter (f ` range F)"
wenzelm
parents: 11351
diff changeset
   103
  apply (unfold down_cont_def)
wenzelm
parents: 11351
diff changeset
   104
  apply auto
wenzelm
parents: 11351
diff changeset
   105
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   106
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   107
lemma down_cont_mono: "down_cont f ==> mono f"
11355
wenzelm
parents: 11351
diff changeset
   108
  apply (rule monoI)
wenzelm
parents: 11351
diff changeset
   109
  apply (drule_tac F = "\<lambda>i. if i = 0 then B else A" in down_contD)
wenzelm
parents: 11351
diff changeset
   110
   apply (rule down_chainI)
wenzelm
parents: 11351
diff changeset
   111
   apply simp+
wenzelm
parents: 11351
diff changeset
   112
  apply (drule Int_absorb1)
11461
ffeac9aa1967 removed an unsuitable default simprule
paulson
parents: 11355
diff changeset
   113
  apply (auto simp add: nat_not_singleton)
11355
wenzelm
parents: 11351
diff changeset
   114
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   115
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   116
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   117
subsection "Iteration"
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   118
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   119
constdefs
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   120
  up_iterate :: "('a set => 'a set) => nat => 'a set"
11355
wenzelm
parents: 11351
diff changeset
   121
  "up_iterate f n == (f^n) {}"
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   122
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   123
lemma up_iterate_0 [simp]: "up_iterate f 0 = {}"
11355
wenzelm
parents: 11351
diff changeset
   124
  by (simp add: up_iterate_def)
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   125
11355
wenzelm
parents: 11351
diff changeset
   126
lemma up_iterate_Suc [simp]: "up_iterate f (Suc i) = f (up_iterate f i)"
wenzelm
parents: 11351
diff changeset
   127
  by (simp add: up_iterate_def)
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   128
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   129
lemma up_iterate_chain: "mono F ==> up_chain (up_iterate F)"
11355
wenzelm
parents: 11351
diff changeset
   130
  apply (rule up_chainI)
wenzelm
parents: 11351
diff changeset
   131
  apply (induct_tac i)
wenzelm
parents: 11351
diff changeset
   132
   apply simp+
wenzelm
parents: 11351
diff changeset
   133
  apply (erule (1) monoD)
wenzelm
parents: 11351
diff changeset
   134
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   135
11355
wenzelm
parents: 11351
diff changeset
   136
lemma UNION_up_iterate_is_fp:
wenzelm
parents: 11351
diff changeset
   137
  "up_cont F ==>
wenzelm
parents: 11351
diff changeset
   138
    F (UNION UNIV (up_iterate F)) = UNION UNIV (up_iterate F)"
wenzelm
parents: 11351
diff changeset
   139
  apply (frule up_cont_mono [THEN up_iterate_chain])
wenzelm
parents: 11351
diff changeset
   140
  apply (drule (1) up_contD)
wenzelm
parents: 11351
diff changeset
   141
  apply simp
wenzelm
parents: 11351
diff changeset
   142
  apply (auto simp del: up_iterate_Suc simp add: up_iterate_Suc [symmetric])
wenzelm
parents: 11351
diff changeset
   143
  apply (case_tac xa)
wenzelm
parents: 11351
diff changeset
   144
   apply auto
wenzelm
parents: 11351
diff changeset
   145
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   146
11355
wenzelm
parents: 11351
diff changeset
   147
lemma UNION_up_iterate_lowerbound:
wenzelm
parents: 11351
diff changeset
   148
    "mono F ==> F P = P ==> UNION UNIV (up_iterate F) \<subseteq> P"
wenzelm
parents: 11351
diff changeset
   149
  apply (subgoal_tac "(!!i. up_iterate F i \<subseteq> P)")
wenzelm
parents: 11351
diff changeset
   150
   apply fast
wenzelm
parents: 11351
diff changeset
   151
  apply (induct_tac i)
wenzelm
parents: 11351
diff changeset
   152
  prefer 2 apply (drule (1) monoD)
wenzelm
parents: 11351
diff changeset
   153
   apply auto
wenzelm
parents: 11351
diff changeset
   154
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   155
11355
wenzelm
parents: 11351
diff changeset
   156
lemma UNION_up_iterate_is_lfp:
wenzelm
parents: 11351
diff changeset
   157
    "up_cont F ==> lfp F = UNION UNIV (up_iterate F)"
wenzelm
parents: 11351
diff changeset
   158
  apply (rule set_eq_subset [THEN iffD2])
wenzelm
parents: 11351
diff changeset
   159
  apply (rule conjI)
wenzelm
parents: 11351
diff changeset
   160
   prefer 2
wenzelm
parents: 11351
diff changeset
   161
   apply (drule up_cont_mono)
wenzelm
parents: 11351
diff changeset
   162
   apply (rule UNION_up_iterate_lowerbound)
wenzelm
parents: 11351
diff changeset
   163
    apply assumption
wenzelm
parents: 11351
diff changeset
   164
   apply (erule lfp_unfold [symmetric])
wenzelm
parents: 11351
diff changeset
   165
  apply (rule lfp_lowerbound)
wenzelm
parents: 11351
diff changeset
   166
  apply (rule set_eq_subset [THEN iffD1, THEN conjunct2])
wenzelm
parents: 11351
diff changeset
   167
  apply (erule UNION_up_iterate_is_fp [symmetric])
wenzelm
parents: 11351
diff changeset
   168
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   169
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   170
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   171
constdefs
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   172
  down_iterate :: "('a set => 'a set) => nat => 'a set"
11355
wenzelm
parents: 11351
diff changeset
   173
  "down_iterate f n == (f^n) UNIV"
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   174
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   175
lemma down_iterate_0 [simp]: "down_iterate f 0 = UNIV"
11355
wenzelm
parents: 11351
diff changeset
   176
  by (simp add: down_iterate_def)
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   177
11355
wenzelm
parents: 11351
diff changeset
   178
lemma down_iterate_Suc [simp]:
wenzelm
parents: 11351
diff changeset
   179
    "down_iterate f (Suc i) = f (down_iterate f i)"
wenzelm
parents: 11351
diff changeset
   180
  by (simp add: down_iterate_def)
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   181
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   182
lemma down_iterate_chain: "mono F ==> down_chain (down_iterate F)"
11355
wenzelm
parents: 11351
diff changeset
   183
  apply (rule down_chainI)
wenzelm
parents: 11351
diff changeset
   184
  apply (induct_tac i)
wenzelm
parents: 11351
diff changeset
   185
   apply simp+
wenzelm
parents: 11351
diff changeset
   186
  apply (erule (1) monoD)
wenzelm
parents: 11351
diff changeset
   187
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   188
11355
wenzelm
parents: 11351
diff changeset
   189
lemma INTER_down_iterate_is_fp:
wenzelm
parents: 11351
diff changeset
   190
  "down_cont F ==>
wenzelm
parents: 11351
diff changeset
   191
    F (INTER UNIV (down_iterate F)) = INTER UNIV (down_iterate F)"
wenzelm
parents: 11351
diff changeset
   192
  apply (frule down_cont_mono [THEN down_iterate_chain])
wenzelm
parents: 11351
diff changeset
   193
  apply (drule (1) down_contD)
wenzelm
parents: 11351
diff changeset
   194
  apply simp
wenzelm
parents: 11351
diff changeset
   195
  apply (auto simp del: down_iterate_Suc simp add: down_iterate_Suc [symmetric])
wenzelm
parents: 11351
diff changeset
   196
  apply (case_tac xa)
wenzelm
parents: 11351
diff changeset
   197
   apply auto
wenzelm
parents: 11351
diff changeset
   198
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   199
11355
wenzelm
parents: 11351
diff changeset
   200
lemma INTER_down_iterate_upperbound:
wenzelm
parents: 11351
diff changeset
   201
    "mono F ==> F P = P ==> P \<subseteq> INTER UNIV (down_iterate F)"
wenzelm
parents: 11351
diff changeset
   202
  apply (subgoal_tac "(!!i. P \<subseteq> down_iterate F i)")
wenzelm
parents: 11351
diff changeset
   203
   apply fast
wenzelm
parents: 11351
diff changeset
   204
  apply (induct_tac i)
wenzelm
parents: 11351
diff changeset
   205
  prefer 2 apply (drule (1) monoD)
wenzelm
parents: 11351
diff changeset
   206
   apply auto
wenzelm
parents: 11351
diff changeset
   207
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   208
11355
wenzelm
parents: 11351
diff changeset
   209
lemma INTER_down_iterate_is_gfp:
wenzelm
parents: 11351
diff changeset
   210
    "down_cont F ==> gfp F = INTER UNIV (down_iterate F)"
wenzelm
parents: 11351
diff changeset
   211
  apply (rule set_eq_subset [THEN iffD2])
wenzelm
parents: 11351
diff changeset
   212
  apply (rule conjI)
wenzelm
parents: 11351
diff changeset
   213
   apply (drule down_cont_mono)
wenzelm
parents: 11351
diff changeset
   214
   apply (rule INTER_down_iterate_upperbound)
wenzelm
parents: 11351
diff changeset
   215
    apply assumption
wenzelm
parents: 11351
diff changeset
   216
   apply (erule gfp_unfold [symmetric])
wenzelm
parents: 11351
diff changeset
   217
  apply (rule gfp_upperbound)
wenzelm
parents: 11351
diff changeset
   218
  apply (rule set_eq_subset [THEN iffD1, THEN conjunct2])
wenzelm
parents: 11351
diff changeset
   219
  apply (erule INTER_down_iterate_is_fp)
wenzelm
parents: 11351
diff changeset
   220
  done
11351
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   221
c5c403d30c77 added Library/Nat_Infinity.thy and Library/Continuity.thy
oheimb
parents:
diff changeset
   222
end