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.ProjectivePoint.BaseRecovery |
| 2 | |
| 3 | /-! # Local Section Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalSectionCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original fixed point at the full Koszul degree recovers the |
| 10 | same original global section through its actual principal coordinates. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.HomologicalComplex |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | |
| 17 | private theorem constrained_apply {F : ℕ → Type u} {G : Type u} {n q : ℕ} |
| 18 | (a : ∀ j, j=n → F j → G) (h : q=n) (x : F n) : |
| 19 | a q h (Eq.mpr (congrArg F h) x) = a n rfl x := by |
| 20 | subst q |
| 21 | rfl |
| 22 | |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.GlobalTransferRecovery |
| 24 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 25 | [IsArtinianRing R] [IsLocalRing R] {n c g : ℕ} |
| 26 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 27 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 28 | variable {X : Scheme.{u}} [X.IsSeparated] |
| 29 | (i : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) [IsClosedImmersion i] |
| 30 | [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 31 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 32 | (s₀ : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion s₀] |
| 33 | (hbase : s₀ ≫ (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2≤B) |
| 34 | (M : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Modules) |
| 35 | [M.IsQuasicoherent] [M.IsFiniteType] (v : M ⟶ Survivor.coefficient i s₀) |
| 36 | (hM : ∀ q, q ≠ c → (GlobalTransferRecovery.coefficientDual B M).ExactAt q) |
| 37 | (N : X.Modules) [N.IsQuasicoherent] |
| 38 | (e : (GlobalTransferRecovery.coefficientDual B M).homology c ≅ (Scheme.Modules.pushforward i).obj N) |
| 39 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 40 | (hcontains : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 41 | (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R),U)) |
| 42 | (t : Fin g → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R),U)) |
| 43 | (hs : Ideal.span (Set.range s) = i.ker.ideal ⟨U,hU⟩) |
| 44 | (hst : KoszulPartial.Resolution.pointIdeal |
| 45 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R),U) s t = (s₀ ≫ i).ker.ideal ⟨U,hU⟩) |
| 46 | (hcg : c+g=n+1) |
| 47 | |
| 48 | variable (eM : Projective.TopTracePairing.coefficientRing R ≃ₗ[ |
| 49 | Projective.TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology M 0) |
| 50 | |
| 51 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 52 | [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 53 | private theorem point_degree_evaluation : |
| 54 | LocalSectionCoordinatesData.evaluationAt i s₀ B hB M v hM N e U hU hcontains s t hs hst hcg (c+g) hcg |
| 55 | (LocalCoordinates.pointAt i s₀ hbase B hB U hU s t hst hcg) = |
| 56 | LocalSectionCoordinatesData.evaluationAt i s₀ B hB M v hM N e U hU hcontains s t hs hst hcg (n+1) rfl |
| 57 | (LocalClass.pointClass i s₀ hbase B hB U hU s t hst) := |
| 58 | (constrained_apply |
| 59 | (F := fun q => (Supported.CechHomotopyEquivalence.functor (LocalSectionCoordinatesData.family U t) q).obj |
| 60 | (LocalCoordinates.principalDual i s₀ B U hU)) |
| 61 | (G := LocalSectionCoordinatesData.output (g := g) i N) |
| 62 | (LocalSectionCoordinatesData.evaluationAt i s₀ B hB M v hM N e U hU hcontains s t hs hst hcg) hcg |
| 63 | (LocalClass.pointClass i s₀ hbase B hB U hU s t hst)) |
| 64 | |
| 65 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 66 | [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 67 | theorem recovery : |
| 68 | LocalSectionCoordinatesData.evaluationAt i s₀ B hB M v hM N e U hU hcontains s t hs hst hcg (c+g) hcg |
| 69 | (LocalCoordinates.pointAt i s₀ hbase B hB U hU s t hst hcg) = |
| 70 | LocalSectionCoordinatesData.globalClass i s₀ hbase B hB M v hM N e hcg eM := |
| 71 | (point_degree_evaluation i s₀ hbase B hB M v hM N e U hU hcontains s t hs hst hcg).trans |
| 72 | (BaseRecovery.LocalSectionCoordinates.base_recovery i s₀ hbase B hB M v hM N e U hU hcontains s t hs hst hcg eM) |
| 73 | |
| 74 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 75 | [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 76 | theorem ordinary_recovery : |
| 77 | LocalSectionCoordinatesData.ordinaryMap i s₀ N U hU hcontains s t hs hst |
| 78 | (LocalSectionCoordinatesData.localClass i s₀ hbase B hB M v hM N e U hU s t hst hcg) = |
| 79 | LocalSectionCoordinatesData.globalClass i s₀ hbase B hB M v hM N e hcg eM := |
| 80 | (LocalSectionCoordinatesData.ordinary_coordinates i s₀ hbase B hB M v hM N e U hU hcontains s t hs hst hcg).trans |
| 81 | (recovery i s₀ hbase B hB M v hM N e U hU hcontains s t hs hst hcg eM) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalSectionCoordinates |