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.ArchNormRegularization |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianGaussianDistribution |
| 3 | |
| 4 | /-! # Hermitian Gaussian Regularization -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianGaussianRegularization.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Hermitian diagonalization determines the phase of regularized Gaussians. -/ |
| 11 | |
| 12 | open _root_.MeasureTheory _root_.Matrix |
| 13 | open scoped BigOperators NNReal |
| 14 | |
| 15 | theorem gaussianPhase_finset_prod {I : Type} (s : Finset I) (z : I → ℂ) : |
| 16 | DiagonalNormGaussian.Construction.gaussianPhase (∏ i ∈ s, z i) = ∏ i ∈ s, DiagonalNormGaussian.Construction.gaussianPhase (z i) := by |
| 17 | classical |
| 18 | induction s using Finset.induction_on with |
| 19 | | empty => |
| 20 | simp only [Finset.prod_empty] |
| 21 | exact DiagonalNormGaussian.Construction.gaussianPhase_positive 1 zero_lt_one |
| 22 | | @insert i s hi ih => rw [Finset.prod_insert hi, Finset.prod_insert hi, DiagonalNormGaussian.Construction.gaussianPhase_mul, ih] |
| 23 | |
| 24 | theorem gaussianRegularization_haar_comparison |
| 25 | {F V : Type} [Field F] [AddCommGroup V] [TopologicalSpace V] |
| 26 | [T2Space V] [IsTopologicalAddGroup V] [LocallyCompactSpace V] |
| 27 | [MeasurableSpace V] [BorelSpace V] |
| 28 | (μ ν : Measure V) [μ.IsAddHaarMeasure] [ν.IsAddHaarMeasure] [μ.Regular] [ν.Regular] |
| 29 | (ψ : AddChar F ℂ) (q : V → F) (Γ : ℂ) (hΓ : QuadraticGaussianRegularization.Construction.HasGaussianRegularization μ ψ q Γ) : |
| 30 | ∃ c : ℝ≥0, 0 < c ∧ QuadraticGaussianRegularization.Construction.HasGaussianRegularization ν ψ q ((c : ℂ) * Γ) := by |
| 31 | let c := Measure.addHaarScalarFactor ν μ |
| 32 | have hc : 0 < c := Measure.addHaarScalarFactor_pos_of_isAddHaarMeasure ν μ |
| 33 | have hν : ν = c • μ := Measure.isAddLeftInvariant_eq_smul_of_regular ν μ |
| 34 | exact ⟨c, hc, hν ▸ hΓ.smul_measure c hc⟩ |
| 35 | |
| 36 | theorem hermitian_hasGaussianRegularization |
| 37 | {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 38 | [LocallyCompactSpace F] [LocallyCompactSpace E] [FiniteDimensional F E] [CharZero F] |
| 39 | [MeasurableSpace F] [BorelSpace F] [MeasurableSpace E] [BorelSpace E] |
| 40 | (hE : ¬ DiscreteTopology E) (hQuadratic : Module.finrank F E = 2) |
| 41 | (σ : E ≃ₐ[F] E) (hne : ∃ z : E, σ z ≠ z) |
| 42 | (ω : Fˣ →ₜ* Circle) (hω : Characters.Construction.IsExtensionQuadraticCharacter (E := E) ω) |
| 43 | (μE : Measure E) [μE.IsAddHaarMeasure] [μE.Regular] |
| 44 | (ψ : AddChar F ℂ) (Γ : ℂ) |
| 45 | (hΓ : ∀ a : Fˣ, ∃ Z : ℂ, Z ≠ 0 ∧ |
| 46 | QuadraticGaussianRegularization.Construction.HasGaussianRegularization μE ψ (fun x => (a : F) * Algebra.norm F x) Z ∧ |
| 47 | DiagonalNormGaussian.Construction.gaussianPhase Z = (ω a : ℂ) * DiagonalNormGaussian.Construction.gaussianPhase Γ) |
| 48 | {d : ℕ} (μ : Measure (Fin d → E)) [μ.IsAddHaarMeasure] [μ.Regular] |
| 49 | (A : Matrix (Fin d) (Fin d) E) (hA : DualPair.Construction.adjointMatrix σ A = A) (hdet : A.det ≠ 0) |
| 50 | (b : Fˣ) (hb : algebraMap F E (b : F) = A.det) : |
| 51 | ∃ Z : ℂ, Z ≠ 0 ∧ QuadraticGaussianRegularization.Construction.HasGaussianRegularization μ ψ (HermitianNormForms.Construction.hermitianTraceQuadratic σ A) Z ∧ |
| 52 | DiagonalNormGaussian.Construction.gaussianPhase Z = (ω b : ℂ) * DiagonalNormGaussian.Construction.gaussianPhase Γ ^ d := by |
| 53 | let : SecondCountableTopology E := TestSpaceAnalysis.Construction.localField_secondCountable E hE |
| 54 | obtain ⟨u, a₀, ha₀, hdiag₀⟩ := HermitianGaussianDiscriminant.Construction.hermitian_matrix_diagonal σ hQuadratic hne A hA hdet |
| 55 | let a : Fin d → Fˣ := fun i => Units.mk0 (a₀ i) (ha₀ i) |
| 56 | have hdiag : DualPair.Construction.adjointMatrix σ (u : Matrix (Fin d) (Fin d) E) * A * |
| 57 | (u : Matrix (Fin d) (Fin d) E) = Matrix.diagonal (fun i => algebraMap F E (a i : F)) := hdiag₀ |
| 58 | let Q : (Fin d → E) → F := fun x => ∑ i, (a i : F) * Algebra.norm F (x i) |
| 59 | let w := MatrixUnitTopology.Construction.matrixUnitContinuousAddEquiv u |
| 60 | let e := w.symm |
| 61 | have hform (x : Fin d → E) : HermitianNormForms.Construction.hermitianTraceQuadratic σ A (w x) = Q x := by |
| 62 | change Algebra.trace F E (DualPair.Construction.sesquilinear σ A ((u : Matrix (Fin d) (Fin d) E) *ᵥ x) |
| 63 | ((u : Matrix (Fin d) (Fin d) E) *ᵥ x)) / 2 = Q x |
| 64 | rw [DualPair.Construction.sesquilinear_change, hdiag, HermitianNormForms.Construction.sesquilinear_diagonal_norm hQuadratic σ hne, |
| 65 | Algebra.trace_algebraMap, hQuadratic] |
| 66 | simp only [nsmul_eq_mul, Nat.cast_ofNat] |
| 67 | change (2 : F) * Q x / 2 = Q x |
| 68 | ring |
| 69 | let μD : Measure (Fin d → E) := Measure.pi (fun _ => μE) |
| 70 | let ν : Measure (Fin d → E) := μ.map e |
| 71 | let : ν.IsAddHaarMeasure := e.isAddHaarMeasure_map μ |
| 72 | let : ν.Regular := Measure.Regular.map e.toHomeomorph |
| 73 | choose z hz0 hz hphase using fun i => hΓ (a i) |
| 74 | have hprod := QuadraticGaussianRegularization.Construction.HasGaussianRegularization.finite_product μE ψ |
| 75 | (fun i x => (a i : F) * Algebra.norm F x) z hz |
| 76 | obtain ⟨c, hc, hreg⟩ := gaussianRegularization_haar_comparison μD ν ψ Q (∏ i, z i) hprod |
| 77 | have ht := hreg.transport e μ ψ Q ((c : ℂ) * ∏ i, z i) |
| 78 | have hQe : (fun x => Q (e x)) = HermitianNormForms.Construction.hermitianTraceQuadratic σ A := by |
| 79 | funext x |
| 80 | have hh := hform (e x) |
| 81 | rw [show w (e x) = x from w.apply_symm_apply x] at hh |
| 82 | exact hh.symm |
| 83 | rw [hQe] at ht |
| 84 | have hcR : 0 < (c : ℝ) := hc |
| 85 | refine ⟨(c : ℂ) * ∏ i, z i, ?_, ht, ?_⟩ |
| 86 | · exact mul_ne_zero (Complex.ofReal_ne_zero.mpr hcR.ne') |
| 87 | (Finset.prod_ne_zero_iff.mpr (fun i _ => hz0 i)) |
| 88 | · rw [DiagonalNormGaussian.Construction.gaussianPhase_mul, DiagonalNormGaussian.Construction.gaussianPhase_positive (c : ℝ) hcR, one_mul, gaussianPhase_finset_prod] |
| 89 | simp_rw [hphase] |
| 90 | rw [Finset.prod_mul_distrib, Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 91 | have hp : (∏ i, (ω (a i) : ℂ)) = (ω (∏ i, a i) : ℂ) := by |
| 92 | rw [map_prod] |
| 93 | exact (map_prod Circle.coeHom _ _).symm |
| 94 | rw [hp, HermitianGaussianDiscriminant.Construction.hermitianDiagonal_discriminant_character hQuadratic σ hne ω hω A u a b hb hdiag] |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianGaussianRegularization.Construction |