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.Smooth.DiagramFaithfulness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraTensorFunctor |
| 3 | |
| 4 | /-! # Algebra Functor Model -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AlgebraFunctorModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Faithful recovery makes the arrows of a descended algebra diagram satisfy the original functor laws. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | abbrev SmoothAlgebraFunctorModel |
| 17 | (R : Type u) [CommRing R] {J : Type v} [Category.{w} J] (A : J ⥤ CommAlgCat.{u} R) := |
| 18 | AffineDiagramModel.SmoothAffineDiagramModel R (fun i => ↥(A.obj i)) |
| 19 | (fun k : Σ i j : J, i ⟶ j => k.1) (fun k => k.2.1) (fun k => (A.map k.2.2).hom) |
| 20 | |
| 21 | namespace SmoothAlgebraFunctorModel |
| 22 | |
| 23 | variable {R : Type u} [CommRing R] {J : Type v} [Category.{w} J] |
| 24 | variable {A : J ⥤ CommAlgCat.{u} R} (M : SmoothAlgebraFunctorModel R A) |
| 25 | |
| 26 | theorem arrow_id (i : J) : M.arrow ⟨i, i, 𝟙 i⟩ = AlgHom.id M.coefficients (M.algebra i) := by |
| 27 | ext x |
| 28 | apply M.realization_injective i |
| 29 | rw [M.realization_arrow ⟨i, i, 𝟙 i⟩] |
| 30 | change (A.map (𝟙 i)).hom (M.realization i x) = M.realization i x |
| 31 | rw [A.map_id] |
| 32 | rfl |
| 33 | |
| 34 | theorem arrow_comp {i j k : J} (f : i ⟶ j) (g : j ⟶ k) : |
| 35 | M.arrow ⟨i, k, f ≫ g⟩ = (M.arrow ⟨j, k, g⟩).comp (M.arrow ⟨i, j, f⟩) := by |
| 36 | ext x |
| 37 | apply M.realization_injective k |
| 38 | change M.realization k (M.arrow ⟨i, k, f ≫ g⟩ x) = |
| 39 | M.realization k (M.arrow ⟨j, k, g⟩ (M.arrow ⟨i, j, f⟩ x)) |
| 40 | rw [M.realization_arrow ⟨i, k, f ≫ g⟩, M.realization_arrow ⟨j, k, g⟩, |
| 41 | M.realization_arrow ⟨i, j, f⟩] |
| 42 | change (A.map (f ≫ g)).hom (M.realization i x) = |
| 43 | (A.map g).hom ((A.map f).hom (M.realization i x)) |
| 44 | rw [A.map_comp] |
| 45 | rfl |
| 46 | |
| 47 | def algebraFunctor : J ⥤ CommAlgCat.{u} M.coefficients where |
| 48 | obj i := M.algebra i |
| 49 | map {i j} f := CommAlgCat.ofHom (M.arrow ⟨i, j, f⟩) |
| 50 | map_id i := CommAlgCat.hom_ext (M.arrow_id i) |
| 51 | map_comp f g := CommAlgCat.hom_ext (M.arrow_comp f g) |
| 52 | |
| 53 | end SmoothAlgebraFunctorModel |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AlgebraFunctorModel |