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

Theorem ltgseg 29065
Description: The set 𝐸 denotes the possible values of the congruence. (Contributed by Thierry Arnoux, 15-Dec-2019.)
Hypotheses
Ref Expression
legval.p 𝑃 = (Base‘𝐺)
legval.d − = (dist‘𝐺)
legval.i 𝐼 = (Itv‘𝐺)
legval.l ≤ = (≤G‘𝐺)
legval.g (𝜑 → 𝐺 ∈ TarskiG)
legso.a 𝐸 = ( − “ (𝑃 × 𝑃))
legso.f (𝜑 → Fun − )
ltgseg.p (𝜑 → 𝐴 ∈ 𝐸)
Assertion
Ref Expression
ltgseg (𝜑 → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝐴 = (𝑥 − 𝑦))
Distinct variable groups:   𝑥, − ,𝑦   𝑥,𝐴,𝑦   𝑥,𝑃,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐸(𝑥, 𝑦)   𝐺(𝑥, 𝑦)   𝐼(𝑥, 𝑦)   ≤ (𝑥, 𝑦)

Proof of Theorem ltgseg
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 simp-4r 796 . . . . 5 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( − ‘𝑎) = 𝐴)
2 simpr 490 . . . . . 6 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝑎 = ⟨𝑥, 𝑦⟩)
32fveq2d 6890 . . . . 5 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( − ‘𝑎) = ( − ‘⟨𝑥, 𝑦⟩))
41, 3eqtr3d 2797 . . . 4 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = ( − ‘⟨𝑥, 𝑦⟩))
5 df-ov 7424 . . . 4 (𝑥 − 𝑦) = ( − ‘⟨𝑥, 𝑦⟩)
64, 5eqtr4di 2813 . . 3 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = (𝑥 − 𝑦))
7 simplr 781 . . . 4 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → 𝑎 ∈ (𝑃 × 𝑃))
8 elxp2 5674 . . . 4 (𝑎 ∈ (𝑃 × 𝑃) ↔ ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
97, 8sylib 221 . . 3 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
106, 9reximddv2 3221 . 2 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝐴 = (𝑥 − 𝑦))
11 legso.f . . 3 (𝜑 → Fun − )
12 ltgseg.p . . . 4 (𝜑 → 𝐴 ∈ 𝐸)
13 legso.a . . . 4 𝐸 = ( − “ (𝑃 × 𝑃))
1412, 13eleqtrdi 2870 . . 3 (𝜑 → 𝐴 ∈ ( − “ (𝑃 × 𝑃)))
15 fvelima 6951 . . 3 ((Fun − ∧ 𝐴 ∈ ( − “ (𝑃 × 𝑃))) → ∃𝑎 ∈ (𝑃 × 𝑃)( − ‘𝑎) = 𝐴)
1611, 14, 15syl2anc 596 . 2 (𝜑 → ∃𝑎 ∈ (𝑃 × 𝑃)( − ‘𝑎) = 𝐴)
1710, 16r19.29a 3170 1 (𝜑 → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝐴 = (𝑥 − 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∃wrex 3086  ⟨cop 4834   × cxp 5648   “ cima 5653  Fun wfun 6533  ‘cfv 6539  (class class class)co 7421  Basecbs 17393  distcds 17443  TarskiGcstrkg 28895  Itvcitv 28901  ≤Gcleg 29051
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fv 6547  df-ov 7424
This theorem is used by:  legso  29068
  Copyright terms: Public domain W3C validator