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

Theorem tglngval 26642
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 26637 . . . 4 (𝐺 ∈ TarskiG → 𝐿 = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
61, 5syl 17 . . 3 (𝜑𝐿 = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
76oveqd 7230 . 2 (𝜑 → (𝑋𝐿𝑌) = (𝑋(𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})𝑌))
8 tglngval.x . . 3 (𝜑𝑋𝑃)
9 tglngval.y . . . 4 (𝜑𝑌𝑃)
10 tglngval.z . . . . 5 (𝜑𝑋𝑌)
1110necomd 2996 . . . 4 (𝜑𝑌𝑋)
12 eldifsn 4700 . . . 4 (𝑌 ∈ (𝑃 ∖ {𝑋}) ↔ (𝑌𝑃𝑌𝑋))
139, 11, 12sylanbrc 586 . . 3 (𝜑𝑌 ∈ (𝑃 ∖ {𝑋}))
142fvexi 6731 . . . . 5 𝑃 ∈ V
1514rabex 5225 . . . 4 {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))} ∈ V
1615a1i 11 . . 3 (𝜑 → {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))} ∈ V)
17 oveq12 7222 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥𝐼𝑦) = (𝑋𝐼𝑌))
1817eleq2d 2823 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑧 ∈ (𝑥𝐼𝑦) ↔ 𝑧 ∈ (𝑋𝐼𝑌)))
19 simpl 486 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑥 = 𝑋)
20 simpr 488 . . . . . . . 8 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑦 = 𝑌)
2120oveq2d 7229 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑧𝐼𝑦) = (𝑧𝐼𝑌))
2219, 21eleq12d 2832 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥 ∈ (𝑧𝐼𝑦) ↔ 𝑋 ∈ (𝑧𝐼𝑌)))
2319oveq1d 7228 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑥𝐼𝑧) = (𝑋𝐼𝑧))
2420, 23eleq12d 2832 . . . . . 6 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝑦 ∈ (𝑥𝐼𝑧) ↔ 𝑌 ∈ (𝑋𝐼𝑧)))
2518, 22, 243orbi123d 1437 . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → ((𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧)) ↔ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))))
2625rabbidv 3390 . . . 4 ((𝑥 = 𝑋𝑦 = 𝑌) → {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
27 sneq 4551 . . . . 5 (𝑥 = 𝑋 → {𝑥} = {𝑋})
2827difeq2d 4037 . . . 4 (𝑥 = 𝑋 → (𝑃 ∖ {𝑥}) = (𝑃 ∖ {𝑋}))
29 eqid 2737 . . . 4 (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) = (𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
3026, 28, 29ovmpox 7362 . . 3 ((𝑋𝑃𝑌 ∈ (𝑃 ∖ {𝑋}) ∧ {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))} ∈ V) → (𝑋(𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
318, 13, 16, 30syl3anc 1373 . 2 (𝜑 → (𝑋(𝑥𝑃, 𝑦 ∈ (𝑃 ∖ {𝑥}) ↦ {𝑧𝑃 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
327, 31eqtrd 2777 1 (𝜑 → (𝑋𝐿𝑌) = {𝑧𝑃 ∣ (𝑧 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑧𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑧))})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3o 1088   = wceq 1543  wcel 2110  wne 2940  {crab 3065  Vcvv 3408  cdif 3863  {csn 4541  cfv 6380  (class class class)co 7213  cmpo 7215  Basecbs 16760  TarskiGcstrkg 26521  Itvcitv 26527  LineGclng 26528
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-sbc 3695  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-iota 6338  df-fun 6382  df-fv 6388  df-ov 7216  df-oprab 7217  df-mpo 7218  df-trkg 26544
This theorem is referenced by:  tglnssp  26643  tgellng  26644  tgisline  26718
  Copyright terms: Public domain W3C validator