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.ScalarRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.Discriminant |
| 3 | |
| 4 | /-! # Coordinate Transformation Uniqueness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.CoordinateTransformationUniqueness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coordinate transformations agreeing on the lines of a |
| 11 | projective frame differ by one unit scalar, over arbitrary rings. -/ |
| 12 | universe u v w |
| 13 | variable {R : Type u} [CommRing R] {V : Type v} [AddCommGroup V] [Module R V] |
| 14 | variable {κ : Type w} |
| 15 | |
| 16 | theorem projectiveFrame_linearEquiv_unique_up_to_unit |
| 17 | (b : Module.Basis κ R V) (v : V) (hu : ∀ k, IsUnit (b.repr v k)) |
| 18 | (T U : V ≃ₗ[R] V) (s : κ → Rˣ) (c : Rˣ) |
| 19 | (hb : ∀ k, T (b k) = (s k : R) • U (b k)) |
| 20 | (hv : T v = (c : R) • U v) : T.toLinearMap = (c : R) • U.toLinearMap := by |
| 21 | have hf : U.symm.toLinearMap.comp T.toLinearMap = (c : R) • LinearMap.id := |
| 22 | ProjectiveFrame.ScalarRigidity.projectiveFrame_linearMap_scalar b (U.symm.toLinearMap.comp T.toLinearMap) |
| 23 | (fun k => (s k : R)) (fun k => by |
| 24 | change U.symm (T (b k)) = _ |
| 25 | rw [hb, U.symm.map_smul, U.symm_apply_apply]) v hu c (by |
| 26 | change U.symm (T v) = _ |
| 27 | rw [hv, U.symm.map_smul, U.symm_apply_apply]) |
| 28 | apply LinearMap.ext |
| 29 | intro z |
| 30 | apply U.symm.injective |
| 31 | change U.symm (T z) = U.symm ((c : R) • U z) |
| 32 | rw [U.symm.map_smul, U.symm_apply_apply] |
| 33 | exact LinearMap.congr_fun hf z |
| 34 | |
| 35 | theorem configurationFrame_linearEquiv_unique_up_to_unit [Fintype κ] |
| 36 | {ι : Type*} (b₀ : Module.Basis κ R V) (v : ι → V) (σ : κ → ι) (e : ι) |
| 37 | (hframe : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant b₀ (fun k => v (σ k)) (v e))) |
| 38 | (T U : V ≃ₗ[R] V) (s : ι → Rˣ) |
| 39 | (h : ∀ k, T (v k) = (s k : R) • U (v k)) : |
| 40 | T.toLinearMap = (s e : R) • U.toLinearMap := by |
| 41 | obtain ⟨b, hb, hu⟩ := (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant_isUnit_iff b₀ _ _).mp hframe |
| 42 | exact projectiveFrame_linearEquiv_unique_up_to_unit b (v e) hu T U (fun k => s (σ k)) (s e) |
| 43 | (fun k => by rw [hb]; exact h (σ k)) (h e) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.CoordinateTransformationUniqueness |