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

Theorem tgjustc1 26740
Description: A justification for using distance equality instead of the textbook relation on pairs of points for congruence. (Contributed by Thierry Arnoux, 29-Jan-2023.)
Hypotheses
Ref Expression
tgjustc1.p 𝑃 = (Base‘𝐺)
tgjustc1.d = (dist‘𝐺)
Assertion
Ref Expression
tgjustc1 𝑟(𝑟 Er (𝑃 × 𝑃) ∧ ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑟𝑦, 𝑧⟩ ↔ (𝑤 𝑥) = (𝑦 𝑧)))
Distinct variable groups:   ,𝑟,𝑤,𝑥,𝑦,𝑧   𝑃,𝑟,𝑤,𝑥,𝑦,𝑧
Allowed substitution hints:   𝐺(𝑥,𝑦,𝑧,𝑤,𝑟)

Proof of Theorem tgjustc1
Dummy variables 𝑢 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tgjustc1.p . . . . 5 𝑃 = (Base‘𝐺)
21fvexi 6770 . . . 4 𝑃 ∈ V
32, 2xpex 7581 . . 3 (𝑃 × 𝑃) ∈ V
4 tgjustf 26738 . . 3 ((𝑃 × 𝑃) ∈ V → ∃𝑟(𝑟 Er (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣))))
53, 4ax-mp 5 . 2 𝑟(𝑟 Er (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)))
6 simplrl 773 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑤𝑃)
7 simplrr 774 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑥𝑃)
86, 7opelxpd 5618 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ⟨𝑤, 𝑥⟩ ∈ (𝑃 × 𝑃))
9 simprl 767 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑦𝑃)
10 simprr 769 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑧𝑃)
119, 10opelxpd 5618 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ⟨𝑦, 𝑧⟩ ∈ (𝑃 × 𝑃))
12 simpll 763 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)))
13 breq1 5073 . . . . . . . 8 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑢𝑟𝑣 ↔ ⟨𝑤, 𝑥𝑟𝑣))
14 fveq2 6756 . . . . . . . . . 10 (𝑢 = ⟨𝑤, 𝑥⟩ → ( 𝑢) = ( ‘⟨𝑤, 𝑥⟩))
15 df-ov 7258 . . . . . . . . . 10 (𝑤 𝑥) = ( ‘⟨𝑤, 𝑥⟩)
1614, 15eqtr4di 2797 . . . . . . . . 9 (𝑢 = ⟨𝑤, 𝑥⟩ → ( 𝑢) = (𝑤 𝑥))
1716eqeq1d 2740 . . . . . . . 8 (𝑢 = ⟨𝑤, 𝑥⟩ → (( 𝑢) = ( 𝑣) ↔ (𝑤 𝑥) = ( 𝑣)))
1813, 17bibi12d 345 . . . . . . 7 (𝑢 = ⟨𝑤, 𝑥⟩ → ((𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ↔ (⟨𝑤, 𝑥𝑟𝑣 ↔ (𝑤 𝑥) = ( 𝑣))))
19 breq2 5074 . . . . . . . 8 (𝑣 = ⟨𝑦, 𝑧⟩ → (⟨𝑤, 𝑥𝑟𝑣 ↔ ⟨𝑤, 𝑥𝑟𝑦, 𝑧⟩))
20 fveq2 6756 . . . . . . . . . 10 (𝑣 = ⟨𝑦, 𝑧⟩ → ( 𝑣) = ( ‘⟨𝑦, 𝑧⟩))
21 df-ov 7258 . . . . . . . . . 10 (𝑦 𝑧) = ( ‘⟨𝑦, 𝑧⟩)
2220, 21eqtr4di 2797 . . . . . . . . 9 (𝑣 = ⟨𝑦, 𝑧⟩ → ( 𝑣) = (𝑦 𝑧))
2322eqeq2d 2749 . . . . . . . 8 (𝑣 = ⟨𝑦, 𝑧⟩ → ((𝑤 𝑥) = ( 𝑣) ↔ (𝑤 𝑥) = (𝑦 𝑧)))
2419, 23bibi12d 345 . . . . . . 7 (𝑣 = ⟨𝑦, 𝑧⟩ → ((⟨𝑤, 𝑥𝑟𝑣 ↔ (𝑤 𝑥) = ( 𝑣)) ↔ (⟨𝑤, 𝑥𝑟𝑦, 𝑧⟩ ↔ (𝑤 𝑥) = (𝑦 𝑧))))
2518, 24rspc2va 3563 . . . . . 6 (((⟨𝑤, 𝑥⟩ ∈ (𝑃 × 𝑃) ∧ ⟨𝑦, 𝑧⟩ ∈ (𝑃 × 𝑃)) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣))) → (⟨𝑤, 𝑥𝑟𝑦, 𝑧⟩ ↔ (𝑤 𝑥) = (𝑦 𝑧)))
268, 11, 12, 25syl21anc 834 . . . . 5 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → (⟨𝑤, 𝑥𝑟𝑦, 𝑧⟩ ↔ (𝑤 𝑥) = (𝑦 𝑧)))
2726ralrimivva 3114 . . . 4 ((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) ∧ (𝑤𝑃𝑥𝑃)) → ∀𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑟𝑦, 𝑧⟩ ↔ (𝑤 𝑥) = (𝑦 𝑧)))
2827ralrimivva 3114 . . 3 (∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣)) → ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑟𝑦, 𝑧⟩ ↔ (𝑤 𝑥) = (𝑦 𝑧)))
2928anim2i 616 . 2 ((𝑟 Er (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑟𝑣 ↔ ( 𝑢) = ( 𝑣))) → (𝑟 Er (𝑃 × 𝑃) ∧ ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑟𝑦, 𝑧⟩ ↔ (𝑤 𝑥) = (𝑦 𝑧))))
305, 29eximii 1840 1 𝑟(𝑟 Er (𝑃 × 𝑃) ∧ ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑟𝑦, 𝑧⟩ ↔ (𝑤 𝑥) = (𝑦 𝑧)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wral 3063  Vcvv 3422  cop 4564   class class class wbr 5070   × cxp 5578  cfv 6418  (class class class)co 7255   Er wer 8453  Basecbs 16840  distcds 16897
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-iota 6376  df-fv 6426  df-ov 7258  df-er 8456
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator