Lean formalization toward Katz's Rigid Local Systems, using mathlib.
Import RigidLocalSystems and open the namespace RigidLocalSystems.
LocalSystem K Xis a functor from the fundamental groupoid ofXtoFGModuleCat K. Over a field, its fibers are finite-dimensional vector spaces. Its morphisms are natural transformations;F ≅ Gis a natural isomorphism.LocalSystem.fiber,transport,constant, andpullbackprovide fibers, parallel transport, constant systems, and pullback along continuous maps.- Given maps
j i : C(D i, U),SameLocalMonodromy j F Gmeans∀ i, Nonempty (F.pullback (j i) ≅ G.pullback (j i)). PhysicallyRigid j Fmeans every local systemGwith the same local monodromy is globally isomorphic toF. Competitors need not be irreducible.LocalSystem.IsIrreducible FmeansFis a simple object of this category. It excludes the zero object and uses actual categorical subobjects.
For Katz §§1.0.2–1.0.3, take the index type to be the finite nonempty set of
punctures and the maps j i to be punctured-disc inclusions into U.
The definitions allow general families of continuous maps; they do not construct
punctured discs or assert that arbitrary maps are boundary neighborhoods.
Proved: reflexivity, symmetry, and transitivity of SameLocalMonodromy; global
isomorphism implies local equivalence; physical rigidity is invariant under
isomorphism; for a rigid system, local equivalence is equivalent to global
isomorphism.
Both directions are proved for irreducible complex monodromy tuples, in
MonodromyTuple.physicallyRigid_iff_index_eq_two. This theorem has no additional
cohomological or dimension hypotheses. The full local-system/sheaf formulation
is not yet proved: the comparison theorems remain. See
the proof status for the exact remaining obligations.
Irreducible.leanproves constancy of rank along paths, finite-dimensionality of Hom spaces on path-connected bases, the equal-rank nonzero-morphism argument, and Schur's endomorphism-dimension formula.MonodromyTuple.leanproves the group-theoretic centralizer factorization behind the converse's orbit argument, using the full conjugating group.SpecialLinearConjugacy.leanproves that simultaneous conjugators can be chosen inSLover an algebraically closed field in positive rank.ConjugatorAction.leanconstructs the action ofSL × ∏ Z(Aᵢ)on the product-one fiber, proves equivariance of theSL-valued product map, and proves that tuple rigidity is equivalent to transitivity of this action.CommutingAlgebra.leanidentifies centralizer groups with units of commuting algebras and describes invertibility by nonvanishing of the determinant.LocalIntertwiner.leanconstructs the linear isomorphisms for local Hom spaces.NumericalIndex.leanuses them to prove local-conjugacy invariance of the matrix index and equality of the local Hom and End formulas.CentralizerDensity.leanproves that polynomials on a commuting algebra over an infinite field are determined by their values on invertible elements. This does not yet prove equality of algebraic-geometric dimensions.ParabolicComplex.leanconstructs the algebraic complex of two monodromy tuples and proves that the composite differential vanishes by telescoping.LinearComplexEuler.leanproves Euler–Poincaré for finite-dimensional three-term complexes.ParabolicEuler.leanidentifies the matrix index withdim H⁰ − dim H¹ + dim H²for locally conjugate tuples, using actual kernels and quotients.ParabolicDuality.leanuses the trace pairing to identifyH²(A,B)with the dual of simultaneous intertwiners fromBtoA. It proves the Euler formularig(A) = dim Hom(A,B) − dim H¹(A,B) + dim Hom(B,A)for locally conjugate tuples. Comparison with sheaf cohomology remains unproved.TupleIrreducible.leandefines irreducibility using invariant subspaces and proves the forward criterion: an irreducible tuple of index two is physically rigid. The tuple result assumes no unproved cohomological identifications.TupleSchur.leanproves that endomorphisms of an irreducible tuple are scalar over an algebraically closed field. It derivesrig(A) = 2 − dim H¹(A,A), the upper boundrig(A) ≤ 2, and rigidity whenH¹has dimension zero.ConstraintLinearization.leanandProductDerivative.leanidentify the actual strict derivative of Katz's product map and prove its surjectivity onto the trace-zero matrices at an irreducible tuple.ReducedConstraint.leanconstructs local coordinates on the product-one fiber by the implicit function theorem.OrbitLinearization.leancomputes the symmetry rank and the dimension defect2 − rig(A).OrbitParameters.leancovers a rigid fiber with finitely many polynomial parametrizations of dimensionn² − 1 + ∑ dim z(Aᵢ).TupleConverse.leancompares dimensions using Hausdorff dimension and proves the converse. It exports physical rigidity iff index two, iff vanishing of the first parabolic cohomology dimension, and iff linearized exactness.Theorem112.leanproves the forward argument conditional on an explicit numerical invariance hypothesis, plus the final converse dimension arithmetic. ItshomEulerExpressionis not a definition of sheaf Euler characteristic.
This uses the monodromy model of local systems. The comparison with locally
constant sheaves on suitably nice spaces, the punctured-curve geometry,
the representation-theoretic comparison for irreducibility, and the identification
of parabolic cohomology with Hⁱ(ℙ¹,j_* Hom) remain to be formalized.
No such results are assumed as axioms.
References are kept locally in references/Katz.pdf,
references/retypesetted.pdf, and references/erratum.png.
Run lake build (Lean and mathlib are pinned in the project configuration).