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

Theorem tglngval 26816
Description: The line going through points 𝑋 and 𝑌. (Contributed by Thierry Arnoux, 28-Mar-2019.)
Hypotheses
Ref Expression
tglngval.p 𝑃 = (Base‘𝐺)
tglngval.l 𝐿 = (LineG‘𝐺)
tglngval.i 𝐼 = (Itv‘𝐺)
tglngval.g (𝜑𝐺 ∈ TarskiG)
tglngval.x (𝜑𝑋𝑃)
tglngval.y (𝜑𝑌𝑃)
tglngval.z (𝜑𝑋𝑌)
Assertion
Ref Expression
tglngval (𝜑 → (𝑋𝐿𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
Distinct variable groups:   𝑧,𝐺   𝑧,𝐼   𝑧,𝑃   𝑧,𝑋   𝑧,𝑌   𝜑,𝑧
Allowed substitution hint:   𝐿(𝑧)

Proof of Theorem tglngval
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tglngval.g . . . 4 (𝜑𝐺 ∈ TarskiG)
2 tglngval.p . . . . 5 𝑃 = (Base‘𝐺)
3 tglngval.l . . . . 5 𝐿 = (LineG‘𝐺)
4 tglngval.i . . . . 5 𝐼 = (Itv‘𝐺)
52, 3, 4tglng 26811 . . . 4 (𝐺 ∈ TarskiG → 𝐿 = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
61, 5syl 17 . . 3 (𝜑𝐿 = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
76oveqd 7272 . 2 (𝜑 → (𝑋𝐿𝑌) = (𝑋(𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})𝑌))
8 tglngval.x . . 3 (𝜑𝑋𝑃)
9 tglngval.y . . . 4 (𝜑𝑌𝑃)
10 tglngval.z . . . . 5 (𝜑𝑋𝑌)
1110necomd 2998 . . . 4 (𝜑𝑌𝑋)
12 eldifsn 4717 . . . 4 (𝑌 ∈ (𝑃 ∖ {𝑋}) ↔ (𝑌𝑃𝑌𝑋))
139, 11, 12sylanbrc 582 . . 3 (𝜑𝑌 ∈ (𝑃 ∖ {𝑋}))
142fvexi 6770 . . . . 5 𝑃 ∈ V
1514rabex 5251 . . . 4 {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))} ∈ V
1615a1i 11 . . 3 (𝜑 → {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))} ∈ V)
17 oveq12 7264 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥𝐼𝑦) = (𝑋𝐼𝑌))
1817eleq2d 2824 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑧 ∈ (𝑥𝐼𝑦) ↔ 𝑧 ∈ (𝑋𝐼𝑌)))
19 simpl 482 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑥 = 𝑋)
20 simpr 484 . . . . . . . 8 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑦 = 𝑌)
2120oveq2d 7271 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑧𝐼𝑦) = (𝑧𝐼𝑌))
2219, 21eleq12d 2833 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥 ∈ (𝑧𝐼𝑦) ↔ 𝑋 ∈ (𝑧𝐼𝑌)))
2319oveq1d 7270 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥𝐼𝑧) = (𝑋𝐼𝑧))
2420, 23eleq12d 2833 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑦 ∈ (𝑥𝐼𝑧) ↔ 𝑌 ∈ (𝑋𝐼𝑧)))
2518, 22, 243orbi123d 1433 . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → ((𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧)) ↔ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))))
2625rabbidv 3404 . . . 4 ((𝑥 = 𝑋𝑦 = 𝑌) → {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
27 sneq 4568 . . . . 5 (𝑥 = 𝑋 → {𝑥} = {𝑋})
2827difeq2d 4053 . . . 4 (𝑥 = 𝑋 → (𝑃 ∖ {𝑥}) = (𝑃 ∖ {𝑋}))
29 eqid 2738 . . . 4 (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
3026, 28, 29ovmpox 7404 . . 3 ((𝑋𝑃𝑌 ∈ (𝑃 ∖ {𝑋}) ∧ {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))} ∈ V) → (𝑋(𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
318, 13, 16, 30syl3anc 1369 . 2 (𝜑 → (𝑋(𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
327, 31eqtrd 2778 1 (𝜑 → (𝑋𝐿𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3o 1084   = wceq 1539  wcel 2108  wne 2942  {crab 3067  Vcvv 3422  cdif 3880  {csn 4558  cfv 6418  (class class class)co 7255  cmpo 7257  Basecbs 16840  TarskiGcstrkg 26693  Itvcitv 26699  LineGclng 26700
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-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  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-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-iota 6376  df-fun 6420  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-trkg 26718
This theorem is referenced by:  tglnssp  26817  tgellng  26818  tgisline  26892
  Copyright terms: Public domain W3C validator