Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Algebraic Topology

30 missions · 18 completed

Missions

Open12Completed18All30
🏆Completed
Dynamical SystemsMathematical PhysicsNumber Theory·Captain: lisamegawatts

Winding Arithmetic III: Faithful Dense Phase CharacterResearch Paper

Motivation

An integer winding label is discrete, but its exponential readout lies on a continuous circle. This mission makes that relationship exact. For a nonzero real algebraic angle α\alphaα, the map

n⟼einαn\longmapsto e^{i n\alpha}n⟼einα

is simultaneously a group character, a faithful encoding of Z\mathbb ZZ, and a countable dense orbit in the unit circle. Its complex values also form a linearly independent family over the algebraic complex numbers Q‾\overline{\mathbb Q}Q​.

The result welds three previously completed interfaces. Circle covering theory produces canonical integer winding. Irrational-rotation theory classifies when an integer orbit is dense. Lindemann–Weierstrass gives the arithmetic rigidity that excludes resonance and algebraic linear relations. The point is not that topology alone proves transcendence, or that transcendence constructs winding: the theorem records the precise composition of the three layers.

The foundations are the completed private missions Winding Dynamics I, Lindemann–Weierstrass I, and Winding Arithmetic II. The transcendence layer is an attributed Lean 4.30-compatible port of Yuyang Zhao's mathlib PR #28013.

Setting

Write S1⊂CS^1\subset\mathbb CS1⊂C for the complex unit circle. For a real angle α\alphaα and integer nnn, define

phase⁡α(n)=einα∈S1.\operatorname{phase}_\alpha(n)=e^{i n\alpha}\in S^1.phaseα​(n)=einα∈S1.

This is an additive-to-multiplicative character: phase at 000 is 111, and phase at m+nm+nm+n is the product of the phases at mmm and nnn.

A based Circle loop γ\gammaγ has a canonical integer wind⁡(γ)\operatorname{wind}(\gamma)wind(γ), obtained from the endpoint of its zero-based lift through the exponential cover. Its real phase readout is phase⁡α(wind⁡(γ))\operatorname{phase}_\alpha(\operatorname{wind}(\gamma))phaseα​(wind(γ)).

The orbit is dense when every nonempty open subset of S1S^1S1 contains some phase⁡α(n)\operatorname{phase}_\alpha(n)phaseα​(n). It is faithful when distinct integers have distinct phases. These properties are compatible: a countable subset may be dense without being all of the circle.

Formalization targets

Irrational rotation criterion

For every real α\alphaα,

DenseRange⁡(n↦einα)⟺α2π∉Q.\operatorname{DenseRange}(n\mapsto e^{i n\alpha}) \quad\Longleftrightarrow\quad \frac{\alpha}{2\pi}\notin\mathbb Q.DenseRange(n↦einα)⟺2πα​∈/Q.

The proof identifies the phase orbit with integer multiples in R/(2πZ)\mathbb R/(2\pi\mathbb Z)R/(2πZ) and transports Mathlib's irrational-rotation theorem through the standard homeomorphism with the complex unit circle.

Algebraic angles are nonresonant

If α∈R\alpha\in\mathbb Rα∈R is nonzero and algebraic over Q\mathbb QQ, then α/(2π)\alpha/(2\pi)α/(2π) is irrational. Otherwise π\piπ would be algebraic, contradicting the proved transcendence of π\piπ. Consequently the real phase character has dense range.

Faithfulness and arithmetic rigidity

For the same nonzero algebraic α\alphaα, the character is injective and

(einα)n∈Z\bigl(e^{i n\alpha}\bigr)_{n\in\mathbb Z}(einα)n∈Z​

is linearly independent over Q‾\overline{\mathbb Q}Q​. The first conclusion says no two winding integers alias. The second says no nontrivial finite algebraic-coefficient linear relation exists among the phase values.

Actual Circle-loop consumer

For based Circle loops γ\gammaγ and δ\deltaδ,

eiαwind⁡(γ)=eiαwind⁡(δ)⟺wind⁡(γ)=wind⁡(δ).e^{i\alpha\operatorname{wind}(\gamma)} =e^{i\alpha\operatorname{wind}(\delta)} \quad\Longleftrightarrow\quad \operatorname{wind}(\gamma)=\operatorname{wind}(\delta).eiαwind(γ)=eiαwind(δ)⟺wind(γ)=wind(δ).

This consumes the canonical covering-space winding rather than an arbitrary externally supplied integer.

Resonance control

At the full-turn angle α=2π\alpha=2\piα=2π, every integer phase is 111, so the character is not injective. This negative control is outside the algebraic-angle regime because π\piπ is transcendental. It records exactly why a nonresonance hypothesis is load-bearing.

Significance

The capstone exhibits one object with three complementary properties:

  1. topological discreteness — values are indexed by integer winding;
  2. dynamical density — the countable orbit visits every Circle neighborhood;
  3. arithmetic rigidity — distinct values are faithful and linearly independent over Q‾\overline{\mathbb Q}Q​.

This is a precise version of the intuitive claim that winding creates an integer coordinate whose phase representation explores a continuum. The continuum statement is density, not surjectivity: the image remains countable. The arithmetic statement is linear independence, not algebraic independence of the separate phase variables; the character law itself supplies multiplicative relations.

Together with Winding Arithmetic II, continuous homotopy preserves these readouts and a registered reset ledger factorizes their changes. This mission isolates the extra fact that the resulting character is both faithful and dense for every nonzero real algebraic angle.

Difficulty

No single layer implies the capstone by itself. The Circle exponential is periodic, so injectivity requires a genuine nonresonance argument. Density requires the exact normalization by 2π2\pi2π and transport through the AddCircle–Circle homeomorphism in both directions. Linear independence requires the completed Lindemann–Weierstrass theorem, not merely irrationality or transcendence of π\piπ.

The coercion bridge between the real Circle phase and the complex exponential character is also orientation-sensitive: the formal phase is exactly exp⁡(inα)\exp(i n\alpha)exp(inα). Reversing the sign would still define a dense faithful character, but it would not be the registered convention used by the prior winding arithmetic mission.

Formalization scope

All artifacts use Lean 4.30 and Mathlib revision c5ea00351c28e24afc9f0f84379aa41082b1188f. Circle density is stated only for real α\alphaα. The arithmetic conclusions require both IsAlgebraic ℚ α and α≠0\alpha\ne0α=0.

The actual-loop theorem proves equality of phase values if and only if equality of canonical winding integers. It does not claim that the loops themselves are equal, and it does not add a new classification of homotopy classes. That classification remains the responsibility of the Circle covering-space layer.

The theorem proves a faithful representation of winding values, not the existence of winding in an arbitrary physical model. A Kuramoto, XY, or Lohe consumer must still provide a jointly continuous Circle field or a preserved non-simply-connected carrier and readout. No particle–wave or quantum-mechanical interpretation is asserted.

Selected references

  • Yuyang Zhao, The Lindemann–Weierstrass theorem, mathlib4 PR #28013, 2022–2026. https://github.com/leanprover-community/mathlib4/pull/28013
  • Nathan Jacobson, Basic Algebra I, 2nd edition, W. H. Freeman, 1985, §4.12, Theorem 4.22.
  • Lean mathematical library, Dense subgroups of the additive circle. https://leanprover-community.github.io/mathlib4_docs/Mathlib/Topology/Instances/AddCircle/DenseSubgroup.html
  • Allen Hatcher, Algebraic Topology, Cambridge University Press, 2002, Chapter 1. https://pi.math.cornell.edu/~hatcher/AT/AT.pdf
15 thms1 active userReviewed
🏆Completed
Dynamical SystemsMathematical PhysicsNumber Theory·Captain: lisamegawatts

Winding Arithmetic II: Conserved Phase BasesResearch Paper

Motivation

Winding number is a topological integer: continuous deformation preserves it, while crossing a branch cut or registering a reset can change it by an integer amount. Transcendence theory gives a different kind of rigidity. For a nonzero algebraic coupling α\alphaα, the phases eiαne^{i\alpha n}eiαn attached to distinct integers nnn are linearly independent over the field Q‾\overline{\mathbb Q}Q​ of algebraic complex numbers. This mission joins those statements at their exact formal interfaces.

The result is useful wherever a model first produces an integer winding label and then represents that label by a complex phase. Topology supplies the discrete coordinate, dynamics determines when it is conserved or reset, and Lindemann–Weierstrass supplies arithmetic distinguishability. None of those layers is asked to manufacture the others.

The foundation comes from three completed private missions: Winding Dynamics I: Homotopy Conservation and Reset Balance, Integer Winding Transcendence I: Exponential Phase Independence, and Lindemann–Weierstrass I: Exponential Independence. The transcendence proof is an attributed Lean 4.30-compatible port of Yuyang Zhao's mathlib PR #28013.

Setting

Let S1S^1S1 be the complex unit circle. A based Circle loop is a continuous path in S1S^1S1 that starts and ends at 111. Its canonical real lift through the exponential covering starts at 000; the lift endpoint determines an integer wind⁡(γ)\operatorname{wind}(\gamma)wind(γ).

For β∈C\beta\in\mathbb Cβ∈C and n∈Zn\in\mathbb Zn∈Z, define the integer exponential character

χβ(n)=exp⁡(nβ).\chi_\beta(n)=\exp(n\beta).χβ​(n)=exp(nβ).

The arithmetic consumer uses β=iα\beta=i\alphaβ=iα, where α\alphaα is nonzero and algebraic over Q\mathbb QQ. Thus a loop γ\gammaγ carries the phase χiα(wind⁡(γ))\chi_{i\alpha}(\operatorname{wind}(\gamma))χiα​(wind(γ)).

A closed Circle field is a jointly continuous map on the time/spatial square I×II\times II×I whose two spatial endpoints agree at every time. Each spatial slice is normalized by its moving basepoint, producing a based loop. A carrier/readout segment generalizes this: an ambient trajectory remains in a registered carrier subspace and is observed through a continuous map from that carrier to S1S^1S1.

The discontinuous branch is represented separately by a finite reset ledger. It stores successive integer edge-turn cochains. Pairing those cochains with a certified closed edge cycle produces integer winding values and reset periods.

Formalization targets

Circle winding separates algebraic phases

For a family of loops (γj)j∈J(\gamma_j)_{j\in J}(γj​)j∈J​ with pairwise-distinct windings,

(eiαwind⁡(γj))j∈J is linearly independent over Q‾.\left(e^{i\alpha\operatorname{wind}(\gamma_j)}\right)_{j\in J} \text{ is linearly independent over }\overline{\mathbb Q}.(eiαwind(γj​))j∈J​ is linearly independent over Q​.

Continuous evolution preserves the phase basis

If the initial windings of a family of closed Circle fields are distinct, then the initial phase family is linearly independent, every phase is unchanged between endpoint times, and the final phase family remains linearly independent. The same conclusion is exposed through the carrier/readout interface.

Reset balance becomes phase factorization

If a reset ledger has endpoint winding change Wf−WiW_{\mathrm f}-W_{\mathrm i}Wf​−Wi​ and registered reset periods ΔWj\Delta W_jΔWj​, then

χβ(Wf−Wi)=∏jχβ(ΔWj).\chi_\beta(W_{\mathrm f}-W_{\mathrm i}) =\prod_j\chi_\beta(\Delta W_j).χβ​(Wf​−Wi​)=j∏​χβ​(ΔWj​).

This is the multiplicative image of the exact additive ledger balance.

The phase readout is faithful

For nonzero algebraic α\alphaα, the character χiα\chi_{i\alpha}χiα​ is injective on Z\mathbb ZZ. Consequently, two actual Circle loops have equal algebraic phase readouts exactly when they have equal canonical winding. On the reset branch,

∏jχiα(ΔWj)=1⟺Wf=Wi.\prod_j\chi_{i\alpha}(\Delta W_j)=1 \quad\Longleftrightarrow\quad W_{\mathrm f}=W_{\mathrm i}.j∏​χiα​(ΔWj​)=1⟺Wf​=Wi​.

Thus the multiplicative reset record detects zero net winding change without losing integer information.

Significance

The main theorem upgrades conservation of a single integer to conservation of an arithmetic basis. Distinct homotopy classes do not merely retain distinct integer labels: after the algebraic exponential readout, the corresponding phases admit no nontrivial finite linear relation with algebraic coefficients. This lets downstream consumers treat a family of winding sectors as a linearly independent family over Q‾\overline{\mathbb Q}Q​.

The reset theorem provides the matching event law. Continuous evolution preserves the basis, whereas a registered reset multiplies phases according to the reset periods. The two branches share one character but retain different hypotheses, so a discontinuous ledger event is not misrepresented as a continuous homotopy.

The algebraic readout is also faithful: despite taking values on the complex exponential curve, it neither aliases two winding sectors nor hides a nonzero net reset behind total phase 111 under the stated algebraic hypothesis.

This does not establish a particle–wave duality or a quantum-mechanical interpretation. It establishes a precise mathematical analogy: an integer topological label has a complex character representation whose distinct values enjoy a strong arithmetic independence theorem under an algebraic nonresonance condition.

Difficulty

The individual deductions are short only because three difficult interfaces have already been proved. Replacing an arbitrary integer map by actual Circle winding requires using the canonical covering lift rather than postulating labels. Preserving the phase basis requires transporting injectivity and linear independence through a jointly continuous moving-basepoint normalization. The reset branch requires respecting the sign convention and mapping a finite sum to a finite product, including the empty ledger.

Several tempting statements would be false. Duplicate winding labels cannot give a linearly independent family. The exponent α=0\alpha=0α=0 collapses every phase to 111. Continuity of finitely many vertex phases does not by itself define a continuous spatial Circle field, and crossing the principal cut can change a discrete principal-turn winding. A global readout from a simply connected carrier such as all of SU(2)SU(2)SU(2) cannot support nonzero loop winding without a separately registered non-simply-connected subcarrier or channel.

For a general complex coupling, exponential resonance can destroy injectivity. The nonzero algebraic hypothesis excludes that resonance here through the proved Lindemann--Weierstrass theorem; it is not merely a convenient side condition.

Formalization scope

All artifacts use Lean 4.30 and Mathlib revision c5ea00351c28e24afc9f0f84379aa41082b1188f. The Circle winding is the floor of the canonical zero-based lift endpoint divided by 2π2\pi2π. Closed fields live on I×II\times II×I and are normalized at spatial coordinate zero. The coupling α\alphaα is an arbitrary complex algebraic number, not necessarily real, and must be nonzero.

The main carrier/readout theorem is conditional on an explicit continuous carrier-valued trajectory, closed spatial slices, and continuous Circle readout. It does not prove existence of a Kuramoto, XY, or Lohe solution, nor preservation of a particular carrier by such an ODE. Those are model-specific successors.

The reset factorization consumes the registered coherent ledger and certified closed cycle. It is an exact algebraic event law, not an energy estimate and not a claim that every physical trajectory realizes such a ledger. Its vertex and edge types retain the universe-zero scope of the existing reset interface.

Selected references

  • Yuyang Zhao, The Lindemann–Weierstrass theorem, mathlib4 PR #28013, 2022–2026. https://github.com/leanprover-community/mathlib4/pull/28013
  • Nathan Jacobson, Basic Algebra I, 2nd edition, W. H. Freeman, 1985, §4.12, Theorem 4.22.
  • Allen Hatcher, Algebraic Topology, Cambridge University Press, 2002, Chapter 1. https://pi.math.cornell.edu/~hatcher/AT/AT.pdf
13 thms1 active userReviewed
🏆Completed
Information TheoryQuantum Error CorrectionQuantum Information·Captain: Rui Chao

Higher-Dimensional Quantum Hypergraph-Product Codes with Finite RatesResearch Paper

Motivation

Quantum low-density parity-check codes encode quantum information using sparse parity constraints. A standard way to construct them is to translate binary chain complexes into Calderbank--Shor--Steane codes and to combine complexes by tensor product. Homology identifies the logical operators of the resulting code, while the smallest Hamming weight of a nontrivial homology class controls one of its distances. Determining how this distance behaves under a tensor product is therefore a basic structural question, not merely a parameter calculation.

Weilei Zeng and Leonid P. Pryadko studied products in which one factor is an arbitrary finite binary chain complex and the other is the one-complex induced by a binary matrix. Their paper was published as “Higher-Dimensional Quantum Hypergraph-Product Codes with Finite Rates,” Physical Review Letters 122, 230501 (2019). Its main distance result is Eq. (13) in the arXiv version: for this particular tensor factor, the usual product upper bound is always exact. The result extends the familiar two-complex setting of quantum hypergraph-product codes to the local structure occurring in complexes of any dimension.

Setting

A based binary chain complex consists of finite-dimensional vector spaces AiA_iAi​ over F2\mathbb F_2F2​, each equipped with a specified coordinate basis, and linear boundary maps

⋯⟶Ai+1→∂i+1Ai→∂iAi−1⟶⋯\cdots\longrightarrow A_{i+1}\xrightarrow{\partial_{i+1}}A_i \xrightarrow{\partial_i}A_{i-1}\longrightarrow\cdots⋯⟶Ai+1​∂i+1​​Ai​∂i​​Ai−1​⟶⋯

such that ∂i∂i+1=0\partial_i\partial_{i+1}=0∂i​∂i+1​=0. Its degree-iii homology is Hi(A)=ker⁡∂i/im⁡∂i+1H_i(\mathcal A)=\ker\partial_i/\operatorname{im}\partial_{i+1}Hi​(A)=ker∂i​/im∂i+1​. The homological distance is measured in the chosen basis:

di(A)=min⁡{wt⁡(x):x∈ker⁡∂i∖im⁡∂i+1}.d_i(\mathcal A)= \min\{\operatorname{wt}(x):x\in\ker\partial_i\setminus \operatorname{im}\partial_{i+1}\}.di​(A)=min{wt(x):x∈ker∂i​∖im∂i+1​}.

Following the paper, the minimum of an empty set is ∞\infty∞. Thus di(A)=∞d_i(\mathcal A)=\inftydi​(A)=∞ when Hi(A)H_i(\mathcal A)Hi​(A) is trivial.

The endpoint convention is also the one stated explicitly after Eq. (1). For an mmm-complex, ∂0:A0→{0}\partial_0:A_0\to\{0\}∂0​:A0​→{0} is the zero 0×n00\times n_00×n0​ matrix and ∂m+1:{0}→Am\partial_{m+1}:\{0\}\to A_m∂m+1​:{0}→Am​ is the zero nm×0n_m\times0nm​×0 matrix. Consequently

d0(A)=min⁡{wt⁡(x):x∈A0∖im⁡∂1}d_0(\mathcal A)=\min\{\operatorname{wt}(x): x\in A_0\setminus\operatorname{im}\partial_1\}d0​(A)=min{wt(x):x∈A0​∖im∂1​}

and

dm(A)=min⁡{wt⁡(x):0≠x∈ker⁡∂m}.d_m(\mathcal A)=\min\{\operatorname{wt}(x): 0\ne x\in\ker\partial_m\}.dm​(A)=min{wt(x):0=x∈ker∂m​}.

For an r×cr\times cr×c binary matrix PPP, the one-complex K(P)\mathcal K(P)K(P) has F2c\mathbb F_2^cF2c​ in degree one, F2r\mathbb F_2^rF2r​ in degree zero, and boundary PPP. Its two distances are

d1(K(P))=min⁡{wt⁡(x):Px=0, x≠0}d_1(\mathcal K(P))= \min\{\operatorname{wt}(x):Px=0,\ x\ne0\}d1​(K(P))=min{wt(x):Px=0, x=0}

and

d0(K(P))=min⁡{wt⁡(y):y∉im⁡P}.d_0(\mathcal K(P))= \min\{\operatorname{wt}(y):y\notin\operatorname{im}P\}.d0​(K(P))=min{wt(y):y∈/imP}.

In particular, d0=1d_0=1d0​=1 unless PPP has full row rank, in which case d0=∞d_0=\inftyd0​=∞. The degree-jjj chain group of A×K(P)\mathcal A\times\mathcal K(P)A×K(P) is

(Aj⊗F2r)⊕(Aj−1⊗F2c),(A_j\otimes\mathbb F_2^r)\oplus (A_{j-1}\otimes\mathbb F_2^c),(Aj​⊗F2r​)⊕(Aj−1​⊗F2c​),

with the standard tensor-product boundary. Over F2\mathbb F_2F2​ the usual sign in that boundary has no effect.

Formalization targets

Tensor-product upper bound for arbitrary complexes

The first milestone is Eq. (11) for two arbitrary finite-length based binary chain complexes:

dj(A×B)≤min⁡idi(A)dj−i(B).d_j(\mathcal A\times\mathcal B)\le \min_i d_i(\mathcal A)d_{j-i}(\mathcal B).dj​(A×B)≤imin​di​(A)dj−i​(B).

Rank-sensitive lower bound

Let u=rank⁡Pu=\operatorname{rank}Pu=rankP and δ=d1(K(P))\delta=d_1(\mathcal K(P))δ=d1​(K(P)). The second milestone is Theorem 1, including both of its cases:

