File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -618,14 +618,21 @@ fun NOT_EQ_SYM th =
618
618
* *
619
619
* [TFM 90.05.08] *
620
620
* --------------------------------------------------------------------------*)
621
-
622
621
local
623
- val Fth = ASSUME F
622
+ val eqF_thm =
623
+ let
624
+ val (Bvar, _) = dest_forall (concl boolTheory.EQ_CLAUSES)
625
+ val thm = el 4 $ CONJUNCTS (SPEC Bvar boolTheory.EQ_CLAUSES)
626
+ in
627
+ GEN Bvar (SYM thm)
628
+ end
624
629
in
625
630
fun EQF_INTRO th =
626
- IMP_ANTISYM_RULE (NOT_ELIM th)
627
- (DISCH F (CONTR (dest_neg (concl th)) Fth))
628
- handle HOL_ERR _ => raise ERR " EQF_INTRO" " "
631
+ let val t' = dest_neg (concl th)
632
+ in
633
+ EQ_MP (SPEC t' eqF_thm) th
634
+ end
635
+ handle HOL_ERR _ => raise ERR " EQF_INTRO" " "
629
636
end
630
637
631
638
(* --------------------------------------------------------------------------*
You can’t perform that action at this time.
0 commit comments