MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  xpassen Structured version   Visualization version   GIF version

Theorem xpassen 8853
Description: Associative law for equinumerosity of Cartesian product. Proposition 4.22(e) of [Mendelson] p. 254. (Contributed by NM, 22-Jan-2004.) (Revised by Mario Carneiro, 15-Nov-2014.)
Hypotheses
Ref Expression
xpassen.1 𝐴 ∈ V
xpassen.2 𝐵 ∈ V
xpassen.3 𝐶 ∈ V
Assertion
Ref Expression
xpassen ((𝐴 × 𝐵) × 𝐶) ≈ (𝐴 × (𝐵 × 𝐶))

Proof of Theorem xpassen
Dummy variables 𝑥 𝑦 𝑧 𝑤 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xpassen.1 . . . 4 𝐴 ∈ V
2 xpassen.2 . . . 4 𝐵 ∈ V
31, 2xpex 7603 . . 3 (𝐴 × 𝐵) ∈ V
4 xpassen.3 . . 3 𝐶 ∈ V
53, 4xpex 7603 . 2 ((𝐴 × 𝐵) × 𝐶) ∈ V
62, 4xpex 7603 . . 3 (𝐵 × 𝐶) ∈ V
71, 6xpex 7603 . 2 (𝐴 × (𝐵 × 𝐶)) ∈ V
8 opex 5379 . . 3 dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩ ∈ V
98a1i 11 . 2 (𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) → ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩ ∈ V)
10 opex 5379 . . 3 ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩ ∈ V
1110a1i 11 . 2 (𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) → ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩ ∈ V)
12 sneq 4571 . . . . . . . . . . . . . . . . 17 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → {𝑥} = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
1312dmeqd 5814 . . . . . . . . . . . . . . . 16 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → dom {𝑥} = dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
1413unieqd 4853 . . . . . . . . . . . . . . 15 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → dom {𝑥} = dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
1514sneqd 4573 . . . . . . . . . . . . . 14 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → { dom {𝑥}} = { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
1615dmeqd 5814 . . . . . . . . . . . . 13 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → dom { dom {𝑥}} = dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
1716unieqd 4853 . . . . . . . . . . . 12 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → dom { dom {𝑥}} = dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
18 opex 5379 . . . . . . . . . . . . . . . . 17 𝑧, 𝑤⟩ ∈ V
19 vex 3436 . . . . . . . . . . . . . . . . 17 𝑣 ∈ V
2018, 19op1sta 6128 . . . . . . . . . . . . . . . 16 dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩} = ⟨𝑧, 𝑤
2120sneqi 4572 . . . . . . . . . . . . . . 15 { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = {⟨𝑧, 𝑤⟩}
2221dmeqi 5813 . . . . . . . . . . . . . 14 dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = dom {⟨𝑧, 𝑤⟩}
2322unieqi 4852 . . . . . . . . . . . . 13 dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = dom {⟨𝑧, 𝑤⟩}
24 vex 3436 . . . . . . . . . . . . . 14 𝑧 ∈ V
25 vex 3436 . . . . . . . . . . . . . 14 𝑤 ∈ V
2624, 25op1sta 6128 . . . . . . . . . . . . 13 dom {⟨𝑧, 𝑤⟩} = 𝑧
2723, 26eqtri 2766 . . . . . . . . . . . 12 dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = 𝑧
2817, 27eqtr2di 2795 . . . . . . . . . . 11 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → 𝑧 = dom { dom {𝑥}})
2915rneqd 5847 . . . . . . . . . . . . . 14 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ran { dom {𝑥}} = ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
3029unieqd 4853 . . . . . . . . . . . . 13 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ran { dom {𝑥}} = ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
3121rneqi 5846 . . . . . . . . . . . . . . 15 ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = ran {⟨𝑧, 𝑤⟩}
3231unieqi 4852 . . . . . . . . . . . . . 14 ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = ran {⟨𝑧, 𝑤⟩}
3324, 25op2nda 6131 . . . . . . . . . . . . . 14 ran {⟨𝑧, 𝑤⟩} = 𝑤
3432, 33eqtri 2766 . . . . . . . . . . . . 13 ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = 𝑤
3530, 34eqtr2di 2795 . . . . . . . . . . . 12 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → 𝑤 = ran { dom {𝑥}})
3612rneqd 5847 . . . . . . . . . . . . . 14 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ran {𝑥} = ran {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
3736unieqd 4853 . . . . . . . . . . . . 13 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ran {𝑥} = ran {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
3818, 19op2nda 6131 . . . . . . . . . . . . 13 ran {⟨⟨𝑧, 𝑤⟩, 𝑣⟩} = 𝑣
3937, 38eqtr2di 2795 . . . . . . . . . . . 12 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → 𝑣 = ran {𝑥})
4035, 39opeq12d 4812 . . . . . . . . . . 11 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ⟨𝑤, 𝑣⟩ = ⟨ ran { dom {𝑥}}, ran {𝑥}⟩)
4128, 40opeq12d 4812 . . . . . . . . . 10 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩)
42 sneq 4571 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → {𝑦} = {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
4342dmeqd 5814 . . . . . . . . . . . . . 14 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → dom {𝑦} = dom {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
4443unieqd 4853 . . . . . . . . . . . . 13 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → dom {𝑦} = dom {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
45 opex 5379 . . . . . . . . . . . . . 14 𝑤, 𝑣⟩ ∈ V
4624, 45op1sta 6128 . . . . . . . . . . . . 13 dom {⟨𝑧, ⟨𝑤, 𝑣⟩⟩} = 𝑧
4744, 46eqtr2di 2795 . . . . . . . . . . . 12 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → 𝑧 = dom {𝑦})
4842rneqd 5847 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ran {𝑦} = ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
4948unieqd 4853 . . . . . . . . . . . . . . . 16 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ran {𝑦} = ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
5049sneqd 4573 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → { ran {𝑦}} = { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
5150dmeqd 5814 . . . . . . . . . . . . . 14 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → dom { ran {𝑦}} = dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
5251unieqd 4853 . . . . . . . . . . . . 13 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → dom { ran {𝑦}} = dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
5324, 45op2nda 6131 . . . . . . . . . . . . . . . . 17 ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩} = ⟨𝑤, 𝑣
5453sneqi 4572 . . . . . . . . . . . . . . . 16 { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = {⟨𝑤, 𝑣⟩}
5554dmeqi 5813 . . . . . . . . . . . . . . 15 dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = dom {⟨𝑤, 𝑣⟩}
5655unieqi 4852 . . . . . . . . . . . . . 14 dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = dom {⟨𝑤, 𝑣⟩}
5725, 19op1sta 6128 . . . . . . . . . . . . . 14 dom {⟨𝑤, 𝑣⟩} = 𝑤
5856, 57eqtri 2766 . . . . . . . . . . . . 13 dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = 𝑤
5952, 58eqtr2di 2795 . . . . . . . . . . . 12 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → 𝑤 = dom { ran {𝑦}})
6047, 59opeq12d 4812 . . . . . . . . . . 11 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ⟨𝑧, 𝑤⟩ = ⟨ dom {𝑦}, dom { ran {𝑦}}⟩)
6150rneqd 5847 . . . . . . . . . . . . 13 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ran { ran {𝑦}} = ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
6261unieqd 4853 . . . . . . . . . . . 12 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ran { ran {𝑦}} = ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
6354rneqi 5846 . . . . . . . . . . . . . 14 ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = ran {⟨𝑤, 𝑣⟩}
6463unieqi 4852 . . . . . . . . . . . . 13 ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = ran {⟨𝑤, 𝑣⟩}
6525, 19op2nda 6131 . . . . . . . . . . . . 13 ran {⟨𝑤, 𝑣⟩} = 𝑣
6664, 65eqtri 2766 . . . . . . . . . . . 12 ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = 𝑣
6762, 66eqtr2di 2795 . . . . . . . . . . 11 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → 𝑣 = ran { ran {𝑦}})
6860, 67opeq12d 4812 . . . . . . . . . 10 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩)
6941, 68eq2tri 2805 . . . . . . . . 9 ((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
70 anass 469 . . . . . . . . 9 (((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶) ↔ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))
7169, 70anbi12i 627 . . . . . . . 8 (((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ↔ ((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
72 an32 643 . . . . . . . 8 (((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ ((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
73 an32 643 . . . . . . . 8 (((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ↔ ((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
7471, 72, 733bitr4i 303 . . . . . . 7 (((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ ((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
7574exbii 1850 . . . . . 6 (∃𝑣((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ ∃𝑣((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
76 19.41v 1953 . . . . . 6 (∃𝑣((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩))
77 19.41v 1953 . . . . . 6 (∃𝑣((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ↔ (∃𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
7875, 76, 773bitr3i 301 . . . . 5 ((∃𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
79782exbii 1851 . . . 4 (∃𝑧𝑤(∃𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ ∃𝑧𝑤(∃𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
80 19.41vv 1954 . . . 4 (∃𝑧𝑤(∃𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩))
81 19.41vv 1954 . . . 4 (∃𝑧𝑤(∃𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ↔ (∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
8279, 80, 813bitr3i 301 . . 3 ((∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
83 elxp 5612 . . . . 5 (𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) ↔ ∃𝑢𝑣(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)))
84 excom 2162 . . . . 5 (∃𝑢𝑣(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ ∃𝑣𝑢(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)))
85 elxp 5612 . . . . . . . . 9 (𝑢 ∈ (𝐴 × 𝐵) ↔ ∃𝑧𝑤(𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)))
8685anbi1i 624 . . . . . . . 8 ((𝑢 ∈ (𝐴 × 𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (∃𝑧𝑤(𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
87 an12 642 . . . . . . . 8 ((𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ (𝑢 ∈ (𝐴 × 𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
88 19.41vv 1954 . . . . . . . 8 (∃𝑧𝑤((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (∃𝑧𝑤(𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
8986, 87, 883bitr4i 303 . . . . . . 7 ((𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ ∃𝑧𝑤((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
90892exbii 1851 . . . . . 6 (∃𝑣𝑢(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ ∃𝑣𝑢𝑧𝑤((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
91 exrot4 2166 . . . . . 6 (∃𝑣𝑢𝑧𝑤((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ ∃𝑧𝑤𝑣𝑢((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
92 anass 469 . . . . . . . . 9 (((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (𝑢 = ⟨𝑧, 𝑤⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶))))
9392exbii 1850 . . . . . . . 8 (∃𝑢((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ ∃𝑢(𝑢 = ⟨𝑧, 𝑤⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶))))
94 opeq1 4804 . . . . . . . . . . . 12 (𝑢 = ⟨𝑧, 𝑤⟩ → ⟨𝑢, 𝑣⟩ = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩)
9594eqeq2d 2749 . . . . . . . . . . 11 (𝑢 = ⟨𝑧, 𝑤⟩ → (𝑥 = ⟨𝑢, 𝑣⟩ ↔ 𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩))
9695anbi1d 630 . . . . . . . . . 10 (𝑢 = ⟨𝑧, 𝑤⟩ → ((𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶) ↔ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑣𝐶)))
9796anbi2d 629 . . . . . . . . 9 (𝑢 = ⟨𝑧, 𝑤⟩ → (((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑣𝐶))))
9818, 97ceqsexv 3479 . . . . . . . 8 (∃𝑢(𝑢 = ⟨𝑧, 𝑤⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶))) ↔ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑣𝐶)))
99 an12 642 . . . . . . . 8 (((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
10093, 98, 993bitri 297 . . . . . . 7 (∃𝑢((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
1011003exbii 1852 . . . . . 6 (∃𝑧𝑤𝑣𝑢((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ ∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
10290, 91, 1013bitri 297 . . . . 5 (∃𝑣𝑢(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ ∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
10383, 84, 1023bitri 297 . . . 4 (𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) ↔ ∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
104103anbi1i 624 . . 3 ((𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩))
105 elxp 5612 . . . . 5 (𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) ↔ ∃𝑧𝑢(𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))))
106 elxp 5612 . . . . . . . . . 10 (𝑢 ∈ (𝐵 × 𝐶) ↔ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶)))
107106anbi2i 623 . . . . . . . . 9 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ 𝑢 ∈ (𝐵 × 𝐶)) ↔ ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))))
108 anass 469 . . . . . . . . 9 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ 𝑢 ∈ (𝐵 × 𝐶)) ↔ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))))
109 19.42vv 1961 . . . . . . . . . 10 (∃𝑤𝑣((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))))
110 an12 642 . . . . . . . . . . . 12 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑤𝐵𝑣𝐶))))
111 anass 469 . . . . . . . . . . . . 13 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑤𝐵𝑣𝐶)) ↔ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
112111anbi2i 623 . . . . . . . . . . . 12 ((𝑢 = ⟨𝑤, 𝑣⟩ ∧ ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑤𝐵𝑣𝐶))) ↔ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
113110, 112bitri 274 . . . . . . . . . . 11 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
1141132exbii 1851 . . . . . . . . . 10 (∃𝑤𝑣((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
115109, 114bitr3i 276 . . . . . . . . 9 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
116107, 108, 1153bitr3i 301 . . . . . . . 8 ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))) ↔ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
117116exbii 1850 . . . . . . 7 (∃𝑢(𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))) ↔ ∃𝑢𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
118 exrot3 2165 . . . . . . 7 (∃𝑢𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))) ↔ ∃𝑤𝑣𝑢(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
119 opeq2 4805 . . . . . . . . . . 11 (𝑢 = ⟨𝑤, 𝑣⟩ → ⟨𝑧, 𝑢⟩ = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩)
120119eqeq2d 2749 . . . . . . . . . 10 (𝑢 = ⟨𝑤, 𝑣⟩ → (𝑦 = ⟨𝑧, 𝑢⟩ ↔ 𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩))
121120anbi1d 630 . . . . . . . . 9 (𝑢 = ⟨𝑤, 𝑣⟩ → ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ↔ (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
12245, 121ceqsexv 3479 . . . . . . . 8 (∃𝑢(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))) ↔ (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
1231222exbii 1851 . . . . . . 7 (∃𝑤𝑣𝑢(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))) ↔ ∃𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
124117, 118, 1233bitri 297 . . . . . 6 (∃𝑢(𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))) ↔ ∃𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
125124exbii 1850 . . . . 5 (∃𝑧𝑢(𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))) ↔ ∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
126105, 125bitri 274 . . . 4 (𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) ↔ ∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
127126anbi1i 624 . . 3 ((𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ↔ (∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
12882, 104, 1273bitr4i 303 . 2 ((𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
1295, 7, 9, 11, 128en2i 8778 1 ((𝐴 × 𝐵) × 𝐶) ≈ (𝐴 × (𝐵 × 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1539  wex 1782  wcel 2106  Vcvv 3432  {csn 4561  cop 4567   cuni 4839   class class class wbr 5074   × cxp 5587  dom cdm 5589  ran crn 5590  cen 8730
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-en 8734
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator