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

Theorem tgjustc2 28782
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 6902 . . . 4 𝑃 ∈ V
32, 2xpex 7761 . . 3 (𝑃 × 𝑃) ∈ V
4 tgjustc2.d . . 3 𝑅 Er (𝑃 × 𝑃)
5 tgjustr 28780 . . 3 (((𝑃 × 𝑃) ∈ V ∧ 𝑅 Er (𝑃 × 𝑃)) → ∃𝑑(𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣))))
63, 4, 5mp2an 705 . 2 𝑑(𝑑 Fn (𝑃 × 𝑃) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)))
7 simplrl 789 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑤𝑃)
8 simplrr 790 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑥𝑃)
97, 8opelxpd 5705 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ⟨𝑤, 𝑥⟩ ∈ (𝑃 × 𝑃))
10 simprl 783 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑦𝑃)
11 simprr 785 . . . . . . 7 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → 𝑧𝑃)
1210, 11opelxpd 5705 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ⟨𝑦, 𝑧⟩ ∈ (𝑃 × 𝑃))
13 simpll 779 . . . . . 6 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)))
14 breq1 5117 . . . . . . . 8 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑢𝑅𝑣 ↔ ⟨𝑤, 𝑥𝑅𝑣))
15 fveq2 6888 . . . . . . . . . 10 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑑𝑢) = (𝑑‘⟨𝑤, 𝑥⟩))
16 df-ov 7426 . . . . . . . . . 10 (𝑤𝑑𝑥) = (𝑑‘⟨𝑤, 𝑥⟩)
1715, 16eqtr4di 2819 . . . . . . . . 9 (𝑢 = ⟨𝑤, 𝑥⟩ → (𝑑𝑢) = (𝑤𝑑𝑥))
1817eqeq1d 2768 . . . . . . . 8 (𝑢 = ⟨𝑤, 𝑥⟩ → ((𝑑𝑢) = (𝑑𝑣) ↔ (𝑤𝑑𝑥) = (𝑑𝑣)))
1914, 18bibi12d 348 . . . . . . 7 (𝑢 = ⟨𝑤, 𝑥⟩ → ((𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ↔ (⟨𝑤, 𝑥𝑅𝑣 ↔ (𝑤𝑑𝑥) = (𝑑𝑣))))
20 breq2 5118 . . . . . . . 8 (𝑣 = ⟨𝑦, 𝑧⟩ → (⟨𝑤, 𝑥𝑅𝑣 ↔ ⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩))
21 fveq2 6888 . . . . . . . . . 10 (𝑣 = ⟨𝑦, 𝑧⟩ → (𝑑𝑣) = (𝑑‘⟨𝑦, 𝑧⟩))
22 df-ov 7426 . . . . . . . . . 10 (𝑦𝑑𝑧) = (𝑑‘⟨𝑦, 𝑧⟩)
2321, 22eqtr4di 2819 . . . . . . . . 9 (𝑣 = ⟨𝑦, 𝑧⟩ → (𝑑𝑣) = (𝑦𝑑𝑧))
2423eqeq2d 2777 . . . . . . . 8 (𝑣 = ⟨𝑦, 𝑧⟩ → ((𝑤𝑑𝑥) = (𝑑𝑣) ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
2520, 24bibi12d 348 . . . . . . 7 (𝑣 = ⟨𝑦, 𝑧⟩ → ((⟨𝑤, 𝑥𝑅𝑣 ↔ (𝑤𝑑𝑥) = (𝑑𝑣)) ↔ (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧))))
2619, 25rspc2va 3596 . . . . . 6 (((⟨𝑤, 𝑥⟩ ∈ (𝑃 × 𝑃) ∧ ⟨𝑦, 𝑧⟩ ∈ (𝑃 × 𝑃)) ∧ ∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣))) → (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
279, 12, 13, 26syl21anc 851 . . . . 5 (((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) ∧ (𝑦𝑃𝑧𝑃)) → (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
2827ralrimivva 3211 . . . 4 ((∀𝑢 ∈ (𝑃 × 𝑃)∀𝑣 ∈ (𝑃 × 𝑃)(𝑢𝑅𝑣 ↔ (𝑑𝑢) = (𝑑𝑣)) ∧ (𝑤𝑃𝑥𝑃)) → ∀𝑦𝑃𝑧𝑃 (⟨𝑤, 𝑥𝑅𝑦, 𝑧⟩ ↔ (𝑤𝑑𝑥) = (𝑦𝑑𝑧)))
2928ralrimivva 3211 . . 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 2146  wral 3082  Vcvv 3458  cop 4600   class class class wbr 5114   × cxp 5664   Fn wfn 6538  cfv 6543  (class class class)co 7423   Er wer 8700  Basecbs 17294
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-rep 5243  ax-sep 5262  ax-nul 5274  ax-pow 5341  ax-pr 5409  ax-un 7745
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 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-ral 3083  df-rex 3093  df-reu 3373  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-iun 4963  df-br 5115  df-opab 5179  df-mpt 5198  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7426  df-er 8703  df-ec 8705  df-qs 8709
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator