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.Family.SectionProjectiveCoordinates |
| 2 | |
| 3 | /-! # Coordinate Projective Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CoordinateProjectivePoints |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The coordinate-axis points and the all-one point are actual sections |
| 10 | of relative projective space. Multiplying all coordinates by a unit |
| 11 | preserves the represented section over any base scheme. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped Classical |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable (S : Scheme.{u}) (n : ℕ) |
| 18 | |
| 19 | def standardBasisProjectiveCoordinates (i k : Fin (n + 1)) : Γ(S, ⊤) := if i = k then 1 else 0 |
| 20 | |
| 21 | theorem standardBasisProjectiveCoordinates_cover (i : Fin (n + 1)) : |
| 22 | ∀ x : S, ∃ k, x ∈ S.basicOpen (standardBasisProjectiveCoordinates S n i k) := by |
| 23 | intro x |
| 24 | refine ⟨i, ?_⟩ |
| 25 | simp only [standardBasisProjectiveCoordinates, ite_true] |
| 26 | exact (S.basicOpen_of_isUnit (isUnit_one : IsUnit (1 : Γ(S, ⊤)))).symm ▸ trivial |
| 27 | |
| 28 | def standardBasisProjectivePoint (i : Fin (n + 1)) : |
| 29 | Over.mk (𝟙 S) ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n := |
| 30 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (standardBasisProjectiveCoordinates S n i) |
| 31 | (standardBasisProjectiveCoordinates_cover S n i) |
| 32 | |
| 33 | theorem allOneProjectiveCoordinates_cover : |
| 34 | ∀ x : S, ∃ _i : Fin (n + 1), x ∈ S.basicOpen (1 : Γ(S, ⊤)) := by |
| 35 | intro x |
| 36 | exact ⟨0, (S.basicOpen_of_isUnit (isUnit_one : IsUnit (1 : Γ(S, ⊤)))).symm ▸ trivial⟩ |
| 37 | |
| 38 | def allOneProjectivePoint : Over.mk (𝟙 S) ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n := |
| 39 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (fun _ : Fin (n + 1) => (1 : Γ(S, ⊤))) |
| 40 | (allOneProjectiveCoordinates_cover S n) |
| 41 | |
| 42 | theorem scalarCoordinateProjectivePoint_unit_mul |
| 43 | (v : Fin (n + 1) → Γ(S, ⊤)) (u : Γ(S, ⊤)ˣ) |
| 44 | (hv : ∀ x : S, ∃ i, x ∈ S.basicOpen (v i)) |
| 45 | (hu : ∀ x : S, ∃ i, x ∈ S.basicOpen ((u : Γ(S, ⊤)) * v i)) : |
| 46 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (fun i => (u : Γ(S, ⊤)) * v i) hu = |
| 47 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv := by |
| 48 | let a := (Global.Sections.structureModuleEndRingEquiv S).symm (u : Γ(S, ⊤)) |
| 49 | have ha : IsIso a := (Global.Sections.structureModuleEnd_isIso_iff a).mpr (by |
| 50 | change IsUnit (Global.Sections.structureModuleEndRingEquiv S ((Global.Sections.structureModuleEndRingEquiv S).symm (u : Γ(S, ⊤)))) |
| 51 | rw [RingEquiv.apply_symm_apply] |
| 52 | exact u.isUnit) |
| 53 | let e := asIso a |
| 54 | let hve := Section.ProjectiveTargetIso.sections_compIso_covers e (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) |
| 55 | have he : (fun i => Family.SectionProjectiveCoordinates.scalarCoordinateSections v i ≫ e.hom) = |
| 56 | Family.SectionProjectiveCoordinates.scalarCoordinateSections (fun i => (u : Γ(S, ⊤)) * v i) := by |
| 57 | funext i |
| 58 | apply (Global.Sections.structureModuleEndRingEquiv S).injective |
| 59 | change Global.Sections.structureModuleEndRingEquiv S (a * Family.SectionProjectiveCoordinates.scalarCoordinateSections v i) = |
| 60 | Global.Sections.structureModuleEndRingEquiv S ((Global.Sections.structureModuleEndRingEquiv S).symm ((u : Γ(S, ⊤)) * v i)) |
| 61 | rw [map_mul, RingEquiv.apply_symm_apply] |
| 62 | change (u : Γ(S, ⊤)) * |
| 63 | Global.Sections.structureModuleEndRingEquiv S ((Global.Sections.structureModuleEndRingEquiv S).symm (v i)) = _ |
| 64 | rw [RingEquiv.apply_symm_apply, RingEquiv.apply_symm_apply] |
| 65 | symm |
| 66 | exact (Section.ProjectiveTargetIso.sectionProjectiveMorphism_targetIso (𝟙 S) e (Family.SectionProjectiveCoordinates.scalarCoordinateSections v) |
| 67 | (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover v hv) hve).trans |
| 68 | (Section.ProjectiveTargetIso.sectionProjectiveMorphism_congr (𝟙 S) he hve (Family.SectionProjectiveCoordinates.scalarCoordinateSections_cover _ hu)) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CoordinateProjectivePoints |