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.HodgeConjecture.CMExtraction.DenseScalarCharacter |
| 2 | import Mathlib.LinearAlgebra.GeneralLinearGroup.Basic |
| 3 | import Mathlib.Algebra.Module.Torsion.Field |
| 4 | |
| 5 | /-! # Eigenline Character -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.EigenlineCharacter.TestTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An invariant nonzero line gives a scalar character. Density in a |
| 12 | perfect group removes that scalar once an open active level fixes the |
| 13 | same vector exactly. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | variable {Γ K V : Type*} [Group Γ] [Field K] [AddCommGroup V] [Module K V] |
| 18 | (ρ : Γ →* (V ≃ₗ[K] V)) (v : V) (hv : v ≠ 0) |
| 19 | (hline : ∀ γ, ∃ c : Kˣ, ρ γ v = (c : K) • v) |
| 20 | |
| 21 | def eigenlineScalar (γ : Γ) : Kˣ := (hline γ).choose |
| 22 | |
| 23 | theorem eigenlineScalar_spec (γ : Γ) : ρ γ v = (eigenlineScalar ρ v hline γ : K) • v := |
| 24 | (hline γ).choose_spec |
| 25 | |
| 26 | include hv in |
| 27 | theorem eigenlineScalar_one : eigenlineScalar ρ v hline 1 = 1 := by |
| 28 | apply Units.ext |
| 29 | apply (smul_left_injective K hv) |
| 30 | exact (eigenlineScalar_spec ρ v hline 1).symm.trans (by simp) |
| 31 | |
| 32 | include hv in |
| 33 | theorem eigenlineScalar_mul (a b : Γ) : |
| 34 | eigenlineScalar ρ v hline (a * b) = eigenlineScalar ρ v hline a * eigenlineScalar ρ v hline b := by |
| 35 | apply Units.ext |
| 36 | apply (smul_left_injective K hv) |
| 37 | dsimp only |
| 38 | rw [Units.val_mul, ← smul_smul, ← eigenlineScalar_spec] |
| 39 | rw [← eigenlineScalar_spec, map_mul] |
| 40 | change ρ a (ρ b v) = _ |
| 41 | rw [eigenlineScalar_spec ρ v hline b, map_smul, eigenlineScalar_spec ρ v hline a, |
| 42 | smul_smul, smul_smul, mul_comm] |
| 43 | |
| 44 | def eigenlineCharacter : Γ →* Kˣ where |
| 45 | toFun := eigenlineScalar ρ v hline |
| 46 | map_one' := eigenlineScalar_one ρ v hv hline |
| 47 | map_mul' := eigenlineScalar_mul ρ v hv hline |
| 48 | |
| 49 | theorem eigenlineCharacter_spec (γ : Γ) : ρ γ v = (eigenlineCharacter ρ v hv hline γ : K) • v := |
| 50 | eigenlineScalar_spec ρ v hline γ |
| 51 | |
| 52 | include hv hline in |
| 53 | theorem dense_invariant_line_fixed |
| 54 | {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] |
| 55 | (f : Γ →* G) (hf : DenseRange f) (hperfect : commutator G = ⊤) |
| 56 | (U : OpenSubgroup G) (hU : ∀ γ, f γ ∈ U → ρ γ v = v) : ∀ γ, ρ γ v = v := by |
| 57 | have hχ := DenseScalarCharacter.TestTransport.dense_scalar_character_trivial f hf (eigenlineCharacter ρ v hv hline) hperfect U |
| 58 | (fun γ hγ => by |
| 59 | apply Units.ext |
| 60 | apply (smul_left_injective K hv) |
| 61 | exact (eigenlineCharacter_spec ρ v hv hline γ).symm.trans |
| 62 | ((hU γ hγ).trans (one_smul K v).symm)) |
| 63 | intro γ |
| 64 | rw [eigenlineCharacter_spec ρ v hv hline, hχ γ, Units.val_one, one_smul] |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.EigenlineCharacter.TestTransport |