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