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

Theorem genpass 10775
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 10766 . . . . . . . . 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 7300 . . . . . . . . . . . . 13 (𝑔𝐺) ∈ V
98isseti 3444 . . . . . . . . . . . 12 𝑡 𝑡 = (𝑔𝐺)
109biantrur 531 . . . . . . . . . . 11 (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
11 19.41v 1953 . . . . . . . . . . 11 (∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1210, 11bitr4i 277 . . . . . . . . . 10 (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1312rexbii 3179 . . . . . . . . 9 (∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝐶𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
14 rexcom4 3231 . . . . . . . . 9 (∃𝐶𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1513, 14bitri 274 . . . . . . . 8 (∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1615rexbii 3179 . . . . . . 7 (∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔𝐵𝑡𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
17 rexcom4 3231 . . . . . . 7 (∃𝑔𝐵𝑡𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡𝑔𝐵𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
18 oveq2 7275 . . . . . . . . . . . . . . 15 (𝑡 = (𝑔𝐺) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
19 genpass.6 . . . . . . . . . . . . . . 15 ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺))
2018, 19eqtr4di 2796 . . . . . . . . . . . . . 14 (𝑡 = (𝑔𝐺) → (𝑓𝐺𝑡) = ((𝑓𝐺𝑔)𝐺))
2120eqeq2d 2749 . . . . . . . . . . . . 13 (𝑡 = (𝑔𝐺) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
2221pm5.32i 575 . . . . . . . . . . . 12 ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
2322rexbii 3179 . . . . . . . . . . 11 (∃𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
24 r19.41v 3274 . . . . . . . . . . 11 (∃𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2523, 24bitr3i 276 . . . . . . . . . 10 (∃𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2625rexbii 3179 . . . . . . . . 9 (∃𝑔𝐵𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑔𝐵 (∃𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
27 r19.41v 3274 . . . . . . . . 9 (∃𝑔𝐵 (∃𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2826, 27bitri 274 . . . . . . . 8 (∃𝑔𝐵𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2928exbii 1850 . . . . . . 7 (∃𝑡𝑔𝐵𝐶 (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡(∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
3016, 17, 293bitri 297 . . . . . 6 (∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑔𝐵𝐶 𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
316, 7, 303bitr4g 314 . . . . 5 ((𝐴P𝐵P𝐶P) → (∃𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
3231rexbidv 3224 . . . 4 ((𝐴P𝐵P𝐶P) → (∃𝑓𝐴𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓𝐴𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
33 genpass.5 . . . . . . 7 ((𝑓P𝑔P) → (𝑓𝐹𝑔) ∈ P)
3433caovcl 7456 . . . . . 6 ((𝐵P𝐶P) → (𝐵𝐹𝐶) ∈ P)
351, 2genpelv 10766 . . . . . 6 ((𝐴P ∧ (𝐵𝐹𝐶) ∈ P) → (𝑥 ∈ (𝐴𝐹(𝐵𝐹𝐶)) ↔ ∃𝑓𝐴𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡)))
3634, 35sylan2 593 . . . . 5 ((𝐴P ∧ (𝐵P𝐶P)) → (𝑥 ∈ (𝐴𝐹(𝐵𝐹𝐶)) ↔ ∃𝑓𝐴𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡)))
37363impb 1114 . . . 4 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (𝐴𝐹(𝐵𝐹𝐶)) ↔ ∃𝑓𝐴𝑡 ∈ (𝐵𝐹𝐶)𝑥 = (𝑓𝐺𝑡)))
3833caovcl 7456 . . . . . 6 ((𝐴P𝐵P) → (𝐴𝐹𝐵) ∈ P)
391, 2genpelv 10766 . . . . . 6 (((𝐴𝐹𝐵) ∈ P𝐶P) → (𝑥 ∈ ((𝐴𝐹𝐵)𝐹𝐶) ↔ ∃𝑡 ∈ (𝐴𝐹𝐵)∃𝐶 𝑥 = (𝑡𝐺)))
4038, 39stoic3 1779 . . . . 5 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ ((𝐴𝐹𝐵)𝐹𝐶) ↔ ∃𝑡 ∈ (𝐴𝐹𝐵)∃𝐶 𝑥 = (𝑡𝐺)))
411, 2genpelv 10766 . . . . . . . . 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 7274 . . . . . . . . . . . . . . 15 (𝑡 = (𝑓𝐺𝑔) → (𝑡𝐺) = ((𝑓𝐺𝑔)𝐺))
4847eqeq2d 2749 . . . . . . . . . . . . . 14 (𝑡 = (𝑓𝐺𝑔) → (𝑥 = (𝑡𝐺) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
4948rexbidv 3224 . . . . . . . . . . . . 13 (𝑡 = (𝑓𝐺𝑔) → (∃𝐶 𝑥 = (𝑡𝐺) ↔ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
5049pm5.32i 575 . . . . . . . . . . . 12 ((𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
5150exbii 1850 . . . . . . . . . . 11 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
52 ovex 7300 . . . . . . . . . . . . 13 (𝑓𝐺𝑔) ∈ V
5352isseti 3444 . . . . . . . . . . . 12 𝑡 𝑡 = (𝑓𝐺𝑔)
5453biantrur 531 . . . . . . . . . . 11 (∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺)))
5546, 51, 543bitr4ri 304 . . . . . . . . . 10 (∃𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
5655rexbii 3179 . . . . . . . . 9 (∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔𝐵𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
57 rexcom4 3231 . . . . . . . . 9 (∃𝑔𝐵𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
5856, 57bitri 274 . . . . . . . 8 (∃𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
5958rexbii 3179 . . . . . . 7 (∃𝑓𝐴𝑔𝐵𝐶 𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑓𝐴𝑡𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
60 rexcom4 3231 . . . . . . 7 (∃𝑓𝐴𝑡𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑓𝐴𝑔𝐵 (𝑡 = (𝑓𝐺𝑔) ∧ ∃𝐶 𝑥 = (𝑡𝐺)))
61 r19.41vv 3276 . . . . . . . 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 10758 . . 3 ¬ ∅ ∈ P
7068, 69ndmovass 7450 . 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 5582  dom cdm 5584  (class class class)co 7267  cmpo 7269  Qcnq 10618  Pcnp 10625
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 5221  ax-nul 5228  ax-pow 5286  ax-pr 5350  ax-un 7578  ax-inf2 9386
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 3431  df-sbc 3716  df-dif 3889  df-un 3891  df-in 3893  df-ss 3903  df-pss 3905  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5074  df-opab 5136  df-tr 5191  df-id 5484  df-eprel 5490  df-po 5498  df-so 5499  df-fr 5539  df-we 5541  df-xp 5590  df-rel 5591  df-cnv 5592  df-co 5593  df-dm 5594  df-ord 6262  df-on 6263  df-lim 6264  df-suc 6265  df-iota 6384  df-fun 6428  df-fv 6434  df-ov 7270  df-oprab 7271  df-mpo 7272  df-om 7703  df-ni 10638  df-nq 10678  df-np 10747
This theorem is referenced by:  addasspr  10788  mulasspr  10790
  Copyright terms: Public domain W3C validator