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

Theorem tgjustc2 26837
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
tgjustc2.p 𝑃 = (Base‘𝐺)
tgjustc2.d 𝑅 Er (𝑃 × 𝑃)
Assertion
Ref Expression
tgjustc2 𝑑(𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
Distinct variable groups:   𝑃,𝑑,𝑤,𝑥,𝑦,𝑧   𝑅,𝑑,𝑤,𝑥,𝑦,𝑧
Allowed substitution hints:   𝐺(𝑥,𝑦,𝑧,𝑤,𝑑)

Proof of Theorem tgjustc2
Dummy variables 𝑢 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tgjustc2.p . . . . 5 𝑃 = (Base‘𝐺)
21fvexi 6788 . . . 4 𝑃 ∈ V
32, 2xpex 7603 . . 3 (𝑃 × 𝑃) ∈ V
4 tgjustc2.d . . 3 𝑅 Er (𝑃 × 𝑃)
5 tgjustr 26835 . . 3 (((𝑃 × 𝑃) ∈ V ∧ 𝑅 Er (𝑃 × 𝑃)) → ∃𝑑(𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣))))
63, 4, 5mp2an 689 . 2 𝑑(𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)))
7 simplrl 774 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑤𝑃)
8 simplrr 775 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑥𝑃)
97, 8opelxpd 5627 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ⟨𝑤, 𝑥⟩ ∈ (𝑃 × 𝑃))
10 simprl 768 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑦𝑃)
11 simprr 770 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑧𝑃)
1210, 11opelxpd 5627 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ⟨𝑦, 𝑧⟩ ∈ (𝑃 × 𝑃))
13 simpll 764 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)))
14 breq1 5077 . . . . . . . 8 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑢𝑅𝑣 ↔ ⟨𝑤, 𝑥𝑅𝑣))
15 fveq2 6774 . . . . . . . . . 10 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑑𝑢) = (𝑑‘⟨𝑤, 𝑥⟩))
16 df-ov 7278 . . . . . . . . . 10 (𝑤𝑑𝑥) = (𝑑‘⟨𝑤, 𝑥⟩)
1715, 16eqtr4di 2796 . . . . . . . . 9 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑑𝑢) = (𝑤𝑑𝑥))
1817eqeq1d 2740 . . . . . . . 8 (𝑢 = ⟨𝑤, 𝑥⟩ → ((𝑑𝑢) = (𝑑𝑣) ↔ (𝑤𝑑𝑥) = (𝑑𝑣)))
1914, 18bibi12d 346 . . . . . . 7 (𝑢 = ⟨𝑤, 𝑥⟩ → ((𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ↔ (⟨𝑤, 𝑥𝑅𝑣 ↔ (𝑤𝑑𝑥) = (𝑑𝑣))))
20 breq2 5078 . . . . . . . 8 (𝑣 = ⟨𝑦, 𝑧⟩ → (⟨𝑤, 𝑥𝑅𝑣 ↔ ⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩))
21 fveq2 6774 . . . . . . . . . 10 (𝑣 = ⟨𝑦, 𝑧⟩ → (𝑑𝑣) = (𝑑‘⟨𝑦, 𝑧⟩))
22 df-ov 7278 . . . . . . . . . 10 (𝑦𝑑𝑧) = (𝑑‘⟨𝑦, 𝑧⟩)
2321, 22eqtr4di 2796 . . . . . . . . 9 (𝑣 = ⟨𝑦, 𝑧⟩ → (𝑑𝑣) = (𝑦𝑑𝑧))
2423eqeq2d 2749 . . . . . . . 8 (𝑣 = ⟨𝑦, 𝑧⟩ → ((𝑤𝑑𝑥) = (𝑑𝑣) ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
2520, 24bibi12d 346 . . . . . . 7 (𝑣 = ⟨𝑦, 𝑧⟩ → ((⟨𝑤, 𝑥𝑅𝑣 ↔ (𝑤𝑑𝑥) = (𝑑𝑣)) ↔ (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧))))
2619, 25rspc2va 3571 . . . . . 6 (((⟨𝑤, 𝑥⟩ ∈ (𝑃 × 𝑃) ∧ ⟨𝑦, 𝑧⟩ ∈ (𝑃 × 𝑃)) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣))) → (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
279, 12, 13, 26syl21anc 835 . . . . 5 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
2827ralrimivva 3123 . . . 4 ((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) → ∀𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
2928ralrimivva 3123 . . 3 (∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) → ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
3029anim2i 617 . 2 ((𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣))) → (𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧))))
316, 30eximii 1839 1 𝑑(𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  wral 3064  Vcvv 3432  cop 4567   class class class wbr 5074   × cxp 5587   Fn wfn 6428  cfv 6433  (class class class)co 7275   Er wer 8495  Basecbs 16912
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-er 8498  df-ec 8500  df-qs 8504
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator