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.OpenUnitLocus |
| 2 | import Mathlib.AlgebraicGeometry.Limits |
| 3 | |
| 4 | /-! # Unit Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.UnitLocus |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The principal-open unit locus with its universal property over a base scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} (M : Over S) |
| 17 | |
| 18 | theorem relative_unit_locus (s : Γ(M.left, ⊤)) : |
| 19 | ∃ (U : Over S) (j : U ⟶ M), IsOpenImmersion j.left ∧ |
| 20 | ∀ (T : Over S) (x : T ⟶ M), IsUnit (x.left.appTop s) ↔ ∃! y : T ⟶ U, y ≫ j = x := by |
| 21 | let V : M.left.Opens := M.left.basicOpen s |
| 22 | let U : Over S := Over.mk (V.ι ≫ M.hom) |
| 23 | let j : U ⟶ M := Over.homMk V.ι rfl |
| 24 | have hj : IsOpenImmersion j.left := inferInstanceAs (IsOpenImmersion V.ι) |
| 25 | let := hj |
| 26 | have : Mono j := Over.mono_of_mono_left j |
| 27 | have hs : IsUnit (j.left.appTop s) := by |
| 28 | apply (OpenUnitLocus.isUnit_appTop_iff_range_subset j.left s).mpr |
| 29 | change Set.range V.ι ⊆ (V : Set M.left) |
| 30 | rw [Scheme.Opens.range_ι] |
| 31 | refine ⟨U, j, hj, ?_⟩ |
| 32 | intro T x |
| 33 | constructor |
| 34 | · intro hx |
| 35 | have hrange : Set.range x.left ⊆ Set.range V.ι := by |
| 36 | rw [Scheme.Opens.range_ι] |
| 37 | exact (OpenUnitLocus.isUnit_appTop_iff_range_subset x.left s).mp hx |
| 38 | let y := IsOpenImmersion.lift V.ι x.left hrange |
| 39 | have hy : y ≫ V.ι = x.left := IsOpenImmersion.lift_fac V.ι x.left hrange |
| 40 | let y' : T ⟶ U := Over.homMk y (by |
| 41 | change y ≫ (V.ι ≫ M.hom) = T.hom |
| 42 | rw [← Category.assoc, hy, x.w]) |
| 43 | refine ⟨y', ?_, ?_⟩ |
| 44 | · apply Over.OverMorphism.ext |
| 45 | exact hy |
| 46 | · intro z hz |
| 47 | apply (cancel_mono j).mp |
| 48 | exact hz.trans (by apply Over.OverMorphism.ext; exact hy.symm) |
| 49 | · rintro ⟨y, hy, _⟩ |
| 50 | rw [← hy] |
| 51 | exact hs.map y.left.appTop.hom |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.UnitLocus |