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

Theorem ltgseg 28843
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 795 . . . . 5 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( 𝑎) = 𝐴)
2 simpr 489 . . . . . 6 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝑎 = ⟨𝑥, 𝑦⟩)
32fveq2d 6887 . . . . 5 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( 𝑎) = ( ‘⟨𝑥, 𝑦⟩))
41, 3eqtr3d 2800 . . . 4 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = ( ‘⟨𝑥, 𝑦⟩))
5 df-ov 7415 . . . 4 (𝑥 𝑦) = ( ‘⟨𝑥, 𝑦⟩)
64, 5eqtr4di 2816 . . 3 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = (𝑥 𝑦))
7 simplr 780 . . . 4 (((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) → 𝑎 ∈ (𝑃 × 𝑃))
8 elxp2 5687 . . . 4 (𝑎 ∈ (𝑃 × 𝑃) ↔ ∃𝑥𝑃𝑦𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
97, 8sylib 221 . . 3 (((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) → ∃𝑥𝑃𝑦𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
106, 9reximddv2 3224 . 2 (((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) → ∃𝑥𝑃𝑦𝑃 𝐴 = (𝑥 𝑦))
11 legso.f . . 3 (𝜑 → Fun )
12 ltgseg.p . . . 4 (𝜑𝐴𝐸)
13 legso.a . . . 4 𝐸 = ( “ (𝑃 × 𝑃))
1412, 13eleqtrdi 2873 . . 3 (𝜑𝐴 ∈ ( “ (𝑃 × 𝑃)))
15 fvelima 6948 . . 3 ((Fun 𝐴 ∈ ( “ (𝑃 × 𝑃))) → ∃𝑎 ∈ (𝑃 × 𝑃)( 𝑎) = 𝐴)
1611, 14, 15syl2anc 595 . 2 (𝜑 → ∃𝑎 ∈ (𝑃 × 𝑃)( 𝑎) = 𝐴)
1710, 16r19.29a 3173 1 (𝜑 → ∃𝑥𝑃𝑦𝑃 𝐴 = (𝑥 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400   = wceq 1570  wcel 2143  wrex 3089  cop 4596   × cxp 5661  cima 5666  Fun wfun 6532  cfv 6538  (class class class)co 7412  Basecbs 17270  distcds 17320  TarskiGcstrkg 28674  Itvcitv 28680  ≤Gcleg 28829
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1825  ax-4 1839  ax-5 1940  ax-6 1997  ax-7 2038  ax-8 2145  ax-9 2153  ax-10 2176  ax-12 2213  ax-ext 2735  ax-sep 5258  ax-pr 5406
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1810  df-nf 1814  df-sb 2097  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-ral 3080  df-rex 3090  df-rab 3417  df-v 3457  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4288  df-if 4489  df-sn 4591  df-pr 4593  df-op 4597  df-uni 4874  df-br 5111  df-opab 5175  df-id 5558  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-iota 6494  df-fun 6540  df-fv 6546  df-ov 7415
This theorem is referenced by:  legso  28846
  Copyright terms: Public domain W3C validator