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

Theorem genpassu 7487
Description: Associativity of upper cuts. Lemma for genpassg 7488. (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 7437 . . . . . . . . 9 (𝐴P → ⟨(1st𝐴), (2nd𝐴)⟩ ∈ P)
2 elprnqu 7444 . . . . . . . . 9 ((⟨(1st𝐴), (2nd𝐴)⟩ ∈ P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
31, 2sylan 281 . . . . . . . 8 ((𝐴P𝑓 ∈ (2nd𝐴)) → 𝑓Q)
4 prop 7437 . . . . . . . . . . . . . . . 16 (𝐵P → ⟨(1st𝐵), (2nd𝐵)⟩ ∈ P)
5 elprnqu 7444 . . . . . . . . . . . . . . . 16 ((⟨(1st𝐵), (2nd𝐵)⟩ ∈ P𝑔 ∈ (2nd𝐵)) → 𝑔Q)
64, 5sylan 281 . . . . . . . . . . . . . . 15 ((𝐵P𝑔 ∈ (2nd𝐵)) → 𝑔Q)
7 prop 7437 . . . . . . . . . . . . . . . . . . . . 21 (𝐶P → ⟨(1st𝐶), (2nd𝐶)⟩ ∈ P)
8 elprnqu 7444 . . . . . . . . . . . . . . . . . . . . 21 ((⟨(1st𝐶), (2nd𝐶)⟩ ∈ P ∈ (2nd𝐶)) → Q)
97, 8sylan 281 . . . . . . . . . . . . . . . . . . . 20 ((𝐶P ∈ (2nd𝐶)) → Q)
10 oveq2 5861 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑡 = (𝑔𝐺) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
1110adantr 274 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑓𝐺𝑡) = (𝑓𝐺(𝑔𝐺)))
12 genpassg.6 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((𝑓Q𝑔QQ) → ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺)))
1312adantl 275 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → ((𝑓𝐺𝑔)𝐺) = (𝑓𝐺(𝑔𝐺)))
1411, 13eqtr4d 2206 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑓𝐺𝑡) = ((𝑓𝐺𝑔)𝐺))
1514eqeq2d 2182 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑡 = (𝑔𝐺) ∧ (𝑓Q𝑔QQ)) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
1615expcom 115 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑓Q𝑔QQ) → (𝑡 = (𝑔𝐺) → (𝑥 = (𝑓𝐺𝑡) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
1716pm5.32d 447 . . . . . . . . . . . . . . . . . . . . 21 ((𝑓Q𝑔QQ) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
18173expa 1198 . . . . . . . . . . . . . . . . . . . 20 (((𝑓Q𝑔Q) ∧ Q) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
199, 18sylan2 284 . . . . . . . . . . . . . . . . . . 19 (((𝑓Q𝑔Q) ∧ (𝐶P ∈ (2nd𝐶))) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2019anassrs 398 . . . . . . . . . . . . . . . . . 18 ((((𝑓Q𝑔Q) ∧ 𝐶P) ∧ ∈ (2nd𝐶)) → ((𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
2120rexbidva 2467 . . . . . . . . . . . . . . . . 17 (((𝑓Q𝑔Q) ∧ 𝐶P) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ ∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
22 r19.41v 2626 . . . . . . . . . . . . . . . . 17 (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2321, 22bitr3di 194 . . . . . . . . . . . . . . . 16 (((𝑓Q𝑔Q) ∧ 𝐶P) → (∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
2423an32s 563 . . . . . . . . . . . . . . 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 2467 . . . . . . . . . . . 12 (((𝑓Q𝐶P) ∧ 𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑔 ∈ (2nd𝐵)(∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
28 r19.41v 2626 . . . . . . . . . . . 12 (∃𝑔 ∈ (2nd𝐵)(∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡)))
2927, 28bitrdi 195 . . . . . . . . . . 11 (((𝑓Q𝐶P) ∧ 𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
3029an31s 565 . . . . . . . . . 10 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
3130exbidv 1818 . . . . . . . . 9 (((𝐵P𝐶P) ∧ 𝑓Q) → (∃𝑡𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ ∃𝑡(∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
32 genpelvl.2 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑦Q𝑧Q) → (𝑦𝐺𝑧) ∈ Q)
3332caovcl 6007 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑔QQ) → (𝑔𝐺) ∈ Q)
34 elisset 2744 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑔𝐺) ∈ Q → ∃𝑡 𝑡 = (𝑔𝐺))
3533, 34syl 14 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑔QQ) → ∃𝑡 𝑡 = (𝑔𝐺))
3635biantrurd 303 . . . . . . . . . . . . . . . . . . . . 21 ((𝑔QQ) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
37 19.41v 1895 . . . . . . . . . . . . . . . . . . . . 21 (∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)) ↔ (∃𝑡 𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
3836, 37bitr4di 197 . . . . . . . . . . . . . . . . . . . 20 ((𝑔QQ) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
399, 38sylan2 284 . . . . . . . . . . . . . . . . . . 19 ((𝑔Q ∧ (𝐶P ∈ (2nd𝐶))) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4039anassrs 398 . . . . . . . . . . . . . . . . . 18 (((𝑔Q𝐶P) ∧ ∈ (2nd𝐶)) → (𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4140rexbidva 2467 . . . . . . . . . . . . . . . . 17 ((𝑔Q𝐶P) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃ ∈ (2nd𝐶)∃𝑡(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
42 rexcom4 2753 . . . . . . . . . . . . . . . . 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 2467 . . . . . . . . . . . 12 ((𝐶P𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
4847ancoms 266 . . . . . . . . . . 11 ((𝐵P𝐶P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡 ∈ (2nd𝐶)(𝑡 = (𝑔𝐺) ∧ 𝑥 = ((𝑓𝐺𝑔)𝐺))))
49 rexcom4 2753 . . . . . . . . . . 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 2454 . . . . . . . . . . 11 (∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑡(𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)))
53 genpelvl.1 . . . . . . . . . . . . . 14 𝐹 = (𝑤P, 𝑣P ↦ ⟨{𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (1st𝑤) ∧ 𝑧 ∈ (1st𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}, {𝑥Q ∣ ∃𝑦Q𝑧Q (𝑦 ∈ (2nd𝑤) ∧ 𝑧 ∈ (2nd𝑣) ∧ 𝑥 = (𝑦𝐺𝑧))}⟩)
5453, 32genpelvu 7475 . . . . . . . . . . . . 13 ((𝐵P𝐶P) → (𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ↔ ∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺)))
5554anbi1d 462 . . . . . . . . . . . 12 ((𝐵P𝐶P) → ((𝑡 ∈ (2nd ‘(𝐵𝐹𝐶)) ∧ 𝑥 = (𝑓𝐺𝑡)) ↔ (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑡 = (𝑔𝐺) ∧ 𝑥 = (𝑓𝐺𝑡))))
5655exbidv 1818 . . . . . . . . . . 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 2467 . . . . 5 (((𝐵P𝐶P) ∧ 𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
6362ancoms 266 . . . 4 ((𝐴P ∧ (𝐵P𝐶P)) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
64633impb 1194 . . 3 ((𝐴P𝐵P𝐶P) → (∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
65 genpassg.5 . . . . . 6 ((𝑓P𝑔P) → (𝑓𝐹𝑔) ∈ P)
6665caovcl 6007 . . . . 5 ((𝐵P𝐶P) → (𝐵𝐹𝐶) ∈ P)
6753, 32genpelvu 7475 . . . . 5 ((𝐴P ∧ (𝐵𝐹𝐶) ∈ P) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
6866, 67sylan2 284 . . . 4 ((𝐴P ∧ (𝐵P𝐶P)) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
69683impb 1194 . . 3 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡 ∈ (2nd ‘(𝐵𝐹𝐶))𝑥 = (𝑓𝐺𝑡)))
70 df-rex 2454 . . . . 5 (∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃𝑡(𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
7153, 32genpelvu 7475 . . . . . . . 8 ((𝐴P𝐵P) → (𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔)))
72713adant3 1012 . . . . . . 7 ((𝐴P𝐵P𝐶P) → (𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔)))
7372anbi1d 462 . . . . . 6 ((𝐴P𝐵P𝐶P) → ((𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7473exbidv 1818 . . . . 5 ((𝐴P𝐵P𝐶P) → (∃𝑡(𝑡 ∈ (2nd ‘(𝐴𝐹𝐵)) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7570, 74syl5bb 191 . . . 4 ((𝐴P𝐵P𝐶P) → (∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃𝑡(∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
7665caovcl 6007 . . . . . 6 ((𝐴P𝐵P) → (𝐴𝐹𝐵) ∈ P)
7753, 32genpelvu 7475 . . . . . 6 (((𝐴𝐹𝐵) ∈ P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
7876, 77sylan 281 . . . . 5 (((𝐴P𝐵P) ∧ 𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
79783impa 1189 . . . 4 ((𝐴P𝐵P𝐶P) → (𝑥 ∈ (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) ↔ ∃𝑡 ∈ (2nd ‘(𝐴𝐹𝐵))∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
8032caovcl 6007 . . . . . . . . . . . . . . . . . . 19 ((𝑓Q𝑔Q) → (𝑓𝐺𝑔) ∈ Q)
81 elisset 2744 . . . . . . . . . . . . . . . . . . 19 ((𝑓𝐺𝑔) ∈ Q → ∃𝑡 𝑡 = (𝑓𝐺𝑔))
8280, 81syl 14 . . . . . . . . . . . . . . . . . 18 ((𝑓Q𝑔Q) → ∃𝑡 𝑡 = (𝑓𝐺𝑔))
8382biantrurd 303 . . . . . . . . . . . . . . . . 17 ((𝑓Q𝑔Q) → (∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ (∃𝑡 𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺))))
84 oveq1 5860 . . . . . . . . . . . . . . . . . . . . . 22 (𝑡 = (𝑓𝐺𝑔) → (𝑡𝐺) = ((𝑓𝐺𝑔)𝐺))
8584eqeq2d 2182 . . . . . . . . . . . . . . . . . . . . 21 (𝑡 = (𝑓𝐺𝑔) → (𝑥 = (𝑡𝐺) ↔ 𝑥 = ((𝑓𝐺𝑔)𝐺)))
8685rexbidv 2471 . . . . . . . . . . . . . . . . . . . 20 (𝑡 = (𝑓𝐺𝑔) → (∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺) ↔ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
8786pm5.32i 451 . . . . . . . . . . . . . . . . . . 19 ((𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
8887exbii 1598 . . . . . . . . . . . . . . . . . 18 (∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺)))
89 19.41v 1895 . . . . . . . . . . . . . . . . . 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 2467 . . . . . . . . . . . . 13 ((𝑓Q𝐵P) → (∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑔 ∈ (2nd𝐵)∃𝑡(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
95 rexcom4 2753 . . . . . . . . . . . . 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 2467 . . . . . . . 8 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑓 ∈ (2nd𝐴)∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
101 rexcom4 2753 . . . . . . . 8 (∃𝑓 ∈ (2nd𝐴)∃𝑡𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
102100, 101bitrdi 195 . . . . . . 7 ((𝐵P𝐴P) → (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)∃ ∈ (2nd𝐶)𝑥 = ((𝑓𝐺𝑔)𝐺) ↔ ∃𝑡𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺))))
103 r19.41v 2626 . . . . . . . . . 10 (∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
104103rexbii 2477 . . . . . . . . 9 (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ ∃𝑓 ∈ (2nd𝐴)(∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
105 r19.41v 2626 . . . . . . . . 9 (∃𝑓 ∈ (2nd𝐴)(∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
106104, 105bitri 183 . . . . . . . 8 (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)(𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)) ↔ (∃𝑓 ∈ (2nd𝐴)∃𝑔 ∈ (2nd𝐵)𝑡 = (𝑓𝐺𝑔) ∧ ∃ ∈ (2nd𝐶)𝑥 = (𝑡𝐺)))
107106exbii 1598 . . . . . . 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 1012 . . . 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 2168 1 ((𝐴P𝐵P𝐶P) → (2nd ‘((𝐴𝐹𝐵)𝐹𝐶)) = (2nd ‘(𝐴𝐹(𝐵𝐹𝐶))))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 973   = wceq 1348  wex 1485  wcel 2141  wrex 2449  {crab 2452  cop 3586   × cxp 4609  dom cdm 4611  cfv 5198  (class class class)co 5853  cmpo 5855  1st c1st 6117  2nd c2nd 6118  Qcnq 7242  Pcnp 7253
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-qs 6519  df-ni 7266  df-nqqs 7310  df-inp 7428
This theorem is referenced by:  genpassg  7488
  Copyright terms: Public domain W3C validator