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

Theorem genpassu 7063
Description: Associativity of upper cuts. Lemma for genpassg 7064. (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 7013 . . . . . . . . 9 (𝐴P → ⟨(1st𝐴), (2nd𝐴)⟩ ∈ P)
2 elprnqu 7020 . . . . . . . . 9 ((⟨(1st𝐴), (2nd𝐴)⟩ ∈ P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
31, 2sylan 277 . . . . . . . 8 ((𝐴P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
4 prop 7013 . . . . . . . . . . . . . . . 16 (𝐵P → ⟨(1st𝐵), (2nd𝐵)⟩ ∈ P)
5 elprnqu 7020 . . . . . . . . . . . . . . . 16 ((⟨(1st𝐵), (2nd𝐵)⟩ ∈ P𝑔 ∈ (2nd𝐵)) → 𝑔Q)
64, 5sylan 277 . . . . . . . . . . . . . . 15 ((𝐵P𝑔 ∈ (2nd𝐵)) → 𝑔Q)
7 r19.41v 2523 . . . . . . . . . . . . . . . . 17 (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
8 prop 7013 . . . . . . . . . . . . . . . . . . . . 21 (𝐶P → ⟨(1st𝐶), (2nd𝐶)⟩ ∈ P)
9 elprnqu 7020 . . . . . . . . . . . . . . . . . . . . 21 ((⟨(1st𝐶), (2nd𝐶)⟩ ∈ P ∈ (2nd𝐶)) → Q)
108, 9sylan 277 . . . . . . . . . . . . . . . . . . . 20 ((𝐶P ∈ (2nd𝐶)) → Q)
11 oveq2 5642 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑡 = (𝑔𝐺) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
1211adantr 270 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
13 genpassg.6 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑓Q𝑔QQ) → ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺)))
1413adantl 271 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺)))
1512, 14eqtr4d 2123 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑓𝐺𝑡) = ((𝑓𝐺𝑔)𝐺))
1615eqeq2d 2099 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1716expcom 114 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑓Q𝑔QQ) → (𝑡 = (𝑔𝐺) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
1817pm5.32d 438 . . . . . . . . . . . . . . . . . . . . 21 ((𝑓Q𝑔QQ) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
19183expa 1143 . . . . . . . . . . . . . . . . . . . 20 (((𝑓Q𝑔Q) ∧ Q) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2010, 19sylan2 280 . . . . . . . . . . . . . . . . . . 19 (((𝑓Q𝑔Q) ∧ (𝐶P ∈ (2nd𝐶))) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2120anassrs 392 . . . . . . . . . . . . . . . . . 18 ((((𝑓Q𝑔Q) ∧ 𝐶P) ∧ ∈ (2nd𝐶)) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2221rexbidva 2377 . . . . . . . . . . . . . . . . 17 (((𝑓Q𝑔Q) ∧ 𝐶P) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
237, 22syl5rbbr 193 . . . . . . . . . . . . . . . 16 (((𝑓Q𝑔Q) ∧ 𝐶P) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2423an32s 535 . . . . . . . . . . . . . . 15 (((𝑓Q𝐶P) ∧ 𝑔Q) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
256, 24sylan2 280 . . . . . . . . . . . . . 14 (((𝑓Q𝐶P) ∧ (𝐵P𝑔 ∈ (2nd𝐵))) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2625anassrs 392 . . . . . . . . . . . . 13 ((((𝑓Q𝐶P) ∧ 𝐵P) ∧ 𝑔 ∈ (2nd𝐵)) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2726rexbidva 2377 . . . . . . . . . . . 12 (((𝑓Q𝐶P) ∧ 𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑔 ∈ (2nd𝐵)(∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
28 r19.41v 2523 . . . . . . . . . . . 12 (∃𝑔 ∈ (2nd𝐵)(∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2927, 28syl6bb 194 . . . . . . . . . . 11 (((𝑓Q𝐶P) ∧ 𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
3029an31s 537 . . . . . . . . . 10 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
3130exbidv 1753 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
32 genpelvl.2 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑦Q𝑧Q) → (𝑦𝐺𝑧) ∈ Q)
3332caovcl 5781 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑔QQ) → (𝑔𝐺) ∈ Q)
34 elisset 2633 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑔𝐺) ∈ Q → ∃𝑡 𝑡 = (𝑔𝐺))
3533, 34syl 14 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑔QQ) → ∃𝑡 𝑡 = (𝑔𝐺))
3635biantrurd 299 . . . . . . . . . . . . . . . . . . . . 21 ((𝑔QQ) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
37 19.41v 1830 . . . . . . . . . . . . . . . . . . . . 21 (∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
3836, 37syl6bbr 196 . . . . . . . . . . . . . . . . . . . 20 ((𝑔QQ) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
3910, 38sylan2 280 . . . . . . . . . . . . . . . . . . 19 ((𝑔Q ∧ (𝐶P ∈ (2nd𝐶))) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4039anassrs 392 . . . . . . . . . . . . . . . . . 18 (((𝑔Q𝐶P) ∧ ∈ (2nd𝐶)) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4140rexbidva 2377 . . . . . . . . . . . . . . . . 17 ((𝑔Q𝐶P) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃ ∈ (2nd𝐶)∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
42 rexcom4 2642 . . . . . . . . . . . . . . . . 17 (∃ ∈ (2nd𝐶)∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
4341, 42syl6bb 194 . . . . . . . . . . . . . . . 16 ((𝑔Q𝐶P) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4443ancoms 264 . . . . . . . . . . . . . . 15 ((𝐶P𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
456, 44sylan2 280 . . . . . . . . . . . . . 14 ((𝐶P ∧ (𝐵P𝑔 ∈ (2nd𝐵))) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4645anassrs 392 . . . . . . . . . . . . 13 (((𝐶P𝐵P) ∧ 𝑔 ∈ (2nd𝐵)) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4746rexbidva 2377 . . . . . . . . . . . 12 ((𝐶P𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4847ancoms 264 . . . . . . . . . . 11 ((𝐵P𝐶P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
49 rexcom4 2642 . . . . . . . . . . 11 (∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
5048, 49syl6bb 194 . . . . . . . . . 10 ((𝐵P𝐶P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
5150adantr 270 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
52 df-rex 2365 . . . . . . . . . . 11 (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)))
53 genpelvl.1 . . . . . . . . . . . . . 14 𝐹 = (𝑤P, 𝑣P ↦ ⟨{𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (1st𝑤) ∧ 𝑧 ∈ (1st𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}, {𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (2nd𝑤) ∧ 𝑧 ∈ (2nd𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}⟩)
5453, 32genpelvu 7051 . . . . . . . . . . . . 13 ((𝐵P𝐶P) → (𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺)))
5554anbi1d 453 . . . . . . . . . . . 12 ((𝐵P𝐶P) → ((𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5655exbidv 1753 . . . . . . . . . . 11 ((𝐵P𝐶P) → (∃𝑡(𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5752, 56syl5bb 190 . . . . . . . . . 10 ((𝐵P𝐶P) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5857adantr 270 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5931, 51, 583bitr4rd 219 . . . . . . . 8 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
603, 59sylan2 280 . . . . . . 7 (((𝐵P𝐶P) ∧ (𝐴P𝑓 ∈ (2nd𝐴))) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6160anassrs 392 . . . . . 6 ((((𝐵P𝐶P) ∧ 𝐴P) ∧ 𝑓 ∈ (2nd𝐴)) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6261rexbidva 2377 . . . . 5 (((𝐵P𝐶P) ∧ 𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6362ancoms 264 . . . 4 ((𝐴P ∧ (𝐵P𝐶P)) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
64633impb 1139 . . 3 ((𝐴P𝐵P𝐶P) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
65 genpassg.5 . . . . . 6 ((𝑓P𝑔P) → (𝑓𝐹𝑔) ∈ P)
6665caovcl 5781 . . . . 5 ((𝐵P𝐶P) → (𝐵𝐹𝐶) ∈ P)
6753, 32genpelvu 7051 . . . . 5 ((𝐴P ∧ (𝐵𝐹𝐶) ∈ P) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
6866, 67sylan2 280 . . . 4 ((𝐴P ∧ (𝐵P𝐶P)) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
69683impb 1139 . . 3 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
70 df-rex 2365 . . . . 5 (∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃𝑡(𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
7153, 32genpelvu 7051 . . . . . . . 8 ((𝐴P𝐵P) → (𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔)))
72713adant3 963 . . . . . . 7 ((𝐴P𝐵P𝐶P) → (𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔)))
7372anbi1d 453 . . . . . 6 ((𝐴P𝐵P𝐶P) → ((𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7473exbidv 1753 . . . . 5 ((𝐴P𝐵P𝐶P) → (∃𝑡(𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7570, 74syl5bb 190 . . . 4 ((𝐴P𝐵P𝐶P) → (∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7665caovcl 5781 . . . . . 6 ((𝐴P𝐵P) → (𝐴𝐹𝐵) ∈ P)
7753, 32genpelvu 7051 . . . . . 6 (((𝐴𝐹𝐵) ∈ P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
7876, 77sylan 277 . . . . 5 (((𝐴P𝐵P) ∧ 𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
79783impa 1138 . . . 4 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
8032caovcl 5781 . . . . . . . . . . . . . . . . . . 19 ((𝑓Q𝑔Q) → (𝑓𝐺𝑔) ∈ Q)
81 elisset 2633 . . . . . . . . . . . . . . . . . . 19 ((𝑓𝐺𝑔) ∈ Q → ∃𝑡 𝑡 = (𝑓𝐺𝑔))
8280, 81syl 14 . . . . . . . . . . . . . . . . . 18 ((𝑓Q𝑔Q) → ∃𝑡 𝑡 = (𝑓𝐺𝑔))
8382biantrurd 299 . . . . . . . . . . . . . . . . 17 ((𝑓Q𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺))))
84 oveq1 5641 . . . . . . . . . . . . . . . . . . . . . 22 (𝑡 = (𝑓𝐺𝑔) → (𝑡𝐺) = ((𝑓𝐺𝑔)𝐺))
8584eqeq2d 2099 . . . . . . . . . . . . . . . . . . . . 21 (𝑡 = (𝑓𝐺𝑔) → (𝑥 = (𝑡𝐺) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
8685rexbidv 2381 . . . . . . . . . . . . . . . . . . . 20 (𝑡 = (𝑓𝐺𝑔) → (∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
8786pm5.32i 442 . . . . . . . . . . . . . . . . . . 19 ((𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
8887exbii 1541 . . . . . . . . . . . . . . . . . 18 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
89 19.41v 1830 . . . . . . . . . . . . . . . . . 18 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
9088, 89bitri 182 . . . . . . . . . . . . . . . . 17 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
9183, 90syl6bbr 196 . . . . . . . . . . . . . . . 16 ((𝑓Q𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
926, 91sylan2 280 . . . . . . . . . . . . . . 15 ((𝑓Q ∧ (𝐵P𝑔 ∈ (2nd𝐵))) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9392anassrs 392 . . . . . . . . . . . . . 14 (((𝑓Q𝐵P) ∧ 𝑔 ∈ (2nd𝐵)) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9493rexbidva 2377 . . . . . . . . . . . . 13 ((𝑓Q𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
95 rexcom4 2642 . . . . . . . . . . . . 13 (∃𝑔 ∈ (2nd𝐵)∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
9694, 95syl6bb 194 . . . . . . . . . . . 12 ((𝑓Q𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9796ancoms 264 . . . . . . . . . . 11 ((𝐵P𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
983, 97sylan2 280 . . . . . . . . . 10 ((𝐵P ∧ (𝐴P𝑓 ∈ (2nd𝐴))) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9998anassrs 392 . . . . . . . . 9 (((𝐵P𝐴P) ∧ 𝑓 ∈ (2nd𝐴)) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
10099rexbidva 2377 . . . . . . . 8 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
101 rexcom4 2642 . . . . . . . 8 (∃𝑓 ∈ (2nd𝐴)∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
102100, 101syl6bb 194 . . . . . . 7 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
103 r19.41v 2523 . . . . . . . . . 10 (∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
104103rexbii 2385 . . . . . . . . 9 (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑓 ∈ (2nd𝐴)(∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
105 r19.41v 2523 . . . . . . . . 9 (∃𝑓 ∈ (2nd𝐴)(∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
106104, 105bitri 182 . . . . . . . 8 (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
107106exbii 1541 . . . . . . 7 (∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
108102, 107syl6bb 194 . . . . . 6 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
109108ancoms 264 . . . . 5 ((𝐴P𝐵P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
1101093adant3 963 . . . 4 ((𝐴P𝐵P𝐶P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
11175, 79, 1103bitr4d 218 . . 3 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
11264, 69, 1113bitr4rd 219 . 2 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ 𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶)))))
113112eqrdv 2086 1 ((𝐴P𝐵P𝐶P) → (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) = (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  wb 103  w3a 924   = wceq 1289  wex 1426  wcel 1438  wrex 2360  {crab 2363  cop 3444   × cxp 4426  dom cdm 4428  cfv 5002  (class class class)co 5634  cmpt2 5636  1st c1st 5891  2nd c2nd 5892  Qcnq 6818  Pcnp 6829
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 579  ax-in2 580  ax-io 665  ax-5 1381  ax-7 1382  ax-gen 1383  ax-ie1 1427  ax-ie2 1428  ax-8 1440  ax-10 1441  ax-11 1442  ax-i12 1443  ax-bndl 1444  ax-4 1445  ax-13 1449  ax-14 1450  ax-17 1464  ax-i9 1468  ax-ial 1472  ax-i5r 1473  ax-ext 2070  ax-coll 3946  ax-sep 3949  ax-pow 4001  ax-pr 4027  ax-un 4251  ax-setind 4343  ax-iinf 4393
This theorem depends on definitions:  df-bi 115  df-3an 926  df-tru 1292  df-fal 1295  df-nf 1395  df-sb 1693  df-eu 1951  df-mo 1952  df-clab 2075  df-cleq 2081  df-clel 2084  df-nfc 2217  df-ne 2256  df-ral 2364  df-rex 2365  df-reu 2366  df-rab 2368  df-v 2621  df-sbc 2839  df-csb 2932  df-dif 2999  df-un 3001  df-in 3003  df-ss 3010  df-pw 3427  df-sn 3447  df-pr 3448  df-op 3450  df-uni 3649  df-int 3684  df-iun 3727  df-br 3838  df-opab 3892  df-mpt 3893  df-id 4111  df-iom 4396  df-xp 4434  df-rel 4435  df-cnv 4436  df-co 4437  df-dm 4438  df-rn 4439  df-res 4440  df-ima 4441  df-iota 4967  df-fun 5004  df-fn 5005  df-f 5006  df-f1 5007  df-fo 5008  df-f1o 5009  df-fv 5010  df-ov 5637  df-oprab 5638  df-mpt2 5639  df-1st 5893  df-2nd 5894  df-qs 6278  df-ni 6842  df-nqqs 6886  df-inp 7004
This theorem is referenced by:  genpassg  7064
  Copyright terms: Public domain W3C validator