Metamath Proof Explorer


Theorem exdistrf

Description: Distribution of existential quantifiers, with a bound-variable hypothesis saying that y is not free in ph , but x can be free in ph (and there is no distinct variable condition on x and y ). (Contributed by Mario Carneiro, 20-Mar-2013) (Proof shortened by Wolf Lammen, 14-May-2018) Usage of this theorem is discouraged because it depends on ax-13 . Use exdistr instead. (New usage is discouraged.)

Ref Expression
Hypothesis exdistrf.1 ¬xx=yyφ
Assertion exdistrf xyφψxφyψ

Proof

Step Hyp Ref Expression
1 exdistrf.1 ¬xx=yyφ
2 nfe1 xxφyψ
3 19.8a ψyψ
4 3 anim2i φψφyψ
5 4 eximi yφψyφyψ
6 biidd xx=yφyψφyψ
7 6 drex1 xx=yxφyψyφyψ
8 5 7 imbitrrid xx=yyφψxφyψ
9 19.40 yφψyφyψ
10 1 19.9d ¬xx=yyφφ
11 10 anim1d ¬xx=yyφyψφyψ
12 19.8a φyψxφyψ
13 9 11 12 syl56 ¬xx=yyφψxφyψ
14 8 13 pm2.61i yφψxφyψ
15 2 14 exlimi xyφψxφyψ