HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem sbccomglem 1985
Description: Lemma for sbccomg 1986.
Assertion
Ref Expression
sbccomglem |- ((A e. C /\ B e. D) -> ([A / x][B / y]ph <-> [B / y][A / x]ph))
Distinct variable groups:   x,y,A   x,B,y   y,C   x,D

Proof of Theorem sbccomglem
StepHypRef Expression
1 sbc5g 1951 . . . 4 |- (B e. D -> ([B / y]ph <-> E.y(y = B /\ ph)))
21sbcbidv 1974 . . 3 |- ((B e. D /\ A e. C) -> ([A / x][B / y]ph <-> [A / x]E.y(y = B /\ ph)))
32ancoms 436 . 2 |- ((A e. C /\ B e. D) -> ([A / x][B / y]ph <-> [A / x]E.y(y = B /\ ph)))
4 sbc5g 1951 . . 3 |- (A e. C -> ([A / x]E.y(y = B /\ ph) <-> E.x(x = A /\ E.y(y = B /\ ph))))
54adantr 389 . 2 |- ((A e. C /\ B e. D) -> ([A / x]E.y(y = B /\ ph) <-> E.x(x = A /\ E.y(y = B /\ ph))))
6 sbc5g 1951 . . . . 5 |- (A e. C -> ([A / x]ph <-> E.x(x = A /\ ph)))
76sbcbidv 1974 . . . 4 |- ((A e. C /\ B e. D) -> ([B / y][A / x]ph <-> [B / y]E.x(x = A /\ ph)))
8 sbc5g 1951 . . . . 5 |- (B e. D -> ([B / y]E.x(x = A /\ ph) <-> E.y(y = B /\ E.x(x = A /\ ph))))
98adantl 388 . . . 4 |- ((A e. C /\ B e. D) -> ([B / y]E.x(x = A /\ ph) <-> E.y(y = B /\ E.x(x = A /\ ph))))
107, 9bitr2d 528 . . 3 |- ((A e. C /\ B e. D) -> (E.y(y = B /\ E.x(x = A /\ ph)) <-> [B / y][A / x]ph))
11 excom 1045 . . . 4 |- (E.xE.y(x = A /\ (y = B /\ ph)) <-> E.yE.x(x = A /\ (y = B /\ ph)))
12 exdistr 1308 . . . 4 |- (E.xE.y(x = A /\ (y = B /\ ph)) <-> E.x(x = A /\ E.y(y = B /\ ph)))
13 an12 484 . . . . . . 7 |- ((x = A /\ (y = B /\ ph)) <-> (y = B /\ (x = A /\ ph)))
1413exbii 1050 . . . . . 6 |- (E.x(x = A /\ (y = B /\ ph)) <-> E.x(y = B /\ (x = A /\ ph)))
15 19.42v 1307 . . . . . 6 |- (E.x(y = B /\ (x = A /\ ph)) <-> (y = B /\ E.x(x = A /\ ph)))
1614, 15bitr 173 . . . . 5 |- (E.x(x = A /\ (y = B /\ ph)) <-> (y = B /\ E.x(x = A /\ ph)))
1716exbii 1050 . . . 4 |- (E.yE.x(x = A /\ (y = B /\ ph)) <-> E.y(y = B /\ E.x(x = A /\ ph)))
1811, 12, 173bitr3 181 . . 3 |- (E.x(x = A /\ E.y(y = B /\ ph)) <-> E.y(y = B /\ E.x(x = A /\ ph)))
1910, 18syl5bb 531 . 2 |- ((A e. C /\ B e. D) -> (E.x(x = A /\ E.y(y = B /\ ph)) <-> [B / y][A / x]ph))
203, 5, 193bitrd 543 1 |- ((A e. C /\ B e. D) -> ([A / x][B / y]ph <-> [B / y][A / x]ph))
Colors of variables: wff set class
Syntax hints:   -> wi 3   <-> wb 146   /\ wa 223   = wceq 955   e. wcel 957  E.wex 979  [wsbc 1169
This theorem is referenced by:  sbccomg 1986
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 961  ax-gen 962  ax-8 963  ax-10 965  ax-12 967  ax-17 970  ax-4 972  ax-5o 974  ax-6o 977  ax-9o 1122  ax-10o 1139  ax-16 1209  ax-11o 1217  ax-ext 1458
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-ex 980  df-sb 1171  df-clab 1463  df-cleq 1468  df-clel 1471  df-v 1809  df-sbc 1939
Copyright terms: Public domain