u<r⟹dj(A×K(P))≥min⁡ ⁣(dj(A),dj−1(A)δ),u<r\Longrightarrow d_j(\mathcal A\times\mathcal K(P))\ge \min\!\left(d_j(\mathcal A),d_{j-1}(\mathcal A)\delta\right),u<r⟹dj​(A×K(P))≥min(dj​(A),dj−1​(A)δ),

and

u=r⟹dj(A×K(P))≥dj−1(A)δ.u=r\Longrightarrow d_j(\mathcal A\times\mathcal K(P))\ge d_{j-1}(\mathcal A)\delta.u=r⟹dj​(A×K(P))≥dj−1​(A)δ.

Exact distance with a one-complex

The goal is Eq. (13):

dj(A×K(P))=min⁡ ⁣(dj−1(A)d1(K(P)),dj(A)d0(K(P))).d_j(\mathcal A\times\mathcal K(P))= \min\!\left( d_{j-1}(\mathcal A)d_1(\mathcal K(P)), d_j(\mathcal A)d_0(\mathcal K(P)) \right).dj​(A×K(P))=min(dj−1​(A)d1​(K(P)),dj​(A)d0​(K(P))).

No full-rank hypothesis is imposed on PPP.

Significance

The equality determines the product distance exactly from four component distances. General tensor-product arguments immediately provide the upper bound, but an exact formula requires ruling out lower-weight homology classes that mix the two direct-sum blocks. Once established, the formula can be applied repeatedly to tensor products of one-complexes, which is the step used in the paper to obtain higher-dimensional quantum hypergraph-product code families and to compute their distances.

For formalization, the mission contributes reusable definitions of finite based binary chain data, homological distance valued in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}, the one-complex of a binary matrix, and the relevant tensor-product boundary maps. Mathlib contains Hamming weight and general homological-algebra infrastructure, while QECLean contains a closely related based length-three homological-code interface. Neither the selected Mathlib environment nor the inspected QECLean development currently supplies this rank-sensitive exact distance theorem.

Difficulty

The central issue is that Hamming weight depends on the chosen bases and is not preserved by arbitrary homological isomorphisms. A Künneth isomorphism describes the product homology and readily produces low-weight representatives, which is enough for the upper bound, but it does not by itself exclude a still lighter representative obtained by cancellation between the two tensor blocks. The lower bound must also remain valid at the endpoints of the complex and in singular cases where one or more homology groups vanish and the relevant distance is ∞\infty∞.

The theorem cannot be reduced to a dimension calculation. It must reason about supports and Hamming weights of based representatives while respecting the quotient by boundaries, and it must cover both rank⁡P<r\operatorname{rank}P<rrankP<r and rank⁡P=r\operatorname{rank}P=rrankP=r.

Formalization scope

The Lean development works over ZMod 2. A finite basis in degree iii is represented by Fin (dimension i), and a chain group is the function space from that coordinate type to ZMod 2. BasedBinaryChainComplex stores the dimension and boundary in every nonnegative degree, the chain condition, and a finite length above which all dimensions are zero. Thus the first milestone quantifies over genuinely arbitrary finite lengths for both A\mathcal AA and B\mathcal BB, rather than over a local window or a one-complex specialization. If the stored length is mmm, the zero-dimensional source in degree m+1m+1m+1 makes ∂m+1:{0}→Am\partial_{m+1}:\{0\}\to A_m∂m+1​:{0}→Am​ the unique zero map, just as the zero-dimensional target below degree zero makes ∂0:A0→{0}\partial_0:A_0\to\{0\}∂0​:A0​→{0} the unique zero map. Hence both singular endpoint cases in Eqs. (1) and (4) are represented directly.

Distances use WithTop ℕ. Their definitions are actual minima of Hamming weights of nontrivial representatives, with ⊤ produced by the empty-set case; infinite distance is not an extra hypothesis or a separately hard-coded branch. Coordinate types may be empty, which covers missing endpoint blocks. The binary matrix PPP is represented as a linear map between two finite based function spaces. Its row and column coordinate types need not be nonempty, and no injectivity or surjectivity assumption is added.

The degree-jjj product group is indexed by the disjoint union of all coordinate products Ai×Bj−iA_i\times B_{j-i}Ai​×Bj−i​ for 0≤i≤j0\le i\le j0≤i≤j. Consequently its Hamming norm is the sum of the weights of all tensor-degree blocks. The product boundary is the standard signed tensor boundary; its sign disappears over F2\mathbb F_2F2​. A formal proof verifies that every pair of consecutive product boundaries composes to zero; the cancellation of the two mixed terms uses characteristic two. Thus the product distance is taken from an actual chain complex, rather than from unrelated adjacent linear maps. A basis-free tensor product or an abstract homology group alone is insufficient for the target, because either would discard the weight data on which the statement depends. The mission does not formalize the asymptotic code-family construction later in the paper, the transposed cohomological distance, or the CSS-code parameter translation. Those are natural downstream missions; they should reuse rather than alter the present based-chain definitions.

Selected references

  • Weilei Zeng and Leonid P. Pryadko, “Higher-Dimensional Quantum Hypergraph-Product Codes with Finite Rates,” Physical Review Letters 122, 230501 (2019). arXiv:1810.01519.
  • Benjamin Audoux and Alain Couvreur, “On Tensor Products of CSS Codes,” arXiv:1512.07081 (2015), especially Proposition 1.13 and Corollary 2.14 as cited by Zeng--Pryadko.
  • Jean-Pierre Tillich and Gilles Zémor, “Quantum LDPC Codes With Positive Rate and Minimum Distance Proportional to the Square Root of the Blocklength,” IEEE Transactions on Information Theory 60 (2014), 1193--1202.
4 thms1 active userReviewed
🏆Completed
Pure Mathematics·Captain: korbonits

Hatcher Algebraic Topology III: The Classification of Covering SpacesTextbook

Motivation

The third mission in the series formalizing Allen Hatcher's Algebraic Topology (Cambridge University Press, 2002; pi.math.cornell.edu/~hatcher/AT/AT.pdf) turns to the second main topic of Chapter 1, covering spaces (Section 1.3, pp. 56–78). The first mission used the covering R→S1\mathbb{R}\to S^1R→S1 to compute π1(S1)\pi_1(S^1)π1​(S1), and the second proved van Kampen's theorem. This mission develops the general theory of covering spaces of a fixed space XXX: the lifting properties (pp. 60–62), the classification of connected covering spaces by subgroups of π1(X)\pi_1(X)π1​(X) (pp. 63–68), and deck transformations and group actions (pp. 70–72). Its goal is the classification theorem (Theorem 1.38, p. 67), Hatcher's "Galois correspondence" between path-connected covering spaces of XXX and subgroups of π1(X,x0)\pi_1(X,x_0)π1​(X,x0​), together with its companions Proposition 1.39 (deck groups and normal covers) and Proposition 1.40 (covering space actions and orbit spaces).

All statements live in the Lean namespace Hatcher used by the earlier missions.

Setting

A covering space of XXX (p. 56) is a space X~\tilde XX~ with a map p:X~→Xp:\tilde X\to Xp:X~→X such that every x∈Xx\in Xx∈X has an open neighborhood UUU whose preimage is a disjoint union of open sets each mapped homeomorphically onto UUU; p−1(U)p^{-1}(U)p−1(U) may be empty, so ppp need not be surjective. This is Mathlib's IsCoveringMap. For a covering space with basepoints p:(X~,x~0)→(X,x0)p:(\tilde X,\tilde x_0)\to(X,x_0)p:(X~,x~0​)→(X,x0​) we write

p∗:π1(X~,x~0)→π1(X,x0),H=p∗(π1(X~,x~0))≤π1(X,x0)p_*:\pi_1(\tilde X,\tilde x_0)\to\pi_1(X,x_0),\qquad H=p_*\big(\pi_1(\tilde X,\tilde x_0)\big)\le\pi_1(X,x_0)p∗​:π1​(X~,x~0​)→π1​(X,x0​),H=p∗​(π1​(X~,x~0​))≤π1​(X,x0​)

for the induced homomorphism (Hatcher.coverHom) and its image (Hatcher.coverSubgroup).

XXX is semilocally simply-connected (p. 63, Hatcher.IsSemilocallySimplyConnected) if each x∈Xx\in Xx∈X has a neighborhood UUU such that every loop at xxx contained in UUU is null-homotopic in XXX. The bundle Hatcher_Covering also fixes: the structure CoveringSpace X (a total space X~\tilde XX~ and a covering map ppp) and its pointed version PointedCover X x₀ (with x~0∈p−1(x0)\tilde x_0\in p^{-1}(x_0)x~0​∈p−1(x0​) and associated subgroup PointedCover.subgroup); isomorphism of covering spaces (p. 67), a homeomorphism f:X~1→X~2f:\tilde X_1\to\tilde X_2f:X~1​→X~2​ with p1=p2fp_1=p_2fp1​=p2​f, with or without preservation of basepoints (IsIsomorphic, IsPointedIsomorphic); the deck transformation group G(X~)G(\tilde X)G(X~) (p. 70, deckGroup), the self-homeomorphisms of X~\tilde XX~ commuting with ppp; normal covering spaces (p. 70, IsNormalCover); Hatcher's condition (∗)(\ast)(∗) for a covering space action of a group GGG on YYY (p. 72, IsCoveringSpaceAction); and the orbit space Y/GY/GY/G with its quotient map (OrbitSpace, orbitProj).

Formalization targets

Goal (Theorem 1.38, p. 67)

Let XXX be path-connected, locally path-connected and semilocally simply-connected, with basepoint x0x_0x0​. Then:

  1. every subgroup H≤π1(X,x0)H\le\pi_1(X,x_0)H≤π1​(X,x0​) is p∗π1(X~,x~0)p_*\pi_1(\tilde X,\tilde x_0)p∗​π1​(X~,x~0​) for some path-connected covering space with basepoint;
  2. two path-connected covering spaces with basepoints are isomorphic by a basepoint-preserving isomorphism iff their subgroups coincide;
  3. two path-connected covering spaces are isomorphic (basepoints ignored) iff their subgroups, at some choice of basepoints over x0x_0x0​, are conjugate in π1(X,x0)\pi_1(X,x_0)π1​(X,x0​).

Together these say that (X~,x~0)↦p∗π1(X~,x~0)(\tilde X,\tilde x_0)\mapsto p_*\pi_1(\tilde X,\tilde x_0)(X~,x~0​)↦p∗​π1​(X~,x~0​) is a bijection from basepoint-preserving isomorphism classes of path-connected covering spaces to subgroups, inducing a bijection from isomorphism classes to conjugacy classes of subgroups.

Milestones

  1. Proposition 1.31 (p. 61), first part: p∗p_*p∗​ is injective.
  2. Proposition 1.31, second part: p∗π1(X~,x~0)p_*\pi_1(\tilde X,\tilde x_0)p∗​π1​(X~,x~0​) consists of the classes of loops at x0x_0x0​ whose lifts starting at x~0\tilde x_0x~0​ are loops.
  3. Proposition 1.32 (p. 61): for X,X~X,\tilde XX,X~ path-connected, the fibre p−1(x0)p^{-1}(x_0)p−1(x0​) is in bijection with the cosets of HHH, so the number of sheets is the index of HHH.
  4. Proposition 1.33 (p. 61), the lifting criterion: for YYY path-connected and locally path-connected, f:(Y,y0)→(X,x0)f:(Y,y_0)\to(X,x_0)f:(Y,y0​)→(X,x0​) lifts to (X~,x~0)(\tilde X,\tilde x_0)(X~,x~0​) iff f∗π1(Y,y0)⊆Hf_*\pi_1(Y,y_0)\subseteq Hf∗​π1​(Y,y0​)⊆H.
  5. Proposition 1.34 (p. 62), unique lifting: two lifts of f:Y→Xf:Y\to Xf:Y→X agreeing at one point agree everywhere if YYY is connected.
  6. Necessity of semilocal simple connectivity (p. 63): if XXX has a simply-connected covering space (surjective onto XXX), then XXX is semilocally simply-connected.
  7. Existence of a simply-connected covering space (pp. 63–65): if XXX is path-connected, locally path-connected and semilocally simply-connected, it has a simply-connected covering space (the universal cover).
  8. Proposition 1.36 (p. 66): under the same hypotheses, every subgroup H≤π1(X,x0)H\le\pi_1(X,x_0)H≤π1​(X,x0​) is realized as p∗π1(XH,x~0)p_*\pi_1(X_H,\tilde x_0)p∗​π1​(XH​,x~0​) for a path-connected covering space.
  9. Proposition 1.37 (p. 67): for XXX path-connected and locally path-connected, two path-connected covering spaces with basepoints are basepoint-preservingly isomorphic iff their subgroups are equal.
  10. Change of basepoint (pp. 67–68, proof of Theorem 1.38): moving x~0\tilde x_0x~0​ within p−1(x0)p^{-1}(x_0)p−1(x0​) replaces HHH by a conjugate, and every conjugate arises this way.
  11. Proposition 1.39(a) (p. 71): a path-connected covering space of a path-connected, locally path-connected XXX is normal iff HHH is a normal subgroup.
  12. Proposition 1.39(b): G(X~)≅N(H)/HG(\tilde X)\cong N(H)/HG(X~)≅N(H)/H, given as a surjective homomorphism N(H)→G(X~)N(H)\to G(\tilde X)N(H)→G(X~) with kernel HHH.
  13. Proposition 1.39, final clause: for the universal cover, G(X~)≅π1(X,x0)G(\tilde X)\cong\pi_1(X,x_0)G(X~)≅π1​(X,x0​).
  14. Proposition 1.40(a) (p. 72): for a covering space action of GGG on YYY, the quotient map Y→Y/GY\to Y/GY→Y/G is a normal covering space.
  15. Proposition 1.40(b): if moreover YYY is path-connected, GGG is the group of deck transformations of Y→Y/GY\to Y/GY→Y/G, via g↦(y↦gy)g\mapsto(y\mapsto gy)g↦(y↦gy).
  16. Proposition 1.40(c): if YYY is path-connected and locally path-connected, G≅π1(Y/G)/p∗π1(Y)G\cong\pi_1(Y/G)/p_*\pi_1(Y)G≅π1​(Y/G)/p∗​π1​(Y), given as a surjective homomorphism π1(Y/G)→G\pi_1(Y/G)\to Gπ1​(Y/G)→G with kernel p∗π1(Y)p_*\pi_1(Y)p∗​π1​(Y).

