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.FiniteEtale.DeRhamSheafTrace |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.TraceDegree |
| 3 | |
| 4 | /-! # Sheaf Trace Degree -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SheafTraceDegree.DeRham |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native finite étale trace composed with pullback is the |
| 11 | coefficient degree on the full original sheaf de Rham complex. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.TraceBasis OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.TraceDegree.DeRham |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] |
| 23 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 24 | [IsFinite f.left] [Etale f.left] [IsProper Y.hom] [Smooth Y.hom] |
| 25 | |
| 26 | local instance degreeCoordinateOrder (i : TraceBasis.Index R X Y f) : |
| 27 | LinearOrder (TraceBasis.coordinateIndex R X Y f i) := TraceBasis.coordinateOrder R X Y f i |
| 28 | |
| 29 | variable (d : ℕ) (hd : ∀ i : TraceBasis.Index R X Y f, |
| 30 | Algebra.trace (AffineOpen.DeRhamTrace.targetRing R Y (TraceBasis.opens R X Y f i)) |
| 31 | (AffineOpen.DeRhamTrace.sourceRing R X Y f (TraceBasis.opens R X Y f i)) 1 = (d : AffineOpen.DeRhamTrace.targetRing R Y (TraceBasis.opens R X Y f i))) |
| 32 | |
| 33 | include hd in |
| 34 | theorem pullback_trace_of_degree : |
| 35 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.sheafDirectImage f ≫ DeRhamSheafTrace.trace R X Y f = |
| 36 | d • 𝟙 (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y) := by |
| 37 | apply HomologicalComplex.Hom.ext |
| 38 | funext n |
| 39 | apply Sheaf.hom_ext |
| 40 | apply TopCat.Sheaf.hom_ext ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y).X n).obj |
| 41 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R Y).X n) (TraceBasis.isBasis R X Y f) |
| 42 | intro i |
| 43 | change ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.sheafDirectImage f).f n).hom.app (op (TraceBasis.opens R X Y f i)) ≫ |
| 44 | ((DeRhamSheafTrace.trace R X Y f).f n).hom.app (op (TraceBasis.opens R X Y f i)) = d • 𝟙 _ |
| 45 | rw [DeRhamSheafTrace.trace_app] |
| 46 | have h := AffineOpen.TraceDegree.DeRham.pullback_trace_of_degree R X Y f (TraceBasis.opens R X Y f i) |
| 47 | (TraceBasis.coordinateIndex R X Y f i) |
| 48 | (Module.Free.chooseBasis (AffineOpen.DeRhamTrace.targetRing R Y (TraceBasis.opens R X Y f i)) |
| 49 | (AffineOpen.DeRhamTrace.sourceRing R X Y f (TraceBasis.opens R X Y f i))) d (hd i) |
| 50 | exact congrArg (fun t => t.f n) h |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SheafTraceDegree.DeRham |