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

Theorem genpass 10765
Description: Associativity of an operation on reals. (Contributed by NM, 18-Mar-1996.) (Revised by Mario Carneiro, 12-Jun-2013.) (New usage is discouraged.)
Hypotheses
Ref Expression
genp.1 𝐹 = (𝑤P, 𝑣P ↦ {𝑥 ∣ ∃𝑦𝑤𝑧𝑣 𝑥 = (𝑦𝐺𝑧)})
genp.2 ((𝑦Q𝑧Q) → (𝑦𝐺𝑧) ∈ Q)
genpass.4 dom 𝐹 = (P × P)
genpass.5 ((𝑓P𝑔P) → (𝑓𝐹𝑔) ∈ P)
genpass.6 ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺))
Assertion
Ref Expression
genpass ((𝐴𝐹𝐵)𝐹𝐶) = (𝐴𝐹(𝐵𝐹𝐶))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑓,𝑔,,𝐴   𝑥,𝐵,𝑦,𝑧,𝑓,𝑔,   𝑥,𝑤,𝑣,𝐺,𝑦,𝑧,𝑓,𝑔,   𝑓,𝐹,𝑔   𝐶,𝑓,𝑔,,𝑥,𝑦,𝑧   𝑥,𝐹,𝑦,𝑧,
Allowed substitution hints:   𝐴(𝑤,𝑣)   𝐵(𝑤,𝑣)   𝐶(𝑤,𝑣)   𝐹(𝑤,𝑣)

