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

Theorem tgcolg 29184
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 995 . . 3 ((𝜑 ∧ 𝑋 = 𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌))
2 tglngval.p . . . . . 6 𝑃 = (Base‘𝐺)
3 eqid 2774 . . . . . 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 29117 . . . . 5 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 ∈ (𝑍𝐼𝑋))
12 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 = 𝑌)
1312oveq2d 7486 . . . . 5 ((𝜑 ∧ 𝑋 = 𝑌) → (𝑍𝐼𝑋) = (𝑍𝐼𝑌))
1411, 13eleqtrd 2877 . . . 4 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 ∈ (𝑍𝐼𝑌))
15143mix2d 1358 . . 3 ((𝜑 ∧ 𝑋 = 𝑌) → (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍)))
161, 152thd 268 . 2 ((𝜑 ∧ 𝑋 = 𝑌) → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
17 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑋 ≠ 𝑌) → 𝑋 ≠ 𝑌)
1817neneqd 2975 . . . . 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 29183 . . 3 ((𝜑 ∧ 𝑋 ≠ 𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
3022, 29bitr3d 284 . 2 ((𝜑 ∧ 𝑋 ≠ 𝑌) → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
3116, 30pm2.61dane 3057 1 (𝜑 → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∨ w3o 1103   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  ‘cfv 6579  (class class class)co 7470  Basecbs 17456  distcds 17506  TarskiGcstrkg 29056  Itvcitv 29062  LineGclng 29063
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6533  df-fun 6581  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475  df-trkgc 29077  df-trkgcb 29079  df-trkg 29082
This theorem is used by:  btwncolg1  29185  btwncolg2  29186  btwncolg3  29187  colcom  29188  colrot1  29189  lnxfr  29196  lnext  29197  tgfscgr  29198  tglowdim2l  29286  outpasch  29400
  Copyright terms: Public domain W3C validator