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 | |
| 3 | /-! # Frame Coordinate Values -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.FrameCoordinateValues |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The affine ratios of the determinant normalizer send a projective |
| 10 | frame to the coordinate axes and the all-one point over arbitrary rings. -/ |
| 11 | open scoped BigOperators Classical |
| 12 | universe u v w |
| 13 | variable {R : Type u} [CommRing R] {V : Type v} [AddCommGroup V] [Module R V] |
| 14 | variable {κ : Type w} [Fintype κ] |
| 15 | |
| 16 | theorem normalizedDeterminantFrame_additional |
| 17 | (e : Module.Basis κ R V) (b : κ → V) (v : V) |
| 18 | (hframe : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant e b v)) |
| 19 | (c : κ) (x : κ → R) |
| 20 | (hx : ∀ k, x k * DeterminantFrameLinearMap.determinantFrameLinearMap e b v v c = DeterminantFrameLinearMap.determinantFrameLinearMap e b v v k) : |
| 21 | x = fun _ => 1 := by |
| 22 | obtain ⟨u, hu⟩ := (DeterminantFrameNormalizationValues.determinantFrameLinearMap_normalizes e b v hframe).1 |
| 23 | funext k |
| 24 | apply u.isUnit.mul_right_cancel |
| 25 | have h := hx k |
| 26 | rw [hu] at h |
| 27 | exact h.trans (one_mul _).symm |
| 28 | |
| 29 | theorem normalizedDeterminantFrame_basis |
| 30 | (e : Module.Basis κ R V) (b : κ → V) (v : V) |
| 31 | (hframe : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant e b v)) |
| 32 | (j c : κ) (x : κ → R) |
| 33 | (hx : ∀ k, x k * DeterminantFrameLinearMap.determinantFrameLinearMap e b v (b j) c = DeterminantFrameLinearMap.determinantFrameLinearMap e b v (b j) k) : |
| 34 | x = fun k => if j = k then 1 else 0 := by |
| 35 | obtain ⟨u, hu⟩ := (DeterminantFrameNormalizationValues.determinantFrameLinearMap_normalizes e b v hframe).2 j |
| 36 | by_cases hjc : j = c |
| 37 | · subst c |
| 38 | funext k |
| 39 | apply u.isUnit.mul_right_cancel |
| 40 | have h := hx k |
| 41 | rw [hu, hu, ite_eq_left rfl] at h |
| 42 | by_cases hjk : j = k |
| 43 | · simpa only [hjk, ite_true, one_mul] using h |
| 44 | · simpa only [hjk, ite_false, zero_mul] using h |
| 45 | · have hj := hx j |
| 46 | rw [hu, hu, ite_eq_right hjc, ite_eq_left rfl, mul_zero] at hj |
| 47 | have hzero : IsUnit (0 : R) := hj.symm ▸ u.isUnit |
| 48 | have h01 : (0 : R) = 1 := isUnit_zero_iff.mp hzero |
| 49 | have hall (a : R) : a = 0 := by |
| 50 | calc |
| 51 | a = a * 1 := (mul_one a).symm |
| 52 | _ = a * 0 := congrArg (a * ·) h01.symm |
| 53 | _ = 0 := mul_zero a |
| 54 | funext k |
| 55 | exact (hall _).trans (hall _).symm |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.FrameCoordinateValues |