Step | Hyp | Ref
| Expression |
1 | | crngring 19795 |
. . . 4
⊢ (𝑅 ∈ CRing → 𝑅 ∈ Ring) |
2 | | dmatid.a |
. . . . 5
⊢ 𝐴 = (𝑁 Mat 𝑅) |
3 | | dmatid.b |
. . . . 5
⊢ 𝐵 = (Base‘𝐴) |
4 | | dmatid.0 |
. . . . 5
⊢ 0 =
(0g‘𝑅) |
5 | | dmatid.d |
. . . . 5
⊢ 𝐷 = (𝑁 DMat 𝑅) |
6 | 2, 3, 4, 5 | dmatsrng 21650 |
. . . 4
⊢ ((𝑅 ∈ Ring ∧ 𝑁 ∈ Fin) → 𝐷 ∈ (SubRing‘𝐴)) |
7 | 1, 6 | sylan 580 |
. . 3
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) → 𝐷 ∈ (SubRing‘𝐴)) |
8 | | dmatcrng.c |
. . . 4
⊢ 𝐶 = (𝐴 ↾s 𝐷) |
9 | 8 | subrgring 20027 |
. . 3
⊢ (𝐷 ∈ (SubRing‘𝐴) → 𝐶 ∈ Ring) |
10 | 7, 9 | syl 17 |
. 2
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) → 𝐶 ∈ Ring) |
11 | | simp1lr 1236 |
. . . . . . . . 9
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑅 ∈ CRing) |
12 | | eqid 2738 |
. . . . . . . . . 10
⊢
(Base‘𝑅) =
(Base‘𝑅) |
13 | | eqid 2738 |
. . . . . . . . . 10
⊢
(Base‘𝐴) =
(Base‘𝐴) |
14 | | simp2 1136 |
. . . . . . . . . 10
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑎 ∈ 𝑁) |
15 | | simp3 1137 |
. . . . . . . . . 10
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑏 ∈ 𝑁) |
16 | 2, 13, 4, 5 | dmatmat 21643 |
. . . . . . . . . . . . 13
⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) → (𝑥 ∈ 𝐷 → 𝑥 ∈ (Base‘𝐴))) |
17 | 16 | imp 407 |
. . . . . . . . . . . 12
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ 𝑥 ∈ 𝐷) → 𝑥 ∈ (Base‘𝐴)) |
18 | 17 | adantrr 714 |
. . . . . . . . . . 11
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → 𝑥 ∈ (Base‘𝐴)) |
19 | 18 | 3ad2ant1 1132 |
. . . . . . . . . 10
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑥 ∈ (Base‘𝐴)) |
20 | 2, 12, 13, 14, 15, 19 | matecld 21575 |
. . . . . . . . 9
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → (𝑎𝑥𝑏) ∈ (Base‘𝑅)) |
21 | 2, 13, 4, 5 | dmatmat 21643 |
. . . . . . . . . . . . 13
⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) → (𝑦 ∈ 𝐷 → 𝑦 ∈ (Base‘𝐴))) |
22 | 21 | imp 407 |
. . . . . . . . . . . 12
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ 𝑦 ∈ 𝐷) → 𝑦 ∈ (Base‘𝐴)) |
23 | 22 | adantrl 713 |
. . . . . . . . . . 11
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → 𝑦 ∈ (Base‘𝐴)) |
24 | 23 | 3ad2ant1 1132 |
. . . . . . . . . 10
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑦 ∈ (Base‘𝐴)) |
25 | 2, 12, 13, 14, 15, 24 | matecld 21575 |
. . . . . . . . 9
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → (𝑎𝑦𝑏) ∈ (Base‘𝑅)) |
26 | | eqid 2738 |
. . . . . . . . . 10
⊢
(.r‘𝑅) = (.r‘𝑅) |
27 | 12, 26 | crngcom 19801 |
. . . . . . . . 9
⊢ ((𝑅 ∈ CRing ∧ (𝑎𝑥𝑏) ∈ (Base‘𝑅) ∧ (𝑎𝑦𝑏) ∈ (Base‘𝑅)) → ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)) = ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏))) |
28 | 11, 20, 25, 27 | syl3anc 1370 |
. . . . . . . 8
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)) = ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏))) |
29 | 28 | ifeq1d 4478 |
. . . . . . 7
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → if(𝑎 = 𝑏, ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)), 0 ) = if(𝑎 = 𝑏, ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏)), 0 )) |
30 | 29 | mpoeq3dva 7352 |
. . . . . 6
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)), 0 )) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏)), 0 ))) |
31 | 1 | anim2i 617 |
. . . . . . 7
⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring)) |
32 | 2, 3, 4, 5 | dmatmul 21646 |
. . . . . . 7
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑥(.r‘𝐴)𝑦) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)), 0 ))) |
33 | 31, 32 | sylan 580 |
. . . . . 6
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑥(.r‘𝐴)𝑦) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)), 0 ))) |
34 | | pm3.22 460 |
. . . . . . 7
⊢ ((𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷) → (𝑦 ∈ 𝐷 ∧ 𝑥 ∈ 𝐷)) |
35 | 2, 3, 4, 5 | dmatmul 21646 |
. . . . . . 7
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑦 ∈ 𝐷 ∧ 𝑥 ∈ 𝐷)) → (𝑦(.r‘𝐴)𝑥) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏)), 0 ))) |
36 | 31, 34, 35 | syl2an 596 |
. . . . . 6
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑦(.r‘𝐴)𝑥) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏)), 0 ))) |
37 | 30, 33, 36 | 3eqtr4d 2788 |
. . . . 5
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥)) |
38 | 37 | ralrimivva 3123 |
. . . 4
⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) →
∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥)) |
39 | 38 | ancoms 459 |
. . 3
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) →
∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥)) |
40 | 8 | subrgbas 20033 |
. . . . . 6
⊢ (𝐷 ∈ (SubRing‘𝐴) → 𝐷 = (Base‘𝐶)) |
41 | 40 | eqcomd 2744 |
. . . . 5
⊢ (𝐷 ∈ (SubRing‘𝐴) → (Base‘𝐶) = 𝐷) |
42 | | eqid 2738 |
. . . . . . . . . 10
⊢
(.r‘𝐴) = (.r‘𝐴) |
43 | 8, 42 | ressmulr 17017 |
. . . . . . . . 9
⊢ (𝐷 ∈ (SubRing‘𝐴) →
(.r‘𝐴) =
(.r‘𝐶)) |
44 | 43 | eqcomd 2744 |
. . . . . . . 8
⊢ (𝐷 ∈ (SubRing‘𝐴) →
(.r‘𝐶) =
(.r‘𝐴)) |
45 | 44 | oveqd 7292 |
. . . . . . 7
⊢ (𝐷 ∈ (SubRing‘𝐴) → (𝑥(.r‘𝐶)𝑦) = (𝑥(.r‘𝐴)𝑦)) |
46 | 44 | oveqd 7292 |
. . . . . . 7
⊢ (𝐷 ∈ (SubRing‘𝐴) → (𝑦(.r‘𝐶)𝑥) = (𝑦(.r‘𝐴)𝑥)) |
47 | 45, 46 | eqeq12d 2754 |
. . . . . 6
⊢ (𝐷 ∈ (SubRing‘𝐴) → ((𝑥(.r‘𝐶)𝑦) = (𝑦(.r‘𝐶)𝑥) ↔ (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥))) |
48 | 41, 47 | raleqbidv 3336 |
. . . . 5
⊢ (𝐷 ∈ (SubRing‘𝐴) → (∀𝑦 ∈ (Base‘𝐶)(𝑥(.r‘𝐶)𝑦) = (𝑦(.r‘𝐶)𝑥) ↔ ∀𝑦 ∈ 𝐷 (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥))) |
49 | 41, 48 | raleqbidv 3336 |
. . . 4
⊢ (𝐷 ∈ (SubRing‘𝐴) → (∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(.r‘𝐶)𝑦) = (𝑦(.r‘𝐶)𝑥) ↔ ∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥))) |
50 | 7, 49 | syl 17 |
. . 3
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) →
(∀𝑥 ∈
(Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(.r‘𝐶)𝑦) = (𝑦(.r‘𝐶)𝑥) ↔ ∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥))) |
51 | 39, 50 | mpbird 256 |
. 2
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) →
∀𝑥 ∈
(Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(.r‘𝐶)𝑦) = (𝑦(.r‘𝐶)𝑥)) |
52 | | eqid 2738 |
. . 3
⊢
(Base‘𝐶) =
(Base‘𝐶) |
53 | | eqid 2738 |
. . 3
⊢
(.r‘𝐶) = (.r‘𝐶) |
54 | 52, 53 | iscrng2 19802 |
. 2
⊢ (𝐶 ∈ CRing ↔ (𝐶 ∈ Ring ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(.r‘𝐶)𝑦) = (𝑦(.r‘𝐶)𝑥))) |
55 | 10, 51, 54 | sylanbrc 583 |
1
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) → 𝐶 ∈ CRing) |