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

Theorem tgcolg 26915
Description: We choose the notation (𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) instead of "colinear" in order to avoid defining an additional symbol for colinearity because LineG is a common structure slot for other axiomatizations of geometry. (Contributed by Thierry Arnoux, 25-May-2019.)
Hypotheses
Ref Expression
tglngval.p 𝑃 = (Base‘𝐺)
tglngval.l 𝐿 = (LineG‘𝐺)
tglngval.i 𝐼 = (Itv‘𝐺)
tglngval.g (𝜑𝐺 ∈ TarskiG)
tglngval.x (𝜑𝑋𝑃)
tglngval.y (𝜑𝑌𝑃)
tgcolg.z (𝜑𝑍𝑃)
Assertion
Ref Expression
tgcolg (𝜑 → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))

Proof of Theorem tgcolg
StepHypRef Expression
1 animorr 976 . . 3 ((𝜑𝑋 = 𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌))
2 tglngval.p . . . . . 6 𝑃 = (Base‘𝐺)
3 eqid 2738 . . . . . 6 (dist‘𝐺) = (dist‘𝐺)
4 tglngval.i . . . . . 6 𝐼 = (Itv‘𝐺)
5 tglngval.g . . . . . . 7 (𝜑𝐺 ∈ TarskiG)
65adantr 481 . . . . . 6 ((𝜑𝑋 = 𝑌) → 𝐺 ∈ TarskiG)
7 tgcolg.z . . . . . . 7 (𝜑𝑍𝑃)
87adantr 481 . . . . . 6 ((𝜑𝑋 = 𝑌) → 𝑍𝑃)
9 tglngval.x . . . . . . 7 (𝜑𝑋𝑃)
109adantr 481 . . . . . 6 ((𝜑𝑋 = 𝑌) → 𝑋𝑃)
112, 3, 4, 6, 8, 10tgbtwntriv2 26848 . . . . 5 ((𝜑𝑋 = 𝑌) → 𝑋 ∈ (𝑍𝐼𝑋))
12 simpr 485 . . . . . 6 ((𝜑𝑋 = 𝑌) → 𝑋 = 𝑌)
1312oveq2d 7291 . . . . 5 ((𝜑𝑋 = 𝑌) → (𝑍𝐼𝑋) = (𝑍𝐼𝑌))
1411, 13eleqtrd 2841 . . . 4 ((𝜑𝑋 = 𝑌) → 𝑋 ∈ (𝑍𝐼𝑌))
15143mix2d 1336 . . 3 ((𝜑𝑋 = 𝑌) → (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍)))
161, 152thd 264 . 2 ((𝜑𝑋 = 𝑌) → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
17 simpr 485 . . . . . 6 ((𝜑𝑋𝑌) → 𝑋𝑌)
1817neneqd 2948 . . . . 5 ((𝜑𝑋𝑌) → ¬ 𝑋 = 𝑌)
19 biorf 934 . . . . 5 𝑋 = 𝑌 → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑋 = 𝑌𝑍 ∈ (𝑋𝐿𝑌))))
2018, 19syl 17 . . . 4 ((𝜑𝑋𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑋 = 𝑌𝑍 ∈ (𝑋𝐿𝑌))))
21 orcom 867 . . . 4 ((𝑋 = 𝑌𝑍 ∈ (𝑋𝐿𝑌)) ↔ (𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌))
2220, 21bitrdi 287 . . 3 ((𝜑𝑋𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌)))
23 tglngval.l . . . 4 𝐿 = (LineG‘𝐺)
245adantr 481 . . . 4 ((𝜑𝑋𝑌) → 𝐺 ∈ TarskiG)
259adantr 481 . . . 4 ((𝜑𝑋𝑌) → 𝑋𝑃)
26 tglngval.y . . . . 5 (𝜑𝑌𝑃)
2726adantr 481 . . . 4 ((𝜑𝑋𝑌) → 𝑌𝑃)
287adantr 481 . . . 4 ((𝜑𝑋𝑌) → 𝑍𝑃)
292, 23, 4, 24, 25, 27, 17, 28tgellng 26914 . . 3 ((𝜑𝑋𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
3022, 29bitr3d 280 . 2 ((𝜑𝑋𝑌) → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
3116, 30pm2.61dane 3032 1 (𝜑 → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  w3o 1085   = wceq 1539  wcel 2106  wne 2943  cfv 6433  (class class class)co 7275  Basecbs 16912  distcds 16971  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-trkgc 26809  df-trkgcb 26811  df-trkg 26814
This theorem is referenced by:  btwncolg1  26916  btwncolg2  26917  btwncolg3  26918  colcom  26919  colrot1  26920  lnxfr  26927  lnext  26928  tgfscgr  26929  tglowdim2l  27011  outpasch  27116
  Copyright terms: Public domain W3C validator