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.ProjectiveCoefficient.PointFraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.CoefficientSectionEvaluation |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.SectionQuotient |
| 5 | |
| 6 | /-! # Fixed Coefficient Point Fraction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FixedCoefficientPointFraction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Evaluating the image of the original fixed trace-one point class |
| 13 | on an actual coefficient vector yields its section value times the same |
| 14 | scalar mixed fraction as the scalar coefficient branch. -/ |
| 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.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) |
| 25 | [IsClosedImmersion f] (s₀ : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion s₀] |
| 26 | (hbase : s₀ ≫ (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 27 | (M : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Modules) |
| 28 | [M.IsQuasicoherent] [M.IsFiniteType] |
| 29 | (v : M ⟶ ProjectivePoint.KoszulMap.point s₀ f) |
| 30 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 31 | (hcontains : ⊤ ≤ (s₀ ≫ f) ⁻¹ᵁ U) |
| 32 | (i : Fin (n+2)) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 33 | (e : Γ(AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) (ProjectivePoint.Survivor.chart (R := R)) (n+2), U) ≃ₗ[ |
| 34 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)] |
| 35 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 36 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 37 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 38 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 39 | (s₀ ≫ f).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 | (C : Type u) [AddCommGroup C] [Module Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) C] |
| 45 | [Module (Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) ⧸ KoszulPartial.Resolution.normalIdeal _ s) C] |
| 46 | [IsScalarTower Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 47 | (Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) ⧸ KoszulPartial.Resolution.normalIdeal _ s) C] |
| 48 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) C) |
| 49 | (PM : ProjectiveResolution (ModuleCat.of Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) C)) |
| 50 | (x : C) |
| 51 | |
| 52 | local instance sectionAlgebra : Algebra R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := |
| 53 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R |
| 54 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) U |
| 55 | |
| 56 | abbrev ε := (ProjectiveCoefficient.PointKoszulMap.coefficient s₀ f M v U hU s t hst _ eM).hom |
| 57 | abbrev e₀ := KoszulPoint.SectionQuotient.equiv R |
| 58 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t |
| 59 | (ProjectivePoint.ScalarFraction.pointQuotient f s₀ hbase U hU hcontains s t hst) |
| 60 | abbrev scalar := Koszul.CoefficientSectionEvaluation.scalar R |
| 61 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t |
| 62 | (e₀ f s₀ hbase U hU hcontains s t hst) C (ε f s₀ M v U hU s t hst C eM) x |
| 63 | |
| 64 | abbrev weight := Koszul.CoefficientSectionEvaluation.weight R |
| 65 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t |
| 66 | (e₀ f s₀ hbase U hU hcontains s t hst) C (ε f s₀ M v U hU s t hst C eM) x |
| 67 | |
| 68 | variable [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] |
| 69 | [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 70 | [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] (hcm : c+m=n+1) |
| 71 | |
| 72 | abbrev normalization := ProjectiveCoefficient.PointFraction.comparison |
| 73 | f s₀ hbase B hB M v U hU hcontains i hi e s t hst hreg hregst _ eM PM |
| 74 | (Koszul.CoefficientPointFraction.vector Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s C x) |
| 75 | (scalar f s₀ hbase M v U hU hcontains s t hst C eM x) |
| 76 | (weight f s₀ hbase M v U hU hcontains s t hst C eM x) |
| 77 | (ProjectivePoint.LocalCoordinates.pointAt f s₀ hbase B hB U hU s t hst hcm) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FixedCoefficientPointFraction |