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

Theorem ishpg 27024
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 3440 . . . 4 (𝐺 ∈ TarskiG → 𝐺 ∈ V)
3 fveq2 6756 . . . . . . . 8 (𝑔 = 𝐺 → (LineG‘𝑔) = (LineG‘𝐺))
4 ishpg.l . . . . . . . 8 𝐿 = (LineG‘𝐺)
53, 4eqtr4di 2797 . . . . . . 7 (𝑔 = 𝐺 → (LineG‘𝑔) = 𝐿)
65rneqd 5836 . . . . . 6 (𝑔 = 𝐺 → ran (LineG‘𝑔) = ran 𝐿)
7 ishpg.p . . . . . . . 8 𝑃 = (Base‘𝐺)
8 ishpg.i . . . . . . . 8 𝐼 = (Itv‘𝐺)
9 simpl 482 . . . . . . . . . 10 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝑝 = 𝑃)
109eqcomd 2744 . . . . . . . . 9 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝑃 = 𝑝)
1110difeq1d 4052 . . . . . . . . . . . . 13 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑃𝑑) = (𝑝𝑑))
1211eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑎 ∈ (𝑃𝑑) ↔ 𝑎 ∈ (𝑝𝑑)))
1311eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑐 ∈ (𝑃𝑑) ↔ 𝑐 ∈ (𝑝𝑑)))
1412, 13anbi12d 630 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → ((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑))))
15 simpr 484 . . . . . . . . . . . . . . 15 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝑖 = 𝐼)
1615eqcomd 2744 . . . . . . . . . . . . . 14 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝐼 = 𝑖)
1716oveqd 7272 . . . . . . . . . . . . 13 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑎𝐼𝑐) = (𝑎𝑖𝑐))
1817eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑡 ∈ (𝑎𝐼𝑐) ↔ 𝑡 ∈ (𝑎𝑖𝑐)))
1918rexbidv 3225 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → (∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐) ↔ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)))
2014, 19anbi12d 630 . . . . . . . . . 10 ((𝑝 = 𝑃𝑖 = 𝐼) → (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ↔ ((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐))))
2111eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑏 ∈ (𝑃𝑑) ↔ 𝑏 ∈ (𝑝𝑑)))
2221, 13anbi12d 630 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑))))
2316oveqd 7272 . . . . . . . . . . . . 13 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑏𝐼𝑐) = (𝑏𝑖𝑐))
2423eleq2d 2824 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑡 ∈ (𝑏𝐼𝑐) ↔ 𝑡 ∈ (𝑏𝑖𝑐)))
2524rexbidv 3225 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → (∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐) ↔ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))
2622, 25anbi12d 630 . . . . . . . . . 10 ((𝑝 = 𝑃𝑖 = 𝐼) → (((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)) ↔ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐))))
2720, 26anbi12d 630 . . . . . . . . 9 ((𝑝 = 𝑃𝑖 = 𝐼) → ((((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))))
2810, 27rexeqbidv 3328 . . . . . . . 8 ((𝑝 = 𝑃𝑖 = 𝐼) → (∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ ∃𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))))
297, 8, 28sbcie2s 16790 . . . . . . 7 (𝑔 = 𝐺 → ([(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐))) ↔ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))))
3029opabbidv 5136 . . . . . 6 (𝑔 = 𝐺 → {⟨𝑎, 𝑏⟩ ∣ [(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))})
316, 30mpteq12dv 5161 . . . . 5 (𝑔 = 𝐺 → (𝑑 ∈ ran (LineG‘𝑔) ↦ {⟨𝑎, 𝑏⟩ ∣ [(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))}) = (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}))
32 df-hpg 27023 . . . . 5 hpG = (𝑔 ∈ V ↦ (𝑑 ∈ ran (LineG‘𝑔) ↦ {⟨𝑎, 𝑏⟩ ∣ [(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))}))
334fvexi 6770 . . . . . . 7 𝐿 ∈ V
3433rnex 7733 . . . . . 6 ran 𝐿 ∈ V
3534mptex 7081 . . . . 5 (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}) ∈ V
3631, 32, 35fvmpt 6857 . . . 4 (𝐺 ∈ V → (hpG‘𝐺) = (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}))
371, 2, 363syl 18 . . 3 (𝜑 → (hpG‘𝐺) = (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}))
38 difeq2 4047 . . . . . . . . . 10 (𝑑 = 𝐷 → (𝑃𝑑) = (𝑃𝐷))
3938eleq2d 2824 . . . . . . . . 9 (𝑑 = 𝐷 → (𝑎 ∈ (𝑃𝑑) ↔ 𝑎 ∈ (𝑃𝐷)))
4038eleq2d 2824 . . . . . . . . 9 (𝑑 = 𝐷 → (𝑐 ∈ (𝑃𝑑) ↔ 𝑐 ∈ (𝑃𝐷)))
4139, 40anbi12d 630 . . . . . . . 8 (𝑑 = 𝐷 → ((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
42 rexeq 3334 . . . . . . . 8 (𝑑 = 𝐷 → (∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)))
4341, 42anbi12d 630 . . . . . . 7 (𝑑 = 𝐷 → (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐))))
4438eleq2d 2824 . . . . . . . . 9 (𝑑 = 𝐷 → (𝑏 ∈ (𝑃𝑑) ↔ 𝑏 ∈ (𝑃𝐷)))
4544, 40anbi12d 630 . . . . . . . 8 (𝑑 = 𝐷 → ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
46 rexeq 3334 . . . . . . . 8 (𝑑 = 𝐷 → (∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))
4745, 46anbi12d 630 . . . . . . 7 (𝑑 = 𝐷 → (((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)) ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
4843, 47anbi12d 630 . . . . . 6 (𝑑 = 𝐷 → ((((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))))
4948rexbidv 3225 . . . . 5 (𝑑 = 𝐷 → (∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))))
5049opabbidv 5136 . . . 4 (𝑑 = 𝐷 → {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))})
5150adantl 481 . . 3 ((𝜑𝑑 = 𝐷) → {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))})
52 ishpg.d . . 3 (𝜑𝐷 ∈ ran 𝐿)
53 df-xp 5586 . . . . . 6 (𝑃 × 𝑃) = {⟨𝑎, 𝑏⟩ ∣ (𝑎𝑃𝑏𝑃)}
547fvexi 6770 . . . . . . 7 𝑃 ∈ V
5554, 54xpex 7581 . . . . . 6 (𝑃 × 𝑃) ∈ V
5653, 55eqeltrri 2836 . . . . 5 {⟨𝑎, 𝑏⟩ ∣ (𝑎𝑃𝑏𝑃)} ∈ V
57 eldifi 4057 . . . . . . . . . 10 (𝑎 ∈ (𝑃𝐷) → 𝑎𝑃)
58 eldifi 4057 . . . . . . . . . 10 (𝑏 ∈ (𝑃𝐷) → 𝑏𝑃)
5957, 58anim12i 612 . . . . . . . . 9 ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) → (𝑎𝑃𝑏𝑃))
6059ad2ant2r 743 . . . . . . . 8 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ (𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))) → (𝑎𝑃𝑏𝑃))
6160ad2ant2r 743 . . . . . . 7 ((((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))) → (𝑎𝑃𝑏𝑃))
6261rexlimivw 3210 . . . . . 6 (∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))) → (𝑎𝑃𝑏𝑃))
6362ssopab2i 5456 . . . . 5 {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))} ⊆ {⟨𝑎, 𝑏⟩ ∣ (𝑎𝑃𝑏𝑃)}
6456, 63ssexi 5241 . . . 4 {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))} ∈ V
6564a1i 11 . . 3 (𝜑 → {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))} ∈ V)
6637, 51, 52, 65fvmptd 6864 . 2 (𝜑 → ((hpG‘𝐺)‘𝐷) = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))})
67 vex 3426 . . . . . 6 𝑎 ∈ V
68 vex 3426 . . . . . 6 𝑐 ∈ V
69 eleq1w 2821 . . . . . . . 8 (𝑒 = 𝑎 → (𝑒 ∈ (𝑃𝐷) ↔ 𝑎 ∈ (𝑃𝐷)))
7069anbi1d 629 . . . . . . 7 (𝑒 = 𝑎 → ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷))))
71 oveq1 7262 . . . . . . . . 9 (𝑒 = 𝑎 → (𝑒𝐼𝑓) = (𝑎𝐼𝑓))
7271eleq2d 2824 . . . . . . . 8 (𝑒 = 𝑎 → (𝑡 ∈ (𝑒𝐼𝑓) ↔ 𝑡 ∈ (𝑎𝐼𝑓)))
7372rexbidv 3225 . . . . . . 7 (𝑒 = 𝑎 → (∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓)))
7470, 73anbi12d 630 . . . . . 6 (𝑒 = 𝑎 → (((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓)) ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓))))
75 eleq1w 2821 . . . . . . . 8 (𝑓 = 𝑐 → (𝑓 ∈ (𝑃𝐷) ↔ 𝑐 ∈ (𝑃𝐷)))
7675anbi2d 628 . . . . . . 7 (𝑓 = 𝑐 → ((𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
77 oveq2 7263 . . . . . . . . 9 (𝑓 = 𝑐 → (𝑎𝐼𝑓) = (𝑎𝐼𝑐))
7877eleq2d 2824 . . . . . . . 8 (𝑓 = 𝑐 → (𝑡 ∈ (𝑎𝐼𝑓) ↔ 𝑡 ∈ (𝑎𝐼𝑐)))
7978rexbidv 3225 . . . . . . 7 (𝑓 = 𝑐 → (∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)))
8076, 79anbi12d 630 . . . . . 6 (𝑓 = 𝑐 → (((𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓)) ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐))))
81 ishpg.o . . . . . . 7 𝑂 = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏))}
82 simpl 482 . . . . . . . . . . 11 ((𝑎 = 𝑒𝑏 = 𝑓) → 𝑎 = 𝑒)
8382eleq1d 2823 . . . . . . . . . 10 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑎 ∈ (𝑃𝐷) ↔ 𝑒 ∈ (𝑃𝐷)))
84 simpr 484 . . . . . . . . . . 11 ((𝑎 = 𝑒𝑏 = 𝑓) → 𝑏 = 𝑓)
8584eleq1d 2823 . . . . . . . . . 10 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑏 ∈ (𝑃𝐷) ↔ 𝑓 ∈ (𝑃𝐷)))
8683, 85anbi12d 630 . . . . . . . . 9 ((𝑎 = 𝑒𝑏 = 𝑓) → ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ↔ (𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷))))
87 oveq12 7264 . . . . . . . . . . 11 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑎𝐼𝑏) = (𝑒𝐼𝑓))
8887eleq2d 2824 . . . . . . . . . 10 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑡 ∈ (𝑎𝐼𝑏) ↔ 𝑡 ∈ (𝑒𝐼𝑓)))
8988rexbidv 3225 . . . . . . . . 9 ((𝑎 = 𝑒𝑏 = 𝑓) → (∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓)))
9086, 89anbi12d 630 . . . . . . . 8 ((𝑎 = 𝑒𝑏 = 𝑓) → (((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏)) ↔ ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓))))
9190cbvopabv 5143 . . . . . . 7 {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏))} = {⟨𝑒, 𝑓⟩ ∣ ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓))}
9281, 91eqtri 2766 . . . . . 6 𝑂 = {⟨𝑒, 𝑓⟩ ∣ ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓))}
9367, 68, 74, 80, 92brab 5449 . . . . 5 (𝑎𝑂𝑐 ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)))
94 vex 3426 . . . . . 6 𝑏 ∈ V
95 eleq1w 2821 . . . . . . . 8 (𝑒 = 𝑏 → (𝑒 ∈ (𝑃𝐷) ↔ 𝑏 ∈ (𝑃𝐷)))
9695anbi1d 629 . . . . . . 7 (𝑒 = 𝑏 → ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷))))
97 oveq1 7262 . . . . . . . . 9 (𝑒 = 𝑏 → (𝑒𝐼𝑓) = (𝑏𝐼𝑓))
9897eleq2d 2824 . . . . . . . 8 (𝑒 = 𝑏 → (𝑡 ∈ (𝑒𝐼𝑓) ↔ 𝑡 ∈ (𝑏𝐼𝑓)))
9998rexbidv 3225 . . . . . . 7 (𝑒 = 𝑏 → (∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓)))
10096, 99anbi12d 630 . . . . . 6 (𝑒 = 𝑏 → (((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓)) ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓))))
10175anbi2d 628 . . . . . . 7 (𝑓 = 𝑐 → ((𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
102 oveq2 7263 . . . . . . . . 9 (𝑓 = 𝑐 → (𝑏𝐼𝑓) = (𝑏𝐼𝑐))
103102eleq2d 2824 . . . . . . . 8 (𝑓 = 𝑐 → (𝑡 ∈ (𝑏𝐼𝑓) ↔ 𝑡 ∈ (𝑏𝐼𝑐)))
104103rexbidv 3225 . . . . . . 7 (𝑓 = 𝑐 → (∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))
105101, 104anbi12d 630 . . . . . 6 (𝑓 = 𝑐 → (((𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓)) ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
10694, 68, 100, 105, 92brab 5449 . . . . 5 (𝑏𝑂𝑐 ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))
10793, 106anbi12i 626 . . . 4 ((𝑎𝑂𝑐𝑏𝑂𝑐) ↔ (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
108107rexbii 3177 . . 3 (∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐) ↔ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
109108opabbii 5137 . 2 {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐)} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))}
11066, 109eqtr4di 2797 1 (𝜑 → ((hpG‘𝐺)‘𝐷) = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  wrex 3064  Vcvv 3422  [wsbc 3711  cdif 3880   class class class wbr 5070  {copab 5132  cmpt 5153   × cxp 5578  ran crn 5581  cfv 6418  (class class class)co 7255  Basecbs 16840  TarskiGcstrkg 26693  Itvcitv 26699  LineGclng 26700  hpGchpg 27022
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-hpg 27023
This theorem is referenced by:  hpgbr  27025
  Copyright terms: Public domain W3C validator