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.Adelic.IntrinsicSplittingAssembly |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.IntrinsicOpenCell |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.RealFirstFactorScalar |
| 4 | import OAI.RepresentationTheory.Theta.Adelic.RealSecondFactorScalar |
| 5 | import OAI.RepresentationTheory.Theta.Adelic.RealFieldCoordinates |
| 6 | import OAI.RepresentationTheory.Theta.Adelic.RealNormWeilData |
| 7 | import OAI.RepresentationTheory.Theta.Adelic.IntrinsicRealLeftFactor |
| 8 | import OAI.RepresentationTheory.Theta.Adelic.IntrinsicRealRightFactor |
| 9 | |
| 10 | /-! # Real Local Splitting -/ |
| 11 | |
| 12 | namespace OAI.RepresentationTheory.Theta.Adelic.RealLocalSplitting |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! Construct the continuous nonsplit real local splitting in |
| 17 | the specified native frame, with both corrected normalization equations. -/ |
| 18 | |
| 19 | open _root_.MeasureTheory |
| 20 | open scoped ComplexConjugate |
| 21 | |
| 22 | open OAI.RepresentationTheory.Theta.Adelic.QuadraticLocalField OAI.RepresentationTheory.Theta.Adelic.QuadraticFieldForms OAI.RepresentationTheory.Theta.Adelic.QuadraticFieldFrame OAI.RepresentationTheory.Theta.Adelic.QuadraticFieldAction |
| 23 | open OAI.RepresentationTheory.Theta.Adelic.IntrinsicOpenCell.IntrinsicScaledForms OAI.RepresentationTheory.Theta.Adelic.IntrinsicOpenCell.Intrinsic OAI.RepresentationTheory.Theta.Adelic.CircleCoordinates OAI.RepresentationTheory.Theta.Adelic.ModelSplittingCharacters |
| 24 | open OAI.RepresentationTheory.Theta.Adelic.RealFieldCharacters OAI.RepresentationTheory.Theta.Adelic.RealFieldCoordinates OAI.RepresentationTheory.Theta.Adelic.QuadraticNormCharacter OAI.RepresentationTheory.Theta.Adelic.QuadraticNormSquareQuotient OAI.RepresentationTheory.Theta.Adelic.QuadraticLocalCharacter |
| 25 | |
| 26 | theorem real_local_splitting |
| 27 | (d : ℝ) (hd : d ≠ 0) (hns : ¬ IsSquare d) {n m : ℕ} |
| 28 | (H : (Matrix (Fin n) (Fin n) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic ℝ d))ˣ) |
| 29 | (K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic ℝ d))ˣ) |
| 30 | (hH : H.val.conjTranspose = H.val) (hK : K.val.conjTranspose = -K.val) |
| 31 | (P : Weil.AdelicSplitting.TensorSpace.Construction.SymplecticFrame d n m H.val K.val) |
| 32 | (ψ : AddChar ℝ ℂ) (hc : Continuous (fun x : ℝ => ψ x)) |
| 33 | (hu : ∀ x : ℝ, ‖ψ x‖ = 1) (hn : ∃ x : ℝ, ψ x ≠ 1) |
| 34 | (χV χW : (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic ℝ d)ˣ →ₜ* Circle) |
| 35 | (hV : ∀ a : ℝˣ, χV (QuadraticNormSquareQuotient.scalarUnits d a) = QuadraticNormCharacter.normSign d a ^ n) |
| 36 | (hW : ∀ a : ℝˣ, χW (QuadraticNormSquareQuotient.scalarUnits d a) = QuadraticNormCharacter.normSign d a ^ m) |
| 37 | (bH bK : ℝˣ) |
| 38 | (hbH : QuadraticNormSquareQuotient.scalarUnits d bH = Matrix.GeneralLinearGroup.det H) |
| 39 | (hbK : QuadraticNormSquareQuotient.scalarUnits d bK = (Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd)⁻¹ ^ m * Matrix.GeneralLinearGroup.det K) : |
| 40 | ∃ s : (Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H.val × Weil.AdelicSplitting.UnitaryBase.Construction.Unitary K.val) →ₜ* Weil.AdelicSplitting.Oscillator.Construction.LocalCover ℝ (n * m) ψ, |
| 41 | (∀ g, Weil.AdelicSplitting.Oscillator.Construction.localProjection ℝ (n * m) ψ (s g) = Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H.val K.val P g) ∧ |
| 42 | (∀ (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H.val) (u : (Matrix (Fin n) (Fin n) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic ℝ d))ˣ), |
| 43 | u.val = g.val.val - 1 → ∀ f h : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ (n * m), |
| 44 | (∫ x, (Weil.AdelicSplitting.Oscillator.Construction.localOperator ℝ (n * m) ψ (s (g, 1)) f).val x * conj (h.val x) |
| 45 | ∂ Weil.UnitarySplitting.Weak.Construction.referencePositionMeasure ℝ (n * m)) = |
| 46 | ((Weil.AdelicSplitting.CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant ℝ ψ d)⁻¹ ^ (n * m) * (QuadraticNormCharacter.normSign d bK : ℂ) ^ n * |
| 47 | (χW ((Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd) ^ n * Matrix.GeneralLinearGroup.det H * Matrix.GeneralLinearGroup.det u) : ℂ)) * |
| 48 | Weil.AdelicSplitting.CorrectedNormalization.Construction.correctedWeakOpenCellValue ℝ (n * m) ψ (Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H.val K.val P (g, 1)) f.val h.val) ∧ |
| 49 | (∀ (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary K.val) (u : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic ℝ d))ˣ), |
| 50 | u.val = g.val.val - 1 → ∀ f h : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat ℝ (n * m), |
| 51 | (∫ x, (Weil.AdelicSplitting.Oscillator.Construction.localOperator ℝ (n * m) ψ (s (1, g)) f).val x * conj (h.val x) |
| 52 | ∂ Weil.UnitarySplitting.Weak.Construction.referencePositionMeasure ℝ (n * m)) = |
| 53 | ((Weil.AdelicSplitting.CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant ℝ ψ d)⁻¹ ^ (n * m) * (QuadraticNormCharacter.normSign d bH : ℂ) ^ m * |
| 54 | (χV (Matrix.GeneralLinearGroup.det K * Matrix.GeneralLinearGroup.det u) : ℂ)) * |
| 55 | Weil.AdelicSplitting.CorrectedNormalization.Construction.correctedWeakOpenCellValue ℝ (n * m) ψ (Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H.val K.val P (1, g)) f.val h.val) := by |
| 56 | let E := QuadraticLocalField.FieldModel ℝ d hns |
| 57 | let σ := QuadraticLocalField.conjugation ℝ d hns |
| 58 | let HM := QuadraticFieldForms.modelForm d hns H.val |
| 59 | let KM := -(QuadraticFieldForms.modelForm d hns K.val) |
| 60 | let c := RealFieldCoordinates.realModelFrame d hns H.val K.val P |
| 61 | let C := RealFieldCharacters.realSplittingCharacters d hd hns n m χV χW hV hW |
| 62 | let z := (QuadraticLocalField.algebraEquiv ℝ d hns).symm (Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd).val |
| 63 | have hz : z ≠ 0 := by |
| 64 | intro h |
| 65 | exact (Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd).ne_zero ((QuadraticLocalField.algebraEquiv ℝ d hns).symm.injective |
| 66 | (h.trans (map_zero _).symm)) |
| 67 | have hσz : σ z = -z := IntrinsicOpenCell.IntrinsicScaledForms.model_delta_antifixed d hns hd |
| 68 | have hHM : Weil.UnitarySplitting.DualPair.Construction.adjointMatrix σ HM = HM := IntrinsicOpenCell.IntrinsicScaledForms.modelForm_hermitian d hns H.val hH |
| 69 | have hKM : Weil.UnitarySplitting.DualPair.Construction.adjointMatrix σ KM = -KM := by |
| 70 | rw [Weil.UnitarySplitting.TracePairing.Construction.adjointMatrix_neg, IntrinsicOpenCell.IntrinsicScaledForms.modelForm_skew d hns K.val hK] |
| 71 | have hHMdet : HM.det ≠ 0 := IntrinsicOpenCell.Intrinsic.modelForm_det_ne_zero d hns H |
| 72 | have hKMdet : KM.det ≠ 0 := by |
| 73 | rw [Matrix.det_neg] |
| 74 | exact mul_ne_zero (pow_ne_zero _ (neg_ne_zero.mpr one_ne_zero)) (IntrinsicOpenCell.Intrinsic.modelForm_det_ne_zero d hns K) |
| 75 | obtain ⟨vK, aK, haK⟩ := Weil.UnitarySplitting.FormScaling.Construction.skewHermitian_diagonal_units σ (QuadraticLocalField.model_finrank ℝ d hns) |
| 76 | (QuadraticLocalField.conjugation_nontrivial ℝ d hns) KM hKM hKMdet z hz hσz |
| 77 | obtain ⟨vH, aH, haH⟩ := Weil.UnitarySplitting.FormScaling.Construction.hermitian_diagonal_units σ (QuadraticLocalField.model_finrank ℝ d hns) |
| 78 | (QuadraticLocalField.conjugation_nontrivial ℝ d hns) HM hHM hHMdet |
| 79 | let μE : Measure E := Measure.addHaar |
| 80 | obtain ⟨Γ, hΓ0, hΓ, hnorm⟩ := RealNormWeilData.real_norm_weil_data d hd hns ψ hc hu hn μE |
| 81 | obtain ⟨sV, hsV, hfV, hcentral⟩ := IntrinsicRealLeftFactor.Intrinsic.native_real_left_factor |
| 82 | σ HM KM c (RealQuadraticField.realModel_nondiscrete d hns) (continuous_algebraMap ℝ E) |
| 83 | (QuadraticLocalField.model_finrank ℝ d hns) (QuadraticLocalField.conjugation_nontrivial ℝ d hns) hHM hHMdet ψ hc hu hn |
| 84 | C.quadratic C.quadratic_kernel μE Γ hΓ0 hΓ z hz hσz vK aK haK |
| 85 | C.skewHermitian C.skewHermitian_restriction |
| 86 | obtain ⟨sW, hsW, hfW, _⟩ := IntrinsicRealRightFactor.Intrinsic.native_real_right_factor |
| 87 | σ HM KM c (RealQuadraticField.realModel_nondiscrete d hns) (continuous_algebraMap ℝ E) |
| 88 | (QuadraticLocalField.model_finrank ℝ d hns) (QuadraticLocalField.conjugation_nontrivial ℝ d hns) hKM hKMdet ψ hc hu hn |
| 89 | C.quadratic C.quadratic_kernel μE Γ hΓ0 hΓ vH aH haH C.hermitian C.hermitian_restriction |
| 90 | obtain ⟨S, hS, hSV, hSW⟩ := IntrinsicSplittingAssembly.Intrinsic.native_splitting_assembly |
| 91 | σ HM KM c ψ sV sW hsV hsW hcentral |
| 92 | let s := S.comp (RealFieldCoordinates.realModelPairContinuous d hns H.val K.val) |
| 93 | refine ⟨s, ?_, ?_, ?_⟩ |
| 94 | · intro g |
| 95 | exact (hS (QuadraticFieldAction.modelPair d hns H.val K.val g)).trans (RealFieldCoordinates.realModel_dualPair_coordinates d hns H.val K.val P g) |
| 96 | · intro g u hDiff f h |
| 97 | let gM := QuadraticFieldForms.modelUnitary d hns H.val g |
| 98 | have hpair : QuadraticFieldAction.modelPair d hns H.val K.val (g, 1) = (gM, 1) := by |
| 99 | apply Prod.ext |
| 100 | · rfl |
| 101 | · change QuadraticFieldAction.negateUnitary σ (QuadraticFieldForms.modelForm d hns K.val) (QuadraticFieldForms.modelUnitary d hns K.val 1) = 1 |
| 102 | rw [map_one, map_one] |
| 103 | have hsg : s (g, 1) = sV gM := by |
| 104 | change S (QuadraticFieldAction.modelPair d hns H.val K.val (g, 1)) = _ |
| 105 | rw [hpair, hSV] |
| 106 | have hcoord := RealFieldCoordinates.realModel_dualPair_coordinates d hns H.val K.val P (g, 1) |
| 107 | rw [hpair] at hcoord |
| 108 | have hDiffM := IntrinsicOpenCell.Intrinsic.modelUnitary_difference d hns H.val g u hDiff |
| 109 | have hgen := IntrinsicOpenCell.Intrinsic.model_generic_of_difference d hns HM gM u hDiffM |
| 110 | have hform := (hfV gM hgen).2 f h |
| 111 | have hscalar := RealFirstFactorScalar.first_factor_scalar d hd hns ψ hc hu hn |
| 112 | H K bK hbK vK aK haK χW (z • HM) (IntrinsicOpenCell.IntrinsicScaledForms.modelForm_scaled d hns (Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd) H).symm |
| 113 | (Weil.UnitarySplitting.FormScaling.Construction.unitaryScaleForm σ HM z gM) u hDiffM Γ hΓ0 hnorm |
| 114 | change (((Weil.UnitarySplitting.WeightedTensorGaussian.Construction.tensorWeilConstant C.quadratic Γ hΓ0 aK n * |
| 115 | Weil.UnitarySplitting.GenericDeterminantCharacter.Construction.genericDeterminantCharacter σ (z • HM) C.skewHermitian (Weil.UnitarySplitting.FormScaling.Construction.unitaryScaleForm σ HM z gM))⁻¹ : Circle) : ℂ) = _ at hscalar |
| 116 | rw [hsg] |
| 117 | exact hform.trans (congrArg₂ (fun (a : ℂ) (b : Weil.Local.FunctionsMetaplectic.Construction.Symplectic ℝ (n * m)) => |
| 118 | a * Weil.AdelicSplitting.CorrectedNormalization.Construction.correctedWeakOpenCellValue ℝ (n * m) ψ b f.val h.val) hscalar hcoord) |
| 119 | · intro g u hDiff f h |
| 120 | let gM := QuadraticFieldAction.negateUnitary σ (QuadraticFieldForms.modelForm d hns K.val) (QuadraticFieldForms.modelUnitary d hns K.val g) |
| 121 | have hpair : QuadraticFieldAction.modelPair d hns H.val K.val (1, g) = (1, gM) := by |
| 122 | apply Prod.ext |
| 123 | · exact map_one (QuadraticFieldForms.modelUnitary d hns H.val) |
| 124 | · rfl |
| 125 | have hsg : s (1, g) = sW gM := by |
| 126 | change S (QuadraticFieldAction.modelPair d hns H.val K.val (1, g)) = _ |
| 127 | rw [hpair, hSW] |
| 128 | have hcoord := RealFieldCoordinates.realModel_dualPair_coordinates d hns H.val K.val P (1, g) |
| 129 | rw [hpair] at hcoord |
| 130 | have hDiffM : gM.val.val - 1 = QuadraticFieldForms.modelForm d hns u.val := IntrinsicOpenCell.Intrinsic.modelUnitary_difference d hns K.val g u hDiff |
| 131 | have hgen := IntrinsicOpenCell.Intrinsic.model_generic_of_difference d hns KM gM u hDiffM |
| 132 | have hform := (hfW gM hgen).2 f h |
| 133 | have hQ : KM = QuadraticFieldForms.modelForm d hns (IntrinsicOpenCell.IntrinsicScaledForms.scaledUnit d (-1) K).val := by |
| 134 | rw [IntrinsicOpenCell.IntrinsicScaledForms.modelForm_scaled] |
| 135 | change -(QuadraticFieldForms.modelForm d hns K.val) = (QuadraticLocalField.algebraEquiv ℝ d hns).symm (-1) • QuadraticFieldForms.modelForm d hns K.val |
| 136 | rw [map_neg, map_one, neg_one_smul] |
| 137 | have hscalar := RealSecondFactorScalar.second_factor_scalar d hd hns ψ hc hu hn |
| 138 | H K bH hbH vH aH haH χV hV KM hQ gM u hDiffM Γ hΓ0 hnorm |
| 139 | change (((Weil.UnitarySplitting.WeightedTensorGaussian.Construction.tensorWeilConstant C.quadratic Γ hΓ0 aH m * |
| 140 | Weil.UnitarySplitting.GenericDeterminantCharacter.Construction.genericDeterminantCharacter σ KM C.hermitian gM)⁻¹ : Circle) : ℂ) = _ at hscalar |
| 141 | rw [hsg] |
| 142 | exact hform.trans (congrArg₂ (fun (a : ℂ) (b : Weil.Local.FunctionsMetaplectic.Construction.Symplectic ℝ (n * m)) => |
| 143 | a * Weil.AdelicSplitting.CorrectedNormalization.Construction.correctedWeakOpenCellValue ℝ (n * m) ψ b f.val h.val) hscalar hcoord) |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI.RepresentationTheory.Theta.Adelic.RealLocalSplitting |