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.Intrinsic.SectionEvaluation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.SectionRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionKernel |
| 4 | |
| 5 | /-! # Principal Section Algebra -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PrincipalSectionAlgebra |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The literal section kernel localizes on a principal affine |
| 12 | neighborhood, using the native restriction algebra throughout. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 22 | {U V : X.left.Opens} (i : V ⟶ U) (hU : IsAffineOpen U) |
| 23 | (a : SmoothClosedSections.ring R X U) (he : V = X.left.basicOpen a) |
| 24 | |
| 25 | include hU he in |
| 26 | theorem localization : letI := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionAlgebra R X i |
| 27 | IsLocalization.Away a (SmoothClosedSections.ring R X V) := by |
| 28 | subst V |
| 29 | exact hU.isLocalization_basicOpen a |
| 30 | |
| 31 | variable (s : Spec (CommRingCat.of R) ⟶ X.left) (hs : s ≫ X.hom = 𝟙 _) |
| 32 | (hsU : ⊤ ≤ s ⁻¹ᵁ U) (hsV : ⊤ ≤ s ⁻¹ᵁ V) |
| 33 | (I : Ideal (SmoothClosedSections.ring R X U)) |
| 34 | (hI : I ≤ RingHom.ker (SectionEvaluation.evaluation R X s hs U hsU).toRingHom) |
| 35 | (ha : ∀ x, SectionEvaluation.evaluation R X s hs U hsU x = 0 → a * x ∈ I) |
| 36 | |
| 37 | include hU he hI ha in |
| 38 | theorem kernel : |
| 39 | RingHom.ker (SectionEvaluation.evaluation R X s hs V hsV).toRingHom = |
| 40 | I.map (((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map i.op).hom.toRingHom) := by |
| 41 | let := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionAlgebra R X i |
| 42 | let := localization R X i hU a he |
| 43 | apply Principal.SectionKernel.kernel a |
| 44 | (SectionEvaluation.evaluation R X s hs U hsU).toRingHom |
| 45 | (SectionEvaluation.evaluation R X s hs V hsV).toRingHom |
| 46 | ?_ I hI ha |
| 47 | apply RingHom.ext |
| 48 | intro x |
| 49 | exact SectionEvaluation.restriction R X s hs U hsU V i.le hsV x |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PrincipalSectionAlgebra |