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.EtaleFormEvaluation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.IntrinsicFormRestriction |
| 3 | |
| 4 | /-! # Etale Form Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleFormRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native finite étale form duality preserves actual restriction, |
| 11 | including a change of the polynomial coordinates. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.TraceBasis |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleFormDuality |
| 22 | |
| 23 | variable (R : Type u) [CommRing R] |
| 24 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 25 | [IsFinite f.left] [Etale f.left] |
| 26 | |
| 27 | local instance (U : Y.left.Opens) (n : ℕ) : Module (AffineOpen.DeRhamTrace.sourceRing R X Y f U) |
| 28 | (EtaleFormDuality.sourceSections R X Y f U n) := |
| 29 | inferInstanceAs (Module Γ(X.left, f.left ⁻¹ᵁ U) (EtaleFormDuality.sourceSections R X Y f U n)) |
| 30 | |
| 31 | local instance (a : FiniteEtale.TraceBasis.Index R X Y f) : LinearOrder (FiniteEtale.TraceBasis.coordinateIndex R X Y f a) := |
| 32 | FiniteEtale.TraceBasis.coordinateOrder R X Y f a |
| 33 | |
| 34 | def localEquiv (a : FiniteEtale.TraceBasis.Index R X Y f) (n : ℕ) := |
| 35 | EtaleFormDuality.equiv R X Y f (FiniteEtale.TraceBasis.opens R X Y f a) (FiniteEtale.TraceBasis.coordinateIndex R X Y f a) n |
| 36 | |
| 37 | variable [IsProper Y.hom] [Smooth Y.hom] |
| 38 | |
| 39 | theorem evaluation (a : FiniteEtale.TraceBasis.Index R X Y f) (n : ℕ) |
| 40 | (b : AffineOpen.DeRhamTrace.sourceRing R X Y f a.val) (z : EtaleFormDuality.sourceSections R X Y f a.val n) : |
| 41 | (Integral.IntrinsicFormNormalization.Intrinsic.iso R Y a.val n).hom (localEquiv R X Y f a n z b) = |
| 42 | ((FiniteEtale.DeRhamSheafTrace.trace R X Y f).f n).hom.app (op a.val) |
| 43 | ((Integral.IntrinsicFormNormalization.Intrinsic.iso R X (f.left ⁻¹ᵁ a.val) n).hom (b • z)) := |
| 44 | EtaleFormEvaluation.evaluation R X Y f a.val (FiniteEtale.TraceBasis.coordinateIndex R X Y f a) n b z |
| 45 | |
| 46 | theorem restriction (a b : FiniteEtale.TraceBasis.Index R X Y f) (h : b.val ≤ a.val) (n : ℕ) |
| 47 | (z : EtaleFormDuality.sourceSections R X Y f a.val n) (m : AffineOpen.DeRhamTrace.sourceRing R X Y f a.val) : |
| 48 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y n).presheaf.map (homOfLE h).op |
| 49 | (localEquiv R X Y f a n z m) = |
| 50 | localEquiv R X Y f b n |
| 51 | ((GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X n).presheaf.map |
| 52 | ((TopologicalSpace.Opens.map f.left.base).map (homOfLE h)).op z) |
| 53 | (X.left.presheaf.map ((TopologicalSpace.Opens.map f.left.base).map (homOfLE h)).op m) := by |
| 54 | apply (ConcreteCategory.bijective_of_isIso (Integral.IntrinsicFormNormalization.Intrinsic.iso R Y b.val n).hom).injective |
| 55 | rw [Integral.IntrinsicFormRestriction.Intrinsic.restriction, evaluation, evaluation, |
| 56 | ← Integral.IntrinsicFormRestriction.Intrinsic.restriction_smul, |
| 57 | Integral.IntrinsicFormRestriction.Intrinsic.restriction] |
| 58 | exact (ConcreteCategory.congr_hom |
| 59 | (((FiniteEtale.DeRhamSheafTrace.trace R X Y f).f n).hom.naturality (homOfLE h).op) |
| 60 | ((Integral.IntrinsicFormNormalization.Intrinsic.iso R X (f.left ⁻¹ᵁ a.val) n).hom (m • z))).symm |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleFormRestriction |