src/LCF/ex/Ex4.ML
author wenzelm
Thu, 14 Oct 1999 15:04:36 +0200
changeset 7866 3ccaa11b6df9
parent 4905 be73ddff6c5a
child 17248 81bf91654e73
permissions -rw-r--r--
pdf: generate thumbnails if ISABELLE_THUMBPDF set;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4905
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     1
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     2
val asms = goal thy "[| f(p) << p; !!q. f(q) << q ==> p << q |] ==> FIX(f)=p";
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     3
by (rewtac eq_def);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     4
by (rtac conjI 1);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     5
by (induct_tac "f" 1);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     6
by (rtac minimal 1);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     7
by (strip_tac 1);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     8
by (rtac less_trans 1);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
     9
by (resolve_tac asms 2);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    10
by (etac less_ap_term 1);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    11
by (resolve_tac asms 1);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    12
by (rtac (FIX_eq RS eq_imp_less1) 1);
be73ddff6c5a proper thy files;
wenzelm
parents:
diff changeset
    13
qed "example";