MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ax11eq Unicode version

Theorem ax11eq 2243
Description: Basis step for constructing a substitution instance of ax-11o 2191 without using ax-11o 2191. Atomic formula for equality predicate. (Contributed by NM, 22-Jan-2007.) (Proof modification is discouraged.) (New usage is discouraged.)
Assertion
Ref Expression
ax11eq  |-  ( -. 
A. x  x  =  y  ->  ( x  =  y  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )

Proof of Theorem ax11eq
Dummy variables  u  v are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 19.26 1600 . . 3  |-  ( A. x ( x  =  z  /\  x  =  w )  <->  ( A. x  x  =  z  /\  A. x  x  =  w ) )
2 equid 1684 . . . . . . . 8  |-  x  =  x
32a1i 11 . . . . . . 7  |-  ( x  =  y  ->  x  =  x )
43ax-gen 1552 . . . . . 6  |-  A. x
( x  =  y  ->  x  =  x )
54a1i 11 . . . . 5  |-  ( x  =  x  ->  A. x
( x  =  y  ->  x  =  x ) )
6 equequ1 1692 . . . . . . . . 9  |-  ( x  =  z  ->  (
x  =  x  <->  z  =  x ) )
7 equequ2 1694 . . . . . . . . 9  |-  ( x  =  w  ->  (
z  =  x  <->  z  =  w ) )
86, 7sylan9bb 681 . . . . . . . 8  |-  ( ( x  =  z  /\  x  =  w )  ->  ( x  =  x  <-> 
z  =  w ) )
98sps-o 2209 . . . . . . 7  |-  ( A. x ( x  =  z  /\  x  =  w )  ->  (
x  =  x  <->  z  =  w ) )
10 nfa1-o 2216 . . . . . . . 8  |-  F/ x A. x ( x  =  z  /\  x  =  w )
119imbi2d 308 . . . . . . . 8  |-  ( A. x ( x  =  z  /\  x  =  w )  ->  (
( x  =  y  ->  x  =  x )  <->  ( x  =  y  ->  z  =  w ) ) )
1210, 11albid 1784 . . . . . . 7  |-  ( A. x ( x  =  z  /\  x  =  w )  ->  ( A. x ( x  =  y  ->  x  =  x )  <->  A. x
( x  =  y  ->  z  =  w ) ) )
139, 12imbi12d 312 . . . . . 6  |-  ( A. x ( x  =  z  /\  x  =  w )  ->  (
( x  =  x  ->  A. x ( x  =  y  ->  x  =  x ) )  <->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
1413adantr 452 . . . . 5  |-  ( ( A. x ( x  =  z  /\  x  =  w )  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( ( x  =  x  ->  A. x
( x  =  y  ->  x  =  x ) )  <->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
155, 14mpbii 203 . . . 4  |-  ( ( A. x ( x  =  z  /\  x  =  w )  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( z  =  w  ->  A. x ( x  =  y  ->  z  =  w ) ) )
1615exp32 589 . . 3  |-  ( A. x ( x  =  z  /\  x  =  w )  ->  ( -.  A. x  x  =  y  ->  ( x  =  y  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) ) )
171, 16sylbir 205 . 2  |-  ( ( A. x  x  =  z  /\  A. x  x  =  w )  ->  ( -.  A. x  x  =  y  ->  ( x  =  y  -> 
( z  =  w  ->  A. x ( x  =  y  ->  z  =  w ) ) ) ) )
18 equequ1 1692 . . . . . . 7  |-  ( x  =  y  ->  (
x  =  w  <->  y  =  w ) )
1918ad2antll 710 . . . . . 6  |-  ( ( -.  A. x  x  =  w  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( x  =  w  <-> 
y  =  w ) )
20 ax12o 1976 . . . . . . . . 9  |-  ( -. 
A. x  x  =  y  ->  ( -.  A. x  x  =  w  ->  ( y  =  w  ->  A. x  y  =  w )
) )
2120impcom 420 . . . . . . . 8  |-  ( ( -.  A. x  x  =  w  /\  -.  A. x  x  =  y )  ->  ( y  =  w  ->  A. x  y  =  w )
)
2221adantrr 698 . . . . . . 7  |-  ( ( -.  A. x  x  =  w  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( y  =  w  ->  A. x  y  =  w ) )
23 equtrr 1691 . . . . . . . 8  |-  ( y  =  w  ->  (
x  =  y  ->  x  =  w )
)
2423alimi 1565 . . . . . . 7  |-  ( A. x  y  =  w  ->  A. x ( x  =  y  ->  x  =  w ) )
2522, 24syl6 31 . . . . . 6  |-  ( ( -.  A. x  x  =  w  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( y  =  w  ->  A. x ( x  =  y  ->  x  =  w ) ) )
2619, 25sylbid 207 . . . . 5  |-  ( ( -.  A. x  x  =  w  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( x  =  w  ->  A. x ( x  =  y  ->  x  =  w ) ) )
2726adantll 695 . . . 4  |-  ( ( ( A. x  x  =  z  /\  -.  A. x  x  =  w )  /\  ( -. 
A. x  x  =  y  /\  x  =  y ) )  -> 
( x  =  w  ->  A. x ( x  =  y  ->  x  =  w ) ) )
28 equequ1 1692 . . . . . . 7  |-  ( x  =  z  ->  (
x  =  w  <->  z  =  w ) )
2928sps-o 2209 . . . . . 6  |-  ( A. x  x  =  z  ->  ( x  =  w  <-> 
z  =  w ) )
3029imbi2d 308 . . . . . . 7  |-  ( A. x  x  =  z  ->  ( ( x  =  y  ->  x  =  w )  <->  ( x  =  y  ->  z  =  w ) ) )
3130dral2-o 2231 . . . . . 6  |-  ( A. x  x  =  z  ->  ( A. x ( x  =  y  ->  x  =  w )  <->  A. x ( x  =  y  ->  z  =  w ) ) )
3229, 31imbi12d 312 . . . . 5  |-  ( A. x  x  =  z  ->  ( ( x  =  w  ->  A. x
( x  =  y  ->  x  =  w ) )  <->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
3332ad2antrr 707 . . . 4  |-  ( ( ( A. x  x  =  z  /\  -.  A. x  x  =  w )  /\  ( -. 
A. x  x  =  y  /\  x  =  y ) )  -> 
( ( x  =  w  ->  A. x
( x  =  y  ->  x  =  w ) )  <->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
3427, 33mpbid 202 . . 3  |-  ( ( ( A. x  x  =  z  /\  -.  A. x  x  =  w )  /\  ( -. 
A. x  x  =  y  /\  x  =  y ) )  -> 
( z  =  w  ->  A. x ( x  =  y  ->  z  =  w ) ) )
3534exp32 589 . 2  |-  ( ( A. x  x  =  z  /\  -.  A. x  x  =  w
)  ->  ( -.  A. x  x  =  y  ->  ( x  =  y  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) ) )
36 equequ2 1694 . . . . . . 7  |-  ( x  =  y  ->  (
z  =  x  <->  z  =  y ) )
3736ad2antll 710 . . . . . 6  |-  ( ( -.  A. x  x  =  z  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( z  =  x  <-> 
z  =  y ) )
38 ax12o 1976 . . . . . . . . 9  |-  ( -. 
A. x  x  =  z  ->  ( -.  A. x  x  =  y  ->  ( z  =  y  ->  A. x  z  =  y )
) )
3938imp 419 . . . . . . . 8  |-  ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  y )  ->  ( z  =  y  ->  A. x  z  =  y )
)
4039adantrr 698 . . . . . . 7  |-  ( ( -.  A. x  x  =  z  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( z  =  y  ->  A. x  z  =  y ) )
4136biimprcd 217 . . . . . . . 8  |-  ( z  =  y  ->  (
x  =  y  -> 
z  =  x ) )
4241alimi 1565 . . . . . . 7  |-  ( A. x  z  =  y  ->  A. x ( x  =  y  ->  z  =  x ) )
4340, 42syl6 31 . . . . . 6  |-  ( ( -.  A. x  x  =  z  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( z  =  y  ->  A. x ( x  =  y  ->  z  =  x ) ) )
4437, 43sylbid 207 . . . . 5  |-  ( ( -.  A. x  x  =  z  /\  ( -.  A. x  x  =  y  /\  x  =  y ) )  -> 
( z  =  x  ->  A. x ( x  =  y  ->  z  =  x ) ) )
4544adantlr 696 . . . 4  |-  ( ( ( -.  A. x  x  =  z  /\  A. x  x  =  w )  /\  ( -. 
A. x  x  =  y  /\  x  =  y ) )  -> 
( z  =  x  ->  A. x ( x  =  y  ->  z  =  x ) ) )
467sps-o 2209 . . . . . 6  |-  ( A. x  x  =  w  ->  ( z  =  x  <-> 
z  =  w ) )
4746imbi2d 308 . . . . . . 7  |-  ( A. x  x  =  w  ->  ( ( x  =  y  ->  z  =  x )  <->  ( x  =  y  ->  z  =  w ) ) )
4847dral2-o 2231 . . . . . 6  |-  ( A. x  x  =  w  ->  ( A. x ( x  =  y  -> 
z  =  x )  <->  A. x ( x  =  y  ->  z  =  w ) ) )
4946, 48imbi12d 312 . . . . 5  |-  ( A. x  x  =  w  ->  ( ( z  =  x  ->  A. x
( x  =  y  ->  z  =  x ) )  <->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
5049ad2antlr 708 . . . 4  |-  ( ( ( -.  A. x  x  =  z  /\  A. x  x  =  w )  /\  ( -. 
A. x  x  =  y  /\  x  =  y ) )  -> 
( ( z  =  x  ->  A. x
( x  =  y  ->  z  =  x ) )  <->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
5145, 50mpbid 202 . . 3  |-  ( ( ( -.  A. x  x  =  z  /\  A. x  x  =  w )  /\  ( -. 
A. x  x  =  y  /\  x  =  y ) )  -> 
( z  =  w  ->  A. x ( x  =  y  ->  z  =  w ) ) )
5251exp32 589 . 2  |-  ( ( -.  A. x  x  =  z  /\  A. x  x  =  w
)  ->  ( -.  A. x  x  =  y  ->  ( x  =  y  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) ) )
53 a9ev 1664 . . . . 5  |-  E. u  u  =  w
54 a9ev 1664 . . . . . . 7  |-  E. v 
v  =  z
55 ax-1 5 . . . . . . . . . . 11  |-  ( v  =  u  ->  (
x  =  y  -> 
v  =  u ) )
5655alrimiv 1638 . . . . . . . . . 10  |-  ( v  =  u  ->  A. x
( x  =  y  ->  v  =  u ) )
57 equequ1 1692 . . . . . . . . . . . . 13  |-  ( v  =  z  ->  (
v  =  u  <->  z  =  u ) )
58 equequ2 1694 . . . . . . . . . . . . 13  |-  ( u  =  w  ->  (
z  =  u  <->  z  =  w ) )
5957, 58sylan9bb 681 . . . . . . . . . . . 12  |-  ( ( v  =  z  /\  u  =  w )  ->  ( v  =  u  <-> 
z  =  w ) )
6059adantl 453 . . . . . . . . . . 11  |-  ( ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  /\  (
v  =  z  /\  u  =  w )
)  ->  ( v  =  u  <->  z  =  w ) )
61 dveeq2-o 2234 . . . . . . . . . . . . . . 15  |-  ( -. 
A. x  x  =  z  ->  ( v  =  z  ->  A. x  v  =  z )
)
62 dveeq2-o 2234 . . . . . . . . . . . . . . 15  |-  ( -. 
A. x  x  =  w  ->  ( u  =  w  ->  A. x  u  =  w )
)
6361, 62im2anan9 809 . . . . . . . . . . . . . 14  |-  ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  ->  ( (
v  =  z  /\  u  =  w )  ->  ( A. x  v  =  z  /\  A. x  u  =  w
) ) )
6463imp 419 . . . . . . . . . . . . 13  |-  ( ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  /\  (
v  =  z  /\  u  =  w )
)  ->  ( A. x  v  =  z  /\  A. x  u  =  w ) )
65 19.26 1600 . . . . . . . . . . . . 13  |-  ( A. x ( v  =  z  /\  u  =  w )  <->  ( A. x  v  =  z  /\  A. x  u  =  w ) )
6664, 65sylibr 204 . . . . . . . . . . . 12  |-  ( ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  /\  (
v  =  z  /\  u  =  w )
)  ->  A. x
( v  =  z  /\  u  =  w ) )
67 nfa1-o 2216 . . . . . . . . . . . . 13  |-  F/ x A. x ( v  =  z  /\  u  =  w )
6859sps-o 2209 . . . . . . . . . . . . . 14  |-  ( A. x ( v  =  z  /\  u  =  w )  ->  (
v  =  u  <->  z  =  w ) )
6968imbi2d 308 . . . . . . . . . . . . 13  |-  ( A. x ( v  =  z  /\  u  =  w )  ->  (
( x  =  y  ->  v  =  u )  <->  ( x  =  y  ->  z  =  w ) ) )
7067, 69albid 1784 . . . . . . . . . . . 12  |-  ( A. x ( v  =  z  /\  u  =  w )  ->  ( A. x ( x  =  y  ->  v  =  u )  <->  A. x
( x  =  y  ->  z  =  w ) ) )
7166, 70syl 16 . . . . . . . . . . 11  |-  ( ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  /\  (
v  =  z  /\  u  =  w )
)  ->  ( A. x ( x  =  y  ->  v  =  u )  <->  A. x
( x  =  y  ->  z  =  w ) ) )
7260, 71imbi12d 312 . . . . . . . . . 10  |-  ( ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  /\  (
v  =  z  /\  u  =  w )
)  ->  ( (
v  =  u  ->  A. x ( x  =  y  ->  v  =  u ) )  <->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
7356, 72mpbii 203 . . . . . . . . 9  |-  ( ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  /\  (
v  =  z  /\  u  =  w )
)  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) )
7473exp32 589 . . . . . . . 8  |-  ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  ->  ( v  =  z  ->  ( u  =  w  ->  (
z  =  w  ->  A. x ( x  =  y  ->  z  =  w ) ) ) ) )
7574exlimdv 1643 . . . . . . 7  |-  ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  ->  ( E. v  v  =  z  ->  ( u  =  w  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) ) )
7654, 75mpi 17 . . . . . 6  |-  ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  ->  ( u  =  w  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
7776exlimdv 1643 . . . . 5  |-  ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  ->  ( E. u  u  =  w  ->  ( z  =  w  ->  A. x ( x  =  y  ->  z  =  w ) ) ) )
7853, 77mpi 17 . . . 4  |-  ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) )
7978a1d 23 . . 3  |-  ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  ->  ( x  =  y  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
8079a1d 23 . 2  |-  ( ( -.  A. x  x  =  z  /\  -.  A. x  x  =  w )  ->  ( -.  A. x  x  =  y  ->  ( x  =  y  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) ) )
8117, 35, 52, 804cases 916 1  |-  ( -. 
A. x  x  =  y  ->  ( x  =  y  ->  ( z  =  w  ->  A. x
( x  =  y  ->  z  =  w ) ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    /\ wa 359   A.wal 1546   E.wex 1547
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-4 2185  ax-5o 2186  ax-6o 2187  ax-10o 2189  ax-12o 2192
This theorem depends on definitions:  df-bi 178  df-an 361  df-ex 1548  df-nf 1551
  Copyright terms: Public domain W3C validator