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.FrameProjection |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.CotangentTheta |
| 4 | |
| 5 | /-! # Theta Spanning -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.ThetaSpanning.Multiplicity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pointwise cotangent spanning for the actual normalized native theta |
| 12 | family. No nonvanishing or spanning assumption is added. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix |
| 15 | |
| 16 | attribute [local instance] Multiplicity.nativePlaceDecidableEq Multiplicity.nativeTripleDecidableEq |
| 17 | |
| 18 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 19 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 20 | (hμ : P.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 21 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 22 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 23 | Algebra.trace ℚ E (P.imaginaryScalar * Multiplicity.nativeTensorPairing E P v x y)) |
| 24 | |
| 25 | theorem nativeCotangentProjection_surjective (z : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates) (hz : z ∈ P.domain) : |
| 26 | Function.Surjective (CotangentTheta.Multiplicity.nativeCotangentProjection E P hP hμ v hv e he z) := by |
| 27 | have hj : Function.Injective (fun i : Fin 2 => ((P.distinguished, i.succ) : Fin s × Fin 3)) := by |
| 28 | intro i j h |
| 29 | exact Fin.succ_inj.mp (congrArg Prod.snd h) |
| 30 | exact FrameProjection.Multiplicity.scaled_frameProjection_surjective (ι := Fin s × Fin 3) _ hj (Multiplicity.Period.nativeLowerFrame E P hP v e z) |
| 31 | (PeriodFamily.Multiplicity.native_lowerFrame_det E P hP hμ v hv e he z hz) |
| 32 | (HolomorphicFrameRoot.Multiplicity.nativeFrameRootExtension E P hP hμ v hv e he z)⁻¹ |
| 33 | (inv_ne_zero (HolomorphicFrameRoot.Multiplicity.nativeFrameRootExtension_ne_zero E P hP hμ v hv e he z)) |
| 34 | |
| 35 | theorem nativeCotangentThetaOneForm_surjective (z : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates) (hz : z ∈ P.domain) : |
| 36 | Function.Surjective (fun φ => CotangentTheta.Multiplicity.nativeCotangentThetaOneForm E P hP hμ v hv e he φ z) := |
| 37 | (nativeCotangentProjection_surjective E P hP hμ v hv e he z hz).comp |
| 38 | (SparseFirst.nativeFirstTheta_surjective (ThetaCoordinates.Multiplicity.nativeThetaPeriod E P hP hμ v hv e he z)) |
| 39 | |
| 40 | theorem nativeCotangentTheta_exists_value (z : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates) (hz : z ∈ P.domain) : |
| 41 | ∃ φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (Fin s × Fin 3), |
| 42 | CotangentTheta.Multiplicity.nativeCotangentThetaOneForm E P hP hμ v hv e he φ z (Pi.single 0 1) = 1 := by |
| 43 | obtain ⟨φ, hφ⟩ := nativeCotangentThetaOneForm_surjective E P hP hμ v hv e he z hz |
| 44 | (ContinuousLinearMap.proj (0 : Fin 2)) |
| 45 | exact ⟨φ, (congrArg (fun l : RepresentationTheory.Theta.Geometric.LinearTheta.Cotangent => l (Pi.single 0 1)) hφ).trans (by simp)⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.ThetaSpanning.Multiplicity |