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.DeterminantFrameNormalizationValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.ProjectiveCoordinateAction |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.Polynomials |
| 4 | |
| 5 | /-! # Point Normalization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.PointNormalization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The determinant-unit frame condition yields an actual relative |
| 12 | projective automorphism sending the labeled frame to the standard frame, |
| 13 | as equalities of scheme morphisms over the base. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped Classical |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable (S : Scheme.{u}) {n : ℕ} |
| 20 | |
| 21 | theorem scalarCoordinateProjectivePoint_eq_of_unit_mul |
| 22 | (v w : Fin (n + 1) → Γ(S, ⊤)) (u : Γ(S, ⊤)ˣ) |
| 23 | (he : ∀ i, v i = (u : Γ(S, ⊤)) * w i) |
| 24 | (hv : ∀ x : S, ∃ i, x ∈ S.basicOpen (v i)) |
| 25 | (hw : ∀ x : S, ∃ i, x ∈ S.basicOpen (w i)) : |
| 26 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv = Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint w hw := by |
| 27 | have h : v = fun i => (u : Γ(S, ⊤)) * w i := funext he |
| 28 | subst v |
| 29 | exact Scalar.CoordinateProjectivePoints.scalarCoordinateProjectivePoint_unit_mul S n w u hw hv |
| 30 | |
| 31 | theorem projectiveFrame_exists_normalizing_automorphism |
| 32 | (b : Fin (n + 1) → Fin (n + 1) → Γ(S, ⊤)) (v : Fin (n + 1) → Γ(S, ⊤)) |
| 33 | (h : IsUnit (Polynomials.vectorFrameDiscriminant b v)) |
| 34 | (hb : ∀ i, ∀ x : S, ∃ k, x ∈ S.basicOpen (b i k)) |
| 35 | (hv : ∀ x : S, ∃ k, x ∈ S.basicOpen (v k)) : |
| 36 | ∃ α : Projective.ProjectivePresentations.projectiveSpaceOver S n ≅ Projective.ProjectivePresentations.projectiveSpaceOver S n, |
| 37 | Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint v hv ≫ α.hom = Scalar.CoordinateProjectivePoints.allOneProjectivePoint S n ∧ |
| 38 | ∀ i, Family.SectionProjectiveCoordinates.scalarCoordinateProjectivePoint (b i) (hb i) ≫ α.hom = Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint S n i := by |
| 39 | let e := Pi.basisFun Γ(S, ⊤) (Fin (n + 1)) |
| 40 | let T := DeterminantFrameLinearMap.determinantFrameLinearEquiv e b v h |
| 41 | obtain ⟨⟨u, hu⟩, ha⟩ := DeterminantFrameNormalizationValues.determinantFrameLinearMap_normalizes e b v h |
| 42 | have huv : ∀ k, T v k = (u : Γ(S, ⊤)) := fun k => congrFun hu k |
| 43 | have hTv : ∀ x : S, ∃ k, x ∈ S.basicOpen (T v k) := by |
| 44 | intro x |
| 45 | refine ⟨0, ?_⟩ |
| 46 | rw [huv] |
| 47 | exact (S.basicOpen_of_isUnit u.isUnit).symm ▸ trivial |
| 48 | refine ⟨Relative.LinearCoordinateIsomorphism.relativeLinearCoordinateIso n S (Dual.CoordinateTransform.pointCoordinateCoefficientTransform T).symm, ?_, ?_⟩ |
| 49 | · rw [Scalar.ProjectiveCoordinateAction.scalarCoordinateProjectivePoint_linear_action S v T hv hTv] |
| 50 | apply scalarCoordinateProjectivePoint_eq_of_unit_mul S (T v) (fun _ => 1) u |
| 51 | (fun k => (huv k).trans (mul_one _).symm) hTv |
| 52 | (Scalar.CoordinateProjectivePoints.allOneProjectiveCoordinates_cover S n) |
| 53 | · intro i |
| 54 | obtain ⟨a, hi⟩ := ha i |
| 55 | have hi' (k : Fin (n + 1)) : T (b i) k = if i = k then (a : Γ(S, ⊤)) else 0 := by |
| 56 | by_cases hik : i = k <;> simpa [T, DeterminantFrameLinearMap.determinantFrameLinearEquiv, hik] using hi k |
| 57 | have hTi : ∀ x : S, ∃ k, x ∈ S.basicOpen (T (b i) k) := by |
| 58 | intro x |
| 59 | refine ⟨i, ?_⟩ |
| 60 | rw [show T (b i) i = (a : Γ(S, ⊤)) by simpa using hi' i] |
| 61 | exact (S.basicOpen_of_isUnit a.isUnit).symm ▸ trivial |
| 62 | rw [Scalar.ProjectiveCoordinateAction.scalarCoordinateProjectivePoint_linear_action S (b i) T (hb i) hTi] |
| 63 | apply scalarCoordinateProjectivePoint_eq_of_unit_mul S (T (b i)) |
| 64 | (Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates S n i) a _ hTi |
| 65 | (Scalar.CoordinateProjectivePoints.standardBasisProjectiveCoordinates_cover S n i) |
| 66 | intro k |
| 67 | change T (b i) k = (a : Γ(S, ⊤)) * (if i = k then 1 else 0) |
| 68 | rw [show T (b i) k = if i = k then (a : Γ(S, ⊤)) else 0 from hi' k] |
| 69 | split_ifs <;> simp only [mul_one, mul_zero] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.PointNormalization |