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.SheafCohomology.Projective.BaseZeroSections |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.AffineSectionExact |
| 3 | |
| 4 | /-! # Base Global Sections Exact -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseGlobalSectionsExact |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exactness and cokernels of actual global sections when the first cohomology vanishes. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 14 | universe u |
| 15 | |
| 16 | variable {X S : Scheme.{u}} (π : X ⟶ S) |
| 17 | |
| 18 | def baseGlobalSectionsMap {M N : X.Modules} (f : M ⟶ N) : |
| 19 | letI := BaseZeroSections.baseGlobalSectionsModule π M |
| 20 | letI := BaseZeroSections.baseGlobalSectionsModule π N |
| 21 | Γ(M, ⊤) →ₗ[Γ(S, ⊤)] Γ(N, ⊤) := by |
| 22 | letI := BaseZeroSections.baseGlobalSectionsModule π M |
| 23 | letI := BaseZeroSections.baseGlobalSectionsModule π N |
| 24 | exact { (f.val.app (op ⊤)).hom.toAddMonoidHom with |
| 25 | map_smul' := fun r x => (f.val.app (op ⊤)).hom.map_smul (π.appTop r) x } |
| 26 | |
| 27 | theorem globalSections_exact_of_shortExact {T : ShortComplex X.Modules} (hT : T.ShortExact) : |
| 28 | Function.Exact (T.f.app ⊤) (T.g.app ⊤) := by |
| 29 | let F := Module.ProjectiveAffine.ModuleSheaf.toSheaf X |
| 30 | have hF : (T.map F).ShortExact := hT.map_of_exact F |
| 31 | intro x |
| 32 | constructor |
| 33 | · intro hx |
| 34 | exact SheafCohomology.Exact.CategoryTheory.Sheaf.H.longSequence_equiv₀_exact₂ hF |
| 35 | (isTerminalTop : IsTerminal (⊤ : X.Opens)) x hx |
| 36 | · rintro ⟨y, rfl⟩ |
| 37 | have h := congrArg (fun f : T.X₁ ⟶ T.X₃ => f.app ⊤ y) T.zero |
| 38 | exact h |
| 39 | |
| 40 | theorem globalSections_surjective_of_HOne_vanish {T : ShortComplex X.Modules} |
| 41 | (hT : T.ShortExact) [Subsingleton (AffineH.Projective.H T.X₁ 1)] : |
| 42 | Function.Surjective (T.g.app ⊤) := by |
| 43 | let F := Module.ProjectiveAffine.ModuleSheaf.toSheaf X |
| 44 | have hF : (T.map F).ShortExact := hT.map_of_exact F |
| 45 | have : Subsingleton (CategoryTheory.Sheaf.H (T.map F).X₁ 1) := |
| 46 | inferInstanceAs (Subsingleton (AffineH.Projective.H T.X₁ 1)) |
| 47 | exact SheafCohomology.Exact.CategoryTheory.Sheaf.H.longSequence_surjective_of_subsingleton_H hF |
| 48 | (isTerminalTop : IsTerminal (⊤ : X.Opens)) |
| 49 | |
| 50 | def globalSectionsCokernelEquiv {T : ShortComplex X.Modules} |
| 51 | (hT : T.ShortExact) [Subsingleton (AffineH.Projective.H T.X₁ 1)] : |
| 52 | letI := BaseZeroSections.baseGlobalSectionsModule π T.X₁ |
| 53 | letI := BaseZeroSections.baseGlobalSectionsModule π T.X₂ |
| 54 | letI := BaseZeroSections.baseGlobalSectionsModule π T.X₃ |
| 55 | (Γ(T.X₂, ⊤) ⧸ (baseGlobalSectionsMap π T.f).range) ≃ₗ[Γ(S, ⊤)] Γ(T.X₃, ⊤) := by |
| 56 | letI := BaseZeroSections.baseGlobalSectionsModule π T.X₁ |
| 57 | letI := BaseZeroSections.baseGlobalSectionsModule π T.X₂ |
| 58 | letI := BaseZeroSections.baseGlobalSectionsModule π T.X₃ |
| 59 | let f := baseGlobalSectionsMap π T.f |
| 60 | let g := baseGlobalSectionsMap π T.g |
| 61 | have hex : Function.Exact f g := globalSections_exact_of_shortExact hT |
| 62 | have heq : f.range = g.ker := (LinearMap.exact_iff.mp hex).symm |
| 63 | exact (Submodule.quotEquivOfEq _ _ heq).trans |
| 64 | (g.quotKerEquivOfSurjective (globalSections_surjective_of_HOne_vanish hT)) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseGlobalSectionsExact |