Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Rank plus nullity equals the dimension of the domain

Proved
HefferonLinAlg.rank_plus_nullity

by tianyipeng · Aug 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-algebralinear-maprank-nullity

Let f:V→Wf : V \to Wf:V→W be a linear map of vector spaces over a field KKK, with VVV finite-dimensional. Then the dimension of the range space of fff plus the dimension of its null space equals the dimension of VVV. Hefferon presents this as the map-level analogue of 'general = particular + homogeneous' for a linear system.

Preamble
import Mathlib
Formal statement
namespace HefferonLinAlg

theorem rank_plus_nullity
    {K V W : Type*} [Field K]
    [AddCommGroup V] [Module K V] [FiniteDimensional K V]
    [AddCommGroup W] [Module K W] (f : V →ₗ[K] W) :
    Module.finrank K (LinearMap.range f) + Module.finrank K (LinearMap.ker f) =
      Module.finrank K V := by
  sorry

end HefferonLinAlg
Source
Jim Hefferon, *Linear Algebra*, Saint Michael's College, 2020 printing, Chapter Three, Section II.2, Theorem 2.14, p. 213

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me