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.HeckeCycles.Finite.AdelicTestCoordinates |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction |
| 3 | |
| 4 | /-! # Trace Phase Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TracePhaseCoordinates.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction of scalars in a genuine symplectic polarization uses an |
| 11 | integral basis for positions and its trace-dual basis for momenta. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open _root_.NumberField |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.AdelicTestCoordinates.CM |
| 17 | |
| 18 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 19 | |
| 20 | def momentum : (Fin N → F) ≃ₗ[ℚ] (Finite.AdelicTestCoordinates.CM.Index F N → ℚ) := |
| 21 | (LinearEquiv.piCongrRight (fun _ : Fin N => (integralBasis F).traceDual.equivFun)).trans |
| 22 | (LinearEquiv.curry ℚ ℚ (Fin N) (Module.Free.ChooseBasisIndex ℤ (𝓞 F))).symm |
| 23 | |
| 24 | theorem scalar_pairing (x y : F) : |
| 25 | ∑ i : Module.Free.ChooseBasisIndex ℤ (𝓞 F), |
| 26 | (integralBasis F).repr x i * (integralBasis F).traceDual.repr y i = |
| 27 | Algebra.trace ℚ F (x * y) := by |
| 28 | have h := congrArg (Algebra.traceForm ℚ F y) ((integralBasis F).sum_repr x) |
| 29 | simp only [map_sum, map_smul, smul_eq_mul] at h |
| 30 | simp only [Module.Basis.traceDual_repr_apply] |
| 31 | exact h.trans (by rw [Algebra.traceForm_apply, mul_comm]) |
| 32 | |
| 33 | theorem position_momentum_pairing (x y : Fin N → F) : |
| 34 | ∑ i, CMExtraction.IntegralAdelicCoordinates.TestTransport.integralPositionCoordinates F (Fin N) x i * momentum F N y i = |
| 35 | Algebra.trace ℚ F (∑ j, x j * y j) := by |
| 36 | change (∑ i : Finite.AdelicTestCoordinates.CM.Index F N, |
| 37 | (integralBasis F).repr (x i.1) i.2 * (integralBasis F).traceDual.repr (y i.1) i.2) = _ |
| 38 | rw [Fintype.sum_prod_type, map_sum] |
| 39 | exact Finset.sum_congr rfl (fun j _ => scalar_pairing F (x j) (y j)) |
| 40 | |
| 41 | def phase : ((Fin N → F) × (Fin N → F)) ≃ₗ[ℚ] |
| 42 | ((Finite.AdelicTestCoordinates.CM.Index F N → ℚ) × (Finite.AdelicTestCoordinates.CM.Index F N → ℚ)) := |
| 43 | (CMExtraction.IntegralAdelicCoordinates.TestTransport.integralPositionCoordinates F (Fin N)).prodCongr (momentum F N) |
| 44 | |
| 45 | theorem phase_pairing (x y : (Fin N → F) × (Fin N → F)) : |
| 46 | (∑ i, ((phase F N x).1 i * (phase F N y).2 i - |
| 47 | (phase F N y).1 i * (phase F N x).2 i)) = |
| 48 | Algebra.trace ℚ F (∑ j, (x.1 j * y.2 j - y.1 j * x.2 j)) := by |
| 49 | change (∑ i, (CMExtraction.IntegralAdelicCoordinates.TestTransport.integralPositionCoordinates F (Fin N) x.1 i * momentum F N y.2 i - |
| 50 | CMExtraction.IntegralAdelicCoordinates.TestTransport.integralPositionCoordinates F (Fin N) y.1 i * momentum F N x.2 i)) = _ |
| 51 | rw [Finset.sum_sub_distrib, position_momentum_pairing, position_momentum_pairing, |
| 52 | ← map_sub, ← Finset.sum_sub_distrib] |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TracePhaseCoordinates.CM |