src/CCL/Hered.thy
author blanchet
Mon, 15 Sep 2014 10:49:07 +0200
changeset 58335 a5a3b576fcfb
parent 47966 b8a94ed1646e
child 58889 5b7a9633cfa8
permissions -rw-r--r--
generate 'code' attribute only if 'code' plugin is enabled
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17456
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
     1
(*  Title:      CCL/Hered.thy
1474
3f7d67927fe2 expanded tabs
clasohm
parents: 1149
diff changeset
     2
    Author:     Martin Coen
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     3
    Copyright   1993  University of Cambridge
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     4
*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     5
17456
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
     6
header {* Hereditary Termination -- cf. Martin Lo\"f *}
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
     7
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
     8
theory Hered
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
     9
imports Type
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
    10
begin
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
    11
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
    12
text {*
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
    13
  Note that this is based on an untyped equality and so @{text "lam
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
    14
  x. b(x)"} is only hereditarily terminating if @{text "ALL x. b(x)"}
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
    15
  is.  Not so useful for functions!
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
    16
*}
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    17
42156
df219e736a5d modernized specifications -- less axioms;
wenzelm
parents: 32154
diff changeset
    18
definition HTTgen :: "i set => i set" where
df219e736a5d modernized specifications -- less axioms;
wenzelm
parents: 32154
diff changeset
    19
  "HTTgen(R) ==
df219e736a5d modernized specifications -- less axioms;
wenzelm
parents: 32154
diff changeset
    20
    {t. t=true | t=false | (EX a b. t= <a, b> & a : R & b : R) |
df219e736a5d modernized specifications -- less axioms;
wenzelm
parents: 32154
diff changeset
    21
      (EX f. t = lam x. f(x) & (ALL x. f(x) : R))}"
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    22
42156
df219e736a5d modernized specifications -- less axioms;
wenzelm
parents: 32154
diff changeset
    23
definition HTT :: "i set"
df219e736a5d modernized specifications -- less axioms;
wenzelm
parents: 32154
diff changeset
    24
  where "HTT == gfp(HTTgen)"
17456
bcf7544875b2 converted to Isar theory format;
wenzelm
parents: 3837
diff changeset
    25
20140
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    26
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    27
subsection {* Hereditary Termination *}
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    28
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    29
lemma HTTgen_mono: "mono(%X. HTTgen(X))"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    30
  apply (unfold HTTgen_def)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    31
  apply (rule monoI)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    32
  apply blast
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    33
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    34
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    35
lemma HTTgenXH: 
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    36
  "t : HTTgen(A) <-> t=true | t=false | (EX a b. t=<a,b> & a : A & b : A) |  
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    37
                                        (EX f. t=lam x. f(x) & (ALL x. f(x) : A))"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    38
  apply (unfold HTTgen_def)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    39
  apply blast
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    40
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    41
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    42
lemma HTTXH: 
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    43
  "t : HTT <-> t=true | t=false | (EX a b. t=<a,b> & a : HTT & b : HTT) |  
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    44
                                   (EX f. t=lam x. f(x) & (ALL x. f(x) : HTT))"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    45
  apply (rule HTTgen_mono [THEN HTT_def [THEN def_gfp_Tarski], THEN XHlemma1, unfolded HTTgen_def])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    46
  apply blast
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    47
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    48
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    49
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    50
subsection {* Introduction Rules for HTT *}
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    51
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    52
lemma HTT_bot: "~ bot : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    53
  by (blast dest: HTTXH [THEN iffD1])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    54
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    55
lemma HTT_true: "true : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    56
  by (blast intro: HTTXH [THEN iffD2])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    57
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    58
lemma HTT_false: "false : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    59
  by (blast intro: HTTXH [THEN iffD2])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    60
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    61
lemma HTT_pair: "<a,b> : HTT <->  a : HTT  & b : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    62
  apply (rule HTTXH [THEN iff_trans])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    63
  apply blast
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    64
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    65
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    66
lemma HTT_lam: "lam x. f(x) : HTT <-> (ALL x. f(x) : HTT)"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    67
  apply (rule HTTXH [THEN iff_trans])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    68
  apply auto
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    69
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    70
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    71
lemmas HTT_rews1 = HTT_bot HTT_true HTT_false HTT_pair HTT_lam
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    72
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    73
lemma HTT_rews2:
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    74
  "one : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    75
  "inl(a) : HTT <-> a : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    76
  "inr(b) : HTT <-> b : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    77
  "zero : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    78
  "succ(n) : HTT <-> n : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    79
  "[] : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    80
  "x$xs : HTT <-> x : HTT & xs : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    81
  by (simp_all add: data_defs HTT_rews1)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    82
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    83
lemmas HTT_rews = HTT_rews1 HTT_rews2
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    84
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    85
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    86
subsection {* Coinduction for HTT *}
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    87
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    88
lemma HTT_coinduct: "[|  t : R;  R <= HTTgen(R) |] ==> t : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    89
  apply (erule HTT_def [THEN def_coinduct])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    90
  apply assumption
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    91
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    92
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    93
lemma HTT_coinduct3:
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    94
  "[|  t : R;   R <= HTTgen(lfp(%x. HTTgen(x) Un R Un HTT)) |] ==> t : HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    95
  apply (erule HTTgen_mono [THEN [3] HTT_def [THEN def_coinduct3]])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    96
  apply assumption
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    97
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
    98
32153
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
    99
lemma HTTgenIs:
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   100
  "true : HTTgen(R)"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   101
  "false : HTTgen(R)"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   102
  "[| a : R;  b : R |] ==> <a,b> : HTTgen(R)"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   103
  "!!b. [| !!x. b(x) : R |] ==> lam x. b(x) : HTTgen(R)"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   104
  "one : HTTgen(R)"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   105
  "a : lfp(%x. HTTgen(x) Un R Un HTT) ==> inl(a) : HTTgen(lfp(%x. HTTgen(x) Un R Un HTT))"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   106
  "b : lfp(%x. HTTgen(x) Un R Un HTT) ==> inr(b) : HTTgen(lfp(%x. HTTgen(x) Un R Un HTT))"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   107
  "zero : HTTgen(lfp(%x. HTTgen(x) Un R Un HTT))"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   108
  "n : lfp(%x. HTTgen(x) Un R Un HTT) ==> succ(n) : HTTgen(lfp(%x. HTTgen(x) Un R Un HTT))"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   109
  "[] : HTTgen(lfp(%x. HTTgen(x) Un R Un HTT))"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   110
  "[| h : lfp(%x. HTTgen(x) Un R Un HTT); t : lfp(%x. HTTgen(x) Un R Un HTT) |] ==>
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   111
    h$t : HTTgen(lfp(%x. HTTgen(x) Un R Un HTT))"
a0e57fb1b930 misc modernization: proper method setup instead of adhoc ML proofs;
wenzelm
parents: 32010
diff changeset
   112
  unfolding data_defs by (genIs HTTgenXH HTTgen_mono)+
20140
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   113
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   114
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   115
subsection {* Formation Rules for Types *}
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   116
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   117
lemma UnitF: "Unit <= HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   118
  by (simp add: subsetXH UnitXH HTT_rews)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   119
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   120
lemma BoolF: "Bool <= HTT"
47966
b8a94ed1646e eliminated obsolete fastsimp;
wenzelm
parents: 42156
diff changeset
   121
  by (fastforce simp: subsetXH BoolXH iff: HTT_rews)
20140
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   122
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   123
lemma PlusF: "[| A <= HTT;  B <= HTT |] ==> A + B  <= HTT"
47966
b8a94ed1646e eliminated obsolete fastsimp;
wenzelm
parents: 42156
diff changeset
   124
  by (fastforce simp: subsetXH PlusXH iff: HTT_rews)
20140
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   125
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   126
lemma SigmaF: "[| A <= HTT;  !!x. x:A ==> B(x) <= HTT |] ==> SUM x:A. B(x) <= HTT"
47966
b8a94ed1646e eliminated obsolete fastsimp;
wenzelm
parents: 42156
diff changeset
   127
  by (fastforce simp: subsetXH SgXH HTT_rews)
20140
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   128
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   129
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   130
(*** Formation Rules for Recursive types - using coinduction these only need ***)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   131
(***                                          exhaution rule for type-former ***)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   132
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   133
(*Proof by induction - needs induction rule for type*)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   134
lemma "Nat <= HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   135
  apply (simp add: subsetXH)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   136
  apply clarify
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   137
  apply (erule Nat_ind)
47966
b8a94ed1646e eliminated obsolete fastsimp;
wenzelm
parents: 42156
diff changeset
   138
   apply (fastforce iff: HTT_rews)+
20140
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   139
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   140
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   141
lemma NatF: "Nat <= HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   142
  apply clarify
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   143
  apply (erule HTT_coinduct3)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   144
  apply (fast intro: HTTgenIs elim!: HTTgen_mono [THEN ci3_RI] dest: NatXH [THEN iffD1])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   145
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   146
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   147
lemma ListF: "A <= HTT ==> List(A) <= HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   148
  apply clarify
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   149
  apply (erule HTT_coinduct3)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   150
  apply (fast intro!: HTTgenIs elim!: HTTgen_mono [THEN ci3_RI]
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   151
    subsetD [THEN HTTgen_mono [THEN ci3_AI]]
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   152
    dest: ListXH [THEN iffD1])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   153
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   154
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   155
lemma ListsF: "A <= HTT ==> Lists(A) <= HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   156
  apply clarify
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   157
  apply (erule HTT_coinduct3)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   158
  apply (fast intro!: HTTgenIs elim!: HTTgen_mono [THEN ci3_RI]
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   159
    subsetD [THEN HTTgen_mono [THEN ci3_AI]] dest: ListsXH [THEN iffD1])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   160
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   161
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   162
lemma IListsF: "A <= HTT ==> ILists(A) <= HTT"
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   163
  apply clarify
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   164
  apply (erule HTT_coinduct3)
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   165
  apply (fast intro!: HTTgenIs elim!: HTTgen_mono [THEN ci3_RI]
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   166
    subsetD [THEN HTTgen_mono [THEN ci3_AI]] dest: IListsXH [THEN iffD1])
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   167
  done
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   168
98acc6d0fab6 removed obsolete ML files;
wenzelm
parents: 17456
diff changeset
   169
end