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

Theorem tgcolg 29029
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 2763 . . . . . 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 28962 . . . . 5 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 ∈ (𝑍𝐼𝑋))
12 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 = 𝑌)
1312oveq2d 7443 . . . . 5 ((𝜑 ∧ 𝑋 = 𝑌) → (𝑍𝐼𝑋) = (𝑍𝐼𝑌))
1411, 13eleqtrd 2865 . . . 4 ((𝜑 ∧ 𝑋 = 𝑌) → 𝑋 ∈ (𝑍𝐼𝑌))
15143mix2d 1356 . . 3 ((𝜑 ∧ 𝑋 = 𝑌) → (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍)))
161, 152thd 268 . 2 ((𝜑 ∧ 𝑋 = 𝑌) → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
17 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑋 ≠ 𝑌) → 𝑋 ≠ 𝑌)
1817neneqd 2963 . . . . 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 29028 . . 3 ((𝜑 ∧ 𝑋 ≠ 𝑌) → (𝑍 ∈ (𝑋𝐿𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
3022, 29bitr3d 284 . 2 ((𝜑 ∧ 𝑋 ≠ 𝑌) → ((𝑍 ∈ (𝑋𝐿𝑌) ∨ 𝑋 = 𝑌) ↔ (𝑍 ∈ (𝑋𝐼𝑌) ∨ 𝑋 ∈ (𝑍𝐼𝑌) ∨ 𝑌 ∈ (𝑋𝐼𝑍))))
3116, 30pm2.61dane 3045 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 1569   ∈ wcel 2146   ≠ wne 2958  ‘cfv 6546  (class class class)co 7427  Basecbs 17399  distcds 17449  TarskiGcstrkg 28901  Itvcitv 28907  LineGclng 28908
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pr 5394
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-rab 3416  df-v 3455  df-sbc 3742  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-br 5106  df-opab 5170  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-iota 6500  df-fun 6548  df-fv 6554  df-ov 7430  df-oprab 7431  df-mpo 7432  df-trkgc 28922  df-trkgcb 28924  df-trkg 28927
This theorem is used by:  btwncolg1  29030  btwncolg2  29031  btwncolg3  29032  colcom  29033  colrot1  29034  lnxfr  29041  lnext  29042  tgfscgr  29043  tglowdim2l  29131  outpasch  29245
  Copyright terms: Public domain W3C validator