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

Theorem genpassu 7466
Description: Associativity of upper cuts. Lemma for genpassg 7467. (Contributed by Jim Kingdon, 11-Dec-2019.)
Hypotheses
Ref Expression
genpelvl.1 𝐹 = (𝑤P, 𝑣P ↦ ⟨{𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (1st𝑤) ∧ 𝑧 ∈ (1st𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}, {𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (2nd𝑤) ∧ 𝑧 ∈ (2nd𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}⟩)
genpelvl.2 ((𝑦Q𝑧Q) → (𝑦𝐺𝑧) ∈ Q)
genpassg.4 dom 𝐹 = (P × P)
genpassg.5 ((𝑓P𝑔P) → (𝑓𝐹𝑔) ∈ P)
genpassg.6 ((𝑓Q𝑔QQ) → ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺)))
Assertion
Ref Expression
genpassu ((𝐴P𝐵P𝐶P) → (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) = (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑓,𝑔,,𝑤,𝑣,𝐴   𝑥,𝐵,𝑦,𝑧,𝑓,𝑔,,𝑤,𝑣   𝑥,𝐺,𝑦,𝑧,𝑓,𝑔,,𝑤,𝑣   𝑓,𝐹,𝑔   𝐶,𝑓,𝑔,,𝑣,𝑤,𝑥,𝑦,𝑧   ,𝐹,𝑣,𝑤,𝑥,𝑦,𝑧

Proof of Theorem genpassu
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 prop 7416 . . . . . . . . 9 (𝐴P → ⟨(1st𝐴), (2nd𝐴)⟩ ∈ P)
2 elprnqu 7423 . . . . . . . . 9 ((⟨(1st𝐴), (2nd𝐴)⟩ ∈ P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
31, 2sylan 281 . . . . . . . 8 ((𝐴P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
4 prop 7416 . . . . . . . . . . . . . . . 16 (𝐵P → ⟨(1st𝐵), (2nd𝐵)⟩ ∈ P)
5 elprnqu 7423 . . . . . . . . . . . . . . . 16 ((⟨(1st𝐵), (2nd𝐵)⟩ ∈ P𝑔 ∈ (2nd𝐵)) → 𝑔Q)
64, 5sylan 281 . . . . . . . . . . . . . . 15 ((𝐵P𝑔 ∈ (2nd𝐵)) → 𝑔Q)
7 prop 7416 . . . . . . . . . . . . . . . . . . . . 21 (𝐶P → ⟨(1st𝐶), (2nd𝐶)⟩ ∈ P)
8 elprnqu 7423 . . . . . . . . . . . . . . . . . . . . 21 ((⟨(1st𝐶), (2nd𝐶)⟩ ∈ P ∈ (2nd𝐶)) → Q)
97, 8sylan 281 . . . . . . . . . . . . . . . . . . . 20 ((𝐶P ∈ (2nd𝐶)) → Q)
10 oveq2 5850 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑡 = (𝑔𝐺) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
1110adantr 274 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
12 genpassg.6 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑓Q𝑔QQ) → ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺)))
1312adantl 275 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺)))
1411, 13eqtr4d 2201 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑓𝐺𝑡) = ((𝑓𝐺𝑔)𝐺))
1514eqeq2d 2177 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1615expcom 115 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑓Q𝑔QQ) → (𝑡 = (𝑔𝐺) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
1716pm5.32d 446 . . . . . . . . . . . . . . . . . . . . 21 ((𝑓Q𝑔QQ) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
18173expa 1193 . . . . . . . . . . . . . . . . . . . 20 (((𝑓Q𝑔Q) ∧ Q) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
199, 18sylan2 284 . . . . . . . . . . . . . . . . . . 19 (((𝑓Q𝑔Q) ∧ (𝐶P ∈ (2nd𝐶))) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2019anassrs 398 . . . . . . . . . . . . . . . . . 18 ((((𝑓Q𝑔Q) ∧ 𝐶P) ∧ ∈ (2nd𝐶)) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2120rexbidva 2463 . . . . . . . . . . . . . . . . 17 (((𝑓Q𝑔Q) ∧ 𝐶P) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
22 r19.41v 2622 . . . . . . . . . . . . . . . . 17 (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2321, 22bitr3di 194 . . . . . . . . . . . . . . . 16 (((𝑓Q𝑔Q) ∧ 𝐶P) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2423an32s 558 . . . . . . . . . . . . . . 15 (((𝑓Q𝐶P) ∧ 𝑔Q) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
256, 24sylan2 284 . . . . . . . . . . . . . 14 (((𝑓Q𝐶P) ∧ (𝐵P𝑔 ∈ (2nd𝐵))) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2625anassrs 398 . . . . . . . . . . . . 13 ((((𝑓Q𝐶P) ∧ 𝐵P) ∧ 𝑔 ∈ (2nd𝐵)) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2726rexbidva 2463 . . . . . . . . . . . 12 (((𝑓Q𝐶P) ∧ 𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑔 ∈ (2nd𝐵)(∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
28 r19.41v 2622 . . . . . . . . . . . 12 (∃𝑔 ∈ (2nd𝐵)(∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2927, 28bitrdi 195 . . . . . . . . . . 11 (((𝑓Q𝐶P) ∧ 𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
3029an31s 560 . . . . . . . . . 10 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
3130exbidv 1813 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
32 genpelvl.2 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑦Q𝑧Q) → (𝑦𝐺𝑧) ∈ Q)
3332caovcl 5996 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑔QQ) → (𝑔𝐺) ∈ Q)
34 elisset 2740 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑔𝐺) ∈ Q → ∃𝑡 𝑡 = (𝑔𝐺))
3533, 34syl 14 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑔QQ) → ∃𝑡 𝑡 = (𝑔𝐺))
3635biantrurd 303 . . . . . . . . . . . . . . . . . . . . 21 ((𝑔QQ) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
37 19.41v 1890 . . . . . . . . . . . . . . . . . . . . 21 (∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
3836, 37bitr4di 197 . . . . . . . . . . . . . . . . . . . 20 ((𝑔QQ) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
399, 38sylan2 284 . . . . . . . . . . . . . . . . . . 19 ((𝑔Q ∧ (𝐶P ∈ (2nd𝐶))) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4039anassrs 398 . . . . . . . . . . . . . . . . . 18 (((𝑔Q𝐶P) ∧ ∈ (2nd𝐶)) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4140rexbidva 2463 . . . . . . . . . . . . . . . . 17 ((𝑔Q𝐶P) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃ ∈ (2nd𝐶)∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
42 rexcom4 2749 . . . . . . . . . . . . . . . . 17 (∃ ∈ (2nd𝐶)∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
4341, 42bitrdi 195 . . . . . . . . . . . . . . . 16 ((𝑔Q𝐶P) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4443ancoms 266 . . . . . . . . . . . . . . 15 ((𝐶P𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
456, 44sylan2 284 . . . . . . . . . . . . . 14 ((𝐶P ∧ (𝐵P𝑔 ∈ (2nd𝐵))) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4645anassrs 398 . . . . . . . . . . . . 13 (((𝐶P𝐵P) ∧ 𝑔 ∈ (2nd𝐵)) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4746rexbidva 2463 . . . . . . . . . . . 12 ((𝐶P𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4847ancoms 266 . . . . . . . . . . 11 ((𝐵P𝐶P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
49 rexcom4 2749 . . . . . . . . . . 11 (∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
5048, 49bitrdi 195 . . . . . . . . . 10 ((𝐵P𝐶P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
5150adantr 274 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
52 df-rex 2450 . . . . . . . . . . 11 (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)))
53 genpelvl.1 . . . . . . . . . . . . . 14 𝐹 = (𝑤P, 𝑣P ↦ ⟨{𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (1st𝑤) ∧ 𝑧 ∈ (1st𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}, {𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (2nd𝑤) ∧ 𝑧 ∈ (2nd𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}⟩)
5453, 32genpelvu 7454 . . . . . . . . . . . . 13 ((𝐵P𝐶P) → (𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺)))
5554anbi1d 461 . . . . . . . . . . . 12 ((𝐵P𝐶P) → ((𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5655exbidv 1813 . . . . . . . . . . 11 ((𝐵P𝐶P) → (∃𝑡(𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5752, 56syl5bb 191 . . . . . . . . . 10 ((𝐵P𝐶P) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5857adantr 274 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5931, 51, 583bitr4rd 220 . . . . . . . 8 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
603, 59sylan2 284 . . . . . . 7 (((𝐵P𝐶P) ∧ (𝐴P𝑓 ∈ (2nd𝐴))) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6160anassrs 398 . . . . . 6 ((((𝐵P𝐶P) ∧ 𝐴P) ∧ 𝑓 ∈ (2nd𝐴)) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6261rexbidva 2463 . . . . 5 (((𝐵P𝐶P) ∧ 𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6362ancoms 266 . . . 4 ((𝐴P ∧ (𝐵P𝐶P)) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
64633impb 1189 . . 3 ((𝐴P𝐵P𝐶P) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
65 genpassg.5 . . . . . 6 ((𝑓P𝑔P) → (𝑓𝐹𝑔) ∈ P)
6665caovcl 5996 . . . . 5 ((𝐵P𝐶P) → (𝐵𝐹𝐶) ∈ P)
6753, 32genpelvu 7454 . . . . 5 ((𝐴P ∧ (𝐵𝐹𝐶) ∈ P) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
6866, 67sylan2 284 . . . 4 ((𝐴P ∧ (𝐵P𝐶P)) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
69683impb 1189 . . 3 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
70 df-rex 2450 . . . . 5 (∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃𝑡(𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
7153, 32genpelvu 7454 . . . . . . . 8 ((𝐴P𝐵P) → (𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔)))
72713adant3 1007 . . . . . . 7 ((𝐴P𝐵P𝐶P) → (𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔)))
7372anbi1d 461 . . . . . 6 ((𝐴P𝐵P𝐶P) → ((𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7473exbidv 1813 . . . . 5 ((𝐴P𝐵P𝐶P) → (∃𝑡(𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7570, 74syl5bb 191 . . . 4 ((𝐴P𝐵P𝐶P) → (∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7665caovcl 5996 . . . . . 6 ((𝐴P𝐵P) → (𝐴𝐹𝐵) ∈ P)
7753, 32genpelvu 7454 . . . . . 6 (((𝐴𝐹𝐵) ∈ P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
7876, 77sylan 281 . . . . 5 (((𝐴P𝐵P) ∧ 𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
79783impa 1184 . . . 4 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
8032caovcl 5996 . . . . . . . . . . . . . . . . . . 19 ((𝑓Q𝑔Q) → (𝑓𝐺𝑔) ∈ Q)
81 elisset 2740 . . . . . . . . . . . . . . . . . . 19 ((𝑓𝐺𝑔) ∈ Q → ∃𝑡 𝑡 = (𝑓𝐺𝑔))
8280, 81syl 14 . . . . . . . . . . . . . . . . . 18 ((𝑓Q𝑔Q) → ∃𝑡 𝑡 = (𝑓𝐺𝑔))
8382biantrurd 303 . . . . . . . . . . . . . . . . 17 ((𝑓Q𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺))))
84 oveq1 5849 . . . . . . . . . . . . . . . . . . . . . 22 (𝑡 = (𝑓𝐺𝑔) → (𝑡𝐺) = ((𝑓𝐺𝑔)𝐺))
8584eqeq2d 2177 . . . . . . . . . . . . . . . . . . . . 21 (𝑡 = (𝑓𝐺𝑔) → (𝑥 = (𝑡𝐺) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
8685rexbidv 2467 . . . . . . . . . . . . . . . . . . . 20 (𝑡 = (𝑓𝐺𝑔) → (∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
8786pm5.32i 450 . . . . . . . . . . . . . . . . . . 19 ((𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
8887exbii 1593 . . . . . . . . . . . . . . . . . 18 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
89 19.41v 1890 . . . . . . . . . . . . . . . . . 18 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
9088, 89bitri 183 . . . . . . . . . . . . . . . . 17 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
9183, 90bitr4di 197 . . . . . . . . . . . . . . . 16 ((𝑓Q𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
926, 91sylan2 284 . . . . . . . . . . . . . . 15 ((𝑓Q ∧ (𝐵P𝑔 ∈ (2nd𝐵))) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9392anassrs 398 . . . . . . . . . . . . . 14 (((𝑓Q𝐵P) ∧ 𝑔 ∈ (2nd𝐵)) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9493rexbidva 2463 . . . . . . . . . . . . 13 ((𝑓Q𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
95 rexcom4 2749 . . . . . . . . . . . . 13 (∃𝑔 ∈ (2nd𝐵)∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
9694, 95bitrdi 195 . . . . . . . . . . . 12 ((𝑓Q𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9796ancoms 266 . . . . . . . . . . 11 ((𝐵P𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
983, 97sylan2 284 . . . . . . . . . 10 ((𝐵P ∧ (𝐴P𝑓 ∈ (2nd𝐴))) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9998anassrs 398 . . . . . . . . 9 (((𝐵P𝐴P) ∧ 𝑓 ∈ (2nd𝐴)) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
10099rexbidva 2463 . . . . . . . 8 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
101 rexcom4 2749 . . . . . . . 8 (∃𝑓 ∈ (2nd𝐴)∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
102100, 101bitrdi 195 . . . . . . 7 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
103 r19.41v 2622 . . . . . . . . . 10 (∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
104103rexbii 2473 . . . . . . . . 9 (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑓 ∈ (2nd𝐴)(∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
105 r19.41v 2622 . . . . . . . . 9 (∃𝑓 ∈ (2nd𝐴)(∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
106104, 105bitri 183 . . . . . . . 8 (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
107106exbii 1593 . . . . . . 7 (∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
108102, 107bitrdi 195 . . . . . 6 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
109108ancoms 266 . . . . 5 ((𝐴P𝐵P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
1101093adant3 1007 . . . 4 ((𝐴P𝐵P𝐶P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
11175, 79, 1103bitr4d 219 . . 3 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
11264, 69, 1113bitr4rd 220 . 2 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ 𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶)))))
113112eqrdv 2163 1 ((𝐴P𝐵P𝐶P) → (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) = (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 968   = wceq 1343  wex 1480  wcel 2136  wrex 2445  {crab 2448  cop 3579   × cxp 4602  dom cdm 4604  cfv 5188  (class class class)co 5842  cmpo 5844  1st c1st 6106  2nd c2nd 6107  Qcnq 7221  Pcnp 7232
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-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-qs 6507  df-ni 7245  df-nqqs 7289  df-inp 7407
This theorem is referenced by:  genpassg  7467
  Copyright terms: Public domain W3C validator