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

Theorem ltgseg 28678
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 6838 . . . . 5 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → ( 𝑎) = ( ‘⟨𝑥, 𝑦⟩))
41, 3eqtr3d 2774 . . . 4 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = ( ‘⟨𝑥, 𝑦⟩))
5 df-ov 7363 . . . 4 (𝑥 𝑦) = ( ‘⟨𝑥, 𝑦⟩)
64, 5eqtr4di 2790 . . 3 ((((((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) ∧ 𝑥𝑃) ∧ 𝑦𝑃) ∧ 𝑎 = ⟨𝑥, 𝑦⟩) → 𝐴 = (𝑥 𝑦))
7 simplr 769 . . . 4 (((𝜑𝑎 ∈ (𝑃 × 𝑃)) ∧ ( 𝑎) = 𝐴) → 𝑎 ∈ (𝑃 × 𝑃))
8 elxp2 5648 . . . 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 6899 . . 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 4574   × cxp 5622  cima 5627  Fun wfun 6486  cfv 6492  (class class class)co 7360  Basecbs 17170  distcds 17220  TarskiGcstrkg 28509  Itvcitv 28515  ≤Gcleg 28664
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 5231  ax-pr 5370
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 3391  df-v 3432  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-nul 4275  df-if 4468  df-sn 4569  df-pr 4571  df-op 4575  df-uni 4852  df-br 5087  df-opab 5149  df-id 5519  df-xp 5630  df-rel 5631  df-cnv 5632  df-co 5633  df-dm 5634  df-rn 5635  df-res 5636  df-ima 5637  df-iota 6448  df-fun 6494  df-fv 6500  df-ov 7363
This theorem is referenced by:  legso  28681
  Copyright terms: Public domain W3C validator