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

Theorem ltgseg 29116
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 6920 . . . . 5 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( − ‘𝑎) = ( − ‘⟨𝑥, 𝑦⟩))
41, 3eqtr3d 2800 . . . 4 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = ( − ‘⟨𝑥, 𝑦⟩))
5 df-ov 7454 . . . 4 (𝑥 − 𝑦) = ( − ‘⟨𝑥, 𝑦⟩)
64, 5eqtr4di 2816 . . 3 ((((((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) ∧ 𝑥 ∈ 𝑃) ∧ 𝑦 ∈ 𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = (𝑥 − 𝑦))
7 simplr 781 . . . 4 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → 𝑎 ∈ (𝑃 × 𝑃))
8 elxp2 5682 . . . 4 (𝑎 ∈ (𝑃 × 𝑃) ↔ ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
97, 8sylib 221 . . 3 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
106, 9reximddv2 3225 . 2 (((𝜑 ∧ 𝑎 ∈ (𝑃 × 𝑃)) ∧ ( − ‘𝑎) = 𝐴) → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝐴 = (𝑥 − 𝑦))
11 legso.f . . 3 (𝜑 → Fun − )
12 ltgseg.p . . . 4 (𝜑 → 𝐴 ∈ 𝐸)
13 legso.a . . . 4 𝐸 = ( − “ (𝑃 × 𝑃))
1412, 13eleqtrdi 2874 . . 3 (𝜑 → 𝐴 ∈ ( − “ (𝑃 × 𝑃)))
15 fvelima 6981 . . 3 ((Fun − ∧ 𝐴 ∈ ( − “ (𝑃 × 𝑃))) → ∃𝑎 ∈ (𝑃 × 𝑃)( − ‘𝑎) = 𝐴)
1611, 14, 15syl2anc 596 . 2 (𝜑 → ∃𝑎 ∈ (𝑃 × 𝑃)( − ‘𝑎) = 𝐴)
1710, 16r19.29a 3174 1 (𝜑 → ∃𝑥 ∈ 𝑃 ∃𝑦 ∈ 𝑃 𝐴 = (𝑥 − 𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∃wrex 3090  ⟨cop 4840   × cxp 5656   “ cima 5661  Fun wfun 6560  ‘cfv 6566  (class class class)co 7451  Basecbs 17431  distcds 17481  TarskiGcstrkg 28946  Itvcitv 28952  ≤Gcleg 29102
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-pr 5398
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fv 6574  df-ov 7454
This theorem is used by:  legso  29119
  Copyright terms: Public domain W3C validator