src/ZF/AC/AC0_AC1.ML
author wenzelm
Mon, 18 Nov 1996 17:27:59 +0100
changeset 2195 e8271379ba4b
parent 1924 0f1a583457da
child 2469 b50b8c0eec01
permissions -rw-r--r--
added Syntax/symbol_font.ML;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1461
6bcb44e4d6e5 expanded tabs
clasohm
parents: 1204
diff changeset
     1
(*  Title:      ZF/AC/AC0_AC1.ML
1123
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
     2
    ID:         $Id$
1461
6bcb44e4d6e5 expanded tabs
clasohm
parents: 1204
diff changeset
     3
    Author:     Krzysztof Grabczewski
1123
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
     4
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
     5
AC0 is equivalent to AC1
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
     6
AC0 comes from Suppes, AC1 from Rubin & Rubin
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
     7
*)
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
     8
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
     9
goal thy "!!A. 0~:A ==> A <= Pow(Union(A))-{0}";
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
    10
by (fast_tac AC_cs 1);
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
    11
val subset_Pow_Union = result();
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
    12
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
    13
goal thy "!!f. [| f:(PROD X:A. X); D<=A |] ==> EX g. g:(PROD X:D. X)";
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
    14
by (fast_tac (AC_cs addSIs [restrict_type, apply_type]) 1);
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
    15
val lemma1 = result();
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
    16
1196
d43c1f7a53fe Numerous small improvements by KG and LCP
lcp
parents: 1123
diff changeset
    17
goalw thy AC_defs "!!Z. AC0 ==> AC1"; 
1123
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
    18
by (fast_tac (FOL_cs addSEs [lemma1, subset_Pow_Union]) 1);
1196
d43c1f7a53fe Numerous small improvements by KG and LCP
lcp
parents: 1123
diff changeset
    19
qed "AC0_AC1";
1123
5dfdc1464966 Krzysztof Grabczewski's (nearly) complete AC proofs
lcp
parents:
diff changeset
    20
1196
d43c1f7a53fe Numerous small improvements by KG and LCP
lcp
parents: 1123
diff changeset
    21
goalw thy AC_defs "!!Z. AC1 ==> AC0";
1924
0f1a583457da Corrected for new classical reasoner: redundant rules
paulson
parents: 1461
diff changeset
    22
by (deepen_tac ZF_cs 0 1);
0f1a583457da Corrected for new classical reasoner: redundant rules
paulson
parents: 1461
diff changeset
    23
(*Large search space.  Faster proof by
0f1a583457da Corrected for new classical reasoner: redundant rules
paulson
parents: 1461
diff changeset
    24
  by (fast_tac (FOL_cs addSIs [notI, singletonI] addSEs [notE, DiffE]) 1);
0f1a583457da Corrected for new classical reasoner: redundant rules
paulson
parents: 1461
diff changeset
    25
*)
1196
d43c1f7a53fe Numerous small improvements by KG and LCP
lcp
parents: 1123
diff changeset
    26
qed "AC1_AC0";