Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Kernel of a difference of orthogonal projections

Proved
QAlgorithms.Papers.Independent.Intake100.P23.projectionDifference_kernel

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let V1,V2V_1,V_2V1​,V2​ be closed subspaces of a real or complex Hilbert space FFF, and let P1,P2P_1,P_2P1​,P2​ be their orthogonal projections, all over the same scalar field. Then

ker⁡(P1−P2)=(V1∩V2)+(V1⊥∩V2⊥).\ker(P_1-P_2)=(V_1\cap V_2)+(V_1^\perp\cap V_2^\perp).ker(P1​−P2​)=(V1​∩V2​)+(V1⊥​∩V2⊥​).

The plus sign is the algebraic subspace sum, represented by the supremum in the lattice of linear subspaces. This elementary identity underlies the projection criteria for real subspaces of complex Hilbert spaces.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P23
Formal statement
noncomputable section

open scoped BigOperators

namespace QAlgorithms.Papers.Independent.Intake100.P23

open QAlgorithms.Papers.Independent.Renew46.P03 (tensorVector)

variable {Y : Type*} [AddCommGroup Y] [Module ℝ Y]

variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]

section Projections

/-- PDF p.60, Lemma 1: algebraic sum of intersections and the projection kernel.
The scalar field is the same for both complements and both projections. -/
theorem projectionDifference_kernel
    {K F : Type*} [RCLike K] [NormedAddCommGroup F] [InnerProductSpace K F] [CompleteSpace F]
    (V1 V2 : ClosedSubmodule K F) :
    (V1.toSubmodule ⊓ V2.toSubmodule) ⊔
        (V1.toSubmoduleᗮ ⊓ V2.toSubmoduleᗮ) =
      LinearMap.ker ((V1.toSubmodule.starProjection - V2.toSubmodule.starProjection).toLinearMap) := by sorry

end Projections

end QAlgorithms.Papers.Independent.Intake100.P23

end
Source
Introduction to representations of the canonical commutation and anticommutation relations, arXiv:math-ph/0511030v2, PDF p. 60, Lemma 1: kernel of a difference of projections
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For any real-like scalar field K\mathbb KK, any complete inner product space FFF over K\mathbb KK, and any closed K\mathbb KK-linear subspaces V1,V2⊆FV_1,V_2\subseteq FV1​,V2​⊆F, let P1,P2P_1,P_2P1​,P2​ be their orthogonal projections. Then (V1∩V2)+(V1⊥∩V2⊥)=ker⁡(P1−P2)(V_1\cap V_2)+(V_1^\perp\cap V_2^\perp)=\ker(P_1-P_2)(V1​∩V2​)+(V1⊥​∩V2⊥​)=ker(P1​−P2​), where the sum denotes the algebraic sum, equivalently the least linear subspace containing both intersections. Zero subspaces, whole spaces, and the zero ambient space are included.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

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