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

Theorem ltgseg 28680
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 784 . . . . 5 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( 𝑎) = 𝐴)
2 simpr 484 . . . . . 6 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝑎 = ⟨𝑥, 𝑦⟩)
32fveq2d 6846 . . . . 5 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( 𝑎) = ( ‘⟨𝑥, 𝑦⟩))
41, 3eqtr3d 2774 . . . 4 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = ( ‘⟨𝑥, 𝑦⟩))
5 df-ov 7371 . . . 4 (𝑥 𝑦) = ( ‘⟨𝑥, 𝑦⟩)
64, 5eqtr4di 2790 . . 3 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = (𝑥 𝑦))
7 simplr 769 . . . 4 (((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) → 𝑎 ∈ (𝑃 × 𝑃))
8 elxp2 5656 . . . 4 (𝑎 ∈ (𝑃 × 𝑃) ↔ ∃𝑥𝑃𝑦𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
97, 8sylib 218 . . 3 (((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) → ∃𝑥𝑃𝑦𝑃 𝑎 = ⟨𝑥, 𝑦⟩)
106, 9reximddv2 3197 . 2 (((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) → ∃𝑥𝑃𝑦𝑃 𝐴 = (𝑥 𝑦))
11 legso.f . . 3 (𝜑 → Fun )
12 ltgseg.p . . . 4 (𝜑𝐴𝐸)
13 legso.a . . . 4 𝐸 = ( “ (𝑃 × 𝑃))
1412, 13eleqtrdi 2847 . . 3 (𝜑𝐴 ∈ ( “ (𝑃 × 𝑃)))
15 fvelima 6907 . . 3 ((Fun 𝐴 ∈ ( “ (𝑃 × 𝑃))) → ∃𝑎 ∈ (𝑃 × 𝑃)( 𝑎) = 𝐴)
1611, 14, 15syl2anc 585 . 2 (𝜑 → ∃𝑎 ∈ (𝑃 × 𝑃)( 𝑎) = 𝐴)
1710, 16r19.29a 3146 1 (𝜑 → ∃𝑥𝑃𝑦𝑃 𝐴 = (𝑥 𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wcel 2114  wrex 3062  cop 4588   × cxp 5630  cima 5635  Fun wfun 6494  cfv 6500  (class class class)co 7368  Basecbs 17148  distcds 17198  TarskiGcstrkg 28511  Itvcitv 28517  ≤Gcleg 28666
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-12 2185  ax-ext 2709  ax-sep 5243  ax-pr 5379
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-ral 3053  df-rex 3063  df-rab 3402  df-v 3444  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-opab 5163  df-id 5527  df-xp 5638  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-iota 6456  df-fun 6502  df-fv 6508  df-ov 7371
This theorem is referenced by:  legso  28683
  Copyright terms: Public domain W3C validator