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

Theorem ishpg 26705
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 3416 . . . 4 (𝐺 ∈ TarskiG → 𝐺 ∈ V)
3 fveq2 6674 . . . . . . . 8 (𝑔 = 𝐺 → (LineG‘𝑔) = (LineG‘𝐺))
4 ishpg.l . . . . . . . 8 𝐿 = (LineG‘𝐺)
53, 4eqtr4di 2791 . . . . . . 7 (𝑔 = 𝐺 → (LineG‘𝑔) = 𝐿)
65rneqd 5781 . . . . . 6 (𝑔 = 𝐺 → ran (LineG‘𝑔) = ran 𝐿)
7 ishpg.p . . . . . . . 8 𝑃 = (Base‘𝐺)
8 ishpg.i . . . . . . . 8 𝐼 = (Itv‘𝐺)
9 simpl 486 . . . . . . . . . 10 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝑝 = 𝑃)
109eqcomd 2744 . . . . . . . . 9 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝑃 = 𝑝)
1110difeq1d 4012 . . . . . . . . . . . . 13 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑃𝑑) = (𝑝𝑑))
1211eleq2d 2818 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑎 ∈ (𝑃𝑑) ↔ 𝑎 ∈ (𝑝𝑑)))
1311eleq2d 2818 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑐 ∈ (𝑃𝑑) ↔ 𝑐 ∈ (𝑝𝑑)))
1412, 13anbi12d 634 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → ((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑))))
15 simpr 488 . . . . . . . . . . . . . . 15 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝑖 = 𝐼)
1615eqcomd 2744 . . . . . . . . . . . . . 14 ((𝑝 = 𝑃𝑖 = 𝐼) → 𝐼 = 𝑖)
1716oveqd 7187 . . . . . . . . . . . . 13 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑎𝐼𝑐) = (𝑎𝑖𝑐))
1817eleq2d 2818 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑡 ∈ (𝑎𝐼𝑐) ↔ 𝑡 ∈ (𝑎𝑖𝑐)))
1918rexbidv 3207 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → (∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐) ↔ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)))
2014, 19anbi12d 634 . . . . . . . . . 10 ((𝑝 = 𝑃𝑖 = 𝐼) → (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ↔ ((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐))))
2111eleq2d 2818 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑏 ∈ (𝑃𝑑) ↔ 𝑏 ∈ (𝑝𝑑)))
2221, 13anbi12d 634 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑))))
2316oveqd 7187 . . . . . . . . . . . . 13 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑏𝐼𝑐) = (𝑏𝑖𝑐))
2423eleq2d 2818 . . . . . . . . . . . 12 ((𝑝 = 𝑃𝑖 = 𝐼) → (𝑡 ∈ (𝑏𝐼𝑐) ↔ 𝑡 ∈ (𝑏𝑖𝑐)))
2524rexbidv 3207 . . . . . . . . . . 11 ((𝑝 = 𝑃𝑖 = 𝐼) → (∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐) ↔ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))
2622, 25anbi12d 634 . . . . . . . . . 10 ((𝑝 = 𝑃𝑖 = 𝐼) → (((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)) ↔ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐))))
2720, 26anbi12d 634 . . . . . . . . 9 ((𝑝 = 𝑃𝑖 = 𝐼) → ((((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))))
2810, 27rexeqbidv 3305 . . . . . . . 8 ((𝑝 = 𝑃𝑖 = 𝐼) → (∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ ∃𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))))
297, 8, 28sbcie2s 16643 . . . . . . 7 (𝑔 = 𝐺 → ([(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐))) ↔ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))))
3029opabbidv 5096 . . . . . 6 (𝑔 = 𝐺 → {⟨𝑎, 𝑏⟩ ∣ [(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))})
316, 30mpteq12dv 5115 . . . . 5 (𝑔 = 𝐺 → (𝑑 ∈ ran (LineG‘𝑔) ↦ {⟨𝑎, 𝑏⟩ ∣ [(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))}) = (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}))
32 df-hpg 26704 . . . . 5 hpG = (𝑔 ∈ V ↦ (𝑑 ∈ ran (LineG‘𝑔) ↦ {⟨𝑎, 𝑏⟩ ∣ [(Base‘𝑔) / 𝑝][(Itv‘𝑔) / 𝑖]𝑐𝑝 (((𝑎 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝑖𝑐)) ∧ ((𝑏 ∈ (𝑝𝑑) ∧ 𝑐 ∈ (𝑝𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝑖𝑐)))}))
334fvexi 6688 . . . . . . 7 𝐿 ∈ V
3433rnex 7643 . . . . . 6 ran 𝐿 ∈ V
3534mptex 6996 . . . . 5 (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}) ∈ V
3631, 32, 35fvmpt 6775 . . . 4 (𝐺 ∈ V → (hpG‘𝐺) = (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}))
371, 2, 363syl 18 . . 3 (𝜑 → (hpG‘𝐺) = (𝑑 ∈ ran 𝐿 ↦ {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))}))
38 difeq2 4007 . . . . . . . . . 10 (𝑑 = 𝐷 → (𝑃𝑑) = (𝑃𝐷))
3938eleq2d 2818 . . . . . . . . 9 (𝑑 = 𝐷 → (𝑎 ∈ (𝑃𝑑) ↔ 𝑎 ∈ (𝑃𝐷)))
4038eleq2d 2818 . . . . . . . . 9 (𝑑 = 𝐷 → (𝑐 ∈ (𝑃𝑑) ↔ 𝑐 ∈ (𝑃𝐷)))
4139, 40anbi12d 634 . . . . . . . 8 (𝑑 = 𝐷 → ((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
42 rexeq 3311 . . . . . . . 8 (𝑑 = 𝐷 → (∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)))
4341, 42anbi12d 634 . . . . . . 7 (𝑑 = 𝐷 → (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐))))
4438eleq2d 2818 . . . . . . . . 9 (𝑑 = 𝐷 → (𝑏 ∈ (𝑃𝑑) ↔ 𝑏 ∈ (𝑃𝐷)))
4544, 40anbi12d 634 . . . . . . . 8 (𝑑 = 𝐷 → ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ↔ (𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
46 rexeq 3311 . . . . . . . 8 (𝑑 = 𝐷 → (∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))
4745, 46anbi12d 634 . . . . . . 7 (𝑑 = 𝐷 → (((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)) ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
4843, 47anbi12d 634 . . . . . 6 (𝑑 = 𝐷 → ((((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))))
4948rexbidv 3207 . . . . 5 (𝑑 = 𝐷 → (∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐))) ↔ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))))
5049opabbidv 5096 . . . 4 (𝑑 = 𝐷 → {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))})
5150adantl 485 . . 3 ((𝜑𝑑 = 𝐷) → {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝑑) ∧ 𝑐 ∈ (𝑃𝑑)) ∧ ∃𝑡𝑑 𝑡 ∈ (𝑏𝐼𝑐)))} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))})
52 ishpg.d . . 3 (𝜑𝐷 ∈ ran 𝐿)
53 df-xp 5531 . . . . . 6 (𝑃 × 𝑃) = {⟨𝑎, 𝑏⟩ ∣ (𝑎𝑃𝑏𝑃)}
547fvexi 6688 . . . . . . 7 𝑃 ∈ V
5554, 54xpex 7494 . . . . . 6 (𝑃 × 𝑃) ∈ V
5653, 55eqeltrri 2830 . . . . 5 {⟨𝑎, 𝑏⟩ ∣ (𝑎𝑃𝑏𝑃)} ∈ V
57 eldifi 4017 . . . . . . . . . 10 (𝑎 ∈ (𝑃𝐷) → 𝑎𝑃)
58 eldifi 4017 . . . . . . . . . 10 (𝑏 ∈ (𝑃𝐷) → 𝑏𝑃)
5957, 58anim12i 616 . . . . . . . . 9 ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) → (𝑎𝑃𝑏𝑃))
6059ad2ant2r 747 . . . . . . . 8 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ (𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))) → (𝑎𝑃𝑏𝑃))
6160ad2ant2r 747 . . . . . . 7 ((((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))) → (𝑎𝑃𝑏𝑃))
6261rexlimivw 3192 . . . . . 6 (∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))) → (𝑎𝑃𝑏𝑃))
6362ssopab2i 5405 . . . . 5 {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))} ⊆ {⟨𝑎, 𝑏⟩ ∣ (𝑎𝑃𝑏𝑃)}
6456, 63ssexi 5190 . . . 4 {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))} ∈ V
6564a1i 11 . . 3 (𝜑 → {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))} ∈ V)
6637, 51, 52, 65fvmptd 6782 . 2 (𝜑 → ((hpG‘𝐺)‘𝐷) = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))})
67 vex 3402 . . . . . 6 𝑎 ∈ V
68 vex 3402 . . . . . 6 𝑐 ∈ V
69 eleq1w 2815 . . . . . . . 8 (𝑒 = 𝑎 → (𝑒 ∈ (𝑃𝐷) ↔ 𝑎 ∈ (𝑃𝐷)))
7069anbi1d 633 . . . . . . 7 (𝑒 = 𝑎 → ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷))))
71 oveq1 7177 . . . . . . . . 9 (𝑒 = 𝑎 → (𝑒𝐼𝑓) = (𝑎𝐼𝑓))
7271eleq2d 2818 . . . . . . . 8 (𝑒 = 𝑎 → (𝑡 ∈ (𝑒𝐼𝑓) ↔ 𝑡 ∈ (𝑎𝐼𝑓)))
7372rexbidv 3207 . . . . . . 7 (𝑒 = 𝑎 → (∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓)))
7470, 73anbi12d 634 . . . . . 6 (𝑒 = 𝑎 → (((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓)) ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓))))
75 eleq1w 2815 . . . . . . . 8 (𝑓 = 𝑐 → (𝑓 ∈ (𝑃𝐷) ↔ 𝑐 ∈ (𝑃𝐷)))
7675anbi2d 632 . . . . . . 7 (𝑓 = 𝑐 → ((𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
77 oveq2 7178 . . . . . . . . 9 (𝑓 = 𝑐 → (𝑎𝐼𝑓) = (𝑎𝐼𝑐))
7877eleq2d 2818 . . . . . . . 8 (𝑓 = 𝑐 → (𝑡 ∈ (𝑎𝐼𝑓) ↔ 𝑡 ∈ (𝑎𝐼𝑐)))
7978rexbidv 3207 . . . . . . 7 (𝑓 = 𝑐 → (∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)))
8076, 79anbi12d 634 . . . . . 6 (𝑓 = 𝑐 → (((𝑎 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑓)) ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐))))
81 ishpg.o . . . . . . 7 𝑂 = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏))}
82 simpl 486 . . . . . . . . . . 11 ((𝑎 = 𝑒𝑏 = 𝑓) → 𝑎 = 𝑒)
8382eleq1d 2817 . . . . . . . . . 10 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑎 ∈ (𝑃𝐷) ↔ 𝑒 ∈ (𝑃𝐷)))
84 simpr 488 . . . . . . . . . . 11 ((𝑎 = 𝑒𝑏 = 𝑓) → 𝑏 = 𝑓)
8584eleq1d 2817 . . . . . . . . . 10 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑏 ∈ (𝑃𝐷) ↔ 𝑓 ∈ (𝑃𝐷)))
8683, 85anbi12d 634 . . . . . . . . 9 ((𝑎 = 𝑒𝑏 = 𝑓) → ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ↔ (𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷))))
87 oveq12 7179 . . . . . . . . . . 11 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑎𝐼𝑏) = (𝑒𝐼𝑓))
8887eleq2d 2818 . . . . . . . . . 10 ((𝑎 = 𝑒𝑏 = 𝑓) → (𝑡 ∈ (𝑎𝐼𝑏) ↔ 𝑡 ∈ (𝑒𝐼𝑓)))
8988rexbidv 3207 . . . . . . . . 9 ((𝑎 = 𝑒𝑏 = 𝑓) → (∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓)))
9086, 89anbi12d 634 . . . . . . . 8 ((𝑎 = 𝑒𝑏 = 𝑓) → (((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏)) ↔ ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓))))
9190cbvopabv 5102 . . . . . . 7 {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑏 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑏))} = {⟨𝑒, 𝑓⟩ ∣ ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓))}
9281, 91eqtri 2761 . . . . . 6 𝑂 = {⟨𝑒, 𝑓⟩ ∣ ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓))}
9367, 68, 74, 80, 92brab 5398 . . . . 5 (𝑎𝑂𝑐 ↔ ((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)))
94 vex 3402 . . . . . 6 𝑏 ∈ V
95 eleq1w 2815 . . . . . . . 8 (𝑒 = 𝑏 → (𝑒 ∈ (𝑃𝐷) ↔ 𝑏 ∈ (𝑃𝐷)))
9695anbi1d 633 . . . . . . 7 (𝑒 = 𝑏 → ((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷))))
97 oveq1 7177 . . . . . . . . 9 (𝑒 = 𝑏 → (𝑒𝐼𝑓) = (𝑏𝐼𝑓))
9897eleq2d 2818 . . . . . . . 8 (𝑒 = 𝑏 → (𝑡 ∈ (𝑒𝐼𝑓) ↔ 𝑡 ∈ (𝑏𝐼𝑓)))
9998rexbidv 3207 . . . . . . 7 (𝑒 = 𝑏 → (∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓)))
10096, 99anbi12d 634 . . . . . 6 (𝑒 = 𝑏 → (((𝑒 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑒𝐼𝑓)) ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓))))
10175anbi2d 632 . . . . . . 7 (𝑓 = 𝑐 → ((𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ↔ (𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷))))
102 oveq2 7178 . . . . . . . . 9 (𝑓 = 𝑐 → (𝑏𝐼𝑓) = (𝑏𝐼𝑐))
103102eleq2d 2818 . . . . . . . 8 (𝑓 = 𝑐 → (𝑡 ∈ (𝑏𝐼𝑓) ↔ 𝑡 ∈ (𝑏𝐼𝑐)))
104103rexbidv 3207 . . . . . . 7 (𝑓 = 𝑐 → (∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓) ↔ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))
105101, 104anbi12d 634 . . . . . 6 (𝑓 = 𝑐 → (((𝑏 ∈ (𝑃𝐷) ∧ 𝑓 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑓)) ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
10694, 68, 100, 105, 92brab 5398 . . . . 5 (𝑏𝑂𝑐 ↔ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))
10793, 106anbi12i 630 . . . 4 ((𝑎𝑂𝑐𝑏𝑂𝑐) ↔ (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
108107rexbii 3161 . . 3 (∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐) ↔ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐))))
109108opabbii 5097 . 2 {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐)} = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (((𝑎 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑎𝐼𝑐)) ∧ ((𝑏 ∈ (𝑃𝐷) ∧ 𝑐 ∈ (𝑃𝐷)) ∧ ∃𝑡𝐷 𝑡 ∈ (𝑏𝐼𝑐)))}
11066, 109eqtr4di 2791 1 (𝜑 → ((hpG‘𝐺)‘𝐷) = {⟨𝑎, 𝑏⟩ ∣ ∃𝑐𝑃 (𝑎𝑂𝑐𝑏𝑂𝑐)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1542  wcel 2114  wrex 3054  Vcvv 3398  [wsbc 3680  cdif 3840   class class class wbr 5030  {copab 5092  cmpt 5110   × cxp 5523  ran crn 5526  cfv 6339  (class class class)co 7170  Basecbs 16586  TarskiGcstrkg 26376  Itvcitv 26382  LineGclng 26383  hpGchpg 26703
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5232  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-reu 3060  df-rab 3062  df-v 3400  df-sbc 3681  df-csb 3791  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5429  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-iota 6297  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347  df-ov 7173  df-hpg 26704
This theorem is referenced by:  hpgbr  26706
  Copyright terms: Public domain W3C validator