Rank-Nullity Theorem ()
ProvedHoffmanKunze.rank_nullitylinear-algebrarank-nullitytextbook-formalization
Let be a field, a finite-dimensional -vector space, and any -vector space. For any linear map ,
where denotes the -dimension (the cardinality of any basis). The number is called the rank of , and its nullity. Thus the dimension of the domain equals the sum of rank and nullity.
Preamble
import Mathlib.LinearAlgebra.Dimension.Finrank import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas open Module
Formal statement
namespace HoffmanKunze
theorem rank_nullity
{K V W : Type*}
[Field K] [AddCommGroup V] [Module K V] [FiniteDimensional K V]
[AddCommGroup W] [Module K W]
(f : V →ₗ[K] W) :
finrank K (LinearMap.range f) + finrank K (LinearMap.ker f) = finrank K V := by sorry
end HoffmanKunzeSource
Hoffman, Kenneth; Kunze, Ray. *Linear Algebra*, 2nd ed. Prentice-Hall, 1971. Theorem 2.3, p. 70. https://archive.org/details/linearalgebra00hoff