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.RealLocalSplitting |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.FieldTensorTransport |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.FieldNormalizingScalars |
| 4 | import OAI.RepresentationTheory.Theta.Adelic.FieldCoverNormalization |
| 5 | import OAI.RepresentationTheory.Weil.Local.RealFieldEq |
| 6 | |
| 7 | /-! # Real Field Local Splitting -/ |
| 8 | |
| 9 | namespace OAI.RepresentationTheory.Theta.Adelic.RealFieldLocalSplitting |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The exact normalized real local splitting in every archimedean |
| 14 | field presentation, with the specified native forms and frame. -/ |
| 15 | |
| 16 | open _root_.MeasureTheory |
| 17 | open scoped ComplexConjugate |
| 18 | |
| 19 | open OAI.RepresentationTheory.Weil.Local.RealFieldEq.Construction |
| 20 | open OAI.RepresentationTheory.Theta.Adelic.QuadraticNormCharacter OAI.RepresentationTheory.Theta.Adelic.QuadraticNormSquareQuotient |
| 21 | open OAI.RepresentationTheory.Theta.Adelic.FieldCharacterTransport.Unitary OAI.RepresentationTheory.Theta.Adelic.FieldFrameTransport OAI.RepresentationTheory.Theta.Adelic.FieldTensorTransport |
| 22 | open OAI.RepresentationTheory.Theta.Adelic.FieldCharacterTransport OAI.RepresentationTheory.Theta.Adelic.FieldNormalizingScalars |
| 23 | open OAI.RepresentationTheory.Theta.Adelic.FieldCoverPullback OAI.RepresentationTheory.Theta.Adelic.FieldCoverNormalization |
| 24 | |
| 25 | variable {k : Type} [NormedField k] [CompleteSpace k] [LocallyCompactSpace k] [CharZero k] |
| 26 | variable [MeasurableSpace k] [BorelSpace k] |
| 27 | |
| 28 | theorem real_field_local_splitting |
| 29 | (d : k) (hd : d ≠ 0) (hns : ¬ IsSquare d) (hnd : ¬ DiscreteTopology k) |
| 30 | (hArch : ¬ ∀ j : ℕ, ‖(j : k)‖ ≤ 1) |
| 31 | (e : k ≃+* ℝ) (he : Continuous e) (hi : Continuous e.symm) {n m : ℕ} |
| 32 | (H : (Matrix (Fin n) (Fin n) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))ˣ) |
| 33 | (K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))ˣ) |
| 34 | (hH : H.val.conjTranspose = H.val) (hK : K.val.conjTranspose = -K.val) |
| 35 | (P : Weil.AdelicSplitting.TensorSpace.Construction.SymplecticFrame d n m H.val K.val) |
| 36 | (ψ : AddChar k ℂ) (hc : Continuous (fun x : k => ψ x)) |
| 37 | (hu : ∀ x : k, ‖ψ x‖ = 1) (hn : ∃ x : k, ψ x ≠ 1) |
| 38 | (χV χW : (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)ˣ →ₜ* Circle) |
| 39 | (hV : ∀ a : kˣ, χV (QuadraticNormSquareQuotient.scalarUnits d a) = QuadraticNormCharacter.normSign d a ^ n) |
| 40 | (hW : ∀ a : kˣ, χW (QuadraticNormSquareQuotient.scalarUnits d a) = QuadraticNormCharacter.normSign d a ^ m) |
| 41 | (bH bK : kˣ) |
| 42 | (hbH : QuadraticNormSquareQuotient.scalarUnits d bH = Matrix.GeneralLinearGroup.det H) |
| 43 | (hbK : QuadraticNormSquareQuotient.scalarUnits d bK = (Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd)⁻¹ ^ m * Matrix.GeneralLinearGroup.det K) : |
| 44 | ∃ s : (Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H.val × Weil.AdelicSplitting.UnitaryBase.Construction.Unitary K.val) →ₜ* Weil.AdelicSplitting.Oscillator.Construction.LocalCover k (n * m) ψ, |
| 45 | (∀ g, Weil.AdelicSplitting.Oscillator.Construction.localProjection k (n * m) ψ (s g) = Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H.val K.val P g) ∧ |
| 46 | (∀ (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H.val) (u : (Matrix (Fin n) (Fin n) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))ˣ), |
| 47 | u.val = g.val.val - 1 → ∀ f h : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat k (n * m), |
| 48 | (∫ x, (Weil.AdelicSplitting.Oscillator.Construction.localOperator k (n * m) ψ (s (g, 1)) f).val x * conj (h.val x) |
| 49 | ∂ Weil.UnitarySplitting.Weak.Construction.referencePositionMeasure k (n * m)) = |
| 50 | ((Weil.AdelicSplitting.CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant k ψ d)⁻¹ ^ (n * m) * (QuadraticNormCharacter.normSign d bK : ℂ) ^ n * |
| 51 | (χW ((Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd) ^ n * Matrix.GeneralLinearGroup.det H * Matrix.GeneralLinearGroup.det u) : ℂ)) * |
| 52 | Weil.AdelicSplitting.CorrectedNormalization.Construction.correctedWeakOpenCellValue k (n * m) ψ (Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H.val K.val P (g, 1)) f.val h.val) ∧ |
| 53 | (∀ (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary K.val) (u : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))ˣ), |
| 54 | u.val = g.val.val - 1 → ∀ f h : Weil.Local.FunctionsMetaplectic.Construction.schwartzBruhat k (n * m), |
| 55 | (∫ x, (Weil.AdelicSplitting.Oscillator.Construction.localOperator k (n * m) ψ (s (1, g)) f).val x * conj (h.val x) |
| 56 | ∂ Weil.UnitarySplitting.Weak.Construction.referencePositionMeasure k (n * m)) = |
| 57 | ((Weil.AdelicSplitting.CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant k ψ d)⁻¹ ^ (n * m) * (QuadraticNormCharacter.normSign d bH : ℂ) ^ m * |
| 58 | (χV (Matrix.GeneralLinearGroup.det K * Matrix.GeneralLinearGroup.det u) : ℂ)) * |
| 59 | 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 |
| 60 | let : SecondCountableTopology k := Weil.UnitarySplitting.TestSpaceAnalysis.Construction.localField_secondCountable k hnd |
| 61 | let η := Weil.Local.FieldFourier.Construction.fieldCharacter e ψ |
| 62 | have hηc : Continuous η := hc.comp hi |
| 63 | have hηu : ∀ x : ℝ, ‖η x‖ = 1 := fun x => hu (e.symm x) |
| 64 | have hηn : ∃ x : ℝ, η x ≠ 1 := by |
| 65 | obtain ⟨x, hx⟩ := hn |
| 66 | refine ⟨e x, ?_⟩ |
| 67 | change ψ (e.symm (e x)) ≠ 1 |
| 68 | rwa [e.symm_apply_apply] |
| 69 | have hmap := (Weil.Local.RealFieldEq.Construction.realField_selfDual_normalization e he hi ψ hc hu hn).2.2 |
| 70 | let : (Weil.Local.FunctionsMetaplectic.Construction.selfDualMeasure ℝ η).IsAddHaarMeasure := |
| 71 | (Weil.Local.RealFieldEq.Construction.realField_selfDual_normalization (RingEquiv.refl ℝ) continuous_id continuous_id η hηc hηu hηn).2.1 |
| 72 | have hdR : e d ≠ 0 := (map_ne_zero e).mpr hd |
| 73 | have hnsR : ¬ IsSquare (e d) := by |
| 74 | rintro ⟨r, hr⟩ |
| 75 | apply hns |
| 76 | refine ⟨e.symm r, e.injective ?_⟩ |
| 77 | rw [map_mul, e.apply_symm_apply] |
| 78 | exact hr |
| 79 | let HR := FieldCharacterTransport.Unitary.fieldFormUnit e d H |
| 80 | let KR := FieldCharacterTransport.Unitary.fieldFormUnit e d K |
| 81 | let PR := FieldFrameTransport.fieldFrame e d H.val K.val P |
| 82 | let χVR := FieldCharacterTransport.fieldMultiplicativeCharacter e he hi d χV |
| 83 | let χWR := FieldCharacterTransport.fieldMultiplicativeCharacter e he hi d χW |
| 84 | let bHR := Units.map e.toMonoidHom bH |
| 85 | let bKR := Units.map e.toMonoidHom bK |
| 86 | have hbHR : QuadraticNormSquareQuotient.scalarUnits (e d) bHR = Matrix.GeneralLinearGroup.det HR := |
| 87 | (FieldCharacterTransport.Unitary.fieldQuadraticUnits_scalar e d bH).symm.trans |
| 88 | ((congrArg (FieldCharacterTransport.Unitary.fieldQuadraticUnits e d) hbH).trans (FieldCharacterTransport.Unitary.fieldFormUnit_det e d H).symm) |
| 89 | have hbKR : QuadraticNormSquareQuotient.scalarUnits (e d) bKR = (Weil.AdelicSplitting.Normalization.Construction.deltaUnit (e d) hdR)⁻¹ ^ m * Matrix.GeneralLinearGroup.det KR := by |
| 90 | have hb := congrArg (FieldCharacterTransport.Unitary.fieldQuadraticUnits e d) hbK |
| 91 | rw [map_mul, map_pow, map_inv, FieldCharacterTransport.Unitary.fieldQuadraticUnits_delta, ← FieldCharacterTransport.Unitary.fieldFormUnit_det] at hb |
| 92 | exact (FieldCharacterTransport.Unitary.fieldQuadraticUnits_scalar e d bK).symm.trans hb |
| 93 | obtain ⟨sR, hsR, hfirstR, hsecondR⟩ := RealLocalSplitting.real_local_splitting |
| 94 | (e d) hdR hnsR HR KR (FieldCharacterTransport.Unitary.fieldForm_hermitian e d H.val hH) (FieldCharacterTransport.Unitary.fieldForm_skew e d K.val hK) PR |
| 95 | η hηc hηu hηn χVR χWR |
| 96 | (FieldCharacterTransport.fieldMultiplicativeCharacter_restriction e he hi d χV n hV) |
| 97 | (FieldCharacterTransport.fieldMultiplicativeCharacter_restriction e he hi d χW m hW) bHR bKR hbHR hbKR |
| 98 | let s := (FieldCoverPullback.fieldCoverPullback e he hi (n * m) ψ).comp |
| 99 | (sR.comp (FieldTensorTransport.fieldPairContinuous e he d H.val K.val)) |
| 100 | refine ⟨s, ?_, ?_, ?_⟩ |
| 101 | · intro g |
| 102 | exact (FieldCoverPullback.fieldCoverPullback_projection e he hi (n * m) ψ (sR (FieldTensorTransport.fieldPairMap e d H.val K.val g))).trans |
| 103 | ((congrArg (Weil.Local.FieldFourier.Construction.fieldSymplecticMap e.symm (n * m)) |
| 104 | ((hsR (FieldTensorTransport.fieldPairMap e d H.val K.val g)).trans (FieldTensorTransport.dualPairSymplectic_field e d H.val K.val P g))).trans |
| 105 | (Weil.Local.FieldOscillator.Construction.fieldSymplecticMap_symm e (n * m) (Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H.val K.val P g))) |
| 106 | · intro g u hDiff f h |
| 107 | let gR := FieldCharacterTransport.Unitary.fieldUnitaryMap e d H.val g |
| 108 | have hpair : FieldTensorTransport.fieldPairMap e d H.val K.val (g, 1) = (gR, 1) := by |
| 109 | apply Prod.ext |
| 110 | · rfl |
| 111 | · exact map_one (FieldCharacterTransport.Unitary.fieldUnitaryMap e d K.val) |
| 112 | have hsg : s (g, 1) = FieldCoverPullback.fieldCoverPullback e he hi (n * m) ψ (sR (gR, 1)) := by |
| 113 | change FieldCoverPullback.fieldCoverPullback e he hi (n * m) ψ (sR (FieldTensorTransport.fieldPairMap e d H.val K.val (g, 1))) = _ |
| 114 | rw [hpair] |
| 115 | rfl |
| 116 | have hcoord := FieldTensorTransport.dualPairSymplectic_field e d H.val K.val P (g, 1) |
| 117 | rw [hpair] at hcoord |
| 118 | let coeff := (Weil.AdelicSplitting.CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant k ψ d)⁻¹ ^ (n * m) * (QuadraticNormCharacter.normSign d bK : ℂ) ^ n * |
| 119 | (χW ((Weil.AdelicSplitting.Normalization.Construction.deltaUnit d hd) ^ n * Matrix.GeneralLinearGroup.det H * Matrix.GeneralLinearGroup.det u) : ℂ) |
| 120 | rw [hsg] |
| 121 | refine FieldCoverNormalization.normalized_cover_pullback e he hi (n * m) ψ hmap (sR (gR, 1)) |
| 122 | (Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H.val K.val P (g, 1)) coeff ?_ f h |
| 123 | intro f' h' |
| 124 | have hr := hfirstR gR (FieldCharacterTransport.Unitary.fieldFormUnit e d u) (FieldCharacterTransport.Unitary.fieldUnitaryMap_difference e d H.val g u hDiff) f' h' |
| 125 | have hc' := FieldNormalizingScalars.first_scalar_field hArch e he hi ψ hc hu hn d hd n m H u bK χW |
| 126 | exact hr.trans (congrArg₂ (fun (z : ℂ) (a : Weil.Local.FunctionsMetaplectic.Construction.Symplectic ℝ (n * m)) => |
| 127 | z * Weil.AdelicSplitting.CorrectedNormalization.Construction.correctedWeakOpenCellValue ℝ (n * m) η a f'.val h'.val) hc'.symm hcoord) |
| 128 | · intro g u hDiff f h |
| 129 | let gR := FieldCharacterTransport.Unitary.fieldUnitaryMap e d K.val g |
| 130 | have hpair : FieldTensorTransport.fieldPairMap e d H.val K.val (1, g) = (1, gR) := by |
| 131 | apply Prod.ext |
| 132 | · exact map_one (FieldCharacterTransport.Unitary.fieldUnitaryMap e d H.val) |
| 133 | · rfl |
| 134 | have hsg : s (1, g) = FieldCoverPullback.fieldCoverPullback e he hi (n * m) ψ (sR (1, gR)) := by |
| 135 | change FieldCoverPullback.fieldCoverPullback e he hi (n * m) ψ (sR (FieldTensorTransport.fieldPairMap e d H.val K.val (1, g))) = _ |
| 136 | rw [hpair] |
| 137 | rfl |
| 138 | have hcoord := FieldTensorTransport.dualPairSymplectic_field e d H.val K.val P (1, g) |
| 139 | rw [hpair] at hcoord |
| 140 | let coeff := (Weil.AdelicSplitting.CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant k ψ d)⁻¹ ^ (n * m) * (QuadraticNormCharacter.normSign d bH : ℂ) ^ m * |
| 141 | (χV (Matrix.GeneralLinearGroup.det K * Matrix.GeneralLinearGroup.det u) : ℂ) |
| 142 | rw [hsg] |
| 143 | refine FieldCoverNormalization.normalized_cover_pullback e he hi (n * m) ψ hmap (sR (1, gR)) |
| 144 | (Weil.AdelicSplitting.TensorSpace.Construction.dualPairSymplectic H.val K.val P (1, g)) coeff ?_ f h |
| 145 | intro f' h' |
| 146 | have hr := hsecondR gR (FieldCharacterTransport.Unitary.fieldFormUnit e d u) (FieldCharacterTransport.Unitary.fieldUnitaryMap_difference e d K.val g u hDiff) f' h' |
| 147 | have hc' := FieldNormalizingScalars.second_scalar_field hArch e he hi ψ hc hu hn d hd n m K u bH χV |
| 148 | exact hr.trans (congrArg₂ (fun (z : ℂ) (a : Weil.Local.FunctionsMetaplectic.Construction.Symplectic ℝ (n * m)) => |
| 149 | z * Weil.AdelicSplitting.CorrectedNormalization.Construction.correctedWeakOpenCellValue ℝ (n * m) η a f'.val h'.val) hc'.symm hcoord) |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI.RepresentationTheory.Theta.Adelic.RealFieldLocalSplitting |