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.ThetaCycle.IntrinsicFiniteTestReturn |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.IntrinsicReference |
| 3 | |
| 4 | /-! # Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Comparison.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact completed theta identities in both directions for any native |
| 11 | comparison coordinates. The finite inputs are fixed functions, and every |
| 12 | rational weight is preserved. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.Evaluation OAI.RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization |
| 17 | |
| 18 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 19 | {H : (Matrix (Fin 3) (Fin 3) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 20 | {W : (Matrix (Fin m) (Fin m) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 21 | {A : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData F d m H W} |
| 22 | (C : RepresentationTheory.Theta.Adelic.DataTheta.ComparisonData F H W A) |
| 23 | |
| 24 | def comparisonFiniteInput (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A)) : |
| 25 | RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz F (3 * m) := |
| 26 | FieldFinite.CM.sourceFieldFiniteInput A (Equiv.refl _) C.rationalPosition φ |
| 27 | |
| 28 | theorem comparison_input_rational_theta (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A)) |
| 29 | (Z : Matrix (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) ℂ) (ξ : RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A → ℂ) : |
| 30 | RepresentationTheory.Theta.Adelic.DataTheta.rationalTheta C (comparisonFiniteInput C φ) Z ξ = RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.theta φ Z ξ := by |
| 31 | have h := FieldFinite.CM.source_field_finite_theta_series A (Equiv.refl _) C.rationalPosition φ Z ξ |
| 32 | refine Eq.trans ?_ h |
| 33 | apply tsum_congr |
| 34 | intro x |
| 35 | change _ * RepresentationTheory.Theta.Adelic.DataTheta.gaussianValue Z ξ (fun i => (C.rationalPosition x i : ℝ)) = |
| 36 | _ * RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.kernel Z (C.rationalPosition x) ξ |
| 37 | congr 1 |
| 38 | simp only [RepresentationTheory.Theta.Adelic.DataTheta.gaussianValue, RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.kernel, RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.realPosition, |
| 39 | ComplexMultiplication.ThetaCoordinates.CM.thetaCoordinatePairing_apply] |
| 40 | rfl |
| 41 | |
| 42 | theorem comparison_input_completed_theta (φ : RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A)) |
| 43 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A)) (ξ : RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A → ℂ) : |
| 44 | RepresentationTheory.Theta.Adelic.DataTheta.completedTheta C (comparisonFiniteInput C φ) Z.matrix ξ = RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed φ Z ξ := by |
| 45 | rw [RepresentationTheory.Theta.Adelic.DataTheta.completedTheta, IntrinsicReference.CM.native_completion_form_eq, comparison_input_rational_theta] |
| 46 | rfl |
| 47 | |
| 48 | def comparisonSourceInput |
| 49 | (f : RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz F (3 * m)) : |
| 50 | RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.Input (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) := |
| 51 | ⟨(IntrinsicFiniteTestReturn.CM.nativeFiniteBasisReturn A C.rationalPosition f).val, |
| 52 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_mem_iff _).mp |
| 53 | (IntrinsicFiniteTestReturn.CM.nativeFiniteBasisReturn A C.rationalPosition f).property⟩ |
| 54 | |
| 55 | theorem comparison_source_input_weight |
| 56 | (f : RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz F (3 * m)) |
| 57 | (x : RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction.Position F (3 * m)) : |
| 58 | (comparisonSourceInput C f).val (RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.diagonal (C.rationalPosition x)) = |
| 59 | RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F (3 * m) f (RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition x) := |
| 60 | IntrinsicFiniteTestReturn.CM.native_finite_basis_return_value A C.rationalPosition f x |
| 61 | |
| 62 | theorem comparison_source_rational_theta |
| 63 | (f : RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz F (3 * m)) |
| 64 | (Z : Matrix (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A) ℂ) (ξ : RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A → ℂ) : |
| 65 | RepresentationTheory.Theta.Adelic.DataTheta.rationalTheta C f Z ξ = RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.theta (comparisonSourceInput C f) Z ξ := by |
| 66 | rw [← comparison_input_rational_theta C (comparisonSourceInput C f)] |
| 67 | apply tsum_congr |
| 68 | intro x |
| 69 | change _ * _ = |
| 70 | RepresentationTheory.Theta.Adelic.Evaluation.finiteSchwartzFunction F (3 * m) (comparisonFiniteInput C (comparisonSourceInput C f)) |
| 71 | (RepresentationTheory.Weil.AdelicSplitting.FiniteCosets.Construction.finiteRationalPosition x) * _ |
| 72 | rw [comparisonFiniteInput, FieldFinite.CM.source_field_finite_input_weight] |
| 73 | exact congrArg (fun a : ℂ => a * RepresentationTheory.Theta.Adelic.DataTheta.gaussianValue Z ξ |
| 74 | (fun i => (C.rationalPosition x i : ℝ))) (comparison_source_input_weight C f x).symm |
| 75 | |
| 76 | theorem comparison_source_completed_theta |
| 77 | (f : RepresentationTheory.Theta.Adelic.FiniteSchwartz.finiteSchwartz F (3 * m)) |
| 78 | (Z : ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A)) (ξ : RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex A → ℂ) : |
| 79 | RepresentationTheory.Theta.Adelic.DataTheta.completedTheta C f Z.matrix ξ = RepresentationTheory.Theta.Kernel.Definitions.DerivativeFactorization.completed (comparisonSourceInput C f) Z ξ := by |
| 80 | rw [RepresentationTheory.Theta.Adelic.DataTheta.completedTheta, IntrinsicReference.CM.native_completion_form_eq, comparison_source_rational_theta] |
| 81 | rfl |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Comparison.CM |