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

Theorem ltgseg 29041
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 6881 . . . . 5 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( − ‘𝑎) = ( − ‘⟨𝑥, 𝑦⟩))
41, 3eqtr3d 2798 . . . 4 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = ( − ‘⟨𝑥, 𝑦⟩))
5 df-ov 7415 . . . 4 (𝑥 − 𝑦) = ( − ‘⟨𝑥, 𝑦⟩)
64, 5eqtr4di 2814 . . 3 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = (𝑥 − 𝑦))
7 simplr 781 . . . 4 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → 𝑎 ∈ (𝑃 × 𝑃))
8 elxp2 5675 . . . 4 (𝑎 ∈ (𝑃 × 𝑃) ↔ ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
97, 8sylib 221 . . 3 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
106, 9reximddv2 3222 . 2 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝐴 = (𝑥 − 𝑦))
11 legso.f . . 3 (𝜑 → Fun − )
12 ltgseg.p . . . 4 (𝜑 → 𝐴 ∈ 𝐸)
13 legso.a . . . 4 𝐸 = ( − “ (𝑃 × 𝑃))
1412, 13eleqtrdi 2871 . . 3 (𝜑 → 𝐴 ∈ ( − “ (𝑃 × 𝑃)))
15 fvelima 6942 . . 3 ((Fun − ∧ 𝐴 ∈ ( − “ (𝑃 × 𝑃))) → ∃𝑎 ∈ (𝑃 × 𝑃)( − ‘𝑎) = 𝐴)
1611, 14, 15syl2anc 596 . 2 (𝜑 → ∃𝑎 ∈ (𝑃 × 𝑃)( − ‘𝑎) = 𝐴)
1710, 16r19.29a 3171 1 (𝜑 → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝐴 = (𝑥 − 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∃wrex 3087  ⟨cop 4590   × cxp 5649   “ cima 5654  Fun wfun 6525  ‘cfv 6531  (class class class)co 7412  Basecbs 17367  distcds 17417  TarskiGcstrkg 28871  Itvcitv 28877  ≤Gcleg 29027
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-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  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-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fv 6539  df-ov 7415
This theorem is used by:  legso  29044
  Copyright terms: Public domain W3C validator