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.ComplexMultiplication.SiegelThetaSpanning |
| 2 | import Mathlib.Algebra.Module.ZLattice.Basic |
| 3 | |
| 4 | /-! # Theta Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Standard coordinates for the sparse theta gradient theorem |
| 12 | |
| 13 | The position space is `ι → ℝ`, the Jacobi space is `ι → ℂ`, and the |
| 14 | lattice is the integer span of the standard real basis. The pairing is |
| 15 | the actual coordinate dot product. Its lattice values span the full |
| 16 | complex cotangent space, so the theta gradient theorem has no additional |
| 17 | spanning hypothesis in these coordinates. |
| 18 | -/ |
| 19 | |
| 20 | open scoped Classical |
| 21 | |
| 22 | variable (ι : Type*) [Fintype ι] |
| 23 | |
| 24 | def thetaCoordinateLattice : Submodule ℤ (ι → ℝ) := |
| 25 | Submodule.span ℤ (Set.range (Pi.basisFun ℝ ι)) |
| 26 | |
| 27 | instance : DiscreteTopology (thetaCoordinateLattice ι) := |
| 28 | inferInstanceAs (DiscreteTopology (Submodule.span ℤ (Set.range (Pi.basisFun ℝ ι)))) |
| 29 | |
| 30 | def thetaCoordinateLatticeBasis (i : ι) : thetaCoordinateLattice ι := |
| 31 | ⟨(Pi.basisFun ℝ ι) i, Submodule.subset_span ⟨i, rfl⟩⟩ |
| 32 | |
| 33 | def thetaCoordinatePairing : (ι → ℝ) →L[ℝ] ((ι → ℂ) →L[ℂ] ℂ) := |
| 34 | ∑ i : ι, (ContinuousLinearMap.proj i : (ι → ℝ) →L[ℝ] ℝ).smulRight |
| 35 | (ContinuousLinearMap.proj i : (ι → ℂ) →L[ℂ] ℂ) |
| 36 | |
| 37 | theorem thetaCoordinatePairing_apply (x : ι → ℝ) (z : ι → ℂ) : |
| 38 | thetaCoordinatePairing ι x z = ∑ i, (x i : ℂ) * z i := by |
| 39 | simp [thetaCoordinatePairing, Complex.real_smul] |
| 40 | |
| 41 | theorem thetaCoordinatePairing_basis (i : ι) : |
| 42 | thetaCoordinatePairing ι ((Pi.basisFun ℝ ι) i) = ContinuousLinearMap.proj i := by |
| 43 | ext z |
| 44 | simp [thetaCoordinatePairing_apply, Pi.basisFun_apply, Pi.single_apply, apply_ite] |
| 45 | |
| 46 | theorem span_thetaCoordinatePairing_eq_top : |
| 47 | Submodule.span ℂ (Set.range (fun x : thetaCoordinateLattice ι => |
| 48 | thetaCoordinatePairing ι x)) = ⊤ := by |
| 49 | apply top_unique |
| 50 | intro f _ |
| 51 | have hf : f = ∑ i : ι, f ((Pi.basisFun ℂ ι) i) • |
| 52 | thetaCoordinatePairing ι ((Pi.basisFun ℝ ι) i) := by |
| 53 | ext z |
| 54 | have hz : (∑ i : ι, z i • (Pi.basisFun ℂ ι) i) = z := by |
| 55 | simpa only [Pi.basisFun_repr] using (Pi.basisFun ℂ ι).sum_repr z |
| 56 | calc |
| 57 | f z = f (∑ i : ι, z i • (Pi.basisFun ℂ ι) i) := congrArg f hz.symm |
| 58 | _ = _ := by |
| 59 | simp only [map_sum, map_smul, sum_apply, smul_apply, |
| 60 | thetaCoordinatePairing_basis, ContinuousLinearMap.proj_apply, smul_eq_mul, mul_comm] |
| 61 | rw [hf] |
| 62 | apply Submodule.sum_mem |
| 63 | intro i _ |
| 64 | apply Submodule.smul_mem |
| 65 | exact Submodule.subset_span ⟨thetaCoordinateLatticeBasis ι i, rfl⟩ |
| 66 | |
| 67 | /-- Actual first derivatives of positive-degree sparse theta inputs span |
| 68 | the whole standard cotangent space for every positive Siegel phase. -/ |
| 69 | theorem span_coordinate_sparseThetaGradients_eq_top (Z : CMSiegelPhase.CM.SiegelPhase (ι → ℝ)) : |
| 70 | Submodule.span ℂ (Set.range (fun an : thetaCoordinateLattice ι × ℕ => |
| 71 | Z.sparseThetaGradient (thetaCoordinatePairing ι) (thetaCoordinateLattice ι) |
| 72 | an.1 an.2)) = ⊤ := |
| 73 | Z.span_sparseThetaGradients_eq_top (thetaCoordinatePairing ι) (thetaCoordinateLattice ι) |
| 74 | (span_thetaCoordinatePairing_eq_top ι) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.ComplexMultiplication.ThetaCoordinates.CM |