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

Theorem ltgseg 29204
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 6935 . . . . 5 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( − ‘𝑎) = ( − ‘⟨𝑥, 𝑦⟩))
41, 3eqtr3d 2811 . . . 4 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = ( − ‘⟨𝑥, 𝑦⟩))
5 df-ov 7470 . . . 4 (𝑥 − 𝑦) = ( − ‘⟨𝑥, 𝑦⟩)
64, 5eqtr4di 2827 . . 3 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = (𝑥 − 𝑦))
7 simplr 781 . . . 4 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → 𝑎 ∈ (𝑃 × 𝑃))
8 elxp2 5690 . . . 4 (𝑎 ∈ (𝑃 × 𝑃) ↔ ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
97, 8sylib 221 . . 3 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
106, 9reximddv2 3233 . 2 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝐴 = (𝑥 − 𝑦))
11 legso.f . . 3 (𝜑 → Fun − )
12 ltgseg.p . . . 4 (𝜑 → 𝐴 ∈ 𝐸)
13 legso.a . . . 4 𝐸 = ( − “ (𝑃 × 𝑃))
1412, 13eleqtrdi 2885 . . 3 (𝜑 → 𝐴 ∈ ( − “ (𝑃 × 𝑃)))
15 fvelima 6996 . . 3 ((Fun − ∧ 𝐴 ∈ ( − “ (𝑃 × 𝑃))) → ∃𝑎 ∈ (𝑃 × 𝑃)( − ‘𝑎) = 𝐴)
1611, 14, 15syl2anc 596 . 2 (𝜑 → ∃𝑎 ∈ (𝑃 × 𝑃)( − ‘𝑎) = 𝐴)
1710, 16r19.29a 3185 1 (𝜑 → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝐴 = (𝑥 − 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∃wrex 3101  ⟨cop 4848   × cxp 5664   “ cima 5669  Fun wfun 6572  ‘cfv 6578  (class class class)co 7467  Basecbs 17452  distcds 17502  TarskiGcstrkg 29034  Itvcitv 29040  ≤Gcleg 29190
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-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  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-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fv 6586  df-ov 7470
This theorem is used by:  legso  29207
  Copyright terms: Public domain W3C validator