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

Definition df-cgr 27242
Description: Define the Euclidean congruence predicate. For details, see brcgr 27249. (Contributed by Scott Fenton, 3-Jun-2013.)
Assertion
Ref Expression
df-cgr Cgr = {⟨𝑥, 𝑦⟩ ∣ ∃𝑛 ∈ ℕ ((𝑥 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛)) ∧ 𝑦 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛))) ∧ Σ𝑖 ∈ (1...𝑛)((((1st𝑥)‘𝑖) − ((2nd𝑥)‘𝑖))↑2) = Σ𝑖 ∈ (1...𝑛)((((1st𝑦)‘𝑖) − ((2nd𝑦)‘𝑖))↑2))}
Distinct variable group:   𝑥,𝑛,𝑦,𝑖

Detailed syntax breakdown of Definition df-cgr
StepHypRef Expression
1 ccgr 27239 . 2 class Cgr
2 vx . . . . . . . 8 setvar 𝑥
32cv 1540 . . . . . . 7 class 𝑥
4 vn . . . . . . . . . 10 setvar 𝑛
54cv 1540 . . . . . . . . 9 class 𝑛
6 cee 27237 . . . . . . . . 9 class 𝔼
75, 6cfv 6430 . . . . . . . 8 class (𝔼‘𝑛)
87, 7cxp 5586 . . . . . . 7 class ((𝔼‘𝑛) × (𝔼‘𝑛))
93, 8wcel 2109 . . . . . 6 wff 𝑥 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛))
10 vy . . . . . . . 8 setvar 𝑦
1110cv 1540 . . . . . . 7 class 𝑦
1211, 8wcel 2109 . . . . . 6 wff 𝑦 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛))
139, 12wa 395 . . . . 5 wff (𝑥 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛)) ∧ 𝑦 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛)))
14 c1 10856 . . . . . . . 8 class 1
15 cfz 13221 . . . . . . . 8 class ...
1614, 5, 15co 7268 . . . . . . 7 class (1...𝑛)
17 vi . . . . . . . . . . 11 setvar 𝑖
1817cv 1540 . . . . . . . . . 10 class 𝑖
19 c1st 7815 . . . . . . . . . . 11 class 1st
203, 19cfv 6430 . . . . . . . . . 10 class (1st𝑥)
2118, 20cfv 6430 . . . . . . . . 9 class ((1st𝑥)‘𝑖)
22 c2nd 7816 . . . . . . . . . . 11 class 2nd
233, 22cfv 6430 . . . . . . . . . 10 class (2nd𝑥)
2418, 23cfv 6430 . . . . . . . . 9 class ((2nd𝑥)‘𝑖)
25 cmin 11188 . . . . . . . . 9 class
2621, 24, 25co 7268 . . . . . . . 8 class (((1st𝑥)‘𝑖) − ((2nd𝑥)‘𝑖))
27 c2 12011 . . . . . . . 8 class 2
28 cexp 13763 . . . . . . . 8 class
2926, 27, 28co 7268 . . . . . . 7 class ((((1st𝑥)‘𝑖) − ((2nd𝑥)‘𝑖))↑2)
3016, 29, 17csu 15378 . . . . . 6 class Σ𝑖 ∈ (1...𝑛)((((1st𝑥)‘𝑖) − ((2nd𝑥)‘𝑖))↑2)
3111, 19cfv 6430 . . . . . . . . . 10 class (1st𝑦)
3218, 31cfv 6430 . . . . . . . . 9 class ((1st𝑦)‘𝑖)
3311, 22cfv 6430 . . . . . . . . . 10 class (2nd𝑦)
3418, 33cfv 6430 . . . . . . . . 9 class ((2nd𝑦)‘𝑖)
3532, 34, 25co 7268 . . . . . . . 8 class (((1st𝑦)‘𝑖) − ((2nd𝑦)‘𝑖))
3635, 27, 28co 7268 . . . . . . 7 class ((((1st𝑦)‘𝑖) − ((2nd𝑦)‘𝑖))↑2)
3716, 36, 17csu 15378 . . . . . 6 class Σ𝑖 ∈ (1...𝑛)((((1st𝑦)‘𝑖) − ((2nd𝑦)‘𝑖))↑2)
3830, 37wceq 1541 . . . . 5 wff Σ𝑖 ∈ (1...𝑛)((((1st𝑥)‘𝑖) − ((2nd𝑥)‘𝑖))↑2) = Σ𝑖 ∈ (1...𝑛)((((1st𝑦)‘𝑖) − ((2nd𝑦)‘𝑖))↑2)
3913, 38wa 395 . . . 4 wff ((𝑥 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛)) ∧ 𝑦 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛))) ∧ Σ𝑖 ∈ (1...𝑛)((((1st𝑥)‘𝑖) − ((2nd𝑥)‘𝑖))↑2) = Σ𝑖 ∈ (1...𝑛)((((1st𝑦)‘𝑖) − ((2nd𝑦)‘𝑖))↑2))
40 cn 11956 . . . 4 class
4139, 4, 40wrex 3066 . . 3 wff 𝑛 ∈ ℕ ((𝑥 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛)) ∧ 𝑦 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛))) ∧ Σ𝑖 ∈ (1...𝑛)((((1st𝑥)‘𝑖) − ((2nd𝑥)‘𝑖))↑2) = Σ𝑖 ∈ (1...𝑛)((((1st𝑦)‘𝑖) − ((2nd𝑦)‘𝑖))↑2))
4241, 2, 10copab 5140 . 2 class {⟨𝑥, 𝑦⟩ ∣ ∃𝑛 ∈ ℕ ((𝑥 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛)) ∧ 𝑦 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛))) ∧ Σ𝑖 ∈ (1...𝑛)((((1st𝑥)‘𝑖) − ((2nd𝑥)‘𝑖))↑2) = Σ𝑖 ∈ (1...𝑛)((((1st𝑦)‘𝑖) − ((2nd𝑦)‘𝑖))↑2))}
431, 42wceq 1541 1 wff Cgr = {⟨𝑥, 𝑦⟩ ∣ ∃𝑛 ∈ ℕ ((𝑥 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛)) ∧ 𝑦 ∈ ((𝔼‘𝑛) × (𝔼‘𝑛))) ∧ Σ𝑖 ∈ (1...𝑛)((((1st𝑥)‘𝑖) − ((2nd𝑥)‘𝑖))↑2) = Σ𝑖 ∈ (1...𝑛)((((1st𝑦)‘𝑖) − ((2nd𝑦)‘𝑖))↑2))}
Colors of variables: wff setvar class
This definition is referenced by:  brcgr  27249
  Copyright terms: Public domain W3C validator