ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  xpassen GIF version

Theorem xpassen 6808
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 4726 . . 3 (𝐴 × 𝐵) ∈ V
4 xpassen.3 . . 3 𝐶 ∈ V
53, 4xpex 4726 . 2 ((𝐴 × 𝐵) × 𝐶) ∈ V
62, 4xpex 4726 . . 3 (𝐵 × 𝐶) ∈ V
71, 6xpex 4726 . 2 (𝐴 × (𝐵 × 𝐶)) ∈ V
8 vex 2733 . . . . . . . . . 10 𝑥 ∈ V
98snex 4171 . . . . . . . . 9 {𝑥} ∈ V
109dmex 4877 . . . . . . . 8 dom {𝑥} ∈ V
1110uniex 4422 . . . . . . 7 dom {𝑥} ∈ V
1211snex 4171 . . . . . 6 { dom {𝑥}} ∈ V
1312dmex 4877 . . . . 5 dom { dom {𝑥}} ∈ V
1413uniex 4422 . . . 4 dom { dom {𝑥}} ∈ V
1512rnex 4878 . . . . . 6 ran { dom {𝑥}} ∈ V
1615uniex 4422 . . . . 5 ran { dom {𝑥}} ∈ V
179rnex 4878 . . . . . 6 ran {𝑥} ∈ V
1817uniex 4422 . . . . 5 ran {𝑥} ∈ V
1916, 18opex 4214 . . . 4 ran { dom {𝑥}}, ran {𝑥}⟩ ∈ V
2014, 19opex 4214 . . 3 dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩ ∈ V
2120a1i 9 . 2 (𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) → ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩ ∈ V)
22 vex 2733 . . . . . . . 8 𝑦 ∈ V
2322snex 4171 . . . . . . 7 {𝑦} ∈ V
2423dmex 4877 . . . . . 6 dom {𝑦} ∈ V
2524uniex 4422 . . . . 5 dom {𝑦} ∈ V
2623rnex 4878 . . . . . . . . 9 ran {𝑦} ∈ V
2726uniex 4422 . . . . . . . 8 ran {𝑦} ∈ V
2827snex 4171 . . . . . . 7 { ran {𝑦}} ∈ V
2928dmex 4877 . . . . . 6 dom { ran {𝑦}} ∈ V
3029uniex 4422 . . . . 5 dom { ran {𝑦}} ∈ V
3125, 30opex 4214 . . . 4 dom {𝑦}, dom { ran {𝑦}}⟩ ∈ V
3228rnex 4878 . . . . 5 ran { ran {𝑦}} ∈ V
3332uniex 4422 . . . 4 ran { ran {𝑦}} ∈ V
3431, 33opex 4214 . . 3 ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩ ∈ V
3534a1i 9 . 2 (𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) → ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩ ∈ V)
36 sneq 3594 . . . . . . . . . . . . . . . . 17 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → {𝑥} = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
3736dmeqd 4813 . . . . . . . . . . . . . . . 16 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → dom {𝑥} = dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
3837unieqd 3807 . . . . . . . . . . . . . . 15 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → dom {𝑥} = dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
3938sneqd 3596 . . . . . . . . . . . . . 14 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → { dom {𝑥}} = { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
4039dmeqd 4813 . . . . . . . . . . . . 13 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → dom { dom {𝑥}} = dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
4140unieqd 3807 . . . . . . . . . . . 12 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → dom { dom {𝑥}} = dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
42 vex 2733 . . . . . . . . . . . . . . . . . 18 𝑧 ∈ V
43 vex 2733 . . . . . . . . . . . . . . . . . 18 𝑤 ∈ V
4442, 43opex 4214 . . . . . . . . . . . . . . . . 17 𝑧, 𝑤⟩ ∈ V
45 vex 2733 . . . . . . . . . . . . . . . . 17 𝑣 ∈ V
4644, 45op1sta 5092 . . . . . . . . . . . . . . . 16 dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩} = ⟨𝑧, 𝑤
4746sneqi 3595 . . . . . . . . . . . . . . 15 { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = {⟨𝑧, 𝑤⟩}
4847dmeqi 4812 . . . . . . . . . . . . . 14 dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = dom {⟨𝑧, 𝑤⟩}
4948unieqi 3806 . . . . . . . . . . . . 13 dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = dom {⟨𝑧, 𝑤⟩}
5042, 43op1sta 5092 . . . . . . . . . . . . 13 dom {⟨𝑧, 𝑤⟩} = 𝑧
5149, 50eqtri 2191 . . . . . . . . . . . 12 dom { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = 𝑧
5241, 51eqtr2di 2220 . . . . . . . . . . 11 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → 𝑧 = dom { dom {𝑥}})
5339rneqd 4840 . . . . . . . . . . . . . 14 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ran { dom {𝑥}} = ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
5453unieqd 3807 . . . . . . . . . . . . 13 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ran { dom {𝑥}} = ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}})
5547rneqi 4839 . . . . . . . . . . . . . . 15 ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = ran {⟨𝑧, 𝑤⟩}
5655unieqi 3806 . . . . . . . . . . . . . 14 ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = ran {⟨𝑧, 𝑤⟩}
5742, 43op2nda 5095 . . . . . . . . . . . . . 14 ran {⟨𝑧, 𝑤⟩} = 𝑤
5856, 57eqtri 2191 . . . . . . . . . . . . 13 ran { dom {⟨⟨𝑧, 𝑤⟩, 𝑣⟩}} = 𝑤
5954, 58eqtr2di 2220 . . . . . . . . . . . 12 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → 𝑤 = ran { dom {𝑥}})
6036rneqd 4840 . . . . . . . . . . . . . 14 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ran {𝑥} = ran {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
6160unieqd 3807 . . . . . . . . . . . . 13 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ran {𝑥} = ran {⟨⟨𝑧, 𝑤⟩, 𝑣⟩})
6244, 45op2nda 5095 . . . . . . . . . . . . 13 ran {⟨⟨𝑧, 𝑤⟩, 𝑣⟩} = 𝑣
6361, 62eqtr2di 2220 . . . . . . . . . . . 12 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → 𝑣 = ran {𝑥})
6459, 63opeq12d 3773 . . . . . . . . . . 11 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ⟨𝑤, 𝑣⟩ = ⟨ ran { dom {𝑥}}, ran {𝑥}⟩)
6552, 64opeq12d 3773 . . . . . . . . . 10 (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ → ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩)
66 sneq 3594 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → {𝑦} = {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
6766dmeqd 4813 . . . . . . . . . . . . . 14 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → dom {𝑦} = dom {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
6867unieqd 3807 . . . . . . . . . . . . 13 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → dom {𝑦} = dom {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
6943, 45opex 4214 . . . . . . . . . . . . . 14 𝑤, 𝑣⟩ ∈ V
7042, 69op1sta 5092 . . . . . . . . . . . . 13 dom {⟨𝑧, ⟨𝑤, 𝑣⟩⟩} = 𝑧
7168, 70eqtr2di 2220 . . . . . . . . . . . 12 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → 𝑧 = dom {𝑦})
7266rneqd 4840 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ran {𝑦} = ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
7372unieqd 3807 . . . . . . . . . . . . . . . 16 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ran {𝑦} = ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩})
7473sneqd 3596 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → { ran {𝑦}} = { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
7574dmeqd 4813 . . . . . . . . . . . . . 14 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → dom { ran {𝑦}} = dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
7675unieqd 3807 . . . . . . . . . . . . 13 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → dom { ran {𝑦}} = dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
7742, 69op2nda 5095 . . . . . . . . . . . . . . . . 17 ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩} = ⟨𝑤, 𝑣
7877sneqi 3595 . . . . . . . . . . . . . . . 16 { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = {⟨𝑤, 𝑣⟩}
7978dmeqi 4812 . . . . . . . . . . . . . . 15 dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = dom {⟨𝑤, 𝑣⟩}
8079unieqi 3806 . . . . . . . . . . . . . 14 dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = dom {⟨𝑤, 𝑣⟩}
8143, 45op1sta 5092 . . . . . . . . . . . . . 14 dom {⟨𝑤, 𝑣⟩} = 𝑤
8280, 81eqtri 2191 . . . . . . . . . . . . 13 dom { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = 𝑤
8376, 82eqtr2di 2220 . . . . . . . . . . . 12 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → 𝑤 = dom { ran {𝑦}})
8471, 83opeq12d 3773 . . . . . . . . . . 11 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ⟨𝑧, 𝑤⟩ = ⟨ dom {𝑦}, dom { ran {𝑦}}⟩)
8574rneqd 4840 . . . . . . . . . . . . 13 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ran { ran {𝑦}} = ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
8685unieqd 3807 . . . . . . . . . . . 12 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ran { ran {𝑦}} = ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}})
8778rneqi 4839 . . . . . . . . . . . . . 14 ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = ran {⟨𝑤, 𝑣⟩}
8887unieqi 3806 . . . . . . . . . . . . 13 ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = ran {⟨𝑤, 𝑣⟩}
8943, 45op2nda 5095 . . . . . . . . . . . . 13 ran {⟨𝑤, 𝑣⟩} = 𝑣
9088, 89eqtri 2191 . . . . . . . . . . . 12 ran { ran {⟨𝑧, ⟨𝑤, 𝑣⟩⟩}} = 𝑣
9186, 90eqtr2di 2220 . . . . . . . . . . 11 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → 𝑣 = ran { ran {𝑦}})
9284, 91opeq12d 3773 . . . . . . . . . 10 (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ → ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩)
9365, 92eq2tri 2230 . . . . . . . . 9 ((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
94 anass 399 . . . . . . . . 9 (((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶) ↔ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))
9593, 94anbi12i 457 . . . . . . . 8 (((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ↔ ((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
96 an32 557 . . . . . . . 8 (((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ ((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
97 an32 557 . . . . . . . 8 (((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ↔ ((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
9895, 96, 973bitr4i 211 . . . . . . 7 (((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ ((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
9998exbii 1598 . . . . . 6 (∃𝑣((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ ∃𝑣((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
100 19.41v 1895 . . . . . 6 (∃𝑣((𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩))
101 19.41v 1895 . . . . . 6 (∃𝑣((𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ↔ (∃𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
10299, 100, 1013bitr3i 209 . . . . 5 ((∃𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
1031022exbii 1599 . . . 4 (∃𝑧𝑤(∃𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ ∃𝑧𝑤(∃𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
104 19.41vv 1896 . . . 4 (∃𝑧𝑤(∃𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩))
105 19.41vv 1896 . . . 4 (∃𝑧𝑤(∃𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ↔ (∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
106103, 104, 1053bitr3i 209 . . 3 ((∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
107 elxp 4628 . . . . 5 (𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) ↔ ∃𝑢𝑣(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)))
108 excom 1657 . . . . 5 (∃𝑢𝑣(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ ∃𝑣𝑢(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)))
109 elxp 4628 . . . . . . . . 9 (𝑢 ∈ (𝐴 × 𝐵) ↔ ∃𝑧𝑤(𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)))
110109anbi1i 455 . . . . . . . 8 ((𝑢 ∈ (𝐴 × 𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (∃𝑧𝑤(𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
111 an12 556 . . . . . . . 8 ((𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ (𝑢 ∈ (𝐴 × 𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
112 19.41vv 1896 . . . . . . . 8 (∃𝑧𝑤((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (∃𝑧𝑤(𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
113110, 111, 1123bitr4i 211 . . . . . . 7 ((𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ ∃𝑧𝑤((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
1141132exbii 1599 . . . . . 6 (∃𝑣𝑢(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ ∃𝑣𝑢𝑧𝑤((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
115 exrot4 1684 . . . . . 6 (∃𝑣𝑢𝑧𝑤((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ ∃𝑧𝑤𝑣𝑢((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)))
116 anass 399 . . . . . . . . 9 (((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (𝑢 = ⟨𝑧, 𝑤⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶))))
117116exbii 1598 . . . . . . . 8 (∃𝑢((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ ∃𝑢(𝑢 = ⟨𝑧, 𝑤⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶))))
118 opeq1 3765 . . . . . . . . . . . 12 (𝑢 = ⟨𝑧, 𝑤⟩ → ⟨𝑢, 𝑣⟩ = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩)
119118eqeq2d 2182 . . . . . . . . . . 11 (𝑢 = ⟨𝑧, 𝑤⟩ → (𝑥 = ⟨𝑢, 𝑣⟩ ↔ 𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩))
120119anbi1d 462 . . . . . . . . . 10 (𝑢 = ⟨𝑧, 𝑤⟩ → ((𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶) ↔ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑣𝐶)))
121120anbi2d 461 . . . . . . . . 9 (𝑢 = ⟨𝑧, 𝑤⟩ → (((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑣𝐶))))
12244, 121ceqsexv 2769 . . . . . . . 8 (∃𝑢(𝑢 = ⟨𝑧, 𝑤⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶))) ↔ ((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑣𝐶)))
123 an12 556 . . . . . . . 8 (((𝑧𝐴𝑤𝐵) ∧ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
124117, 122, 1233bitri 205 . . . . . . 7 (∃𝑢((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ (𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
1251243exbii 1600 . . . . . 6 (∃𝑧𝑤𝑣𝑢((𝑢 = ⟨𝑧, 𝑤⟩ ∧ (𝑧𝐴𝑤𝐵)) ∧ (𝑥 = ⟨𝑢, 𝑣⟩ ∧ 𝑣𝐶)) ↔ ∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
126114, 115, 1253bitri 205 . . . . 5 (∃𝑣𝑢(𝑥 = ⟨𝑢, 𝑣⟩ ∧ (𝑢 ∈ (𝐴 × 𝐵) ∧ 𝑣𝐶)) ↔ ∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
127107, 108, 1263bitri 205 . . . 4 (𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) ↔ ∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)))
128127anbi1i 455 . . 3 ((𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (∃𝑧𝑤𝑣(𝑥 = ⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∧ ((𝑧𝐴𝑤𝐵) ∧ 𝑣𝐶)) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩))
129 elxp 4628 . . . . 5 (𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) ↔ ∃𝑧𝑢(𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))))
130 elxp 4628 . . . . . . . . . 10 (𝑢 ∈ (𝐵 × 𝐶) ↔ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶)))
131130anbi2i 454 . . . . . . . . 9 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ 𝑢 ∈ (𝐵 × 𝐶)) ↔ ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))))
132 anass 399 . . . . . . . . 9 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ 𝑢 ∈ (𝐵 × 𝐶)) ↔ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))))
133 19.42vv 1904 . . . . . . . . . 10 (∃𝑤𝑣((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))))
134 an12 556 . . . . . . . . . . . 12 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑤𝐵𝑣𝐶))))
135 anass 399 . . . . . . . . . . . . 13 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑤𝐵𝑣𝐶)) ↔ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
136135anbi2i 454 . . . . . . . . . . . 12 ((𝑢 = ⟨𝑤, 𝑣⟩ ∧ ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑤𝐵𝑣𝐶))) ↔ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
137134, 136bitri 183 . . . . . . . . . . 11 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
1381372exbii 1599 . . . . . . . . . 10 (∃𝑤𝑣((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ (𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
139133, 138bitr3i 185 . . . . . . . . 9 (((𝑦 = ⟨𝑧, 𝑢⟩ ∧ 𝑧𝐴) ∧ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑤𝐵𝑣𝐶))) ↔ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
140131, 132, 1393bitr3i 209 . . . . . . . 8 ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))) ↔ ∃𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
141140exbii 1598 . . . . . . 7 (∃𝑢(𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))) ↔ ∃𝑢𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
142 exrot3 1683 . . . . . . 7 (∃𝑢𝑤𝑣(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))) ↔ ∃𝑤𝑣𝑢(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
143 opeq2 3766 . . . . . . . . . . 11 (𝑢 = ⟨𝑤, 𝑣⟩ → ⟨𝑧, 𝑢⟩ = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩)
144143eqeq2d 2182 . . . . . . . . . 10 (𝑢 = ⟨𝑤, 𝑣⟩ → (𝑦 = ⟨𝑧, 𝑢⟩ ↔ 𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩))
145144anbi1d 462 . . . . . . . . 9 (𝑢 = ⟨𝑤, 𝑣⟩ → ((𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ↔ (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))))
14669, 145ceqsexv 2769 . . . . . . . 8 (∃𝑢(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))) ↔ (𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
1471462exbii 1599 . . . . . . 7 (∃𝑤𝑣𝑢(𝑢 = ⟨𝑤, 𝑣⟩ ∧ (𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶)))) ↔ ∃𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
148141, 142, 1473bitri 205 . . . . . 6 (∃𝑢(𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))) ↔ ∃𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
149148exbii 1598 . . . . 5 (∃𝑧𝑢(𝑦 = ⟨𝑧, 𝑢⟩ ∧ (𝑧𝐴𝑢 ∈ (𝐵 × 𝐶))) ↔ ∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
150129, 149bitri 183 . . . 4 (𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) ↔ ∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))))
151150anbi1i 455 . . 3 ((𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩) ↔ (∃𝑧𝑤𝑣(𝑦 = ⟨𝑧, ⟨𝑤, 𝑣⟩⟩ ∧ (𝑧𝐴 ∧ (𝑤𝐵𝑣𝐶))) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
152106, 128, 1513bitr4i 211 . 2 ((𝑥 ∈ ((𝐴 × 𝐵) × 𝐶) ∧ 𝑦 = ⟨ dom { dom {𝑥}}, ⟨ ran { dom {𝑥}}, ran {𝑥}⟩⟩) ↔ (𝑦 ∈ (𝐴 × (𝐵 × 𝐶)) ∧ 𝑥 = ⟨⟨ dom {𝑦}, dom { ran {𝑦}}⟩, ran { ran {𝑦}}⟩))
1535, 7, 21, 35, 152en2i 6748 1 ((𝐴 × 𝐵) × 𝐶) ≈ (𝐴 × (𝐵 × 𝐶))
Colors of variables: wff set class
Syntax hints:  wa 103   = wceq 1348  wex 1485  wcel 2141  Vcvv 2730  {csn 3583  cop 3586   cuni 3796   class class class wbr 3989   × cxp 4609  dom cdm 4611  ran crn 4612  cen 6716
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ral 2453  df-rex 2454  df-v 2732  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-en 6719
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator