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.Finite.RetractCopies |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.SectionValueAdditive |
| 3 | |
| 4 | /-! # Retract Section Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite matrix identity decomposes every section into sections of |
| 11 | the source object. Surjectivity on global values is surjectivity on actual section maps. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive _root_.AlgebraicGeometry |
| 13 | open scoped BigOperators |
| 14 | universe u |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | theorem RetractSectionFactorization.section_postcomp_surjective_of_global_surjective {M N : X.Modules} |
| 18 | (f : M ⟶ N) (hf : Function.Surjective (f.app (⊤ : X.Opens))) : |
| 19 | Function.Surjective (fun s : Line.Bundles.structureModule X ⟶ M => s ≫ f) := by |
| 20 | intro t |
| 21 | obtain ⟨v, hv⟩ := hf (Global.Sections.moduleSectionHomEquiv N t) |
| 22 | refine ⟨(Global.Sections.moduleSectionHomEquiv M).symm v, (Global.Sections.moduleSectionHomEquiv N).injective ?_⟩ |
| 23 | change f.app ⊤ (Global.Sections.moduleSectionHomEquiv M ((Global.Sections.moduleSectionHomEquiv M).symm v)) = _ |
| 24 | rw [Equiv.apply_symm_apply] |
| 25 | exact hv |
| 26 | |
| 27 | theorem RetractCopies.FiniteRetractCopies.sections_factor {L M : X.Modules} (h : RetractCopies.FiniteRetractCopies L M) |
| 28 | {N : X.Modules} (f : M ⟶ N) |
| 29 | (hf : Function.Surjective (fun s : Line.Bundles.structureModule X ⟶ M => s ≫ f)) |
| 30 | (t : Line.Bundles.structureModule X ⟶ N) : |
| 31 | ∃ (n : ℕ) (s : Fin n → (Line.Bundles.structureModule X ⟶ L)) (a : Fin n → (L ⟶ N)), |
| 32 | t = ∑ i, s i ≫ a i := by |
| 33 | obtain ⟨n, ι, π, he⟩ := h |
| 34 | obtain ⟨v, rfl⟩ := hf t |
| 35 | refine ⟨n, fun i => v ≫ π i, fun i => ι i ≫ f, ?_⟩ |
| 36 | calc |
| 37 | v ≫ f = v ≫ (∑ i, π i ≫ ι i) ≫ f := by rw [he]; simp |
| 38 | _ = ∑ i, (v ≫ π i) ≫ (ι i ≫ f) := by simp only [comp_sum, sum_comp, Category.assoc] |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite |