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

Theorem tgbtwnswapid 26555
Description: If you can swap the first two arguments of a betweenness statement, then those arguments are identical. Theorem 3.4 of [Schwabhauser] p. 30. (Contributed by Thierry Arnoux, 16-Mar-2019.)
Hypotheses
Ref Expression
tkgeom.p 𝑃 = (Base‘𝐺)
tkgeom.d = (dist‘𝐺)
tkgeom.i 𝐼 = (Itv‘𝐺)
tkgeom.g (𝜑𝐺 ∈ TarskiG)
tgbtwnswapid.1 (𝜑𝐴𝑃)
tgbtwnswapid.2 (𝜑𝐵𝑃)
tgbtwnswapid.3 (𝜑𝐶𝑃)
tgbtwnswapid.4 (𝜑𝐴 ∈ (𝐵𝐼𝐶))
tgbtwnswapid.5 (𝜑𝐵 ∈ (𝐴𝐼𝐶))
Assertion
Ref Expression
tgbtwnswapid (𝜑𝐴 = 𝐵)

Proof of Theorem tgbtwnswapid
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 tkgeom.p . . . 4 𝑃 = (Base‘𝐺)
2 tkgeom.d . . . 4 = (dist‘𝐺)
3 tkgeom.i . . . 4 𝐼 = (Itv‘𝐺)
4 tkgeom.g . . . . 5 (𝜑𝐺 ∈ TarskiG)
54ad2antrr 726 . . . 4 (((𝜑𝑥𝑃) ∧ (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵))) → 𝐺 ∈ TarskiG)
6 tgbtwnswapid.1 . . . . 5 (𝜑𝐴𝑃)
76ad2antrr 726 . . . 4 (((𝜑𝑥𝑃) ∧ (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵))) → 𝐴𝑃)
8 simplr 769 . . . 4 (((𝜑𝑥𝑃) ∧ (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵))) → 𝑥𝑃)
9 simprl 771 . . . 4 (((𝜑𝑥𝑃) ∧ (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵))) → 𝑥 ∈ (𝐴𝐼𝐴))
101, 2, 3, 5, 7, 8, 9axtgbtwnid 26529 . . 3 (((𝜑𝑥𝑃) ∧ (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵))) → 𝐴 = 𝑥)
11 tgbtwnswapid.2 . . . . 5 (𝜑𝐵𝑃)
1211ad2antrr 726 . . . 4 (((𝜑𝑥𝑃) ∧ (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵))) → 𝐵𝑃)
13 simprr 773 . . . 4 (((𝜑𝑥𝑃) ∧ (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵))) → 𝑥 ∈ (𝐵𝐼𝐵))
141, 2, 3, 5, 12, 8, 13axtgbtwnid 26529 . . 3 (((𝜑𝑥𝑃) ∧ (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵))) → 𝐵 = 𝑥)
1510, 14eqtr4d 2777 . 2 (((𝜑𝑥𝑃) ∧ (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵))) → 𝐴 = 𝐵)
16 tgbtwnswapid.3 . . 3 (𝜑𝐶𝑃)
17 tgbtwnswapid.4 . . 3 (𝜑𝐴 ∈ (𝐵𝐼𝐶))
18 tgbtwnswapid.5 . . 3 (𝜑𝐵 ∈ (𝐴𝐼𝐶))
191, 2, 3, 4, 11, 6, 16, 6, 11, 17, 18axtgpasch 26530 . 2 (𝜑 → ∃𝑥𝑃 (𝑥 ∈ (𝐴𝐼𝐴) ∧ 𝑥 ∈ (𝐵𝐼𝐵)))
2015, 19r19.29a 3201 1 (𝜑𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wcel 2110  cfv 6369  (class class class)co 7202  Basecbs 16684  distcds 16776  TarskiGcstrkg 26493  Itvcitv 26499
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 2706  ax-nul 5188
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2537  df-eu 2566  df-clab 2713  df-cleq 2726  df-clel 2812  df-ral 3059  df-rex 3060  df-rab 3063  df-v 3403  df-sbc 3688  df-dif 3860  df-un 3862  df-in 3864  df-ss 3874  df-nul 4228  df-if 4430  df-pw 4505  df-sn 4532  df-pr 4534  df-op 4538  df-uni 4810  df-br 5044  df-iota 6327  df-fv 6377  df-ov 7205  df-trkgb 26512  df-trkg 26516
This theorem is referenced by:  legtri3  26653
  Copyright terms: Public domain W3C validator