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.AbelianModuli.HilbertConstruction.Affine.Frames |
| 2 | |
| 3 | /-! # Common Frames -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.Finite.CommonFrames |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Two actual line bundles on a quasi-compact scheme admit one finite |
| 10 | affine cover with native frames for both bundles. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem exists_common_affine_frame {X : Scheme} (L N : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (x : X) : |
| 15 | ∃ U : X.Opens, x ∈ U ∧ IsAffineOpen U ∧ |
| 16 | Nonempty ((Scheme.Modules.pullback U.ι).obj L.sheaf ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.toScheme) ∧ |
| 17 | Nonempty ((Scheme.Modules.pullback U.ι).obj N.sheaf ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.toScheme) := by |
| 18 | obtain ⟨V, hxV, ⟨eL⟩⟩ := L.locallyTrivial x |
| 19 | obtain ⟨W, hxW, ⟨eN⟩⟩ := N.locallyTrivial x |
| 20 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, hUV⟩ := X.isBasis_affineOpens.exists_subset_of_mem_open |
| 21 | (show x ∈ V ⊓ W from ⟨hxV, hxW⟩) (V ⊓ W).isOpen |
| 22 | exact ⟨U, hxU, hU, ⟨L.frameRestrict (hUV.trans inf_le_left) eL⟩, |
| 23 | ⟨N.frameRestrict (hUV.trans inf_le_right) eN⟩⟩ |
| 24 | |
| 25 | theorem exists_finite_common_affine_frames {X : Scheme} [CompactSpace X] |
| 26 | (L N : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 27 | ∃ (k : ℕ) (U : Fin k → X.Opens), (∀ i, IsAffineOpen (U i)) ∧ |
| 28 | (∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (U i).toScheme)) ∧ |
| 29 | (∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj N.sheaf ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (U i).toScheme)) ∧ |
| 30 | iSup U = ⊤ := by |
| 31 | classical |
| 32 | choose U hx hU eL eN using exists_common_affine_frame L N |
| 33 | obtain ⟨t, ht⟩ := isCompact_univ.elim_finite_subcover |
| 34 | (fun x => (U x : Set X)) (fun x => (U x).isOpen) |
| 35 | (fun x _ => Set.mem_iUnion.mpr ⟨x, hx x⟩) |
| 36 | let a := Fintype.equivFin t |
| 37 | refine ⟨Fintype.card t, fun i => U (a.symm i).val, fun i => hU _, fun i => eL _, fun i => eN _, ?_⟩ |
| 38 | apply top_unique |
| 39 | intro x _ |
| 40 | obtain ⟨y, hy, hxy⟩ := Set.mem_iUnion₂.mp (ht (Set.mem_univ x)) |
| 41 | apply TopologicalSpace.Opens.mem_iSup.mpr |
| 42 | refine ⟨a ⟨y, hy⟩, ?_⟩ |
| 43 | have he : (a.symm (a ⟨y, hy⟩)).val = y := congrArg Subtype.val (a.symm_apply_apply ⟨y, hy⟩) |
| 44 | exact (congrArg (fun z => x ∈ U z) he).mpr hxy |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.RepresentationTheory.Theta.Geometric.Finite.CommonFrames |