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.Principal.ClosedScalars |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechLinear |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.PresheafTrace |
| 4 | |
| 5 | /-! # Closed Supported Scalars -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedSupportedScalars |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Closed-scheme coefficient diagrams enter the original supported |
| 12 | single-degree total without changing its degree or signs. Their scalar |
| 13 | maps act by the original ambient scalar after restriction. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf |
| 20 | variable {X Z : Scheme.{u}} (i : X ⟶ Z) (U : Z.Opens) |
| 21 | private abbrev ambientRing := Γ(Z, U) |
| 22 | private abbrev closedRing := Γ(X, i ⁻¹ᵁ U) |
| 23 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedSupportedScalars.ambientRing U |
| 24 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedSupportedScalars.closedRing i U |
| 25 | local notation "C" => (OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf.Index U)ᵒᵖ |
| 26 | |
| 27 | def restriction : (C ⥤ ModuleCat.{u} Q) ⥤ (C ⥤ ModuleCat.{u} A) := |
| 28 | (Functor.whiskeringRight C (ModuleCat.{u} Q) (ModuleCat.{u} A)).obj |
| 29 | (ModuleCat.restrictScalars (i.app U).hom) |
| 30 | |
| 31 | instance restriction_additive : (restriction i U).Additive := by |
| 32 | dsimp only [restriction] |
| 33 | infer_instance |
| 34 | |
| 35 | local instance singleLinear (c : ℕ) : |
| 36 | (single (C ⥤ ModuleCat.{u} A) (.up ℕ) c).Linear A where |
| 37 | map_smul f r := by |
| 38 | apply from_single_hom_ext |
| 39 | simp only [single_map_f_self, smul_f_apply, Linear.comp_smul, Linear.smul_comp] |
| 40 | |
| 41 | variable {ι : Type u} [LinearOrder ι] (W : ι → SectionPresheaf.Index U) (c q : ℕ) |
| 42 | |
| 43 | def functor : (C ⥤ ModuleCat.{u} Q) ⥤ ModuleCat.{u} A := |
| 44 | restriction i U ⋙ single (C ⥤ ModuleCat.{u} A) (.up ℕ) c ⋙ |
| 45 | Supported.CechHomotopyEquivalence.functor W q |
| 46 | |
| 47 | instance functor_additive : (functor i U W c q).Additive := by |
| 48 | dsimp only [functor] |
| 49 | infer_instance |
| 50 | |
| 51 | def additive : (C ⥤ ModuleCat.{u} Q) ⥤ AddCommGrpCat.{u} := |
| 52 | functor i U W c q ⋙ forget₂ (ModuleCat.{u} A) AddCommGrpCat |
| 53 | |
| 54 | instance additive_additive : (additive i U W c q).Additive := by |
| 55 | dsimp only [additive] |
| 56 | infer_instance |
| 57 | |
| 58 | theorem restriction_scalar (P : C ⥤ ModuleCat.{u} Q) (a : A) : |
| 59 | (restriction i U).map (FiniteEtale.PresheafTrace.scalar Q P (i.app U a)) = |
| 60 | a • 𝟙 ((restriction i U).obj P) := by |
| 61 | apply NatTrans.ext |
| 62 | funext r |
| 63 | apply ModuleCat.hom_ext |
| 64 | apply LinearMap.ext |
| 65 | intro x |
| 66 | rfl |
| 67 | |
| 68 | theorem scalar_map (P : C ⥤ ModuleCat.{u} Q) (a : A) |
| 69 | (y : (functor i U W c q).obj P) : |
| 70 | (functor i U W c q).map (FiniteEtale.PresheafTrace.scalar Q P (i.app U a)) y = |
| 71 | a • y := by |
| 72 | change (Supported.CechHomotopyEquivalence.functor W q).map |
| 73 | ((single (C ⥤ ModuleCat.{u} A) (.up ℕ) c).map |
| 74 | ((restriction i U).map (FiniteEtale.PresheafTrace.scalar Q P (i.app U a)))) y = _ |
| 75 | rw [restriction_scalar, Functor.map_smul, CategoryTheory.Functor.map_id, |
| 76 | Functor.map_smul, CategoryTheory.Functor.map_id] |
| 77 | rfl |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedSupportedScalars |