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

Theorem submaval 20306
Description: Third substitution for a submatrix. (Contributed by AV, 28-Dec-2018.)
Hypotheses
Ref Expression
submafval.a 𝐴 = (𝑁 Mat 𝑅)
submafval.q 𝑄 = (𝑁 subMat 𝑅)
submafval.b 𝐵 = (Base‘𝐴)
Assertion
Ref Expression
submaval ((𝑀𝐵𝐾𝑁𝐿𝑁) → (𝐾(𝑄𝑀)𝐿) = (𝑖 ∈ (𝑁 ∖ {𝐾}), 𝑗 ∈ (𝑁 ∖ {𝐿}) ↦ (𝑖𝑀𝑗)))
Distinct variable groups:   𝑖,𝑁,𝑗   𝑅,𝑖,𝑗   𝑖,𝑀,𝑗   𝑖,𝐾,𝑗   𝑖,𝐿,𝑗
Allowed substitution hints:   𝐴(𝑖,𝑗)   𝐵(𝑖,𝑗)   𝑄(𝑖,𝑗)

Proof of Theorem submaval
Dummy variables 𝑘 𝑙 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 submafval.a . . . 4 𝐴 = (𝑁 Mat 𝑅)
2 submafval.q . . . 4 𝑄 = (𝑁 subMat 𝑅)
3 submafval.b . . . 4 𝐵 = (Base‘𝐴)
41, 2, 3submaval0 20305 . . 3 (𝑀𝐵 → (𝑄𝑀) = (𝑘𝑁, 𝑙𝑁 ↦ (𝑖 ∈ (𝑁 ∖ {𝑘}), 𝑗 ∈ (𝑁 ∖ {𝑙}) ↦ (𝑖𝑀𝑗))))
543ad2ant1 1080 . 2 ((𝑀𝐵𝐾𝑁𝐿𝑁) → (𝑄𝑀) = (𝑘𝑁, 𝑙𝑁 ↦ (𝑖 ∈ (𝑁 ∖ {𝑘}), 𝑗 ∈ (𝑁 ∖ {𝑙}) ↦ (𝑖𝑀𝑗))))
6 simp2 1060 . . 3 ((𝑀𝐵𝐾𝑁𝐿𝑁) → 𝐾𝑁)
7 simpl3 1064 . . 3 (((𝑀𝐵𝐾𝑁𝐿𝑁) ∧ 𝑘 = 𝐾) → 𝐿𝑁)
81, 3matrcl 20137 . . . . . . . . 9 (𝑀𝐵 → (𝑁 ∈ Fin ∧ 𝑅 ∈ V))
98simpld 475 . . . . . . . 8 (𝑀𝐵𝑁 ∈ Fin)
10 diffi 8136 . . . . . . . 8 (𝑁 ∈ Fin → (𝑁 ∖ {𝑘}) ∈ Fin)
119, 10syl 17 . . . . . . 7 (𝑀𝐵 → (𝑁 ∖ {𝑘}) ∈ Fin)
12 diffi 8136 . . . . . . . 8 (𝑁 ∈ Fin → (𝑁 ∖ {𝑙}) ∈ Fin)
139, 12syl 17 . . . . . . 7 (𝑀𝐵 → (𝑁 ∖ {𝑙}) ∈ Fin)
1411, 13jca 554 . . . . . 6 (𝑀𝐵 → ((𝑁 ∖ {𝑘}) ∈ Fin ∧ (𝑁 ∖ {𝑙}) ∈ Fin))
15143ad2ant1 1080 . . . . 5 ((𝑀𝐵𝐾𝑁𝐿𝑁) → ((𝑁 ∖ {𝑘}) ∈ Fin ∧ (𝑁 ∖ {𝑙}) ∈ Fin))
1615adantr 481 . . . 4 (((𝑀𝐵𝐾𝑁𝐿𝑁) ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → ((𝑁 ∖ {𝑘}) ∈ Fin ∧ (𝑁 ∖ {𝑙}) ∈ Fin))
17 mpt2exga 7191 . . . 4 (((𝑁 ∖ {𝑘}) ∈ Fin ∧ (𝑁 ∖ {𝑙}) ∈ Fin) → (𝑖 ∈ (𝑁 ∖ {𝑘}), 𝑗 ∈ (𝑁 ∖ {𝑙}) ↦ (𝑖𝑀𝑗)) ∈ V)
1816, 17syl 17 . . 3 (((𝑀𝐵𝐾𝑁𝐿𝑁) ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → (𝑖 ∈ (𝑁 ∖ {𝑘}), 𝑗 ∈ (𝑁 ∖ {𝑙}) ↦ (𝑖𝑀𝑗)) ∈ V)
19 sneq 4158 . . . . . . 7 (𝑘 = 𝐾 → {𝑘} = {𝐾})
2019difeq2d 3706 . . . . . 6 (𝑘 = 𝐾 → (𝑁 ∖ {𝑘}) = (𝑁 ∖ {𝐾}))
2120adantr 481 . . . . 5 ((𝑘 = 𝐾𝑙 = 𝐿) → (𝑁 ∖ {𝑘}) = (𝑁 ∖ {𝐾}))
22 sneq 4158 . . . . . . 7 (𝑙 = 𝐿 → {𝑙} = {𝐿})
2322difeq2d 3706 . . . . . 6 (𝑙 = 𝐿 → (𝑁 ∖ {𝑙}) = (𝑁 ∖ {𝐿}))
2423adantl 482 . . . . 5 ((𝑘 = 𝐾𝑙 = 𝐿) → (𝑁 ∖ {𝑙}) = (𝑁 ∖ {𝐿}))
25 eqidd 2622 . . . . 5 ((𝑘 = 𝐾𝑙 = 𝐿) → (𝑖𝑀𝑗) = (𝑖𝑀𝑗))
2621, 24, 25mpt2eq123dv 6670 . . . 4 ((𝑘 = 𝐾𝑙 = 𝐿) → (𝑖 ∈ (𝑁 ∖ {𝑘}), 𝑗 ∈ (𝑁 ∖ {𝑙}) ↦ (𝑖𝑀𝑗)) = (𝑖 ∈ (𝑁 ∖ {𝐾}), 𝑗 ∈ (𝑁 ∖ {𝐿}) ↦ (𝑖𝑀𝑗)))
2726adantl 482 . . 3 (((𝑀𝐵𝐾𝑁𝐿𝑁) ∧ (𝑘 = 𝐾𝑙 = 𝐿)) → (𝑖 ∈ (𝑁 ∖ {𝑘}), 𝑗 ∈ (𝑁 ∖ {𝑙}) ↦ (𝑖𝑀𝑗)) = (𝑖 ∈ (𝑁 ∖ {𝐾}), 𝑗 ∈ (𝑁 ∖ {𝐿}) ↦ (𝑖𝑀𝑗)))
286, 7, 18, 27ovmpt2dv2 6747 . 2 ((𝑀𝐵𝐾𝑁𝐿𝑁) → ((𝑄𝑀) = (𝑘𝑁, 𝑙𝑁 ↦ (𝑖 ∈ (𝑁 ∖ {𝑘}), 𝑗 ∈ (𝑁 ∖ {𝑙}) ↦ (𝑖𝑀𝑗))) → (𝐾(𝑄𝑀)𝐿) = (𝑖 ∈ (𝑁 ∖ {𝐾}), 𝑗 ∈ (𝑁 ∖ {𝐿}) ↦ (𝑖𝑀𝑗))))
295, 28mpd 15 1 ((𝑀𝐵𝐾𝑁𝐿𝑁) → (𝐾(𝑄𝑀)𝐿) = (𝑖 ∈ (𝑁 ∖ {𝐾}), 𝑗 ∈ (𝑁 ∖ {𝐿}) ↦ (𝑖𝑀𝑗)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384  w3a 1036   = wceq 1480  wcel 1987  Vcvv 3186  cdif 3552  {csn 4148  cfv 5847  (class class class)co 6604  cmpt2 6606  Fincfn 7899  Basecbs 15781   Mat cmat 20132   subMat csubma 20301
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
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-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-uni 4403  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-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-ov 6607  df-oprab 6608  df-mpt2 6609  df-om 7013  df-1st 7113  df-2nd 7114  df-er 7687  df-en 7900  df-fin 7903  df-slot 15785  df-base 15786  df-mat 20133  df-subma 20302
This theorem is referenced by:  submaeval  20307  1marepvsma1  20308  smadiadet  20395  submat1n  29653  submatres  29654  madjusmdetlem1  29675
  Copyright terms: Public domain W3C validator