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.HilbertScheme.Presentations.Finite.ProperEquationLoci |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedSubfunctorRange |
| 3 | |
| 4 | /-! # Represented Proper Equation Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedProperEquationLocus.Core |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restrict an already represented subfunctor by finite equations with |
| 11 | proper flat sources, retaining its exact values and inclusion transformation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {F : (Over S)ᵒᵖ ⥤ Type u} |
| 17 | variable {M : Over S} [IsLocallyNoetherian M.left] |
| 18 | |
| 19 | theorem represented_proper_equation_locus (G : Subfunctor F) |
| 20 | (e : yoneda.obj M ≅ G.toFunctor) (R : List (Endomorphisms.Core.FamilyMorphismEquation F)) : |
| 21 | ∃ (Z : Over S) (j : Z ⟶ M), IsClosedImmersion j.left ∧ |
| 22 | ∃ e' : yoneda.obj Z ≅ (G ⊓ Endomorphisms.Core.solutionSubfunctor R).toFunctor, |
| 23 | e'.hom ≫ (G ⊓ Endomorphisms.Core.solutionSubfunctor R).ι = yoneda.map j ≫ e.hom ≫ G.ι := by |
| 24 | obtain ⟨Z, j, hj, htest⟩ := Finite.ProperEquationLoci.Core.finite_proper_equations_closed_lifts R (e.hom ≫ G.ι) |
| 25 | let : IsClosedImmersion j.left := hj |
| 26 | let : Mono j := Over.mono_of_mono_left j |
| 27 | refine ⟨Z, j, hj, ?_⟩ |
| 28 | apply RepresentedSubfunctorRange.representedSubfunctor_restrict G (Endomorphisms.Core.solutionSubfunctor R) e j |
| 29 | intro T x |
| 30 | constructor |
| 31 | · intro hx |
| 32 | exact ((htest T x).mp hx).exists |
| 33 | · rintro ⟨y, hy⟩ |
| 34 | exact (htest T x).mpr ⟨y, hy, fun z hz => (cancel_mono j).mp (hz.trans hy.symm)⟩ |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedProperEquationLocus.Core |