Remark 2: Notation Conventions #
We establish the following notation conventions used throughout this formalization:
∂(boundary/differential): In Mathlib, this isHomologicalComplex.d i jfor a homological complex. For chain complexes (ComplexShape.down ℤ),d i jmaps from degreeito degreej = i - 1.δ(coboundary/transpose of∂): For cochain complexes (ComplexShape.up ℤ), the differentiald i jmaps from degreeito degreej = i + 1. The transpose of a linear map isModule.Dual.transpose.im(image of a linear map):LinearMap.range fin Mathlib.id(identity map):LinearMap.idin Mathlib.Tot(total complex functor):HomologicalComplex.totalin Mathlib.Z_i(C)(cycles) =ker ∂_i: In Mathlib,HomologicalComplex.cycles C i.B_i(C)(boundaries) =im ∂_{i+1}: In Mathlib,HomologicalComplex.opcycles C icaptures the cokernel side; boundaries are the image of the incoming differential.H_i(C)(homology) =Z_i(C)/B_i(C): In Mathlib,HomologicalComplex.homology C i.Similarly for cochains:
Z^i,B^i,H^iuse the same Mathlib API applied to cochain complexes (CochainComplex).
Main Definitions #
ChainComplex𝔽₂: chain complexes of 𝔽₂-modules indexed by ℤCochainComplex𝔽₂: cochain complexes of 𝔽₂-modules indexed by ℤ
Key Mathlib Correspondences #
HomologicalComplex.d— differential (∂ or δ depending on chain/cochain)HomologicalComplex.cycles— cycles (Z_i or Z^i)HomologicalComplex.homology— homology (H_i or H^i)LinearMap.range— image of a linear map (im)Module.Dual.transpose— transpose/coboundary construction (δ = ∂ᵀ)LinearMap.id— identity map (id)
Chain and cochain complexes over 𝔽₂ #
A chain complex of 𝔽₂-vector spaces indexed by ℤ. The differential d i j
maps from degree i to degree j where j + 1 = i (i.e., j = i - 1).
This corresponds to the paper's (C_•, ∂).
Equations
Instances For
A cochain complex of 𝔽₂-vector spaces indexed by ℤ. The differential d i j
maps from degree i to degree j where i + 1 = j. In the paper, the coboundary
δ^i : C^i → C^{i+1} is the transpose of ∂_{i+1}.
Equations
Instances For
Notation dictionary #
The following section documents the precise correspondence between paper notation and Mathlib definitions. We provide abbreviations for frequently used constructions.
The boundary/differential map ∂_i : C_i → C_{i-1} in a chain complex is
C.d i j in Mathlib where (ComplexShape.down ℤ).Rel i j.
Equations
- NotationConventions.boundary C i j = C.d i j
Instances For
The coboundary map δ^i : C^i → C^{i+1} in a cochain complex is
C.d i j in Mathlib where (ComplexShape.up ℤ).Rel i j.
Equations
- NotationConventions.coboundary C i j = C.d i j
Instances For
The image of a linear map f, denoted im f in the paper,
corresponds to LinearMap.range f in Mathlib.
Equations
Instances For
The identity linear map, denoted id in the paper,
corresponds to LinearMap.id in Mathlib.
Equations
Instances For
The transpose (dual) of a linear map f : M → N is
Module.Dual.transpose f : N* → M*. In the paper, δ = ∂ᵀ.
Equations
Instances For
Basic properties connecting paper notation to Mathlib #
The differential in a chain complex satisfies ∂² = 0, i.e., d ≫ d = 0.
The differential in a cochain complex satisfies δ² = 0, i.e., d ≫ d = 0.
The image of a linear map equals its range: im f = LinearMap.range f.
The identity map is LinearMap.id.