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.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleIso |
| 2 | import Mathlib.AlgebraicGeometry.Fiber |
| 3 | |
| 4 | /-! # Line Bundle Proper Triviality -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleProperTriviality.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A global line-bundle morphism which trivializes one proper fiber trivializes nearby fibers. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem lineBundle_morphism_isIso_near_pointwise_fiber |
| 17 | {X S : Scheme.{u}} (f : X ⟶ S) [UniversallyClosed f] {M N : X.Modules} |
| 18 | (hM : LineBundle.Construction.IsLineBundle M) (hN : LineBundle.Construction.IsLineBundle N) (q : M ⟶ N) (s : S) |
| 19 | (hfiber : ∀ x : X, f x = s → IsIso ((Scheme.Modules.pullback (X.fromSpecResidueField x)).map q)) : |
| 20 | ∃ U : S.Opens, s ∈ U ∧ IsIso ((Scheme.Modules.pullback (f ⁻¹ᵁ U).ι).map q) := |
| 21 | ModuleIso.Construction.exists_baseOpen_isIso_pullback_of_fiber_in_isoLocus f q s |
| 22 | (fun x hx ↦ (LineBundleIso.Construction.lineBundle_morphism_mem_isoLocus_iff hM hN q x).mpr (hfiber x hx)) |
| 23 | |
| 24 | theorem lineBundle_morphism_isIso_near_fiber |
| 25 | {X S : Scheme.{u}} (f : X ⟶ S) [UniversallyClosed f] {M N : X.Modules} |
| 26 | (hM : LineBundle.Construction.IsLineBundle M) (hN : LineBundle.Construction.IsLineBundle N) (q : M ⟶ N) (s : S) |
| 27 | [hq : IsIso ((Scheme.Modules.pullback (f.fiberι s)).map q)] : |
| 28 | ∃ U : S.Opens, s ∈ U ∧ IsIso ((Scheme.Modules.pullback (f ⁻¹ᵁ U).ι).map q) := by |
| 29 | apply lineBundle_morphism_isIso_near_pointwise_fiber f hM hN q s |
| 30 | intro x hx |
| 31 | subst s |
| 32 | let r : Spec (X.residueField x) ⟶ f.fiber (f x) := |
| 33 | pullback.lift (X.fromSpecResidueField x) (Spec.map (f.residueFieldMap x)) (by simp) |
| 34 | have hr : r ≫ f.fiberι (f x) = X.fromSpecResidueField x := pullback.lift_fst _ _ _ |
| 35 | have hi := ModuleIso.Construction.isIso_pullbackMap_comp (f.fiberι (f x)) r q |
| 36 | exact ModuleIso.Construction.isIso_map_of_naturalIso (Scheme.Modules.pullbackCongr hr) q |
| 37 | |
| 38 | theorem lineBundle_trivial_near_fiber_of_global_section |
| 39 | {X S : Scheme.{u}} (f : X ⟶ S) [UniversallyClosed f] (M : X.Modules) |
| 40 | (hM : LineBundle.Construction.IsLineBundle M) (q : LineBundle.Construction.structureSheafModule X ⟶ M) (s : S) |
| 41 | [IsIso ((Scheme.Modules.pullback (f.fiberι s)).map q)] : |
| 42 | ∃ U : S.Opens, s ∈ U ∧ |
| 43 | Nonempty ((Scheme.Modules.pullback (f ⁻¹ᵁ U).ι).obj M ≅ LineBundle.Construction.structureSheafModule (f ⁻¹ᵁ U).toScheme) := by |
| 44 | obtain ⟨U, hs, hq⟩ := lineBundle_morphism_isIso_near_fiber f (LineBundle.Construction.isLineBundle_structureSheaf X) hM q s |
| 45 | exact ⟨U, hs, ⟨(asIso ((Scheme.Modules.pullback (f ⁻¹ᵁ U).ι).map q)).symm ≪≫ |
| 46 | LineBundle.Construction.pullbackStructureSheafIso (f ⁻¹ᵁ U).ι⟩⟩ |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleProperTriviality.Construction |