Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FixedCoefficientPointFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.PointCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.QuotientAction |
| 4 | |
| 5 | /-! # Coefficient Point Fraction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientPointFraction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual finite coefficient sheaf and actual section quotient, |
| 12 | on the original negative resolution, satisfy the fixed-point fraction |
| 13 | formula. All coefficient actions and local projective resolutions are |
| 14 | constructed from the given geometric map. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor |
| 22 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 23 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | variable {Y X : Scheme.{u}} (f : Y ⟶ X) [IsFinite f] |
| 26 | (i : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) [IsClosedImmersion i] |
| 27 | (s₀ : Spec (CommRingCat.of R) ⟶ Y) [IsClosedImmersion (s₀ ≫ f)] |
| 28 | (hbase : (s₀ ≫ f) ≫ (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 29 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 30 | (hcontains : ⊤ ≤ ((s₀ ≫ f) ≫ i) ⁻¹ᵁ U) |
| 31 | (j : Fin (n+2)) (hj : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j) |
| 32 | (e : Γ(AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (ProjectivePoint.Survivor.chart (R := R)) (n+2), U) ≃ₗ[ |
| 33 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)] |
| 34 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 35 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 36 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 37 | (hs : KoszulPartial.Resolution.normalIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s = i.ker.ideal ⟨U,hU⟩) |
| 38 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 39 | ((s₀ ≫ f) ≫ i).ker.ideal ⟨U,hU⟩) |
| 40 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 41 | (List.ofFn s)) |
| 42 | (hregst : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 43 | (List.ofFn (Fin.append s t))) |
| 44 | |
| 45 | abbrev coefficients := Cech.StructurePullbackUnit.coefficients f i |
| 46 | local instance coefficients_qc : (coefficients f i).IsQuasicoherent := |
| 47 | Finite.MapPureTrace.coefficients_quasicoherent f i |
| 48 | local instance coefficients_finite : (coefficients f i).IsFiniteType := |
| 49 | Finite.MapPureTrace.coefficients_finiteType f i |
| 50 | |
| 51 | abbrev source := Projective.NegativeResolution.complex (coefficients f i) (ProjectivePoint.Survivor.chart (R := R)) B |
| 52 | abbrev augmentation := Projective.NegativeResolution.augmentation (coefficients f i) (ProjectivePoint.Survivor.chart (R := R)) B |
| 53 | |
| 54 | abbrev resolution := by |
| 55 | letI (q : ℕ) := Affine.ProjectiveResolutionTerms.term_projective U hU j hj |
| 56 | (coefficients f i) (ProjectivePoint.Survivor.chart (R := R)) B q |
| 57 | exact Principal.Resolution.Comparison.resolution U hU (coefficients f i) |
| 58 | (source f i B) (augmentation f i B) _ (Finite.FlatCoefficientSections.chartIso f i U hU) |
| 59 | |
| 60 | variable [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] |
| 61 | [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 62 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] (hcm : c+m=n+1) |
| 63 | |
| 64 | abbrev normalization (x : Finite.FlatCoefficientSections.coefficientRing f i U) := by |
| 65 | letI := FiniteCoefficient.QuotientAction.algebra f i U hU s hs |
| 66 | letI := FiniteCoefficient.QuotientAction.tower f i U hU s hs |
| 67 | exact Projective.FixedCoefficientPointFraction.normalization i (s₀ ≫ f) hbase B hB |
| 68 | (coefficients f i) (Cech.SectionCoefficientUnit.sheafMap s₀ f i) |
| 69 | U hU hcontains j hj e s t hst hreg hregst (Finite.FlatCoefficientSections.coefficientRing f i U) |
| 70 | (Finite.FlatCoefficientSections.chartIso f i U hU) (resolution f i B U hU j hj) x hcm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientPointFraction |