Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  submat1n Structured version   Visualization version   GIF version

Theorem submat1n 29653
Description: One case where the submatrix with integer indices, subMat1, and the general submatrix subMat, agree. (Contributed by Thierry Arnoux, 22-Aug-2020.)
Hypotheses
Ref Expression
submat1n.a 𝐴 = ((1...𝑁) Mat 𝑅)
submat1n.b 𝐵 = (Base‘𝐴)
Assertion
Ref Expression
submat1n ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → (𝑁(subMat1‘𝑀)𝑁) = (𝑁(((1...𝑁) subMat 𝑅)‘𝑀)𝑁))

Proof of Theorem submat1n
Dummy variables 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fzdif2 29393 . . . . 5 (𝑁 ∈ (ℤ‘1) → ((1...𝑁) ∖ {𝑁}) = (1...(𝑁 − 1)))
2 nnuz 11667 . . . . 5 ℕ = (ℤ‘1)
31, 2eleq2s 2716 . . . 4 (𝑁 ∈ ℕ → ((1...𝑁) ∖ {𝑁}) = (1...(𝑁 − 1)))
43adantr 481 . . 3 ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → ((1...𝑁) ∖ {𝑁}) = (1...(𝑁 − 1)))
54adantr 481 . . 3 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ 𝑖 ∈ ((1...𝑁) ∖ {𝑁})) → ((1...𝑁) ∖ {𝑁}) = (1...(𝑁 − 1)))
6 eqid 2621 . . . . 5 (𝑁(subMat1‘𝑀)𝑁) = (𝑁(subMat1‘𝑀)𝑁)
7 elfz1end 12313 . . . . . . . . 9 (𝑁 ∈ ℕ ↔ 𝑁 ∈ (1...𝑁))
87biimpi 206 . . . . . . . 8 (𝑁 ∈ ℕ → 𝑁 ∈ (1...𝑁))
98adantr 481 . . . . . . 7 ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → 𝑁 ∈ (1...𝑁))
109, 7sylibr 224 . . . . . 6 ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → 𝑁 ∈ ℕ)
1110adantr 481 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → 𝑁 ∈ ℕ)
1211, 8syl 17 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → 𝑁 ∈ (1...𝑁))
13 submat1n.a . . . . . . 7 𝐴 = ((1...𝑁) Mat 𝑅)
14 eqid 2621 . . . . . . 7 (Base‘𝑅) = (Base‘𝑅)
15 submat1n.b . . . . . . 7 𝐵 = (Base‘𝐴)
1613, 14, 15matbas2i 20147 . . . . . 6 (𝑀𝐵𝑀 ∈ ((Base‘𝑅) ↑𝑚 ((1...𝑁) × (1...𝑁))))
1716ad2antlr 762 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → 𝑀 ∈ ((Base‘𝑅) ↑𝑚 ((1...𝑁) × (1...𝑁))))
18 simprl 793 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → 𝑖 ∈ ((1...𝑁) ∖ {𝑁}))
19 nnz 11343 . . . . . . . . 9 (𝑁 ∈ ℕ → 𝑁 ∈ ℤ)
20 fzoval 12412 . . . . . . . . 9 (𝑁 ∈ ℤ → (1..^𝑁) = (1...(𝑁 − 1)))
2119, 20syl 17 . . . . . . . 8 (𝑁 ∈ ℕ → (1..^𝑁) = (1...(𝑁 − 1)))
2221, 3eqtr4d 2658 . . . . . . 7 (𝑁 ∈ ℕ → (1..^𝑁) = ((1...𝑁) ∖ {𝑁}))
2311, 22syl 17 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → (1..^𝑁) = ((1...𝑁) ∖ {𝑁}))
2418, 23eleqtrrd 2701 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → 𝑖 ∈ (1..^𝑁))
25 simprr 795 . . . . . 6 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))
2625, 23eleqtrrd 2701 . . . . 5 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → 𝑗 ∈ (1..^𝑁))
276, 11, 11, 12, 12, 17, 24, 26smattl 29646 . . . 4 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → (𝑖(𝑁(subMat1‘𝑀)𝑁)𝑗) = (𝑖𝑀𝑗))
2827eqcomd 2627 . . 3 (((𝑁 ∈ ℕ ∧ 𝑀𝐵) ∧ (𝑖 ∈ ((1...𝑁) ∖ {𝑁}) ∧ 𝑗 ∈ ((1...𝑁) ∖ {𝑁}))) → (𝑖𝑀𝑗) = (𝑖(𝑁(subMat1‘𝑀)𝑁)𝑗))
294, 5, 28mpt2eq123dva 6669 . 2 ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → (𝑖 ∈ ((1...𝑁) ∖ {𝑁}), 𝑗 ∈ ((1...𝑁) ∖ {𝑁}) ↦ (𝑖𝑀𝑗)) = (𝑖 ∈ (1...(𝑁 − 1)), 𝑗 ∈ (1...(𝑁 − 1)) ↦ (𝑖(𝑁(subMat1‘𝑀)𝑁)𝑗)))
30 simpr 477 . . 3 ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → 𝑀𝐵)
31 eqid 2621 . . . 4 ((1...𝑁) subMat 𝑅) = ((1...𝑁) subMat 𝑅)
3213, 31, 15submaval 20306 . . 3 ((𝑀𝐵𝑁 ∈ (1...𝑁) ∧ 𝑁 ∈ (1...𝑁)) → (𝑁(((1...𝑁) subMat 𝑅)‘𝑀)𝑁) = (𝑖 ∈ ((1...𝑁) ∖ {𝑁}), 𝑗 ∈ ((1...𝑁) ∖ {𝑁}) ↦ (𝑖𝑀𝑗)))
3330, 9, 9, 32syl3anc 1323 . 2 ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → (𝑁(((1...𝑁) subMat 𝑅)‘𝑀)𝑁) = (𝑖 ∈ ((1...𝑁) ∖ {𝑁}), 𝑗 ∈ ((1...𝑁) ∖ {𝑁}) ↦ (𝑖𝑀𝑗)))
34 eqid 2621 . . . 4 (Base‘((1...(𝑁 − 1)) Mat 𝑅)) = (Base‘((1...(𝑁 − 1)) Mat 𝑅))
3513, 15, 34, 6, 10, 9, 9, 30smatcl 29650 . . 3 ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → (𝑁(subMat1‘𝑀)𝑁) ∈ (Base‘((1...(𝑁 − 1)) Mat 𝑅)))
36 eqid 2621 . . . 4 ((1...(𝑁 − 1)) Mat 𝑅) = ((1...(𝑁 − 1)) Mat 𝑅)
3736, 34matmpt2 29651 . . 3 ((𝑁(subMat1‘𝑀)𝑁) ∈ (Base‘((1...(𝑁 − 1)) Mat 𝑅)) → (𝑁(subMat1‘𝑀)𝑁) = (𝑖 ∈ (1...(𝑁 − 1)), 𝑗 ∈ (1...(𝑁 − 1)) ↦ (𝑖(𝑁(subMat1‘𝑀)𝑁)𝑗)))
3835, 37syl 17 . 2 ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → (𝑁(subMat1‘𝑀)𝑁) = (𝑖 ∈ (1...(𝑁 − 1)), 𝑗 ∈ (1...(𝑁 − 1)) ↦ (𝑖(𝑁(subMat1‘𝑀)𝑁)𝑗)))
3929, 33, 383eqtr4rd 2666 1 ((𝑁 ∈ ℕ ∧ 𝑀𝐵) → (𝑁(subMat1‘𝑀)𝑁) = (𝑁(((1...𝑁) subMat 𝑅)‘𝑀)𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wcel 1987  cdif 3552  {csn 4148   × cxp 5072  cfv 5847  (class class class)co 6604  cmpt2 6606  𝑚 cmap 7802  1c1 9881  cmin 10210  cn 10964  cz 11321  cuz 11631  ...cfz 12268  ..^cfzo 12406  Basecbs 15781   Mat cmat 20132   subMat csubma 20301  subMat1csmat 29641
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902  ax-cnex 9936  ax-resscn 9937  ax-1cn 9938  ax-icn 9939  ax-addcl 9940  ax-addrcl 9941  ax-mulcl 9942  ax-mulrcl 9943  ax-mulcom 9944  ax-addass 9945  ax-mulass 9946  ax-distr 9947  ax-i2m1 9948  ax-1ne0 9949  ax-1rid 9950  ax-rnegex 9951  ax-rrecex 9952  ax-cnre 9953  ax-pre-lttri 9954  ax-pre-lttrn 9955  ax-pre-ltadd 9956  ax-pre-mulgt0 9957
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-ot 4157  df-uni 4403  df-int 4441  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-riota 6565  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-om 7013  df-1st 7113  df-2nd 7114  df-supp 7241  df-wrecs 7352  df-recs 7413  df-rdg 7451  df-1o 7505  df-oadd 7509  df-er 7687  df-map 7804  df-ixp 7853  df-en 7900  df-dom 7901  df-sdom 7902  df-fin 7903  df-fsupp 8220  df-sup 8292  df-pnf 10020  df-mnf 10021  df-xr 10022  df-ltxr 10023  df-le 10024  df-sub 10212  df-neg 10213  df-nn 10965  df-2 11023  df-3 11024  df-4 11025  df-5 11026  df-6 11027  df-7 11028  df-8 11029  df-9 11030  df-n0 11237  df-z 11322  df-dec 11438  df-uz 11632  df-fz 12269  df-fzo 12407  df-struct 15783  df-ndx 15784  df-slot 15785  df-base 15786  df-sets 15787  df-ress 15788  df-plusg 15875  df-mulr 15876  df-sca 15878  df-vsca 15879  df-ip 15880  df-tset 15881  df-ple 15882  df-ds 15885  df-hom 15887  df-cco 15888  df-0g 16023  df-prds 16029  df-pws 16031  df-sra 19091  df-rgmod 19092  df-dsmm 19995  df-frlm 20010  df-mat 20133  df-subma 20302  df-smat 29642
This theorem is referenced by:  submatres  29654  madjusmdetlem1  29675
  Copyright terms: Public domain W3C validator