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.ModuleCech.TraceRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.PositiveTransitivity |
| 3 | |
| 4 | /-! # Positive Refinement Recovery -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.PositiveRefinementRecovery |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reversing an actual positive-degree cover isomorphism, or making |
| 11 | a full cycle through an actual refinement, returns the original class. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 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 : Over (Spec (CommRingCat.of R))) [X.left.IsSeparated] |
| 18 | {ι κ ν : Type u} (U : ι → X.left.Opens) (V : κ → X.left.Opens) |
| 19 | (hU : iSup U = ⊤) (hV : iSup V = ⊤) |
| 20 | (haU : ∀ j, IsAffineOpen (U j)) (haV : ∀ j, IsAffineOpen (V j)) |
| 21 | (M : X.left.Modules) [M.IsQuasicoherent] (g : ℕ) (hg : 0 < g) |
| 22 | |
| 23 | theorem reverse_hom : |
| 24 | (PositiveCover.Comparison.iso R X U V hU hV haU haV M g hg).hom = |
| 25 | (PositiveCover.Comparison.iso R X V U hV hU haV haU M g hg).inv := by |
| 26 | cases g with |
| 27 | | zero => exact (Nat.lt_irrefl 0 hg).elim |
| 28 | | succ q => rfl |
| 29 | |
| 30 | variable (W : ν → X.left.Opens) (hW : iSup W = ⊤) (haW : ∀ j, IsAffineOpen (W j)) |
| 31 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 32 | |
| 33 | theorem cycle : |
| 34 | (PositiveCover.Comparison.iso R X W U hW hU haW haU M g hg).hom ≫ |
| 35 | (CohomologyNaturality.forgetCoefficients R).map |
| 36 | (homologyMap (CoverRefinement.map R X U V r M) g) ≫ |
| 37 | (PositiveCover.Comparison.iso R X V W hV hW haV haW M g hg).hom = 𝟙 _ := by |
| 38 | rw [TraceRefinement.map_eq_positiveCoverIso R X U V r hU hV haU haV M g hg, |
| 39 | ← Category.assoc, |
| 40 | PositiveTransitivity.hom_comp R X W U V hW hU hV haW haU haV M g hg, |
| 41 | reverse_hom R X W V hW hV haW haV M g hg, Iso.inv_hom_id] |
| 42 | |
| 43 | theorem cycle_apply (x : (DimensionBound.complex R X M W).homology g) : |
| 44 | (PositiveCover.Comparison.iso R X V W hV hW haV haW M g hg).hom |
| 45 | (homologyMap (CoverRefinement.map R X U V r M) g |
| 46 | ((PositiveCover.Comparison.iso R X W U hW hU haW haU M g hg).hom x)) = x := |
| 47 | ConcreteCategory.congr_hom (cycle R X U V hU hV haU haV M g hg W hW haW r) x |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.PositiveRefinementRecovery |