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.Intrinsic.SparseFirst |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.ThetaSpanning |
| 3 | |
| 4 | /-! # Nonzero Test -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.NonzeroTest.Multiplicity |
| 11 | |
| 12 | /-! Choose a genuinely nonzero native theta input together with its |
| 13 | integral finite support and translation level before selecting a prime. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix |
| 16 | |
| 17 | attribute [local instance] Multiplicity.nativePlaceDecidableEq Multiplicity.nativeTripleDecidableEq |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 20 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 21 | (hμ : P.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 22 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 23 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 24 | Algebra.trace ℚ E (P.imaginaryScalar * Multiplicity.nativeTensorPairing E P v x y)) |
| 25 | |
| 26 | theorem nativeCotangentTheta_sparse_test (z : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates) (hz : z ∈ P.domain) |
| 27 | (η : RepresentationTheory.Theta.Geometric.LinearTheta.Cotangent) : |
| 28 | ∃ φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (Fin s × Fin 3), φ ∈ SparseFirst.nativeSparseInputs ∧ |
| 29 | CotangentTheta.Multiplicity.nativeCotangentThetaOneForm E P hP hμ v hv e he φ z = η := by |
| 30 | obtain ⟨l, hl⟩ := ThetaSpanning.Multiplicity.nativeCotangentProjection_surjective E P hP hμ v hv e he z hz η |
| 31 | obtain ⟨φ, hφ, hfirst⟩ := SparseFirst.exists_nativeSparseInput_first |
| 32 | (ThetaCoordinates.Multiplicity.nativeThetaPeriod E P hP hμ v hv e he z) l |
| 33 | exact ⟨φ, hφ, (congrArg (CotangentTheta.Multiplicity.nativeCotangentProjection E P hP hμ v hv e he z) hfirst).trans hl⟩ |
| 34 | |
| 35 | theorem exists_native_nonzero_test_with_level (z : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates) (hz : z ∈ P.domain) : |
| 36 | ∃ φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (Fin s × Fin 3), |
| 37 | (∀ x, x ∉ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors → φ.val x = 0) ∧ |
| 38 | ∃ N : ℕ, ∃ hN : 0 < N, |
| 39 | (∀ u ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (N : ℚ) (by exact_mod_cast hN.ne'), ∀ x, φ.val (u + x) = φ.val x) ∧ |
| 40 | CotangentTheta.Multiplicity.nativeCotangentThetaOneForm E P hP hμ v hv e he φ z (Pi.single 0 1) = 1 := by |
| 41 | obtain ⟨φ, hφ, hvalue⟩ := nativeCotangentTheta_sparse_test E P hP hμ v hv e he z hz |
| 42 | (ContinuousLinearMap.proj (0 : Fin 2)) |
| 43 | obtain ⟨hsupport, N, hN, hperiod⟩ := SparseFirst.nativeSparseInput_level φ hφ |
| 44 | exact ⟨φ, hsupport, N, hN, hperiod, |
| 45 | (congrArg (fun l : RepresentationTheory.Theta.Geometric.LinearTheta.Cotangent => l (Pi.single 0 1)) hvalue).trans (by simp)⟩ |
| 46 | |
| 47 | end AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.NonzeroTest.Multiplicity |
| 48 | |
| 49 | namespace AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.NonzeroTest |
| 50 | |
| 51 | /-! Retain one genuine integral native theta test and its integer level |
| 52 | as data depending only on the fixed archimedean and rational coordinates. -/ |
| 53 | |
| 54 | open scoped Classical _root_.Matrix |
| 55 | |
| 56 | attribute [local instance] Multiplicity.nativePlaceDecidableEq Multiplicity.nativeTripleDecidableEq |
| 57 | |
| 58 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 59 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 60 | (hμ : P.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 61 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 62 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 63 | Algebra.trace ℚ E (P.imaginaryScalar * Multiplicity.nativeTensorPairing E P v x y)) |
| 64 | |
| 65 | structure NativeThetaTest where |
| 66 | test : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (Fin s × Fin 3) |
| 67 | support : ∀ x, x ∉ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors → test.val x = 0 |
| 68 | level : ℕ |
| 69 | level_pos : 0 < level |
| 70 | period : ∀ w ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (level : ℚ) (by exact_mod_cast level_pos.ne'), |
| 71 | ∀ x, test.val (w + x) = test.val x |
| 72 | value : CotangentTheta.Multiplicity.nativeCotangentThetaOneForm E P hP hμ v hv e he test |
| 73 | (PeriodDomain.Multiplicity.nativeOrigin E P hP).val (Pi.single 0 1) = 1 |
| 74 | |
| 75 | theorem exists_nativeThetaTest : Nonempty (NativeThetaTest E P hP hμ v hv e he) := by |
| 76 | obtain ⟨φ, hsupport, N, hN, hperiod, hvalue⟩ := Multiplicity.exists_native_nonzero_test_with_level |
| 77 | E P hP hμ v hv e he (PeriodDomain.Multiplicity.nativeOrigin E P hP).val (PeriodDomain.Multiplicity.nativeOrigin E P hP).property |
| 78 | exact ⟨⟨φ, hsupport, N, hN, hperiod, hvalue⟩⟩ |
| 79 | |
| 80 | def nativeThetaTest : NativeThetaTest E P hP hμ v hv e he := |
| 81 | Classical.choice (exists_nativeThetaTest E P hP hμ v hv e he) |
| 82 | |
| 83 | theorem nativeThetaTest_ne_zero (T : NativeThetaTest E P hP hμ v hv e he) : T.test ≠ 0 := by |
| 84 | intro h |
| 85 | have hv := T.value |
| 86 | rw [h, map_zero] at hv |
| 87 | simp at hv |
| 88 | |
| 89 | end AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.NonzeroTest |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI |