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

Theorem ishpg 27120
Description: Value of the half-plane relation for a given line 𝐷. (Contributed by Thierry Arnoux, 4-Mar-2020.)
Hypotheses
Ref Expression
ishpg.p 𝑃 = (Base‘𝐺)
ishpg.i 𝐼 = (Itv‘𝐺)
ishpg.l 𝐿 = (LineG‘𝐺)
ishpg.o 𝑂 = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏))}
ishpg.g (𝜑𝐺 ∈ TarskiG)
ishpg.d (𝜑𝐷 ∈ ran 𝐿)
Assertion
Ref Expression
ishpg (𝜑 → ((hpG‘𝐺)‘𝐷) = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐)})
Distinct variable groups:   𝐷,𝑎,𝑏,𝑐,𝑡   𝐺,𝑎,𝑏   𝐼,𝑎,𝑏,𝑐,𝑡   𝑃,𝑎,𝑏,𝑐,𝑡
Allowed substitution hints:   𝜑(𝑡,𝑎,𝑏,𝑐)   𝐺(𝑡,𝑐)   𝐿(𝑡,𝑎,𝑏,𝑐)   𝑂(𝑡,𝑎,𝑏,𝑐)

Proof of Theorem ishpg
Dummy variables 𝑑 𝑒 𝑓 𝑔 𝑖 𝑝 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ishpg.g . . . 4 (𝜑𝐺 ∈ TarskiG)
2 elex 3450 . . . 4 (𝐺 ∈ TarskiG → 𝐺 ∈ V)
3 fveq2 6774 . . . . . . . 8 (𝑔 = 𝐺 → (LineG‘𝑔) = (LineG‘𝐺))
4 ishpg.l . . . . . . . 8 𝐿 = (LineG‘𝐺)
53, 4eqtr4di 2796 . . . . . . 7 (𝑔 = 𝐺 → (LineG‘𝑔) = 𝐿)
65rneqd 5847 . . . . . 6 (𝑔 = 𝐺 → ran (LineG‘𝑔) = ran 𝐿)
7 ishpg.p . . . . . . . 8 𝑃 = (Base‘𝐺)
8 ishpg.i . . . . . . . 8 𝐼 = (Itv‘𝐺)
9 simpl 483 . . . . . . . . . 10 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝑝 = 𝑃)
109eqcomd 2744 . . . . . . . . 9 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝑃 = 𝑝)
1110difeq1d 4056 . . . . . . . . . . . . 13 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑃𝑑) = (𝑝𝑑))
1211eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑎 ∈ (𝑃𝑑) ↔ 𝑎 ∈ (𝑝𝑑)))
1311eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑐 ∈ (𝑃𝑑) ↔ 𝑐 ∈ (𝑝𝑑)))
1412, 13anbi12d 631 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → ((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑))))
15 simpr 485 . . . . . . . . . . . . . . 15 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝑖 = 𝐼)
1615eqcomd 2744 . . . . . . . . . . . . . 14 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝐼 = 𝑖)
1716oveqd 7292 . . . . . . . . . . . . 13 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑎𝐼𝑐) = (𝑎𝑖𝑐))
1817eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑡 ∈ (𝑎𝐼𝑐) ↔ 𝑡 ∈ (𝑎𝑖𝑐)))
1918rexbidv 3226 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → (∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐) ↔ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)))
2014, 19anbi12d 631 . . . . . . . . . 10 ((𝑝 = 𝑃𝑖 = 𝐼) → (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ↔ ((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐))))
2111eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑏 ∈ (𝑃𝑑) ↔ 𝑏 ∈ (𝑝𝑑)))
2221, 13anbi12d 631 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑))))
2316oveqd 7292 . . . . . . . . . . . . 13 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑏𝐼𝑐) = (𝑏𝑖𝑐))
2423eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑡 ∈ (𝑏𝐼𝑐) ↔ 𝑡 ∈ (𝑏𝑖𝑐)))
2524rexbidv 3226 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → (∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐) ↔ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))
2622, 25anbi12d 631 . . . . . . . . . 10 ((𝑝 = 𝑃𝑖 = 𝐼) → (((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)) ↔ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐))))
2720, 26anbi12d 631 . . . . . . . . 9 ((𝑝 = 𝑃𝑖 = 𝐼) → ((((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))))
2810, 27rexeqbidv 3337 . . . . . . . 8 ((𝑝 = 𝑃𝑖 = 𝐼) → (∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ ∃𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))))
297, 8, 28sbcie2s 16862 . . . . . . 7 (𝑔 = 𝐺 → ([(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐))) ↔ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))))
3029opabbidv 5140 . . . . . 6 (𝑔 = 𝐺 → {⟨𝑎, 𝑏⟩ ∣ [(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))})
316, 30mpteq12dv 5165 . . . . 5 (𝑔 = 𝐺 → (𝑑 ∈ ran (LineG‘𝑔) ↦ {⟨𝑎, 𝑏⟩ ∣ [(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))}) = (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}))
32 df-hpg 27119 . . . . 5 hpG = (𝑔 ∈ V ↦ (𝑑 ∈ ran (LineG‘𝑔) ↦ {⟨𝑎, 𝑏⟩ ∣ [(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))}))
334fvexi 6788 . . . . . . 7 𝐿 ∈ V
3433rnex 7759 . . . . . 6 ran 𝐿 ∈ V
3534mptex 7099 . . . . 5 (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}) ∈ V
3631, 32, 35fvmpt 6875 . . . 4 (𝐺 ∈ V → (hpG‘𝐺) = (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}))
371, 2, 363syl 18 . . 3 (𝜑 → (hpG‘𝐺) = (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}))
38 difeq2 4051 . . . . . . . . . 10 (𝑑 = 𝐷 → (𝑃𝑑) = (𝑃𝐷))
3938eleq2d 2824 . . . . . . . . 9 (𝑑 = 𝐷 → (𝑎 ∈ (𝑃𝑑) ↔ 𝑎 ∈ (𝑃𝐷)))
4038eleq2d 2824 . . . . . . . . 9 (𝑑 = 𝐷 → (𝑐 ∈ (𝑃𝑑) ↔ 𝑐 ∈ (𝑃𝐷)))
4139, 40anbi12d 631 . . . . . . . 8 (𝑑 = 𝐷 → ((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
42 rexeq 3343 . . . . . . . 8 (𝑑 = 𝐷 → (∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)))
4341, 42anbi12d 631 . . . . . . 7 (𝑑 = 𝐷 → (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐))))
4438eleq2d 2824 . . . . . . . . 9 (𝑑 = 𝐷 → (𝑏 ∈ (𝑃𝑑) ↔ 𝑏 ∈ (𝑃𝐷)))
4544, 40anbi12d 631 . . . . . . . 8 (𝑑 = 𝐷 → ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
46 rexeq 3343 . . . . . . . 8 (𝑑 = 𝐷 → (∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))
4745, 46anbi12d 631 . . . . . . 7 (𝑑 = 𝐷 → (((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)) ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
4843, 47anbi12d 631 . . . . . 6 (𝑑 = 𝐷 → ((((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))))
4948rexbidv 3226 . . . . 5 (𝑑 = 𝐷 → (∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))))
5049opabbidv 5140 . . . 4 (𝑑 = 𝐷 → {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))})
5150adantl 482 . . 3 ((𝜑𝑑 = 𝐷) → {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))})
52 ishpg.d . . 3 (𝜑𝐷 ∈ ran 𝐿)
53 df-xp 5595 . . . . . 6 (𝑃 × 𝑃) = {⟨𝑎, 𝑏⟩ ∣ (𝑎𝑃𝑏𝑃)}
547fvexi 6788 . . . . . . 7 𝑃 ∈ V
5554, 54xpex 7603 . . . . . 6 (𝑃 × 𝑃) ∈ V
5653, 55eqeltrri 2836 . . . . 5 {⟨𝑎, 𝑏⟩ ∣ (𝑎𝑃𝑏𝑃)} ∈ V
57 eldifi 4061 . . . . . . . . . 10 (𝑎 ∈ (𝑃𝐷) → 𝑎𝑃)
58 eldifi 4061 . . . . . . . . . 10 (𝑏 ∈ (𝑃𝐷) → 𝑏𝑃)
5957, 58anim12i 613 . . . . . . . . 9 ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) → (𝑎𝑃𝑏𝑃))
6059ad2ant2r 744 . . . . . . . 8 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ (𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))) → (𝑎𝑃𝑏𝑃))
6160ad2ant2r 744 . . . . . . 7 ((((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))) → (𝑎𝑃𝑏𝑃))
6261rexlimivw 3211 . . . . . 6 (∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))) → (𝑎𝑃𝑏𝑃))
6362ssopab2i 5463 . . . . 5 {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))} ⊆ {⟨𝑎, 𝑏⟩ ∣ (𝑎𝑃𝑏𝑃)}
6456, 63ssexi 5246 . . . 4 {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))} ∈ V
6564a1i 11 . . 3 (𝜑 → {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))} ∈ V)
6637, 51, 52, 65fvmptd 6882 . 2 (𝜑 → ((hpG‘𝐺)‘𝐷) = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))})
67 vex 3436 . . . . . 6 𝑎 ∈ V
68 vex 3436 . . . . . 6 𝑐 ∈ V
69 eleq1w 2821 . . . . . . . 8 (𝑒 = 𝑎 → (𝑒 ∈ (𝑃𝐷) ↔ 𝑎 ∈ (𝑃𝐷)))
7069anbi1d 630 . . . . . . 7 (𝑒 = 𝑎 → ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷))))
71 oveq1 7282 . . . . . . . . 9 (𝑒 = 𝑎 → (𝑒𝐼𝑓) = (𝑎𝐼𝑓))
7271eleq2d 2824 . . . . . . . 8 (𝑒 = 𝑎 → (𝑡 ∈ (𝑒𝐼𝑓) ↔ 𝑡 ∈ (𝑎𝐼𝑓)))
7372rexbidv 3226 . . . . . . 7 (𝑒 = 𝑎 → (∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓)))
7470, 73anbi12d 631 . . . . . 6 (𝑒 = 𝑎 → (((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓)) ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓))))
75 eleq1w 2821 . . . . . . . 8 (𝑓 = 𝑐 → (𝑓 ∈ (𝑃𝐷) ↔ 𝑐 ∈ (𝑃𝐷)))
7675anbi2d 629 . . . . . . 7 (𝑓 = 𝑐 → ((𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
77 oveq2 7283 . . . . . . . . 9 (𝑓 = 𝑐 → (𝑎𝐼𝑓) = (𝑎𝐼𝑐))
7877eleq2d 2824 . . . . . . . 8 (𝑓 = 𝑐 → (𝑡 ∈ (𝑎𝐼𝑓) ↔ 𝑡 ∈ (𝑎𝐼𝑐)))
7978rexbidv 3226 . . . . . . 7 (𝑓 = 𝑐 → (∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)))
8076, 79anbi12d 631 . . . . . 6 (𝑓 = 𝑐 → (((𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓)) ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐))))
81 ishpg.o . . . . . . 7 𝑂 = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏))}
82 simpl 483 . . . . . . . . . . 11 ((𝑎 = 𝑒𝑏 = 𝑓) → 𝑎 = 𝑒)
8382eleq1d 2823 . . . . . . . . . 10 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑎 ∈ (𝑃𝐷) ↔ 𝑒 ∈ (𝑃𝐷)))
84 simpr 485 . . . . . . . . . . 11 ((𝑎 = 𝑒𝑏 = 𝑓) → 𝑏 = 𝑓)
8584eleq1d 2823 . . . . . . . . . 10 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑏 ∈ (𝑃𝐷) ↔ 𝑓 ∈ (𝑃𝐷)))
8683, 85anbi12d 631 . . . . . . . . 9 ((𝑎 = 𝑒𝑏 = 𝑓) → ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ↔ (𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷))))
87 oveq12 7284 . . . . . . . . . . 11 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑎𝐼𝑏) = (𝑒𝐼𝑓))
8887eleq2d 2824 . . . . . . . . . 10 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑡 ∈ (𝑎𝐼𝑏) ↔ 𝑡 ∈ (𝑒𝐼𝑓)))
8988rexbidv 3226 . . . . . . . . 9 ((𝑎 = 𝑒𝑏 = 𝑓) → (∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓)))
9086, 89anbi12d 631 . . . . . . . 8 ((𝑎 = 𝑒𝑏 = 𝑓) → (((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏)) ↔ ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓))))
9190cbvopabv 5147 . . . . . . 7 {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏))} = {⟨𝑒, 𝑓⟩ ∣ ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓))}
9281, 91eqtri 2766 . . . . . 6 𝑂 = {⟨𝑒, 𝑓⟩ ∣ ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓))}
9367, 68, 74, 80, 92brab 5456 . . . . 5 (𝑎𝑂𝑐 ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)))
94 vex 3436 . . . . . 6 𝑏 ∈ V
95 eleq1w 2821 . . . . . . . 8 (𝑒 = 𝑏 → (𝑒 ∈ (𝑃𝐷) ↔ 𝑏 ∈ (𝑃𝐷)))
9695anbi1d 630 . . . . . . 7 (𝑒 = 𝑏 → ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷))))
97 oveq1 7282 . . . . . . . . 9 (𝑒 = 𝑏 → (𝑒𝐼𝑓) = (𝑏𝐼𝑓))
9897eleq2d 2824 . . . . . . . 8 (𝑒 = 𝑏 → (𝑡 ∈ (𝑒𝐼𝑓) ↔ 𝑡 ∈ (𝑏𝐼𝑓)))
9998rexbidv 3226 . . . . . . 7 (𝑒 = 𝑏 → (∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓)))
10096, 99anbi12d 631 . . . . . 6 (𝑒 = 𝑏 → (((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓)) ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓))))
10175anbi2d 629 . . . . . . 7 (𝑓 = 𝑐 → ((𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
102 oveq2 7283 . . . . . . . . 9 (𝑓 = 𝑐 → (𝑏𝐼𝑓) = (𝑏𝐼𝑐))
103102eleq2d 2824 . . . . . . . 8 (𝑓 = 𝑐 → (𝑡 ∈ (𝑏𝐼𝑓) ↔ 𝑡 ∈ (𝑏𝐼𝑐)))
104103rexbidv 3226 . . . . . . 7 (𝑓 = 𝑐 → (∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))
105101, 104anbi12d 631 . . . . . 6 (𝑓 = 𝑐 → (((𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓)) ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
10694, 68, 100, 105, 92brab 5456 . . . . 5 (𝑏𝑂𝑐 ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))
10793, 106anbi12i 627 . . . 4 ((𝑎𝑂𝑐𝑏𝑂𝑐) ↔ (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
108107rexbii 3181 . . 3 (∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐) ↔ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
109108opabbii 5141 . 2 {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐)} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))}
11066, 109eqtr4di 2796 1 (𝜑 → ((hpG‘𝐺)‘𝐷) = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  wrex 3065  Vcvv 3432  [wsbc 3716  cdif 3884   class class class wbr 5074  {copab 5136  cmpt 5157   × cxp 5587  ran crn 5590  cfv 6433  (class class class)co 7275  Basecbs 16912  TarskiGcstrkg 26788  Itvcitv 26794  LineGclng 26795  hpGchpg 27118
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-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  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-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-hpg 27119
This theorem is referenced by:  hpgbr  27121
  Copyright terms: Public domain W3C validator