Functoriality of the type of matrices
Content created by Fredrik Bakke, Jonathan Prieto-Cubides and Egbert Rijke.
Created on 2022-03-22.
Last modified on 2024-03-19.
module linear-algebra.functoriality-matrices where
Imports
open import elementary-number-theory.natural-numbers open import foundation.universe-levels open import linear-algebra.functoriality-vectors open import linear-algebra.matrices
Idea
Any map f : A → B
induces a map matrix A m n → matrix B m n
.
Definition
module _ {l1 l2 : Level} {A : UU l1} {B : UU l2} (f : A → B) where map-matrix : {m n : ℕ} → matrix A m n → matrix B m n map-matrix = map-vec (map-vec f)
Binar maps
module _ {l1 l2 l3 : Level} {A : UU l1} {B : UU l2} {C : UU l3} (f : A → B → C) where binary-map-matrix : {m n : ℕ} → matrix A m n → matrix B m n → matrix C m n binary-map-matrix = binary-map-vec (binary-map-vec f)
Recent changes
- 2024-03-19. Fredrik Bakke. chore: fix some typos in the library (#1083).
- 2023-03-10. Fredrik Bakke. Additions to
fix-import
(#497). - 2023-03-09. Jonathan Prieto-Cubides. Add hooks (#495).
- 2023-03-07. Fredrik Bakke. Add blank lines between
<details>
tags and markdown syntax (#490). - 2023-03-07. Jonathan Prieto-Cubides. Show module declarations (#488).