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

Theorem genpassu 6680
Description: Associativity of upper cuts. Lemma for genpassg 6681. (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 6630 . . . . . . . . 9 (𝐴P → ⟨(1st𝐴), (2nd𝐴)⟩ ∈ P)
2 elprnqu 6637 . . . . . . . . 9 ((⟨(1st𝐴), (2nd𝐴)⟩ ∈ P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
31, 2sylan 271 . . . . . . . 8 ((𝐴P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
4 prop 6630 . . . . . . . . . . . . . . . 16 (𝐵P → ⟨(1st𝐵), (2nd𝐵)⟩ ∈ P)
5 elprnqu 6637 . . . . . . . . . . . . . . . 16 ((⟨(1st𝐵), (2nd𝐵)⟩ ∈ P𝑔 ∈ (2nd𝐵)) → 𝑔Q)
64, 5sylan 271 . . . . . . . . . . . . . . 15 ((𝐵P𝑔 ∈ (2nd𝐵)) → 𝑔Q)
7 r19.41v 2483 . . . . . . . . . . . . . . . . 17 (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
8 prop 6630 . . . . . . . . . . . . . . . . . . . . 21 (𝐶P → ⟨(1st𝐶), (2nd𝐶)⟩ ∈ P)
9 elprnqu 6637 . . . . . . . . . . . . . . . . . . . . 21 ((⟨(1st𝐶), (2nd𝐶)⟩ ∈ P ∈ (2nd𝐶)) → Q)
108, 9sylan 271 . . . . . . . . . . . . . . . . . . . 20 ((𝐶P ∈ (2nd𝐶)) → Q)
11 oveq2 5547 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑡 = (𝑔𝐺) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
1211adantr 265 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
13 genpassg.6 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑓Q𝑔QQ) → ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺)))
1413adantl 266 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺)))
1512, 14eqtr4d 2091 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑓𝐺𝑡) = ((𝑓𝐺𝑔)𝐺))
1615eqeq2d 2067 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1716expcom 113 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑓Q𝑔QQ) → (𝑡 = (𝑔𝐺) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
1817pm5.32d 431 . . . . . . . . . . . . . . . . . . . . 21 ((𝑓Q𝑔QQ) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
19183expa 1115 . . . . . . . . . . . . . . . . . . . 20 (((𝑓Q𝑔Q) ∧ Q) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2010, 19sylan2 274 . . . . . . . . . . . . . . . . . . 19 (((𝑓Q𝑔Q) ∧ (𝐶P ∈ (2nd𝐶))) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2120anassrs 386 . . . . . . . . . . . . . . . . . 18 ((((𝑓Q𝑔Q) ∧ 𝐶P) ∧ ∈ (2nd𝐶)) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2221rexbidva 2340 . . . . . . . . . . . . . . . . 17 (((𝑓Q𝑔Q) ∧ 𝐶P) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
237, 22syl5rbbr 188 . . . . . . . . . . . . . . . 16 (((𝑓Q𝑔Q) ∧ 𝐶P) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2423an32s 510 . . . . . . . . . . . . . . 15 (((𝑓Q𝐶P) ∧ 𝑔Q) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
256, 24sylan2 274 . . . . . . . . . . . . . 14 (((𝑓Q𝐶P) ∧ (𝐵P𝑔 ∈ (2nd𝐵))) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2625anassrs 386 . . . . . . . . . . . . 13 ((((𝑓Q𝐶P) ∧ 𝐵P) ∧ 𝑔 ∈ (2nd𝐵)) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2726rexbidva 2340 . . . . . . . . . . . 12 (((𝑓Q𝐶P) ∧ 𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑔 ∈ (2nd𝐵)(∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
28 r19.41v 2483 . . . . . . . . . . . 12 (∃𝑔 ∈ (2nd𝐵)(∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2927, 28syl6bb 189 . . . . . . . . . . 11 (((𝑓Q𝐶P) ∧ 𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
3029an31s 512 . . . . . . . . . 10 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
3130exbidv 1722 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
32 genpelvl.2 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑦Q𝑧Q) → (𝑦𝐺𝑧) ∈ Q)
3332caovcl 5682 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑔QQ) → (𝑔𝐺) ∈ Q)
34 elisset 2585 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑔𝐺) ∈ Q → ∃𝑡 𝑡 = (𝑔𝐺))
3533, 34syl 14 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑔QQ) → ∃𝑡 𝑡 = (𝑔𝐺))
3635biantrurd 293 . . . . . . . . . . . . . . . . . . . . 21 ((𝑔QQ) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
37 19.41v 1798 . . . . . . . . . . . . . . . . . . . . 21 (∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
3836, 37syl6bbr 191 . . . . . . . . . . . . . . . . . . . 20 ((𝑔QQ) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
3910, 38sylan2 274 . . . . . . . . . . . . . . . . . . 19 ((𝑔Q ∧ (𝐶P ∈ (2nd𝐶))) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4039anassrs 386 . . . . . . . . . . . . . . . . . 18 (((𝑔Q𝐶P) ∧ ∈ (2nd𝐶)) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4140rexbidva 2340 . . . . . . . . . . . . . . . . 17 ((𝑔Q𝐶P) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃ ∈ (2nd𝐶)∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
42 rexcom4 2594 . . . . . . . . . . . . . . . . 17 (∃ ∈ (2nd𝐶)∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
4341, 42syl6bb 189 . . . . . . . . . . . . . . . 16 ((𝑔Q𝐶P) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4443ancoms 259 . . . . . . . . . . . . . . 15 ((𝐶P𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
456, 44sylan2 274 . . . . . . . . . . . . . 14 ((𝐶P ∧ (𝐵P𝑔 ∈ (2nd𝐵))) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4645anassrs 386 . . . . . . . . . . . . 13 (((𝐶P𝐵P) ∧ 𝑔 ∈ (2nd𝐵)) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4746rexbidva 2340 . . . . . . . . . . . 12 ((𝐶P𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4847ancoms 259 . . . . . . . . . . 11 ((𝐵P𝐶P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
49 rexcom4 2594 . . . . . . . . . . 11 (∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
5048, 49syl6bb 189 . . . . . . . . . 10 ((𝐵P𝐶P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
5150adantr 265 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
52 df-rex 2329 . . . . . . . . . . 11 (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)))
53 genpelvl.1 . . . . . . . . . . . . . 14 𝐹 = (𝑤P, 𝑣P ↦ ⟨{𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (1st𝑤) ∧ 𝑧 ∈ (1st𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}, {𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (2nd𝑤) ∧ 𝑧 ∈ (2nd𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}⟩)
5453, 32genpelvu 6668 . . . . . . . . . . . . 13 ((𝐵P𝐶P) → (𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺)))
5554anbi1d 446 . . . . . . . . . . . 12 ((𝐵P𝐶P) → ((𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5655exbidv 1722 . . . . . . . . . . 11 ((𝐵P𝐶P) → (∃𝑡(𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5752, 56syl5bb 185 . . . . . . . . . 10 ((𝐵P𝐶P) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5857adantr 265 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5931, 51, 583bitr4rd 214 . . . . . . . 8 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
603, 59sylan2 274 . . . . . . 7 (((𝐵P𝐶P) ∧ (𝐴P𝑓 ∈ (2nd𝐴))) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6160anassrs 386 . . . . . 6 ((((𝐵P𝐶P) ∧ 𝐴P) ∧ 𝑓 ∈ (2nd𝐴)) → (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6261rexbidva 2340 . . . . 5 (((𝐵P𝐶P) ∧ 𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6362ancoms 259 . . . 4 ((𝐴P ∧ (𝐵P𝐶P)) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
64633impb 1111 . . 3 ((𝐴P𝐵P𝐶P) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
65 genpassg.5 . . . . . 6 ((𝑓P𝑔P) → (𝑓𝐹𝑔) ∈ P)
6665caovcl 5682 . . . . 5 ((𝐵P𝐶P) → (𝐵𝐹𝐶) ∈ P)
6753, 32genpelvu 6668 . . . . 5 ((𝐴P ∧ (𝐵𝐹𝐶) ∈ P) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
6866, 67sylan2 274 . . . 4 ((𝐴P ∧ (𝐵P𝐶P)) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
69683impb 1111 . . 3 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
70 df-rex 2329 . . . . 5 (∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃𝑡(𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
7153, 32genpelvu 6668 . . . . . . . 8 ((𝐴P𝐵P) → (𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔)))
72713adant3 935 . . . . . . 7 ((𝐴P𝐵P𝐶P) → (𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔)))
7372anbi1d 446 . . . . . 6 ((𝐴P𝐵P𝐶P) → ((𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7473exbidv 1722 . . . . 5 ((𝐴P𝐵P𝐶P) → (∃𝑡(𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7570, 74syl5bb 185 . . . 4 ((𝐴P𝐵P𝐶P) → (∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7665caovcl 5682 . . . . . 6 ((𝐴P𝐵P) → (𝐴𝐹𝐵) ∈ P)
7753, 32genpelvu 6668 . . . . . 6 (((𝐴𝐹𝐵) ∈ P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
7876, 77sylan 271 . . . . 5 (((𝐴P𝐵P) ∧ 𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
79783impa 1110 . . . 4 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
8032caovcl 5682 . . . . . . . . . . . . . . . . . . 19 ((𝑓Q𝑔Q) → (𝑓𝐺𝑔) ∈ Q)
81 elisset 2585 . . . . . . . . . . . . . . . . . . 19 ((𝑓𝐺𝑔) ∈ Q → ∃𝑡 𝑡 = (𝑓𝐺𝑔))
8280, 81syl 14 . . . . . . . . . . . . . . . . . 18 ((𝑓Q𝑔Q) → ∃𝑡 𝑡 = (𝑓𝐺𝑔))
8382biantrurd 293 . . . . . . . . . . . . . . . . 17 ((𝑓Q𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺))))
84 oveq1 5546 . . . . . . . . . . . . . . . . . . . . . 22 (𝑡 = (𝑓𝐺𝑔) → (𝑡𝐺) = ((𝑓𝐺𝑔)𝐺))
8584eqeq2d 2067 . . . . . . . . . . . . . . . . . . . . 21 (𝑡 = (𝑓𝐺𝑔) → (𝑥 = (𝑡𝐺) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
8685rexbidv 2344 . . . . . . . . . . . . . . . . . . . 20 (𝑡 = (𝑓𝐺𝑔) → (∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
8786pm5.32i 435 . . . . . . . . . . . . . . . . . . 19 ((𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
8887exbii 1512 . . . . . . . . . . . . . . . . . 18 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
89 19.41v 1798 . . . . . . . . . . . . . . . . . 18 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
9088, 89bitri 177 . . . . . . . . . . . . . . . . 17 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
9183, 90syl6bbr 191 . . . . . . . . . . . . . . . 16 ((𝑓Q𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
926, 91sylan2 274 . . . . . . . . . . . . . . 15 ((𝑓Q ∧ (𝐵P𝑔 ∈ (2nd𝐵))) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9392anassrs 386 . . . . . . . . . . . . . 14 (((𝑓Q𝐵P) ∧ 𝑔 ∈ (2nd𝐵)) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9493rexbidva 2340 . . . . . . . . . . . . 13 ((𝑓Q𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
95 rexcom4 2594 . . . . . . . . . . . . 13 (∃𝑔 ∈ (2nd𝐵)∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
9694, 95syl6bb 189 . . . . . . . . . . . 12 ((𝑓Q𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9796ancoms 259 . . . . . . . . . . 11 ((𝐵P𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
983, 97sylan2 274 . . . . . . . . . 10 ((𝐵P ∧ (𝐴P𝑓 ∈ (2nd𝐴))) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
9998anassrs 386 . . . . . . . . 9 (((𝐵P𝐴P) ∧ 𝑓 ∈ (2nd𝐴)) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
10099rexbidva 2340 . . . . . . . 8 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
101 rexcom4 2594 . . . . . . . 8 (∃𝑓 ∈ (2nd𝐴)∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
102100, 101syl6bb 189 . . . . . . 7 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
103 r19.41v 2483 . . . . . . . . . 10 (∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
104103rexbii 2348 . . . . . . . . 9 (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑓 ∈ (2nd𝐴)(∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
105 r19.41v 2483 . . . . . . . . 9 (∃𝑓 ∈ (2nd𝐴)(∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
106104, 105bitri 177 . . . . . . . 8 (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
107106exbii 1512 . . . . . . 7 (∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
108102, 107syl6bb 189 . . . . . 6 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
109108ancoms 259 . . . . 5 ((𝐴P𝐵P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
1101093adant3 935 . . . 4 ((𝐴P𝐵P𝐶P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
11175, 79, 1103bitr4d 213 . . 3 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
11264, 69, 1113bitr4rd 214 . 2 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ 𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶)))))
113112eqrdv 2054 1 ((𝐴P𝐵P𝐶P) → (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) = (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 101  wb 102  w3a 896   = wceq 1259  wex 1397  wcel 1409  wrex 2324  {crab 2327  cop 3405   × cxp 4370  dom cdm 4372  cfv 4929  (class class class)co 5539  cmpt2 5541  1st c1st 5792  2nd c2nd 5793  Qcnq 6435  Pcnp 6446
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 103  ax-ia2 104  ax-ia3 105  ax-in1 554  ax-in2 555  ax-io 640  ax-5 1352  ax-7 1353  ax-gen 1354  ax-ie1 1398  ax-ie2 1399  ax-8 1411  ax-10 1412  ax-11 1413  ax-i12 1414  ax-bndl 1415  ax-4 1416  ax-13 1420  ax-14 1421  ax-17 1435  ax-i9 1439  ax-ial 1443  ax-i5r 1444  ax-ext 2038  ax-coll 3899  ax-sep 3902  ax-pow 3954  ax-pr 3971  ax-un 4197  ax-setind 4289  ax-iinf 4338
This theorem depends on definitions:  df-bi 114  df-3an 898  df-tru 1262  df-fal 1265  df-nf 1366  df-sb 1662  df-eu 1919  df-mo 1920  df-clab 2043  df-cleq 2049  df-clel 2052  df-nfc 2183  df-ne 2221  df-ral 2328  df-rex 2329  df-reu 2330  df-rab 2332  df-v 2576  df-sbc 2787  df-csb 2880  df-dif 2947  df-un 2949  df-in 2951  df-ss 2958  df-pw 3388  df-sn 3408  df-pr 3409  df-op 3411  df-uni 3608  df-int 3643  df-iun 3686  df-br 3792  df-opab 3846  df-mpt 3847  df-id 4057  df-iom 4341  df-xp 4378  df-rel 4379  df-cnv 4380  df-co 4381  df-dm 4382  df-rn 4383  df-res 4384  df-ima 4385  df-iota 4894  df-fun 4931  df-fn 4932  df-f 4933  df-f1 4934  df-fo 4935  df-f1o 4936  df-fv 4937  df-ov 5542  df-oprab 5543  df-mpt2 5544  df-1st 5794  df-2nd 5795  df-qs 6142  df-ni 6459  df-nqqs 6503  df-inp 6621
This theorem is referenced by:  genpassg  6681
  Copyright terms: Public domain W3C validator