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.SectionEvaluationNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections |
| 3 | |
| 4 | /-! # Section Evaluation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.SectionEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual source-section evaluation is an algebra map over the |
| 11 | actual target section ring, using the target-section quotient action. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | variable (R : Type u) [CommRing R] |
| 17 | (X Y : Over (Spec (CommRingCat.of R))) (f : Y ⟶ X) |
| 18 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 19 | (U : X.left.Opens) (hU : ⊤ ≤ (s ≫ f.left) ⁻¹ᵁ U) |
| 20 | |
| 21 | abbrev targetRing : Type u := Γ(X.left,U) |
| 22 | abbrev sourceRing : Type u := Γ(Y.left,f.left ⁻¹ᵁ U) |
| 23 | local instance targetBase : Algebra R (targetRing R X U) := |
| 24 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 25 | local instance sourceBase : Algebra R (sourceRing R X Y f U) := |
| 26 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R Y (f.left ⁻¹ᵁ U) |
| 27 | local instance sourceAlgebra : Algebra (targetRing R X U) (sourceRing R X Y f U) := |
| 28 | ArithmeticGeometry.OrdinaryLocus.Openness.FiniteFlatChartModule.Construction.affinePreimageSectionAlgebra f.left U |
| 29 | |
| 30 | def targetEvaluation : targetRing R X U →ₐ[R] R := |
| 31 | Intrinsic.SectionEvaluation.evaluation R X (s ≫ f.left) |
| 32 | (SectionEvaluationNaturality.image_retraction R Y X f s hs) U hU |
| 33 | |
| 34 | @[instance_reducible] def quotientAlgebra : Algebra (targetRing R X U) R := |
| 35 | (targetEvaluation R X Y f s hs U hU).toRingHom.toAlgebra |
| 36 | |
| 37 | def evaluation : |
| 38 | letI := quotientAlgebra R X Y f s hs U hU |
| 39 | sourceRing R X Y f U →ₐ[targetRing R X U] R := by |
| 40 | letI := quotientAlgebra R X Y f s hs U hU |
| 41 | exact { |
| 42 | toRingHom := (Intrinsic.SectionEvaluation.evaluation R Y s hs (f.left ⁻¹ᵁ U) hU).toRingHom |
| 43 | commutes' a := SectionEvaluationNaturality.pullback R Y X f s hs U hU a } |
| 44 | |
| 45 | theorem evaluation_apply (a : sourceRing R X Y f U) : |
| 46 | evaluation R X Y f s hs U hU a = |
| 47 | (Scheme.ΓSpecIso (CommRingCat.of R)).hom (s.appLE (f.left ⁻¹ᵁ U) ⊤ hU a) := rfl |
| 48 | |
| 49 | theorem target_apply (a : targetRing R X U) : |
| 50 | letI := quotientAlgebra R X Y f s hs U hU |
| 51 | algebraMap (targetRing R X U) R a = targetEvaluation R X Y f s hs U hU a := rfl |
| 52 | |
| 53 | theorem base (a : R) : |
| 54 | letI := quotientAlgebra R X Y f s hs U hU |
| 55 | algebraMap (targetRing R X U) R (algebraMap R (targetRing R X U) a) = a := by |
| 56 | let := quotientAlgebra R X Y f s hs U hU |
| 57 | exact (targetEvaluation R X Y f s hs U hU).commutes a |
| 58 | |
| 59 | theorem surjective : |
| 60 | letI := quotientAlgebra R X Y f s hs U hU |
| 61 | Function.Surjective (algebraMap (targetRing R X U) R) := by |
| 62 | let := quotientAlgebra R X Y f s hs U hU |
| 63 | exact fun a => ⟨algebraMap R (targetRing R X U) a, base R X Y f s hs U hU a⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.SectionEvaluation |