Significance

The result itself. The classification theorem is the central structural fact about covering spaces: the connected coverings of XXX are "the same as" the subgroups of π1(X)\pi_1(X)π1​(X), with the universal cover corresponding to the trivial subgroup and normal coverings to normal subgroups. Proposition 1.40 is the standard method for computing fundamental groups of orbit spaces (π1(RPn)=Z/2\pi_1(\mathbb{RP}^n)=\mathbb{Z}/2π1​(RPn)=Z/2, π1(Tn)=Zn\pi_1(T^n)=\mathbb{Z}^nπ1​(Tn)=Zn, lens spaces) and is used throughout Hatcher's later chapters.

Formalizing it. Mathlib (at this environment's revision) already has the lifting theory for covering maps: path and homotopy lifting (IsCoveringMap.liftPath, liftHomotopy), the monodromy action (IsCoveringMap.monodromy), the injectivity of p∗p_*p∗​ (injective_path_homotopic_map, cited there as Proposition 1.31), the unique-lifting statement (IsCoveringMap.eq_of_comp_eq), and the lifting criterion itself (existsUnique_continuousMap_lifts_of_range_le, cited as Proposition 1.33). For quotient maps by a free properly discontinuous action it has IsQuotientCoveringMap, with the homomorphism π1(Y/G)→Gop\pi_1(Y/G)\to G^{\mathrm{op}}π1​(Y/G)→Gop and its kernel and surjectivity. Milestones 1, 4, 5 and 16 are therefore expected to be short reductions to Mathlib, and Mathlib's quotient-covering theory should carry most of milestones 14–15. Mathlib has no notion of semilocal simple connectivity, no construction of the universal cover or of the coverings XHX_HXH​, no classification theorem, and no deck transformation groups or normal coverings; milestones 6–13 and the goal are new.

Difficulty

The heart of the mission is the construction of the universal cover (pp. 63–65): the points are homotopy classes of paths from x0x_0x0​, the topology is generated by the sets U[γ]U_{[\gamma]}U[γ]​ for UUU in the basis of path-connected open sets on which π1\pi_1π1​ dies, and one must verify that this is a topology basis, that ppp is a covering map, and that the result is simply connected. Proposition 1.36 then passes to a quotient by HHH and checks that the projection remains a covering map. Both are elementary but long, and formalizing them requires a systematic treatment of path homotopy classes as points of a space.

Propositions 1.37 and 1.39 follow from the lifting criterion and unique lifting; the deck-group homomorphism in 1.39(b) sends a loop in N(H)N(H)N(H) to the deck transformation produced by the lifting criterion, and its kernel is computed by Proposition 1.31. Proposition 1.40(a) needs the quotient topology on Y/GY/GY/G and the evenly covered neighborhoods p(U)p(U)p(U) from condition (∗)(\ast)(∗); part (b) is the observation that a deck transformation of a path-connected cover is determined by one value. Milestone 3 is orbit–stabilizer for the monodromy action.

Formalization scope

  • Spaces are arbitrary topological spaces; hypotheses (path-connectedness, local path-connectedness, semilocal simple connectivity, connectedness of the domain in Proposition 1.34) are stated per theorem, exactly where Hatcher assumes them.
  • CoveringSpace X bundles a total space in the same universe as XXX with a covering map; the classification quantifies over covering spaces in this sense. Since the universal cover and the coverings XHX_HXH​ are constructed from paths in XXX, they live in that universe, so nothing is lost.
  • "Isomorphic" is the existence of a homeomorphism over XXX (Hatcher, p. 67), a proposition on pairs of covering spaces; Theorem 1.38 is stated as the three-part conjunction above rather than as a bijection between quotient sets, which avoids forming the set of isomorphism classes of types while asserting exactly the same content.
  • Conjugacy is expressed with Mathlib's MulAut.conj; "number of sheets equals the index" is stated as a bijection p−1(x0)≃π1(X,x0)/Hp^{-1}(x_0)\simeq\pi_1(X,x_0)/Hp−1(x0​)≃π1​(X,x0​)/H with the coset space.
  • The isomorphisms of Propositions 1.39(b) and 1.40(c) are stated as surjective homomorphisms with prescribed kernel, which is how Hatcher proves them and avoids requiring a Normal instance in the statement; the final clause of 1.39 and 1.40(b) are stated as the existence of group isomorphisms, the latter with its action on YYY prescribed.
  • A covering space action includes continuity of each y↦gyy\mapsto gyy↦gy (Hatcher's actions are by homeomorphisms). The orbit space is Mathlib's MulAction.orbitRel.Quotient with the quotient topology.
  • Trivializing readings are excluded: path-connected spaces are nonempty, and a nonempty covering space of a path-connected base is surjective; milestone 6 assumes surjectivity explicitly because its base need not be connected.

Contributions welcome: a reusable construction of the space of path classes with its topology, the covering XHX_HXH​, and the deck-group homomorphism; the short reductions to Mathlib for Propositions 1.31, 1.33 and 1.34 are good first contributions.

Selected references

  • A. Hatcher, Algebraic Topology, Cambridge University Press, 2002. Section 1.3, pp. 56–72. https://pi.math.cornell.edu/~hatcher/AT/AT.pdf
  • E. H. Spanier, Algebraic Topology, Springer, 1966, Chapter 2 (covering spaces and the classification theorem).
  • J. R. Munkres, Topology, 2nd ed., Prentice Hall, 2000, Chapter 13 (classification of covering spaces).
  • Mathlib, Mathlib/Topology/Covering/Basic.lean (covering maps). https://github.com/leanprover-community/mathlib4/blob/0df444a360eaa60ab8c11dca51a86af692955474/Mathlib/Topology/Covering/Basic.lean
  • Mathlib, Mathlib/Topology/Homotopy/Lifting.lean (path and homotopy lifting, monodromy, the lifting criterion). https://github.com/leanprover-community/mathlib4/blob/0df444a360eaa60ab8c11dca51a86af692955474/Mathlib/Topology/Homotopy/Lifting.lean
  • Mathlib, Mathlib/Topology/Covering/Quotient.lean (quotient covering maps for group actions). https://github.com/leanprover-community/mathlib4/blob/0df444a360eaa60ab8c11dca51a86af692955474/Mathlib/Topology/Covering/Quotient.lean
18 thms1 active userReviewed
🏆Completed
Pure Mathematics·Captain: korbonits

Hatcher Algebraic Topology II: The van Kampen TheoremTextbook

Motivation

Once π1(S1)≅Z\pi_1(S^1)\cong\mathbb{Z}π1​(S1)≅Z is known, the next question in Allen Hatcher's Algebraic Topology (Cambridge University Press, 2002; pi.math.cornell.edu/~hatcher/AT/AT.pdf) is how to compute fundamental groups of spaces built from pieces. Section 1.2 answers this with van Kampen's theorem (Theorem 1.20, p. 43): if a space is covered by open sets with a common basepoint and path-connected intersections, its fundamental group is the free product of the fundamental groups of the pieces, modulo relations coming from the intersections. It is the main computational tool of Chapter 1: it gives the fundamental groups of wedges of circles, graphs, surfaces, and every CW complex from its 2-skeleton (Propositions 1.26–1.28), and it underlies the classification of covering spaces in Section 1.3.

This is the second mission in the series formalizing Hatcher's book. The first mission established the covering-space lifting properties and π1(S1,1)≅Z\pi_1(S^1,1)\cong\mathbb{Z}π1​(S1,1)≅Z in the Lean namespace Hatcher; this one covers the subsection "The van Kampen Theorem" of Section 1.2 (pp. 41–47) together with its warm-up Lemma 1.15 and Proposition 1.14 from Section 1.1 (p. 35).

Setting

Let XXX be a topological space with a basepoint x0x_0x0​. A path is a continuous map I=[0,1]→XI=[0,1]\to XI=[0,1]→X, a loop at x0x_0x0​ is a path with both endpoints x0x_0x0​, and π1(X,x0)\pi_1(X,x_0)π1​(X,x0​) is the group of homotopy classes of loops at x0x_0x0​ under concatenation. A continuous map φ:X→Y\varphi:X\to Yφ:X→Y with φ(x0)=y0\varphi(x_0)=y_0φ(x0​)=y0​ induces a homomorphism φ∗:π1(X,x0)→π1(Y,y0)\varphi_*:\pi_1(X,x_0)\to\pi_1(Y,y_0)φ∗​:π1​(X,x0​)→π1​(Y,y0​), [f]↦[φ∘f][f]\mapsto[\varphi\circ f][f]↦[φ∘f].

Let (Aα)α∈ι(A_\alpha)_{\alpha\in\iota}(Aα​)α∈ι​ be a family of subsets of XXX, each containing x0x_0x0​, with the subspace topology; write π1(Aα)\pi_1(A_\alpha)π1​(Aα​) for π1(Aα,x0)\pi_1(A_\alpha,x_0)π1​(Aα​,x0​). The inclusions Aα↪XA_\alpha\hookrightarrow XAα​↪X induce

jα:π1(Aα)→π1(X),j_\alpha:\pi_1(A_\alpha)\to\pi_1(X),jα​:π1​(Aα​)→π1​(X),

which are Hatcher.inclHom, and the inclusions Aα∩Aβ↪AαA_\alpha\cap A_\beta\hookrightarrow A_\alphaAα​∩Aβ​↪Aα​ and Aα∩Aβ↪AβA_\alpha\cap A_\beta\hookrightarrow A_\betaAα​∩Aβ​↪Aβ​ induce

iαβ:π1(Aα∩Aβ)→π1(Aα),iβα:π1(Aα∩Aβ)→π1(Aβ),i_{\alpha\beta}:\pi_1(A_\alpha\cap A_\beta)\to\pi_1(A_\alpha),\qquad i_{\beta\alpha}:\pi_1(A_\alpha\cap A_\beta)\to\pi_1(A_\beta),iαβ​:π1​(Aα​∩Aβ​)→π1​(Aα​),iβα​:π1​(Aα​∩Aβ​)→π1​(Aβ​),

which are Hatcher.interHomLeft and Hatcher.interHomRight.

The free product ∗αGα\ast_\alpha G_\alpha∗α​Gα​ of a family of groups is the group of reduced words in the GαG_\alphaGα​ (Hatcher, pp. 41–42); in Lean it is Mathlib's Monoid.CoprodI, here Hatcher.FreeProd. Its universal property extends the jαj_\alphajα​ to a single homomorphism

Φ:∗απ1(Aα)→π1(X),\Phi:\ast_\alpha\pi_1(A_\alpha)\to\pi_1(X),Φ:∗α​π1​(Aα​)→π1​(X),

Hatcher.vanKampenHom. Since jαiαβ=jβiβαj_\alpha i_{\alpha\beta}=j_\beta i_{\beta\alpha}jα​iαβ​=jβ​iβα​ (both are induced by Aα∩Aβ↪XA_\alpha\cap A_\beta\hookrightarrow XAα​∩Aβ​↪X), the elements

iαβ(ω) iβα(ω)−1,ω∈π1(Aα∩Aβ),i_{\alpha\beta}(\omega)\,i_{\beta\alpha}(\omega)^{-1},\qquad \omega\in\pi_1(A_\alpha\cap A_\beta),iαβ​(ω)iβα​(ω)−1,ω∈π1​(Aα​∩Aβ​),

lie in the kernel of Φ\PhiΦ. Let NNN be the normal subgroup generated by all of them, Hatcher.vanKampenNormal.

Formalization targets

Goal (Theorem 1.20)

If XXX is the union of path-connected open sets AαA_\alphaAα​ each containing x0x_0x0​, each Aα∩AβA_\alpha\cap A_\betaAα​∩Aβ​ is path-connected, and each Aα∩Aβ∩AγA_\alpha\cap A_\beta\cap A_\gammaAα​∩Aβ​∩Aγ​ is path-connected, then

Φ is surjectiveandker⁡Φ=N.\Phi \text{ is surjective}\qquad\text{and}\qquad \ker\Phi=N .Φ is surjectiveandkerΦ=N.

Hence Φ\PhiΦ induces an isomorphism π1(X)≅∗απ1(Aα)/N\pi_1(X)\cong\ast_\alpha\pi_1(A_\alpha)/Nπ1​(X)≅∗α​π1​(Aα​)/N.

Milestones

  1. Lemma 1.15 (p. 35). If XXX is the union of path-connected open sets AαA_\alphaAα​ containing x0x_0x0​ with each Aα∩AβA_\alpha\cap A_\betaAα​∩Aβ​ path-connected, then every loop in XXX at x0x_0x0​ is homotopic to a product of loops each of which is contained in a single AαA_\alphaAα​.
  2. Proposition 1.14 (p. 35). π1(Sn)=0\pi_1(S^n)=0π1​(Sn)=0 for n≥2n\ge 2n≥2.
  3. Theorem 1.20, first part (p. 43). Under the hypotheses of Lemma 1.15, Φ\PhiΦ is surjective.
  4. The kernel contains the relators (p. 43). N≤ker⁡ΦN\le\ker\PhiN≤kerΦ, with no hypotheses on the cover.
  5. Theorem 1.20, second part (p. 43). If moreover every triple intersection is path-connected, ker⁡Φ≤N\ker\Phi\le NkerΦ≤N.
  6. Induced isomorphism (p. 43). Under the same hypotheses there is an isomorphism ∗απ1(Aα)/N≅π1(X)\ast_\alpha\pi_1(A_\alpha)/N\cong\pi_1(X)∗α​π1​(Aα​)/N≅π1​(X) sending the class of a word to its image under Φ\PhiΦ.

Significance

The result itself. Van Kampen's theorem is the gluing law for π1\pi_1π1​. With it Hatcher computes π1\pi_1π1​ of wedge sums (free products), of graphs (free groups), of the closed orientable surfaces (Example 1.26), and shows that attaching 222-cells kills exactly the attaching loops (Proposition 1.26), so that every group is a fundamental group (Corollary 1.28). The surjectivity half alone gives Proposition 1.14, that spheres of dimension at least two are simply connected, and hence that R2\mathbb{R}^2R2 is not homeomorphic to Rn\mathbb{R}^nRn for n≠2n\ne 2n=2 (Corollary 1.16).

Formalizing it. Mathlib has the fundamental groupoid and fundamental group, induced homomorphisms (FundamentalGroup.map), free products of groups (Monoid.CoprodI) with their universal property, normal closures, and quotient groups. It has no version of van Kampen's theorem for topological spaces (its CategoryTheory/Limits/VanKampen concerns colimits in categories, not fundamental groups), and no computation of π1(Sn)\pi_1(S^n)π1​(Sn) for n≥2n\ge 2n≥2; on the platform, however, the theorem SP4Mission.sphere_simplyConnected (already proved in this environment) states that the unit sphere of Rn\mathbb{R}^nRn is simply connected for n≥3n\ge 3n≥3, which is Proposition 1.14 with shifted indexing, so that milestone can be closed by a one-line reduction. The mission supplies the statements in Hatcher's form, on Mathlib's π1\pi_1π1​, so that later missions (covering spaces, cell complexes) can use them directly.

Difficulty

Surjectivity is a compactness argument: subdivide III so each piece of the loop lies in one AαA_\alphaAα​, then use path-connectedness of the intersections to connect the subdivision points back to x0x_0x0​. The formal difficulty is bookkeeping: producing the subdivision from an open cover of [0,1][0,1][0,1] (Mathlib's exists_monotone_Icc_subset_open_cover_unitInterval is the tool) and showing the reparametrised concatenation is homotopic to the original loop.

The kernel computation is the hard part. Hatcher's proof takes a homotopy F:I×I→XF:I\times I\to XF:I×I→X between two factorizations, subdivides the square into rectangles each mapped into a single AαA_\alphaAα​, perturbs the grid so at most three rectangles meet at a corner (this is where triple intersections enter), and then shows that moving the loop across one rectangle at a time changes the factorization only by the two elementary moves that hold in ∗απ1(Aα)/N\ast_\alpha\pi_1(A_\alpha)/N∗α​π1​(Aα​)/N. Every step is elementary, but the induction over the grid is long, and each elementary move requires an explicit path-homotopy in a subspace. The naive idea of proving ker⁡Φ≤N\ker\Phi\le NkerΦ≤N by an induction on word length does not work: the relation between two factorizations of the same loop is only visible through a homotopy in XXX, not through the words.

Proposition 1.14 is easy given Lemma 1.15 but requires exhibiting the cover of SnS^nSn by two complements of antipodal points, showing each is simply connected (homeomorphic to Rn\mathbb{R}^nRn via stereographic projection, which Mathlib has as stereographic), and showing their intersection is path-connected when n≥2n\ge 2n≥2.

Formalization scope

  • The index set ι\iotaι and the space XXX are arbitrary; the AαA_\alphaAα​ are Set X with the subspace topology, and π1(Aα)\pi_1(A_\alpha)π1​(Aα​) is Mathlib's FundamentalGroup ↥(A α) ⟨x₀, _⟩. Hypotheses are stated explicitly on each theorem: IsOpen, IsPathConnected, ⋃ α, A α = Set.univ, and path-connectedness of pairwise (and, where Hatcher requires it, triple) intersections.
  • iαβi_{\alpha\beta}iαβ​ and iβαi_{\beta\alpha}iβα​ are both defined on π1(Aα∩Aβ)\pi_1(A_\alpha\cap A_\beta)π1​(Aα​∩Aβ​) (rather than on π1(Aβ∩Aα)\pi_1(A_\beta\cap A_\alpha)π1​(Aβ​∩Aα​) for the second), so no identification of Aα∩AβA_\alpha\cap A_\betaAα​∩Aβ​ with Aβ∩AαA_\beta\cap A_\alphaAβ​∩Aα​ is needed; the set of relators ranges over all ordered pairs (α,β)(\alpha,\beta)(α,β).
  • "Product of loops" in Lemma 1.15 is a finite List of loops, each tagged with the index α\alphaα of the piece it lies in, concatenated right-to-left with the constant loop as empty product (Hatcher.loopProd). Any bracketing gives the same homotopy class.
  • The goal is stated as the conjunction "surjective and ker⁡Φ=N\ker\Phi=NkerΦ=N"; the isomorphism ∗απ1(Aα)/N≅π1(X)\ast_\alpha\pi_1(A_\alpha)/N\cong\pi_1(X)∗α​π1​(Aα​)/N≅π1​(X) is a separate milestone, stated as the existence of a group isomorphism compatible with Φ\PhiΦ on the quotient, which pins it down uniquely.
  • SnS^nSn is Metric.sphere (0 : EuclideanSpace ℝ (Fin (n+1))) 1, and "π1(Sn)=0\pi_1(S^n)=0π1​(Sn)=0" is Mathlib's SimplyConnectedSpace (path-connected with trivial fundamental group), which is what Hatcher means since SnS^nSn is path-connected.
  • Trivializing readings are excluded: the cover hypotheses do not force ι\iotaι nonempty, but then X=⋃Aα=∅X=\bigcup A_\alpha=\varnothingX=⋃Aα​=∅ contradicts the existence of x0x_0x0​, so the statements are not vacuous in any interesting case, and Φ\PhiΦ is the specific homomorphism induced by the inclusions.

Contributions welcome: the subdivision lemma for loops in an open cover, a reusable treatment of factorizations and their elementary moves, and the two-set special case π1(X)≅(π1(A)∗π1(B))/N\pi_1(X)\cong(\pi_1(A)\ast\pi_1(B))/Nπ1​(X)≅(π1​(A)∗π1​(B))/N as a corollary.

Selected references

  • A. Hatcher, Algebraic Topology, Cambridge University Press, 2002. Section 1.2, pp. 40–49; Lemma 1.15 and Proposition 1.14, p. 35. https://pi.math.cornell.edu/~hatcher/AT/AT.pdf
  • E. R. van Kampen, On the connection between the fundamental groups of some related spaces, American Journal of Mathematics 55 (1933), 261–267. https://doi.org/10.2307/2371128
  • H. Seifert, Konstruktion dreidimensionaler geschlossener Räume, Berichte Sächs. Akad. Leipzig 83 (1931), 26–66.
  • Mathlib, Mathlib/GroupTheory/CoprodI.lean (free products of groups). https://github.com/leanprover-community/mathlib4/blob/0df444a360eaa60ab8c11dca51a86af692955474/Mathlib/GroupTheory/CoprodI.lean
  • Mathlib, Mathlib/AlgebraicTopology/FundamentalGroupoid/FundamentalGroup.lean (fundamental group and induced homomorphisms). https://github.com/leanprover-community/mathlib4/blob/0df444a360eaa60ab8c11dca51a86af692955474/Mathlib/AlgebraicTopology/FundamentalGroupoid/FundamentalGroup.lean
8 thms1 active userReviewed
PreviousPage 2 of 2Next

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me