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.AlgebraicGeometry.PELModuli.IntegralModel.ClosedTwistKernel |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.FrameSections |
| 3 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 4 | |
| 5 | /-! # Global Twist Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.GlobalTwistKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The global twisted structure-sheaf map has precisely the kernel detected |
| 12 | by the actual ideal sheaf in affine local frames. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory Opposite |
| 17 | |
| 18 | namespace PolarizationEmbedding |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.FrameSections |
| 21 | universe u |
| 22 | local instance c44GlobalTwistKernelMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 23 | |
| 24 | theorem affineRestriction_map_app {X : Scheme.{u}} {M N : X.Modules} (q : M ⟶ N) |
| 25 | (U : X.affineOpens) (x : Γ(M, ⊤)) : |
| 26 | SheafCohomology.Projective.FrameSections.localTrivializationRestriction N U (q.app ⊤ x) = |
| 27 | ((Scheme.Modules.restrictFunctor U.1.ι).map q).app ⊤ |
| 28 | (SheafCohomology.Projective.FrameSections.localTrivializationRestriction M U x) := |
| 29 | SheafCohomology.Projective.FrameSections.localTrivializationRestriction_map q U x |
| 30 | |
| 31 | theorem affineAmbientSection_eq_topIso {X : Scheme.{u}} (U : X.affineOpens) |
| 32 | (r : Γ(U.1.toScheme, ⊤)) : SheafCohomology.Projective.FrameSections.affineOpenAmbientSection U r = U.1.topIso.hom r := by |
| 33 | have h := SheafCohomology.Projective.FrameSections.affineOpenTopSection_ambientSection U r |
| 34 | rw [SheafCohomology.Projective.FrameSections.affineOpenTopSection_eq_topIso_inv] at h |
| 35 | have h' := congrArg U.1.topIso.hom h |
| 36 | simpa only [Iso.inv_hom_id_apply] using h' |
| 37 | |
| 38 | theorem globalSection_zero_iff_affine_cover {X : Scheme.{u}} (M : X.Modules) |
| 39 | {ι : Type*} (U : ι → X.affineOpens) (hU : (⊤ : X.Opens) ≤ ⨆ i, (U i).1) |
| 40 | (x : Γ(M, ⊤)) : x = 0 ↔ ∀ i, SheafCohomology.Projective.FrameSections.localTrivializationRestriction M (U i) x = 0 := by |
| 41 | constructor |
| 42 | · rintro rfl i |
| 43 | exact SheafCohomology.Projective.FrameSections.localTrivializationRestriction_zero M (U i) |
| 44 | · intro h |
| 45 | let F : TopCat.Sheaf AddCommGrpCat X := (SheafOfModules.toSheaf X.ringCatSheaf).obj M |
| 46 | apply F.eq_of_locally_eq' (fun i => (U i).1) ⊤ (fun _ => homOfLE le_top) hU |
| 47 | intro i |
| 48 | change M.presheaf.map (U i).1.leTop.op x = M.presheaf.map (U i).1.leTop.op 0 |
| 49 | rw [map_zero] |
| 50 | exact (SheafCohomology.Projective.FrameSections.localTrivializationRestriction_eq_zero_iff M (U i) x).mp (h i) |
| 51 | |
| 52 | theorem globalTwistedStructureMap_zero_iff {X Y : Scheme.{u}} (f : X ⟶ Y) [QuasiCompact f] |
| 53 | (L : Y.Modules) {ι : Type*} (U : ι → Y.affineOpens) |
| 54 | (hU : (⊤ : Y.Opens) ≤ ⨆ i, (U i).1) |
| 55 | (e : ∀ i, L.restrict (U i).1.ι ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj (U i).1.toScheme) |
| 56 | (x : Γ(L, ⊤)) : |
| 57 | ((tensorRight L).map (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom)).app ⊤ |
| 58 | ((Open.TwistKernel.PolarizationEmbedding.unitTensorLineIso L).inv.app ⊤ x) = 0 ↔ |
| 59 | ∀ i, SheafCohomology.Projective.FrameSections.localTrivializationCoefficient L (U i) (e i) x ∈ f.ker.ideal (U i) := by |
| 60 | rw [globalSection_zero_iff_affine_cover _ U hU] |
| 61 | apply forall_congr' |
| 62 | intro i |
| 63 | rw [affineRestriction_map_app |
| 64 | ((tensorRight L).map (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom))] |
| 65 | erw [affineRestriction_map_app (Open.TwistKernel.PolarizationEmbedding.unitTensorLineIso L).inv] |
| 66 | rw [ClosedTwistKernel.PolarizationEmbedding.twistedStructureMap_zero_iff_mem_ideal] |
| 67 | rw [SheafCohomology.Projective.FrameSections.localTrivializationCoefficient, affineAmbientSection_eq_topIso] |
| 68 | rfl |
| 69 | |
| 70 | end PolarizationEmbedding |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.GlobalTwistKernel |