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.Weil.UnitarySplitting.GaussianCutoffHaar |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.MatrixUnitTopology |
| 3 | import OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianGaussianDiscriminant |
| 4 | |
| 5 | /-! # Hermitian Gaussian Distribution -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianGaussianDistribution.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every nondegenerate Hermitian trace Gaussian has stable cutoffs and |
| 12 | the quadratic-character phase prescribed by its determinant. -/ |
| 13 | |
| 14 | open _root_.MeasureTheory _root_.Matrix |
| 15 | open scoped BigOperators NNReal |
| 16 | |
| 17 | theorem hermitian_hasGaussianCutoffs |
| 18 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 19 | [LocallyCompactSpace F] [LocallyCompactSpace E] [FiniteDimensional F E] [CharZero F] |
| 20 | [MeasurableSpace F] [BorelSpace F] [MeasurableSpace E] [BorelSpace E] |
| 21 | (hE : ¬ DiscreteTopology E) (hQuadratic : Module.finrank F E = 2) |
| 22 | (σ : E ≃ₐ[F] E) (hne : ∃ z : E, σ z ≠ z) |
| 23 | (ω : Fˣ →ₜ* Circle) (hω : Characters.Construction.IsExtensionQuadraticCharacter (E := E) ω) |
| 24 | (μE : Measure E) [μE.IsAddHaarMeasure] [μE.Regular] |
| 25 | (ψ : AddChar F ℂ) (Γ : ℂ) (hΓ0 : Γ ≠ 0) |
| 26 | (hΓ : ∀ a : Fˣ, GaussianCutoff.Construction.HasGaussianCutoffs μE ψ (fun x => (a : F) * Algebra.norm F x) |
| 27 | (GaussianCutoffHaar.Construction.normGaussianValue ω Γ a)) |
| 28 | {d : ℕ} (μ : Measure (Fin d → E)) [μ.IsAddHaarMeasure] [μ.Regular] |
| 29 | (A : Matrix (Fin d) (Fin d) E) (hA : DualPair.Construction.adjointMatrix σ A = A) (hdet : A.det ≠ 0) |
| 30 | (b : Fˣ) (hb : algebraMap F E (b : F) = A.det) : |
| 31 | ∃ Z : ℂ, Z ≠ 0 ∧ GaussianCutoff.Construction.HasGaussianCutoffs μ ψ (HermitianNormForms.Construction.hermitianTraceQuadratic σ A) Z ∧ |
| 32 | DiagonalNormGaussian.Construction.gaussianPhase Z = (ω b : ℂ) * DiagonalNormGaussian.Construction.gaussianPhase Γ ^ d := by |
| 33 | let : SecondCountableTopology E := TestSpaceAnalysis.Construction.localField_secondCountable E hE |
| 34 | obtain ⟨u, a₀, ha₀, hdiag₀⟩ := HermitianGaussianDiscriminant.Construction.hermitian_matrix_diagonal σ hQuadratic hne A hA hdet |
| 35 | let a : Fin d → Fˣ := fun i => Units.mk0 (a₀ i) (ha₀ i) |
| 36 | have hdiag : DualPair.Construction.adjointMatrix σ (u : Matrix (Fin d) (Fin d) E) * A * |
| 37 | (u : Matrix (Fin d) (Fin d) E) = Matrix.diagonal (fun i => algebraMap F E (a i : F)) := hdiag₀ |
| 38 | let Q : (Fin d → E) → F := fun x => ∑ i, (a i : F) * Algebra.norm F (x i) |
| 39 | let w := MatrixUnitTopology.Construction.matrixUnitContinuousAddEquiv u |
| 40 | let e := w.symm |
| 41 | have hform (x : Fin d → E) : HermitianNormForms.Construction.hermitianTraceQuadratic σ A (w x) = Q x := by |
| 42 | change Algebra.trace F E (DualPair.Construction.sesquilinear σ A ((u : Matrix (Fin d) (Fin d) E) *ᵥ x) |
| 43 | ((u : Matrix (Fin d) (Fin d) E) *ᵥ x)) / 2 = Q x |
| 44 | rw [DualPair.Construction.sesquilinear_change, hdiag, HermitianNormForms.Construction.sesquilinear_diagonal_norm hQuadratic σ hne, |
| 45 | Algebra.trace_algebraMap, hQuadratic] |
| 46 | simp only [nsmul_eq_mul, Nat.cast_ofNat] |
| 47 | change (2 : F) * Q x / 2 = Q x |
| 48 | ring |
| 49 | let μD : Measure (Fin d → E) := Measure.pi (fun _ => μE) |
| 50 | let ν : Measure (Fin d → E) := μ.map e |
| 51 | let : ν.IsAddHaarMeasure := e.isAddHaarMeasure_map μ |
| 52 | let : ν.Regular := Measure.Regular.map e.toHomeomorph |
| 53 | have hprod := GaussianCutoffHaar.Construction.diagonal_norm_hasGaussianCutoffs μE ψ ω Γ hΓ a |
| 54 | obtain ⟨c, hc, hcut⟩ := GaussianCutoffHaar.Construction.gaussianCutoffs_haar_comparison μD ν ψ Q |
| 55 | (∏ i, GaussianCutoffHaar.Construction.normGaussianValue ω Γ (a i)) hprod |
| 56 | have ht := hcut.transport e μ ψ Q ((c : ℂ) * ∏ i, GaussianCutoffHaar.Construction.normGaussianValue ω Γ (a i)) |
| 57 | have hQe : (fun x => Q (e x)) = HermitianNormForms.Construction.hermitianTraceQuadratic σ A := by |
| 58 | funext x |
| 59 | have hh := hform (e x) |
| 60 | rw [show w (e x) = x from w.apply_symm_apply x] at hh |
| 61 | exact hh.symm |
| 62 | rw [hQe] at ht |
| 63 | have hcR : 0 < (c : ℝ) := hc |
| 64 | refine ⟨(c : ℂ) * ∏ i, GaussianCutoffHaar.Construction.normGaussianValue ω Γ (a i), ?_, ht, ?_⟩ |
| 65 | · exact mul_ne_zero (Complex.ofReal_ne_zero.mpr hcR.ne') |
| 66 | (Finset.prod_ne_zero_iff.mpr (fun i _ => GaussianCutoffHaar.Construction.normGaussianValue_ne_zero ω Γ hΓ0 (a i))) |
| 67 | · rw [DiagonalNormGaussian.Construction.gaussianPhase_mul, DiagonalNormGaussian.Construction.gaussianPhase_positive (c : ℝ) hcR, one_mul, |
| 68 | GaussianCutoffHaar.Construction.diagonal_norm_gaussian_value_phase, |
| 69 | HermitianGaussianDiscriminant.Construction.hermitianDiagonal_discriminant_character hQuadratic σ hne ω hω A u a b hb hdiag] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianGaussianDistribution.Construction |