Proof of Theorem genpass
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 genp.1 . . . . . . . . . 10 𝐹 = (𝑤P, 𝑣P ↦ {𝑥 ∣ ∃𝑦𝑤𝑧𝑣 𝑥 = (𝑦𝐺𝑧)})
2 genp.2 . . . . . . . . . 10 ((𝑦Q𝑧Q) → (𝑦𝐺𝑧) ∈ Q)
31, 2genpelv 10756 . . . . . . . . 9 ((𝐵P𝐶P) → (𝑡 ∈ (𝐵𝐹𝐶) ↔ ∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺)))
433adant1 1129 . . . . . . . 8 ((𝐴P𝐵P𝐶P) → (𝑡 ∈ (𝐵𝐹𝐶) ↔ ∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺)))
54anbi1d 630 . . . . . . 7 ((𝐴P𝐵P𝐶P) → ((𝑡 ∈ (𝐵𝐹𝐶) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
65exbidv 1924 . . . . . 6 ((𝐴P𝐵P𝐶P) → (∃𝑡(𝑡 ∈ (𝐵𝐹𝐶) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃𝑡(∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
7 df-rex 3070 . . . . . 6 (∃𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(𝑡 ∈ (𝐵𝐹𝐶) ∧ 𝑥 = (𝑓𝐺𝑡)))
8 ovex 7308 . . . . . . . . . . . . 13 (𝑔𝐺) ∈ V
98isseti 3447 . . . . . . . . . . . 12 𝑡 𝑡 = (𝑔𝐺)
109biantrur 531 . . . . . . . . . . 11 (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
11 19.41v 1953 . . . . . . . . . . 11 (∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1210, 11bitr4i 277 . . . . . . . . . 10 (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1312rexbii 3181 . . . . . . . . 9 (∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝐶𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
14 rexcom4 3233 . . . . . . . . 9 (∃𝐶𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1513, 14bitri 274 . . . . . . . 8 (∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1615rexbii 3181 . . . . . . 7 (∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔𝐵𝑡𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
17 rexcom4 3233 . . . . . . 7 (∃𝑔𝐵𝑡𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡𝑔𝐵𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
18 oveq2 7283 . . . . . . . . . . . . . . 15 (𝑡 = (𝑔𝐺) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
19 genpass.6 . . . . . . . . . . . . . . 15 ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺))
2018, 19eqtr4di 2796 . . . . . . . . . . . . . 14 (𝑡 = (𝑔𝐺) → (𝑓𝐺𝑡) = ((𝑓𝐺𝑔)𝐺))
2120eqeq2d 2749 . . . . . . . . . . . . 13 (𝑡 = (𝑔𝐺) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
2221pm5.32i 575 . . . . . . . . . . . 12 ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
2322rexbii 3181 . . . . . . . . . . 11 (∃𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
24 r19.41v 3276 . . . . . . . . . . 11 (∃𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2523, 24bitr3i 276 . . . . . . . . . 10 (∃𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2625rexbii 3181 . . . . . . . . 9 (∃𝑔𝐵𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑔𝐵 (∃𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
27 r19.41v 3276 . . . . . . . . 9 (∃𝑔𝐵 (∃𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2826, 27bitri 274 . . . . . . . 8 (∃𝑔𝐵𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2928exbii 1850 . . . . . . 7 (∃𝑡𝑔𝐵𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡(∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
3016, 17, 293bitri 297 . . . . . 6 (∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
316, 7, 303bitr4g 314 . . . . 5 ((𝐴P𝐵P𝐶P) → (∃𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
3231rexbidv 3226 . . . 4 ((𝐴P𝐵P𝐶P) → (∃𝑓𝐴𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓𝐴𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
33 genpass.5 . . . . . . 7 ((𝑓P𝑔P) → (𝑓𝐹𝑔) ∈ P)
3433caovcl 7466 . . . . . 6 ((𝐵P𝐶P) → (𝐵𝐹𝐶) ∈ P)
351, 2genpelv 10756 . . . . . 6 ((𝐴P ∧ (𝐵𝐹𝐶) ∈ P) → (𝑥 ∈ (𝐴𝐹(𝐵𝐹𝐶)) ↔ ∃𝑓𝐴𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡)))
3634, 35sylan2 593 . . . . 5 ((𝐴P ∧ (𝐵P𝐶P)) → (𝑥 ∈ (𝐴𝐹(𝐵𝐹𝐶)) ↔ ∃𝑓𝐴𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡)))
37363impb 1114 . . . 4 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (𝐴𝐹(𝐵𝐹𝐶)) ↔ ∃𝑓𝐴𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡)))
3833caovcl 7466 . . . . . 6 ((𝐴P𝐵P) → (𝐴𝐹𝐵) ∈ P)
391, 2genpelv 10756 . . . . . 6 (((𝐴𝐹𝐵) ∈ P𝐶P) → (𝑥 ∈ ((𝐴𝐹𝐵)𝐹𝐶) ↔ ∃𝑡 ∈ (𝐴𝐹𝐵)∃𝐶 𝑥 = (𝑡𝐺)))
4038, 39stoic3 1779 . . . . 5 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ ((𝐴𝐹𝐵)𝐹𝐶) ↔ ∃𝑡 ∈ (𝐴𝐹𝐵)∃𝐶 𝑥 = (𝑡𝐺)))
411, 2genpelv 10756 . . . . . . . . 9 ((𝐴P𝐵P) → (𝑡 ∈ (𝐴𝐹𝐵) ↔ ∃𝑓𝐴𝑔𝐵 𝑡 = (𝑓𝐺𝑔)))
42413adant3 1131 . . . . . . . 8 ((𝐴P𝐵P𝐶P) → (𝑡 ∈ (𝐴𝐹𝐵) ↔ ∃𝑓𝐴𝑔𝐵 𝑡 = (𝑓𝐺𝑔)))
4342anbi1d 630 . . . . . . 7 ((𝐴P𝐵P𝐶P) → ((𝑡 ∈ (𝐴𝐹𝐵) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ (∃𝑓𝐴𝑔𝐵 𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺))))
4443exbidv 1924 . . . . . 6 ((𝐴P𝐵P𝐶P) → (∃𝑡(𝑡 ∈ (𝐴𝐹𝐵) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ ∃𝑡(∃𝑓𝐴𝑔𝐵 𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺))))
45 df-rex 3070 . . . . . 6 (∃𝑡 ∈ (𝐴𝐹𝐵)∃𝐶 𝑥 = (𝑡𝐺) ↔ ∃𝑡(𝑡 ∈ (𝐴𝐹𝐵) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
46 19.41v 1953 . . . . . . . . . . 11 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
47 oveq1 7282 . . . . . . . . . . . . . . 15 (𝑡 = (𝑓𝐺𝑔) → (𝑡𝐺) = ((𝑓𝐺𝑔)𝐺))
4847eqeq2d 2749 . . . . . . . . . . . . . 14 (𝑡 = (𝑓𝐺𝑔) → (𝑥 = (𝑡𝐺) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
4948rexbidv 3226 . . . . . . . . . . . . 13 (𝑡 = (𝑓𝐺𝑔) → (∃𝐶 𝑥 = (𝑡𝐺) ↔ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
5049pm5.32i 575 . . . . . . . . . . . 12 ((𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
5150exbii 1850 . . . . . . . . . . 11 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
52 ovex 7308 . . . . . . . . . . . . 13 (𝑓𝐺𝑔) ∈ V
5352isseti 3447 . . . . . . . . . . . 12 𝑡 𝑡 = (𝑓𝐺𝑔)
5453biantrur 531 . . . . . . . . . . 11 (∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
5546, 51, 543bitr4ri 304 . . . . . . . . . 10 (∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
5655rexbii 3181 . . . . . . . . 9 (∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔𝐵𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
57 rexcom4 3233 . . . . . . . . 9 (∃𝑔𝐵𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
5856, 57bitri 274 . . . . . . . 8 (∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
5958rexbii 3181 . . . . . . 7 (∃𝑓𝐴𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑓𝐴𝑡𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
60 rexcom4 3233 . . . . . . 7 (∃𝑓𝐴𝑡𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑓𝐴𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
61 r19.41vv 3278 . . . . . . . 8 (∃𝑓𝐴𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ (∃𝑓𝐴𝑔𝐵 𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
6261exbii 1850 . . . . . . 7 (∃𝑡𝑓𝐴𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ ∃𝑡(∃𝑓𝐴𝑔𝐵 𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
6359, 60, 623bitri 297 . . . . . 6 (∃𝑓𝐴𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓𝐴𝑔𝐵 𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
6444, 45, 633bitr4g 314 . . . . 5 ((𝐴P𝐵P𝐶P) → (∃𝑡 ∈ (𝐴𝐹𝐵)∃𝐶 𝑥 = (𝑡𝐺) ↔ ∃𝑓𝐴𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
6540, 64bitrd 278 . . . 4 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ ((𝐴𝐹𝐵)𝐹𝐶) ↔ ∃𝑓𝐴𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
6632, 37, 653bitr4rd 312 . . 3 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ ((𝐴𝐹𝐵)𝐹𝐶) ↔ 𝑥 ∈ (𝐴𝐹(𝐵𝐹𝐶))))
6766eqrdv 2736 . 2 ((𝐴P𝐵P𝐶P) → ((𝐴𝐹𝐵)𝐹𝐶) = (𝐴𝐹(𝐵𝐹𝐶)))
68 genpass.4 . . 3 dom 𝐹 = (P × P)
69 0npr 10748 . . 3 ¬ ∅ ∈ P
7068, 69ndmovass 7460 . 2 (¬ (𝐴P𝐵P𝐶P) → ((𝐴𝐹𝐵)𝐹𝐶) = (𝐴𝐹(𝐵𝐹𝐶)))
7167, 70pm2.61i 182 1 ((𝐴𝐹𝐵)𝐹𝐶) = (𝐴𝐹(𝐵𝐹𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wex 1782  wcel 2106  {cab 2715  wrex 3065   × cxp 5587  dom cdm 5589  (class class class)co 7275  cmpo 7277  Qcnq 10608  Pcnp 10615
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  ax-inf2 9399
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  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-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  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-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-ni 10628  df-nq 10668  df-np 10737
This theorem is referenced by:  addasspr  10778  mulasspr  10780
  Copyright terms: Public domain W3C validator