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