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 Mathlib.LinearAlgebra.Pi |
| 3 | |
| 4 | /-! # Normalization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.Normalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual projective frame has an explicit invertible linear |
| 11 | normalization over any commutative base ring: its additional vector maps |
| 12 | to the all-one vector and its basis lines map to the coordinate lines. -/ |
| 13 | open scoped 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 κ] (b : Module.Basis κ R V) |
| 17 | variable (v : V) (hu : ∀ k, IsUnit (b.repr v k)) |
| 18 | |
| 19 | def projectiveFrameNormalization : V ≃ₗ[R] (κ → R) := |
| 20 | b.equivFun.trans (LinearEquiv.piCongrRight fun k => |
| 21 | (LinearEquiv.smulOfUnit ((hu k).unit⁻¹) : R ≃ₗ[R] R)) |
| 22 | |
| 23 | theorem projectiveFrameNormalization_additional : |
| 24 | projectiveFrameNormalization b v hu v = fun _ => (1 : R) := by |
| 25 | funext k |
| 26 | change (↑((hu k).unit⁻¹) : R) * b.repr v k = 1 |
| 27 | exact (congrArg (fun a : R => (↑((hu k).unit⁻¹) : R) * a) |
| 28 | (hu k).unit_spec.symm).trans (Units.inv_mul (hu k).unit) |
| 29 | |
| 30 | theorem projectiveFrameNormalization_basis (i k : κ) : |
| 31 | projectiveFrameNormalization b v hu (b i) k = |
| 32 | if i = k then (↑((hu k).unit⁻¹) : R) else 0 := by |
| 33 | change (↑((hu k).unit⁻¹) : R) * b.repr (b i) k = _ |
| 34 | rw [b.repr_self_apply] |
| 35 | split_ifs |
| 36 | · exact mul_one _ |
| 37 | · exact mul_zero _ |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.Normalization |