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

Theorem tgcolg 29017
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 994 . . 3 ((𝜑 ∧ 𝑋 = 𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌))
2 tglngval.p . . . . . 6 𝑃 = (Base‘𝐺)
3 eqid 2761 . . . . . 6 (dist‘𝐺) = (dist‘𝐺)
4 tglngval.i . . . . . 6 𝐼 = (Itv‘𝐺)
5 tglngval.g . . . . . . 7 (𝜑 → 𝐺 ∈ TarskiG)
65adantr 486 . . . . . 6 ((𝜑 ∧ 𝑋 = 𝑌) → 𝐺 ∈ TarskiG)
7 tgcolg.z . . . . . . 7 (𝜑 → 𝑍 ∈ 𝑃)
87adantr 486 . . . . . 6 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑍 ∈ 𝑃)
9 tglngval.x . . . . . . 7 (𝜑 → 𝑋 ∈ 𝑃)
109adantr 486 . . . . . 6 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 ∈ 𝑃)
112, 3, 4, 6, 8, 10tgbtwntriv2 28950 . . . . 5 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 ∈ (𝑍𝐼𝑋))
12 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 = 𝑌)
1312oveq2d 7436 . . . . 5 ((𝜑 ∧ 𝑋 = 𝑌) → (𝑍𝐼𝑋) = (𝑍𝐼𝑌))
1411, 13eleqtrd 2863 . . . 4 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 ∈ (𝑍𝐼𝑌))
15143mix2d 1356 . . 3 ((𝜑 ∧ 𝑋 = 𝑌) → (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍)))
161, 152thd 268 . 2 ((𝜑 ∧ 𝑋 = 𝑌) → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
17 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑋 ≠ 𝑌) → 𝑋 ≠ 𝑌)
1817neneqd 2961 . . . . 5 ((𝜑 ∧ 𝑋 ≠ 𝑌) → ¬ 𝑋 = 𝑌)
19 biorf 950 . . . . 5 (¬ 𝑋 = 𝑌 → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑋 = 𝑌 ∨ 𝑍 ∈ (𝑋𝐿𝑌))))
2018, 19syl 18 . . . 4 ((𝜑 ∧ 𝑋 ≠ 𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑋 = 𝑌 ∨ 𝑍 ∈ (𝑋𝐿𝑌))))
21 orcom 884 . . . 4 ((𝑋 = 𝑌 ∨ 𝑍 ∈ (𝑋𝐿𝑌)) ↔ (𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌))
2220, 21bitrdi 290 . . 3 ((𝜑 ∧ 𝑋 ≠ 𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌)))
23 tglngval.l . . . 4 𝐿 = (LineG‘𝐺)
245adantr 486 . . . 4 ((𝜑 ∧ 𝑋 ≠ 𝑌) → 𝐺 ∈ TarskiG)
259adantr 486 . . . 4 ((𝜑 ∧ 𝑋 ≠ 𝑌) → 𝑋 ∈ 𝑃)
26 tglngval.y . . . . 5 (𝜑 → 𝑌 ∈ 𝑃)
2726adantr 486 . . . 4 ((𝜑 ∧ 𝑋 ≠ 𝑌) → 𝑌 ∈ 𝑃)
287adantr 486 . . . 4 ((𝜑 ∧ 𝑋 ≠ 𝑌) → 𝑍 ∈ 𝑃)
292, 23, 4, 24, 25, 27, 17, 28tgellng 29016 . . 3 ((𝜑 ∧ 𝑋 ≠ 𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
3022, 29bitr3d 284 . 2 ((𝜑 ∧ 𝑋 ≠ 𝑌) → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
3116, 30pm2.61dane 3043 1 (𝜑 → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∨ w3o 1102   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ‘cfv 6538  (class class class)co 7420  Basecbs 17387  distcds 17437  TarskiGcstrkg 28889  Itvcitv 28895  LineGclng 28896
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6494  df-fun 6540  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-trkgc 28910  df-trkgcb 28912  df-trkg 28915
This theorem is used by:  btwncolg1  29018  btwncolg2  29019  btwncolg3  29020  colcom  29021  colrot1  29022  lnxfr  29029  lnext  29030  tgfscgr  29031  tglowdim2l  29119  outpasch  29233
  Copyright terms: Public domain W3C validator