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

Theorem iscgrg 26873
Description: The congruence property for sequences of points. (Contributed by Thierry Arnoux, 3-Apr-2019.)
Hypotheses
Ref Expression
iscgrg.p 𝑃 = (Base‘𝐺)
iscgrg.m = (dist‘𝐺)
iscgrg.e = (cgrG‘𝐺)
Assertion
Ref Expression
iscgrg (𝐺𝑉 → (𝐴 𝐵 ↔ ((𝐴 ∈ (𝑃pm ℝ) ∧ 𝐵 ∈ (𝑃pm ℝ)) ∧ (dom 𝐴 = dom 𝐵 ∧ ∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝐵𝑖) (𝐵𝑗))))))
Distinct variable groups:   𝑖,𝑗,𝐺   𝐴,𝑖,𝑗   𝐵,𝑖,𝑗
Allowed substitution hints:   𝑃(𝑖,𝑗)   (𝑖,𝑗)   (𝑖,𝑗)   𝑉(𝑖,𝑗)

Proof of Theorem iscgrg
Dummy variables 𝑎 𝑏 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 iscgrg.e . . . 4 = (cgrG‘𝐺)
2 elex 3450 . . . . 5 (𝐺𝑉𝐺 ∈ V)
3 fveq2 6774 . . . . . . . . . . . 12 (𝑔 = 𝐺 → (Base‘𝑔) = (Base‘𝐺))
4 iscgrg.p . . . . . . . . . . . 12 𝑃 = (Base‘𝐺)
53, 4eqtr4di 2796 . . . . . . . . . . 11 (𝑔 = 𝐺 → (Base‘𝑔) = 𝑃)
65oveq1d 7290 . . . . . . . . . 10 (𝑔 = 𝐺 → ((Base‘𝑔) ↑pm ℝ) = (𝑃pm ℝ))
76eleq2d 2824 . . . . . . . . 9 (𝑔 = 𝐺 → (𝑎 ∈ ((Base‘𝑔) ↑pm ℝ) ↔ 𝑎 ∈ (𝑃pm ℝ)))
86eleq2d 2824 . . . . . . . . 9 (𝑔 = 𝐺 → (𝑏 ∈ ((Base‘𝑔) ↑pm ℝ) ↔ 𝑏 ∈ (𝑃pm ℝ)))
97, 8anbi12d 631 . . . . . . . 8 (𝑔 = 𝐺 → ((𝑎 ∈ ((Base‘𝑔) ↑pm ℝ) ∧ 𝑏 ∈ ((Base‘𝑔) ↑pm ℝ)) ↔ (𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ))))
10 fveq2 6774 . . . . . . . . . . . . 13 (𝑔 = 𝐺 → (dist‘𝑔) = (dist‘𝐺))
11 iscgrg.m . . . . . . . . . . . . 13 = (dist‘𝐺)
1210, 11eqtr4di 2796 . . . . . . . . . . . 12 (𝑔 = 𝐺 → (dist‘𝑔) = )
1312oveqd 7292 . . . . . . . . . . 11 (𝑔 = 𝐺 → ((𝑎𝑖)(dist‘𝑔)(𝑎𝑗)) = ((𝑎𝑖) (𝑎𝑗)))
1412oveqd 7292 . . . . . . . . . . 11 (𝑔 = 𝐺 → ((𝑏𝑖)(dist‘𝑔)(𝑏𝑗)) = ((𝑏𝑖) (𝑏𝑗)))
1513, 14eqeq12d 2754 . . . . . . . . . 10 (𝑔 = 𝐺 → (((𝑎𝑖)(dist‘𝑔)(𝑎𝑗)) = ((𝑏𝑖)(dist‘𝑔)(𝑏𝑗)) ↔ ((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))
16152ralbidv 3129 . . . . . . . . 9 (𝑔 = 𝐺 → (∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖)(dist‘𝑔)(𝑎𝑗)) = ((𝑏𝑖)(dist‘𝑔)(𝑏𝑗)) ↔ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))
1716anbi2d 629 . . . . . . . 8 (𝑔 = 𝐺 → ((dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖)(dist‘𝑔)(𝑎𝑗)) = ((𝑏𝑖)(dist‘𝑔)(𝑏𝑗))) ↔ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗)))))
189, 17anbi12d 631 . . . . . . 7 (𝑔 = 𝐺 → (((𝑎 ∈ ((Base‘𝑔) ↑pm ℝ) ∧ 𝑏 ∈ ((Base‘𝑔) ↑pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖)(dist‘𝑔)(𝑎𝑗)) = ((𝑏𝑖)(dist‘𝑔)(𝑏𝑗)))) ↔ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))))
1918opabbidv 5140 . . . . . 6 (𝑔 = 𝐺 → {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ ((Base‘𝑔) ↑pm ℝ) ∧ 𝑏 ∈ ((Base‘𝑔) ↑pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖)(dist‘𝑔)(𝑎𝑗)) = ((𝑏𝑖)(dist‘𝑔)(𝑏𝑗))))} = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))})
20 df-cgrg 26872 . . . . . 6 cgrG = (𝑔 ∈ V ↦ {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ ((Base‘𝑔) ↑pm ℝ) ∧ 𝑏 ∈ ((Base‘𝑔) ↑pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖)(dist‘𝑔)(𝑎𝑗)) = ((𝑏𝑖)(dist‘𝑔)(𝑏𝑗))))})
21 df-xp 5595 . . . . . . . 8 ((𝑃pm ℝ) × (𝑃pm ℝ)) = {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ))}
22 ovex 7308 . . . . . . . . 9 (𝑃pm ℝ) ∈ V
2322, 22xpex 7603 . . . . . . . 8 ((𝑃pm ℝ) × (𝑃pm ℝ)) ∈ V
2421, 23eqeltrri 2836 . . . . . . 7 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ))} ∈ V
25 simpl 483 . . . . . . . 8 (((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗)))) → (𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)))
2625ssopab2i 5463 . . . . . . 7 {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))} ⊆ {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ))}
2724, 26ssexi 5246 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))} ∈ V
2819, 20, 27fvmpt 6875 . . . . 5 (𝐺 ∈ V → (cgrG‘𝐺) = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))})
292, 28syl 17 . . . 4 (𝐺𝑉 → (cgrG‘𝐺) = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))})
301, 29eqtrid 2790 . . 3 (𝐺𝑉 = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))})
3130breqd 5085 . 2 (𝐺𝑉 → (𝐴 𝐵𝐴{⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))}𝐵))
32 dmeq 5812 . . . . . 6 (𝑎 = 𝐴 → dom 𝑎 = dom 𝐴)
3332eqeq1d 2740 . . . . 5 (𝑎 = 𝐴 → (dom 𝑎 = dom 𝑏 ↔ dom 𝐴 = dom 𝑏))
3432adantr 481 . . . . . . 7 ((𝑎 = 𝐴𝑖 ∈ dom 𝑎) → dom 𝑎 = dom 𝐴)
35 simpll 764 . . . . . . . . . 10 (((𝑎 = 𝐴𝑖 ∈ dom 𝑎) ∧ 𝑗 ∈ dom 𝑎) → 𝑎 = 𝐴)
3635fveq1d 6776 . . . . . . . . 9 (((𝑎 = 𝐴𝑖 ∈ dom 𝑎) ∧ 𝑗 ∈ dom 𝑎) → (𝑎𝑖) = (𝐴𝑖))
3735fveq1d 6776 . . . . . . . . 9 (((𝑎 = 𝐴𝑖 ∈ dom 𝑎) ∧ 𝑗 ∈ dom 𝑎) → (𝑎𝑗) = (𝐴𝑗))
3836, 37oveq12d 7293 . . . . . . . 8 (((𝑎 = 𝐴𝑖 ∈ dom 𝑎) ∧ 𝑗 ∈ dom 𝑎) → ((𝑎𝑖) (𝑎𝑗)) = ((𝐴𝑖) (𝐴𝑗)))
3938eqeq1d 2740 . . . . . . 7 (((𝑎 = 𝐴𝑖 ∈ dom 𝑎) ∧ 𝑗 ∈ dom 𝑎) → (((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗)) ↔ ((𝐴𝑖) (𝐴𝑗)) = ((𝑏𝑖) (𝑏𝑗))))
4034, 39raleqbidva 3354 . . . . . 6 ((𝑎 = 𝐴𝑖 ∈ dom 𝑎) → (∀𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗)) ↔ ∀𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝑏𝑖) (𝑏𝑗))))
4132, 40raleqbidva 3354 . . . . 5 (𝑎 = 𝐴 → (∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗)) ↔ ∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝑏𝑖) (𝑏𝑗))))
4233, 41anbi12d 631 . . . 4 (𝑎 = 𝐴 → ((dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))) ↔ (dom 𝐴 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝑏𝑖) (𝑏𝑗)))))
43 dmeq 5812 . . . . . 6 (𝑏 = 𝐵 → dom 𝑏 = dom 𝐵)
4443eqeq2d 2749 . . . . 5 (𝑏 = 𝐵 → (dom 𝐴 = dom 𝑏 ↔ dom 𝐴 = dom 𝐵))
45 fveq1 6773 . . . . . . . 8 (𝑏 = 𝐵 → (𝑏𝑖) = (𝐵𝑖))
46 fveq1 6773 . . . . . . . 8 (𝑏 = 𝐵 → (𝑏𝑗) = (𝐵𝑗))
4745, 46oveq12d 7293 . . . . . . 7 (𝑏 = 𝐵 → ((𝑏𝑖) (𝑏𝑗)) = ((𝐵𝑖) (𝐵𝑗)))
4847eqeq2d 2749 . . . . . 6 (𝑏 = 𝐵 → (((𝐴𝑖) (𝐴𝑗)) = ((𝑏𝑖) (𝑏𝑗)) ↔ ((𝐴𝑖) (𝐴𝑗)) = ((𝐵𝑖) (𝐵𝑗))))
49482ralbidv 3129 . . . . 5 (𝑏 = 𝐵 → (∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝑏𝑖) (𝑏𝑗)) ↔ ∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝐵𝑖) (𝐵𝑗))))
5044, 49anbi12d 631 . . . 4 (𝑏 = 𝐵 → ((dom 𝐴 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝑏𝑖) (𝑏𝑗))) ↔ (dom 𝐴 = dom 𝐵 ∧ ∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝐵𝑖) (𝐵𝑗)))))
5142, 50sylan9bb 510 . . 3 ((𝑎 = 𝐴𝑏 = 𝐵) → ((dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))) ↔ (dom 𝐴 = dom 𝐵 ∧ ∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝐵𝑖) (𝐵𝑗)))))
52 eqid 2738 . . 3 {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))} = {⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))}
5351, 52brab2a 5680 . 2 (𝐴{⟨𝑎, 𝑏⟩ ∣ ((𝑎 ∈ (𝑃pm ℝ) ∧ 𝑏 ∈ (𝑃pm ℝ)) ∧ (dom 𝑎 = dom 𝑏 ∧ ∀𝑖 ∈ dom 𝑎𝑗 ∈ dom 𝑎((𝑎𝑖) (𝑎𝑗)) = ((𝑏𝑖) (𝑏𝑗))))}𝐵 ↔ ((𝐴 ∈ (𝑃pm ℝ) ∧ 𝐵 ∈ (𝑃pm ℝ)) ∧ (dom 𝐴 = dom 𝐵 ∧ ∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝐵𝑖) (𝐵𝑗)))))
5431, 53bitrdi 287 1 (𝐺𝑉 → (𝐴 𝐵 ↔ ((𝐴 ∈ (𝑃pm ℝ) ∧ 𝐵 ∈ (𝑃pm ℝ)) ∧ (dom 𝐴 = dom 𝐵 ∧ ∀𝑖 ∈ dom 𝐴𝑗 ∈ dom 𝐴((𝐴𝑖) (𝐴𝑗)) = ((𝐵𝑖) (𝐵𝑗))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432   class class class wbr 5074  {copab 5136   × cxp 5587  dom cdm 5589  cfv 6433  (class class class)co 7275  pm cpm 8616  cr 10870  Basecbs 16912  distcds 16971  cgrGccgrg 26871
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-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-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  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-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-iota 6391  df-fun 6435  df-fv 6441  df-ov 7278  df-cgrg 26872
This theorem is referenced by:  iscgrgd  26874  ercgrg  26878
  Copyright terms: Public domain W3C validator