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

Theorem tgjustc2 28820
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 6893 . . . 4 𝑃 ∈ V
32, 2xpex 7753 . . 3 (𝑃 × 𝑃) ∈ V
4 tgjustc2.d . . 3 𝑅 Er (𝑃 × 𝑃)
5 tgjustr 28818 . . 3 (((𝑃 × 𝑃) ∈ V ∧ 𝑅 Er (𝑃 × 𝑃)) → ∃𝑑(𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣))))
63, 4, 5mp2an 705 . 2 𝑑(𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)))
7 simplrl 789 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑤𝑃)
8 simplrr 790 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑥𝑃)
97, 8opelxpd 5694 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ⟨𝑤, 𝑥⟩ ∈ (𝑃 × 𝑃))
10 simprl 783 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑦𝑃)
11 simprr 785 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑧𝑃)
1210, 11opelxpd 5694 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ⟨𝑦, 𝑧⟩ ∈ (𝑃 × 𝑃))
13 simpll 779 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)))
14 breq1 5106 . . . . . . . 8 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑢𝑅𝑣 ↔ ⟨𝑤, 𝑥𝑅𝑣))
15 fveq2 6879 . . . . . . . . . 10 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑑𝑢) = (𝑑‘⟨𝑤, 𝑥⟩))
16 df-ov 7417 . . . . . . . . . 10 (𝑤𝑑𝑥) = (𝑑‘⟨𝑤, 𝑥⟩)
1715, 16eqtr4di 2813 . . . . . . . . 9 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑑𝑢) = (𝑤𝑑𝑥))
1817eqeq1d 2762 . . . . . . . 8 (𝑢 = ⟨𝑤, 𝑥⟩ → ((𝑑𝑢) = (𝑑𝑣) ↔ (𝑤𝑑𝑥) = (𝑑𝑣)))
1914, 18bibi12d 348 . . . . . . 7 (𝑢 = ⟨𝑤, 𝑥⟩ → ((𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ↔ (⟨𝑤, 𝑥𝑅𝑣 ↔ (𝑤𝑑𝑥) = (𝑑𝑣))))
20 breq2 5107 . . . . . . . 8 (𝑣 = ⟨𝑦, 𝑧⟩ → (⟨𝑤, 𝑥𝑅𝑣 ↔ ⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩))
21 fveq2 6879 . . . . . . . . . 10 (𝑣 = ⟨𝑦, 𝑧⟩ → (𝑑𝑣) = (𝑑‘⟨𝑦, 𝑧⟩))
22 df-ov 7417 . . . . . . . . . 10 (𝑦𝑑𝑧) = (𝑑‘⟨𝑦, 𝑧⟩)
2321, 22eqtr4di 2813 . . . . . . . . 9 (𝑣 = ⟨𝑦, 𝑧⟩ → (𝑑𝑣) = (𝑦𝑑𝑧))
2423eqeq2d 2771 . . . . . . . 8 (𝑣 = ⟨𝑦, 𝑧⟩ → ((𝑤𝑑𝑥) = (𝑑𝑣) ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
2520, 24bibi12d 348 . . . . . . 7 (𝑣 = ⟨𝑦, 𝑧⟩ → ((⟨𝑤, 𝑥𝑅𝑣 ↔ (𝑤𝑑𝑥) = (𝑑𝑣)) ↔ (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧))))
2619, 25rspc2va 3588 . . . . . 6 (((⟨𝑤, 𝑥⟩ ∈ (𝑃 × 𝑃) ∧ ⟨𝑦, 𝑧⟩ ∈ (𝑃 × 𝑃)) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣))) → (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
279, 12, 13, 26syl21anc 851 . . . . 5 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
2827ralrimivva 3205 . . . 4 ((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) → ∀𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
2928ralrimivva 3205 . . 3 (∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) → ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
3029anim2i 629 . 2 ((𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣))) → (𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧))))
316, 30eximii 1870 1 𝑑(𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑤𝑃𝑥𝑃𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209  wa 401   = wceq 1570  wex 1812  wcel 2145  wral 3076  Vcvv 3450  cop 4590   class class class wbr 5103   × cxp 5653   Fn wfn 6528  cfv 6533  (class class class)co 7414   Er wer 8696  Basecbs 17304
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-rep 5232  ax-sep 5251  ax-nul 5263  ax-pow 5330  ax-pr 5398  ax-un 7737
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6489  df-fun 6535  df-fn 6536  df-f 6537  df-f1 6538  df-fo 6539  df-f1o 6540  df-fv 6541  df-ov 7417  df-er 8699  df-ec 8701  df-qs 8705
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator