]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/library/logic/coimplication.ma
generalize no more required before elim
[helm.git] / helm / software / matita / library / logic / coimplication.ma
index 9edb4949c532c23ee43679ae11ad2ecac123d4bf..a963846f093a1cc362447baa2e85011539f5998d 100644 (file)
@@ -31,17 +31,17 @@ notation < "hvbox(a break \leftrightarrow b)"
 for @{ 'iff $a $b }.
 
 theorem iff_intro: \forall A,B. (A \to B) \to (B \to A) \to (A \liff B).
- unfold Iff. intros. split; intros; auto.
+ unfold Iff. intros. split; intros; autobatch.
 qed.
 
 theorem iff_refl: \forall A. A \liff A.
- intros. apply iff_intro; intros; auto.
+ intros. apply iff_intro; intros; autobatch.
 qed.
 
 theorem iff_sym: \forall A,B. A \liff B \to B \liff A.
- intros. decompose. apply iff_intro; intros; auto.
+ intros. elim H. apply iff_intro[assumption|assumption]
 qed.
 
 theorem iff_trans: \forall A,B,C. A \liff B \to B \liff C \to A \liff C.
- intros. decompose. apply iff_intro; intros; auto.
+ intros. elim H. elim H1. apply iff_intro;intros;autobatch.
 qed.