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.AffineOpen.DeRhamTrace |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.PullbackUnit |
| 3 | |
| 4 | /-! # Trace Degree -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.TraceDegree.DeRham |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On every genuine finite étale affine chart, pullback followed by |
| 11 | the native de Rham trace is multiplication by the coefficient degree. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | attribute [local instance] DeRhamTrace.sectionAlgebra DeRhamTrace.sectionTower DeRhamTrace.polynomialSource DeRhamTrace.polynomialTower |
| 19 | DeRhamTrace.polynomialBaseTower DeRhamTrace.sourceEtale |
| 20 | |
| 21 | universe u v |
| 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] (U : Y.left.Opens) [Fact (IsAffineOpen U)] |
| 26 | (σ : Type u) [Fintype σ] [LinearOrder σ] |
| 27 | [Algebra (MvPolynomial σ R) (DeRhamTrace.targetRing R Y U)] |
| 28 | [IsScalarTower R (MvPolynomial σ R) (DeRhamTrace.targetRing R Y U)] |
| 29 | [Algebra.Etale (MvPolynomial σ R) (DeRhamTrace.targetRing R Y U)] |
| 30 | {ι : Type v} [Fintype ι] (b : Module.Basis ι (DeRhamTrace.targetRing R Y U) (DeRhamTrace.sourceRing R X Y f U)) |
| 31 | (d : ℕ) (hd : Algebra.trace (DeRhamTrace.targetRing R Y U) (DeRhamTrace.sourceRing R X Y f U) 1 = (d : DeRhamTrace.targetRing R Y U)) |
| 32 | |
| 33 | include hd in |
| 34 | theorem ordinary_pullback_trace_of_degree : |
| 35 | IntrinsicDeRham.PullbackUnit.Intrinsic.ordinaryMap R X Y f U ≫ |
| 36 | IntegralComparison.Etale.DeRhamTrace.trace R (DeRhamTrace.targetRing R Y U) (DeRhamTrace.sourceRing R X Y f U) σ b = |
| 37 | d • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (DeRhamTrace.targetRing R Y U)) := by |
| 38 | apply HomologicalComplex.Hom.ext |
| 39 | funext n |
| 40 | apply ConcreteCategory.hom_ext |
| 41 | intro ω |
| 42 | change IntegralComparison.Etale.DeRhamTraceCoordinates.formTrace R (DeRhamTrace.targetRing R Y U) (DeRhamTrace.sourceRing R X Y f U) σ b n |
| 43 | (OrdinaryFormScalars.Ordinary.map R (DeRhamTrace.targetRing R Y U) (DeRhamTrace.sourceRing R X Y f U) n ω) = d • ω |
| 44 | have h := IntegralComparison.Etale.DeRhamTraceCoordinates.trace_projection_formula R (DeRhamTrace.targetRing R Y U) |
| 45 | (DeRhamTrace.sourceRing R X Y f U) σ b n 1 ω |
| 46 | simpa only [one_smul, hd, Nat.cast_smul_eq_nsmul] using h |
| 47 | |
| 48 | include hd in |
| 49 | theorem pullback_trace_of_degree : |
| 50 | IntrinsicDeRham.PullbackUnit.Intrinsic.sectionMap R X Y f U ≫ DeRhamTrace.map R X Y f U σ b = |
| 51 | d • 𝟙 (IntrinsicDeRham.SectionUnit.Intrinsic.sections R Y U) := by |
| 52 | let : IsIso (IntrinsicDeRham.SectionUnit.Intrinsic.unit R Y U) := IntrinsicDeRham.SectionUnit.Intrinsic.unit_isIso R Y U Fact.out σ |
| 53 | apply (cancel_epi (IntrinsicDeRham.SectionUnit.Intrinsic.unit R Y U)).mp |
| 54 | rw [← Category.assoc, IntrinsicDeRham.PullbackUnit.Intrinsic.unit_square, Category.assoc, |
| 55 | DeRhamTrace.map_unit, ← Category.assoc, ordinary_pullback_trace_of_degree R X Y f U σ b d hd] |
| 56 | simp only [Preadditive.nsmul_comp, Preadditive.comp_nsmul, Category.id_comp, Category.comp_id] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.TraceDegree.DeRham |