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.RepresentationTheory.Theta.DerivativeFactorizationPrerequisites |
| 2 | import OAI.RepresentationTheory.Theta.Factorization |
| 3 | import OAI.RepresentationTheory.Theta.Compatibility |
| 4 | |
| 5 | /-! # Derivative Factorization -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.DerivativeFactorization.Conditional |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # DerivativeFactorization, conditional on the committed CompletedTheta and TensorDecomposition inputs |
| 13 | |
| 14 | The prerequisite propositions are explicit hypotheses. The committed target |
| 15 | already supplies the uncompleted functional equation as a natural hypothesis; |
| 16 | its completion and first-derivative consequences follow directly from the |
| 17 | Gaussian formulas. CompletedTheta's stronger lattice tensor law is therefore unnecessary. |
| 18 | TensorDecomposition's decomposition of general inputs is unnecessary for the target's pure |
| 19 | tensor inputs, whose local constancy and compact support are proved directly. |
| 20 | No additional substantive assumption is imposed. |
| 21 | |
| 22 | The finite-adelic support-to-lattice bridge, absolute convergence, weighted |
| 23 | first-coefficient holomorphicity, block inverse identity, rational covariance, |
| 24 | and trace-coordinate reindexing are all proved in result-specific helpers. |
| 25 | The supplied trace coordinates and bare Weil/Poisson equation remain exactly |
| 26 | the natural hypotheses of the committed target. No statement stub is used. |
| 27 | -/ |
| 28 | |
| 29 | universe uC uEI uEX uEV uEY |
| 30 | |
| 31 | open scoped Classical _root_.NumberField _root_.Matrix.Norms.Elementwise |
| 32 | |
| 33 | variable {ι κ : Type*} [Fintype ι] [Fintype κ] |
| 34 | |
| 35 | theorem first_derivatives_uncorrected_holomorphic |
| 36 | (_h_C3_4 : DerivativeFactorizationPrerequisites.Prerequisites.Statement) |
| 37 | (_h_E32 : DerivativeFactorizationPrerequisites.Prerequisites.TensorDecomposition.Statement) |
| 38 | (φ : DerivativeFactorizationDefinitions.Input ι) (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) : |
| 39 | HasFDerivAt (DerivativeFactorizationDefinitions.theta φ Z.matrix) |
| 40 | (DerivativeFactorizationDefinitions.firstCoefficient φ Z.matrix) 0 ∧ |
| 41 | HasFDerivAt (DerivativeFactorizationDefinitions.completed φ Z) |
| 42 | (DerivativeFactorizationDefinitions.firstCoefficient φ Z.matrix) 0 ∧ |
| 43 | fderiv ℂ (DerivativeFactorizationDefinitions.completed φ Z) 0 = |
| 44 | fderiv ℂ (DerivativeFactorizationDefinitions.theta φ Z.matrix) 0 ∧ |
| 45 | DifferentiableAt ℂ (DerivativeFactorizationDefinitions.firstCoefficient φ) Z.matrix := by |
| 46 | exact DerivativeFactorizationAdelicLattice.first_derivatives_uncorrected_holomorphic φ Z |
| 47 | |
| 48 | theorem direct_sum_factorization |
| 49 | (_h_C3_4 : DerivativeFactorizationPrerequisites.Prerequisites.Statement) |
| 50 | (_h_E32 : DerivativeFactorizationPrerequisites.Prerequisites.TensorDecomposition.Statement) |
| 51 | (Z₁ : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (Z₂ : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix κ) |
| 52 | (Z₁₂ : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix (Sum ι κ)) |
| 53 | (hZ : Z₁₂.matrix = |
| 54 | Matrix.fromBlocks Z₁.matrix 0 0 Z₂.matrix) |
| 55 | (φ₁ : DerivativeFactorizationDefinitions.Input ι) (φ₂ : DerivativeFactorizationDefinitions.Input κ) : |
| 56 | ∃ φ₁₂ : DerivativeFactorizationDefinitions.Input (Sum ι κ), |
| 57 | (∀ a, |
| 58 | φ₁₂.1 a = |
| 59 | φ₁.1 (fun i => a (Sum.inl i)) * |
| 60 | φ₂.1 (fun j => a (Sum.inr j))) ∧ |
| 61 | (∀ z₁ z₂, |
| 62 | DerivativeFactorizationDefinitions.completed φ₁₂ Z₁₂ (Sum.elim z₁ z₂) = |
| 63 | DerivativeFactorizationDefinitions.completed φ₁ Z₁ z₁ * DerivativeFactorizationDefinitions.completed φ₂ Z₂ z₂) := by |
| 64 | exact Factorization.Derivative.direct_sum_factorization Z₁ Z₂ Z₁₂ hZ φ₁ φ₂ |
| 65 | |
| 66 | theorem rational_adapted_coordinate_change |
| 67 | (_h_C3_4 : DerivativeFactorizationPrerequisites.Prerequisites.Statement) |
| 68 | (_h_E32 : DerivativeFactorizationPrerequisites.Prerequisites.TensorDecomposition.Statement) |
| 69 | [DecidableEq ι] |
| 70 | (gQ : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℚ) |
| 71 | (g : AlgebraicGeometry.ComplexMultiplication.CMSymplecticSiegel.CM.SymplecticBlocks ι ℝ) |
| 72 | (hg : |
| 73 | Matrix.fromBlocks g.A g.B g.C g.D = |
| 74 | (Matrix.fromBlocks gQ.A gQ.B gQ.C gQ.D).map |
| 75 | (algebraMap ℚ ℝ)) |
| 76 | (m : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι → ℂ) |
| 77 | (hm : ∀ Z, |
| 78 | m Z ^ 2 = (g.complexify.denominator Z.matrix).det) |
| 79 | (hCompletedTheta : ∀ φ : DerivativeFactorizationDefinitions.Input ι, ∃ φg : DerivativeFactorizationDefinitions.Input ι, |
| 80 | ∀ (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) (z : ι → ℂ), |
| 81 | DerivativeFactorizationDefinitions.theta φg (g.transformSiegel Z).matrix |
| 82 | (g.jacobiChange Z z) = |
| 83 | m Z * AlgebraicGeometry.ComplexMultiplication.ThetaCompletion.CM.thetaCompletionFactor (g.thetaCorrectionForm Z) z * |
| 84 | DerivativeFactorizationDefinitions.theta φ Z.matrix z) |
| 85 | (φ : DerivativeFactorizationDefinitions.Input ι) : |
| 86 | ∃ φg : DerivativeFactorizationDefinitions.Input ι, ∀ Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι, |
| 87 | (∀ z, |
| 88 | DerivativeFactorizationDefinitions.completed φg (g.transformSiegel Z) (g.jacobiChange Z z) = |
| 89 | m Z * DerivativeFactorizationDefinitions.completed φ Z z) ∧ |
| 90 | (DerivativeFactorizationDefinitions.firstCoefficient φg (g.transformSiegel Z).matrix).comp |
| 91 | (g.jacobiChange Z) = |
| 92 | m Z • DerivativeFactorizationDefinitions.firstCoefficient φ Z.matrix := by |
| 93 | exact Compatibility.DerivativeFactorization.rational_adapted_coordinate_change gQ g hg m hm hCompletedTheta φ |
| 94 | |
| 95 | theorem trace_and_restriction_of_scalars |
| 96 | (_h_C3_4 : DerivativeFactorizationPrerequisites.Prerequisites.Statement) |
| 97 | (_h_E32 : DerivativeFactorizationPrerequisites.Prerequisites.TensorDecomposition.Statement) |
| 98 | {F η : Type*} |
| 99 | [Field F] [NumberField F] [Algebra ℚ F] [Fintype η] |
| 100 | (e : (η → F) ≃ₗ[ℚ] (ι → ℚ)) |
| 101 | (ef : (η → DerivativeFactorizationDefinitions.AFf F) ≃ₜ (ι → DerivativeFactorizationDefinitions.AQf)) |
| 102 | (hdiag : ∀ x : η → F, |
| 103 | ef (fun j => algebraMap F (DerivativeFactorizationDefinitions.AFf F) (x j)) = |
| 104 | DerivativeFactorizationDefinitions.diagonal (e x)) |
| 105 | (TrA : DerivativeFactorizationDefinitions.AF F →+ DerivativeFactorizationDefinitions.AQ) |
| 106 | (hTrA : ∀ a : F, |
| 107 | TrA (algebraMap F (DerivativeFactorizationDefinitions.AF F) a) = |
| 108 | algebraMap ℚ DerivativeFactorizationDefinitions.AQ (Algebra.trace ℚ F a)) |
| 109 | (ψQ : AddChar DerivativeFactorizationDefinitions.AQ ℂ) |
| 110 | (hψQ : ∀ a : ℚ, ψQ (algebraMap ℚ DerivativeFactorizationDefinitions.AQ a) = 1) |
| 111 | (φF : DerivativeFactorizationDefinitions.FiniteSchwartz (η → DerivativeFactorizationDefinitions.AFf F)) |
| 112 | (Z : AlgebraicGeometry.ComplexMultiplication.CMSiegelMatrix.CM.SiegelMatrix ι) : |
| 113 | let ψF : DerivativeFactorizationDefinitions.AF F → ℂ := fun a => ψQ (TrA a) |
| 114 | (∀ a b, ψF (a + b) = ψF a * ψF b) ∧ |
| 115 | (∀ a : F, ψF (algebraMap F (DerivativeFactorizationDefinitions.AF F) a) = 1) ∧ |
| 116 | ∃ φQ : DerivativeFactorizationDefinitions.Input ι, |
| 117 | (∀ a, φQ.1 a = φF.1 (ef.symm a)) ∧ |
| 118 | (∀ z, |
| 119 | AlgebraicGeometry.ComplexMultiplication.ThetaCompletion.CM.thetaCompletionFactor Z.completionForm z * |
| 120 | (∑' x : η → F, |
| 121 | φF.1 (fun j => algebraMap F (DerivativeFactorizationDefinitions.AFf F) (x j)) * |
| 122 | DerivativeFactorizationDefinitions.kernel Z.matrix (e x) z) = |
| 123 | DerivativeFactorizationDefinitions.completed φQ Z z) := by |
| 124 | exact Compatibility.DerivativeFactorization.trace_and_restriction_of_scalars e ef hdiag TrA hTrA ψQ hψQ φF Z |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.RepresentationTheory.Theta.DerivativeFactorization.Conditional |