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.ProjectiveFrame.HomogeneousCoordinates |
| 2 | import Mathlib.LinearAlgebra.Determinant |
| 3 | |
| 4 | /-! # Determinant Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.DeterminantCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Replacing a frame column computes the corresponding coordinate. |
| 11 | The cleared frame coordinates are therefore actual products of minors |
| 12 | of the labeled point vectors in any fixed ambient basis. -/ |
| 13 | open scoped BigOperators Classical |
| 14 | universe u v w |
| 15 | variable {R : Type u} [CommRing R] {V : Type v} [AddCommGroup V] [Module R V] |
| 16 | variable {κ : Type w} [Fintype κ] |
| 17 | |
| 18 | theorem basis_det_update_coordinate (e b : Module.Basis κ R V) (i : κ) (w : V) : |
| 19 | e.det (Function.update b i w) = e.det b * b.repr w i := by |
| 20 | have h : e.det.toMultilinearMap.toLinearMap b i = e.det b • b.coord i := by |
| 21 | apply b.ext |
| 22 | intro j |
| 23 | change e.det (Function.update b i (b j)) = e.det b * b.repr (b j) i |
| 24 | by_cases hji : j = i |
| 25 | · subst j |
| 26 | simp only [Function.update_eq_self, Module.Basis.repr_self_apply, ite_true, mul_one] |
| 27 | · rw [Module.Basis.repr_self_apply, ite_eq_right hji, mul_zero] |
| 28 | exact e.det.map_eq_zero_of_eq _ (by simp [hji]) hji |
| 29 | exact LinearMap.congr_fun h w |
| 30 | |
| 31 | def projectiveFrameDeterminantCoordinates (e : Module.Basis κ R V) |
| 32 | (b : κ → V) (v w : V) (i : κ) : R := |
| 33 | e.det (Function.update b i w) * |
| 34 | ∏ j ∈ Finset.univ.erase i, e.det (Function.update b j v) |
| 35 | |
| 36 | theorem projectiveFrameDeterminantCoordinates_eq |
| 37 | (e b : Module.Basis κ R V) (v w : V) : |
| 38 | projectiveFrameDeterminantCoordinates e b v w = |
| 39 | (e.det b) ^ Fintype.card κ • HomogeneousCoordinates.projectiveFrameHomogeneousCoordinates b v w := by |
| 40 | funext i |
| 41 | simp only [projectiveFrameDeterminantCoordinates, basis_det_update_coordinate, |
| 42 | Finset.prod_mul_distrib, Finset.prod_const, Finset.card_erase_of_mem (Finset.mem_univ i), |
| 43 | Finset.card_univ, HomogeneousCoordinates.projectiveFrameHomogeneousCoordinates, Pi.smul_apply, smul_eq_mul] |
| 44 | have hcard : Fintype.card κ - 1 + 1 = Fintype.card κ := |
| 45 | Nat.sub_add_cancel (Fintype.card_pos_iff.mpr ⟨i⟩) |
| 46 | have hp : e.det b * (e.det b) ^ (Fintype.card κ - 1) = (e.det b) ^ Fintype.card κ := by |
| 47 | rw [mul_comm, ← pow_succ, hcard] |
| 48 | calc |
| 49 | _ = (e.det b * (e.det b) ^ (Fintype.card κ - 1)) * |
| 50 | (b.repr w i * ∏ j ∈ Finset.univ.erase i, b.repr v j) := by ring |
| 51 | _ = _ := by rw [hp] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.DeterminantCoordinates |