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.TensorRestriction |
| 2 | import Mathlib.AlgebraicGeometry.AffineScheme |
| 3 | |
| 4 | /-! # Line Bundle On -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleOn.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite affine covers on which a given line bundle is trivial. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} (M : X.Modules) |
| 17 | |
| 18 | theorem exists_affine_lineBundle_chart (hM : LineBundle.Construction.IsLineBundle M) (x : X) : |
| 19 | ∃ U : X.Opens, IsAffineOpen U ∧ x ∈ U ∧ |
| 20 | Nonempty ((Scheme.Modules.pullback U.ι).obj M ≅ LineBundle.Construction.structureSheafModule U.toScheme) := by |
| 21 | obtain ⟨V, hx, ⟨e⟩⟩ := hM x |
| 22 | obtain ⟨U, hU, hxU, hUV⟩ := exists_isAffineOpen_mem_and_subset hx |
| 23 | exact ⟨U, hU, hxU, ⟨TensorRestriction.Construction.restrictLineBundleTrivialization hUV e⟩⟩ |
| 24 | |
| 25 | structure LineBundleAffineCover where |
| 26 | index : Type u |
| 27 | [finiteIndex : Fintype index] |
| 28 | opens : index → X.Opens |
| 29 | cover : iSup opens = ⊤ |
| 30 | affine : ∀ i, IsAffineOpen (opens i) |
| 31 | trivialization : ∀ i, (Scheme.Modules.pullback (opens i).ι).obj M ≅ |
| 32 | LineBundle.Construction.structureSheafModule (opens i).toScheme |
| 33 | |
| 34 | attribute [instance] LineBundleAffineCover.finiteIndex |
| 35 | |
| 36 | theorem exists_lineBundleAffineCover [CompactSpace X] (hM : LineBundle.Construction.IsLineBundle M) : |
| 37 | Nonempty (LineBundleAffineCover M) := by |
| 38 | classical |
| 39 | choose U hU hx he using exists_affine_lineBundle_chart M hM |
| 40 | obtain ⟨t, ht⟩ := isCompact_univ.elim_finite_subcover (fun x : X ↦ (U x : Set X)) |
| 41 | (fun x ↦ (U x).isOpen) (fun x _ ↦ Set.mem_iUnion.mpr ⟨x, hx x⟩) |
| 42 | refine ⟨{ |
| 43 | index := t |
| 44 | opens := fun i ↦ U i.val |
| 45 | affine := fun i ↦ hU i.val |
| 46 | trivialization := fun i ↦ (he i.val).some |
| 47 | cover := ?_ }⟩ |
| 48 | apply top_unique |
| 49 | intro x _ |
| 50 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp (ht (Set.mem_univ x)) |
| 51 | obtain ⟨hit, hxi⟩ := Set.mem_iUnion.mp hi |
| 52 | exact Opens.mem_iSup.mpr ⟨⟨i, hit⟩, hxi⟩ |
| 53 | |
| 54 | def LineBundleAffineCover.trivializationOn {M : X.Modules} (U : LineBundleAffineCover M) |
| 55 | (i : U.index) (V : X.Opens) (hV : V ≤ U.opens i) : |
| 56 | (Scheme.Modules.pullback V.ι).obj M ≅ LineBundle.Construction.structureSheafModule V.toScheme := |
| 57 | TensorRestriction.Construction.restrictLineBundleTrivialization hV (U.trivialization i) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleOn.Construction |