Step | Hyp | Ref
| Expression |
1 | | crngring 19710 |
. . . 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 21558 |
. . . 4
⊢ ((𝑅 ∈ Ring ∧ 𝑁 ∈ Fin) → 𝐷 ∈ (SubRing‘𝐴)) |
7 | 1, 6 | sylan 579 |
. . 3
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) → 𝐷 ∈ (SubRing‘𝐴)) |
8 | | dmatcrng.c |
. . . 4
⊢ 𝐶 = (𝐴 ↾s 𝐷) |
9 | 8 | subrgring 19942 |
. . 3
⊢ (𝐷 ∈ (SubRing‘𝐴) → 𝐶 ∈ Ring) |
10 | 7, 9 | syl 17 |
. 2
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) → 𝐶 ∈ Ring) |
11 | | simp1lr 1235 |
. . . . . . . . 9
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑅 ∈ CRing) |
12 | | eqid 2738 |
. . . . . . . . . 10
⊢
(Base‘𝑅) =
(Base‘𝑅) |
13 | | eqid 2738 |
. . . . . . . . . 10
⊢
(Base‘𝐴) =
(Base‘𝐴) |
14 | | simp2 1135 |
. . . . . . . . . 10
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑎 ∈ 𝑁) |
15 | | simp3 1136 |
. . . . . . . . . 10
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑏 ∈ 𝑁) |
16 | 2, 13, 4, 5 | dmatmat 21551 |
. . . . . . . . . . . . 13
⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) → (𝑥 ∈ 𝐷 → 𝑥 ∈ (Base‘𝐴))) |
17 | 16 | imp 406 |
. . . . . . . . . . . 12
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ 𝑥 ∈ 𝐷) → 𝑥 ∈ (Base‘𝐴)) |
18 | 17 | adantrr 713 |
. . . . . . . . . . 11
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → 𝑥 ∈ (Base‘𝐴)) |
19 | 18 | 3ad2ant1 1131 |
. . . . . . . . . 10
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑥 ∈ (Base‘𝐴)) |
20 | 2, 12, 13, 14, 15, 19 | matecld 21483 |
. . . . . . . . 9
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → (𝑎𝑥𝑏) ∈ (Base‘𝑅)) |
21 | 2, 13, 4, 5 | dmatmat 21551 |
. . . . . . . . . . . . 13
⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) → (𝑦 ∈ 𝐷 → 𝑦 ∈ (Base‘𝐴))) |
22 | 21 | imp 406 |
. . . . . . . . . . . 12
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ 𝑦 ∈ 𝐷) → 𝑦 ∈ (Base‘𝐴)) |
23 | 22 | adantrl 712 |
. . . . . . . . . . 11
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → 𝑦 ∈ (Base‘𝐴)) |
24 | 23 | 3ad2ant1 1131 |
. . . . . . . . . 10
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → 𝑦 ∈ (Base‘𝐴)) |
25 | 2, 12, 13, 14, 15, 24 | matecld 21483 |
. . . . . . . . 9
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → (𝑎𝑦𝑏) ∈ (Base‘𝑅)) |
26 | | eqid 2738 |
. . . . . . . . . 10
⊢
(.r‘𝑅) = (.r‘𝑅) |
27 | 12, 26 | crngcom 19716 |
. . . . . . . . 9
⊢ ((𝑅 ∈ CRing ∧ (𝑎𝑥𝑏) ∈ (Base‘𝑅) ∧ (𝑎𝑦𝑏) ∈ (Base‘𝑅)) → ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)) = ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏))) |
28 | 11, 20, 25, 27 | syl3anc 1369 |
. . . . . . . 8
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)) = ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏))) |
29 | 28 | ifeq1d 4475 |
. . . . . . 7
⊢ ((((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) ∧ 𝑎 ∈ 𝑁 ∧ 𝑏 ∈ 𝑁) → if(𝑎 = 𝑏, ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)), 0 ) = if(𝑎 = 𝑏, ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏)), 0 )) |
30 | 29 | mpoeq3dva 7330 |
. . . . . 6
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)), 0 )) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏)), 0 ))) |
31 | 1 | anim2i 616 |
. . . . . . 7
⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) → (𝑁 ∈ Fin ∧ 𝑅 ∈ Ring)) |
32 | 2, 3, 4, 5 | dmatmul 21554 |
. . . . . . 7
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑥(.r‘𝐴)𝑦) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)), 0 ))) |
33 | 31, 32 | sylan 579 |
. . . . . 6
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑥(.r‘𝐴)𝑦) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑥𝑏)(.r‘𝑅)(𝑎𝑦𝑏)), 0 ))) |
34 | | pm3.22 459 |
. . . . . . 7
⊢ ((𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷) → (𝑦 ∈ 𝐷 ∧ 𝑥 ∈ 𝐷)) |
35 | 2, 3, 4, 5 | dmatmul 21554 |
. . . . . . 7
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ Ring) ∧ (𝑦 ∈ 𝐷 ∧ 𝑥 ∈ 𝐷)) → (𝑦(.r‘𝐴)𝑥) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏)), 0 ))) |
36 | 31, 34, 35 | syl2an 595 |
. . . . . 6
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑦(.r‘𝐴)𝑥) = (𝑎 ∈ 𝑁, 𝑏 ∈ 𝑁 ↦ if(𝑎 = 𝑏, ((𝑎𝑦𝑏)(.r‘𝑅)(𝑎𝑥𝑏)), 0 ))) |
37 | 30, 33, 36 | 3eqtr4d 2788 |
. . . . 5
⊢ (((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) ∧ (𝑥 ∈ 𝐷 ∧ 𝑦 ∈ 𝐷)) → (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥)) |
38 | 37 | ralrimivva 3114 |
. . . 4
⊢ ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing) →
∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥)) |
39 | 38 | ancoms 458 |
. . 3
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) →
∀𝑥 ∈ 𝐷 ∀𝑦 ∈ 𝐷 (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥)) |
40 | 8 | subrgbas 19948 |
. . . . . 6
⊢ (𝐷 ∈ (SubRing‘𝐴) → 𝐷 = (Base‘𝐶)) |
41 | 40 | eqcomd 2744 |
. . . . 5
⊢ (𝐷 ∈ (SubRing‘𝐴) → (Base‘𝐶) = 𝐷) |
42 | | eqid 2738 |
. . . . . . . . . 10
⊢
(.r‘𝐴) = (.r‘𝐴) |
43 | 8, 42 | ressmulr 16943 |
. . . . . . . . 9
⊢ (𝐷 ∈ (SubRing‘𝐴) →
(.r‘𝐴) =
(.r‘𝐶)) |
44 | 43 | eqcomd 2744 |
. . . . . . . 8
⊢ (𝐷 ∈ (SubRing‘𝐴) →
(.r‘𝐶) =
(.r‘𝐴)) |
45 | 44 | oveqd 7272 |
. . . . . . 7
⊢ (𝐷 ∈ (SubRing‘𝐴) → (𝑥(.r‘𝐶)𝑦) = (𝑥(.r‘𝐴)𝑦)) |
46 | 44 | oveqd 7272 |
. . . . . . 7
⊢ (𝐷 ∈ (SubRing‘𝐴) → (𝑦(.r‘𝐶)𝑥) = (𝑦(.r‘𝐴)𝑥)) |
47 | 45, 46 | eqeq12d 2754 |
. . . . . 6
⊢ (𝐷 ∈ (SubRing‘𝐴) → ((𝑥(.r‘𝐶)𝑦) = (𝑦(.r‘𝐶)𝑥) ↔ (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥))) |
48 | 41, 47 | raleqbidv 3327 |
. . . . 5
⊢ (𝐷 ∈ (SubRing‘𝐴) → (∀𝑦 ∈ (Base‘𝐶)(𝑥(.r‘𝐶)𝑦) = (𝑦(.r‘𝐶)𝑥) ↔ ∀𝑦 ∈ 𝐷 (𝑥(.r‘𝐴)𝑦) = (𝑦(.r‘𝐴)𝑥))) |
49 | 41, 48 | raleqbidv 3327 |
. . . 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 19717 |
. 2
⊢ (𝐶 ∈ CRing ↔ (𝐶 ∈ Ring ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(𝑥(.r‘𝐶)𝑦) = (𝑦(.r‘𝐶)𝑥))) |
55 | 10, 51, 54 | sylanbrc 582 |
1
⊢ ((𝑅 ∈ CRing ∧ 𝑁 ∈ Fin) → 𝐶 ∈ CRing) |