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

Theorem tglngval 26912
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 26907 . . . 4 (𝐺 ∈ TarskiG → 𝐿 = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
61, 5syl 17 . . 3 (𝜑𝐿 = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
76oveqd 7292 . 2 (𝜑 → (𝑋𝐿𝑌) = (𝑋(𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})𝑌))
8 tglngval.x . . 3 (𝜑𝑋𝑃)
9 tglngval.y . . . 4 (𝜑𝑌𝑃)
10 tglngval.z . . . . 5 (𝜑𝑋𝑌)
1110necomd 2999 . . . 4 (𝜑𝑌𝑋)
12 eldifsn 4720 . . . 4 (𝑌 ∈ (𝑃 ∖ {𝑋}) ↔ (𝑌𝑃𝑌𝑋))
139, 11, 12sylanbrc 583 . . 3 (𝜑𝑌 ∈ (𝑃 ∖ {𝑋}))
142fvexi 6788 . . . . 5 𝑃 ∈ V
1514rabex 5256 . . . 4 {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))} ∈ V
1615a1i 11 . . 3 (𝜑 → {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))} ∈ V)
17 oveq12 7284 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥𝐼𝑦) = (𝑋𝐼𝑌))
1817eleq2d 2824 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑧 ∈ (𝑥𝐼𝑦) ↔ 𝑧 ∈ (𝑋𝐼𝑌)))
19 simpl 483 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑥 = 𝑋)
20 simpr 485 . . . . . . . 8 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑦 = 𝑌)
2120oveq2d 7291 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑧𝐼𝑦) = (𝑧𝐼𝑌))
2219, 21eleq12d 2833 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥 ∈ (𝑧𝐼𝑦) ↔ 𝑋 ∈ (𝑧𝐼𝑌)))
2319oveq1d 7290 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥𝐼𝑧) = (𝑋𝐼𝑧))
2420, 23eleq12d 2833 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑦 ∈ (𝑥𝐼𝑧) ↔ 𝑌 ∈ (𝑋𝐼𝑧)))
2518, 22, 243orbi123d 1434 . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → ((𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧)) ↔ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))))
2625rabbidv 3414 . . . 4 ((𝑥 = 𝑋𝑦 = 𝑌) → {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
27 sneq 4571 . . . . 5 (𝑥 = 𝑋 → {𝑥} = {𝑋})
2827difeq2d 4057 . . . 4 (𝑥 = 𝑋 → (𝑃 ∖ {𝑥}) = (𝑃 ∖ {𝑋}))
29 eqid 2738 . . . 4 (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
3026, 28, 29ovmpox 7426 . . 3 ((𝑋𝑃𝑌 ∈ (𝑃 ∖ {𝑋}) ∧ {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))} ∈ V) → (𝑋(𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
318, 13, 16, 30syl3anc 1370 . 2 (𝜑 → (𝑋(𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
327, 31eqtrd 2778 1 (𝜑 → (𝑋𝐿𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3o 1085   = wceq 1539  wcel 2106  wne 2943  {crab 3068  Vcvv 3432  cdif 3884  {csn 4561  cfv 6433  (class class class)co 7275  cmpo 7277  Basecbs 16912  TarskiGcstrkg 26788  Itvcitv 26794  LineGclng 26795
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-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  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-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-trkg 26814
This theorem is referenced by:  tglnssp  26913  tgellng  26914  tgisline  26988
  Copyright terms: Public domain W3C validator