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.TensorModelCongruences |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.WeightedReal |
| 3 | import OAI.RepresentationTheory.Weil.UnitarySplitting.Assembly |
| 4 | |
| 5 | /-! # Real Factor Splittings -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.RealFactorSplittings.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The two actual tensor factors over the real field. -/ |
| 12 | |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | variable {E : Type} [NormedField E] [Algebra ℝ E] |
| 16 | variable [LocallyCompactSpace E] [FiniteDimensional ℝ E] {m n : ℕ} |
| 17 | variable (σ : E ≃ₐ[ℝ] E) (H : Matrix (Fin m) (Fin m) E) (K : Matrix (Fin n) (Fin n) E) |
| 18 | variable (c : Oscillator.Construction.SymplecticFrame σ H K) |
| 19 | variable (hE : ¬ DiscreteTopology E) |
| 20 | variable (hEmbedding : Continuous (algebraMap ℝ E)) (hQuadratic : Module.finrank ℝ E = 2) |
| 21 | variable (hne : ∃ z : E, σ z ≠ z) |
| 22 | variable (ψ : AddChar ℝ ℂ) (hc : Continuous (fun x : ℝ => ψ x)) (hu : ∀ x : ℝ, ‖ψ x‖ = 1) |
| 23 | variable (hn : ∃ x : ℝ, ψ x ≠ 1) |
| 24 | variable (characters : Characters.Construction.SplittingCharacters ℝ E m n) |
| 25 | |
| 26 | include hE hEmbedding hQuadratic hne hc hu hn characters |
| 27 | |
| 28 | theorem real_left_factor_splitting |
| 29 | (hH : DualPair.Construction.adjointMatrix σ H = H) (hK : DualPair.Construction.adjointMatrix σ K = -K) |
| 30 | (hHdet : H.det ≠ 0) (hKdet : K.det ≠ 0) : |
| 31 | ∃ s : DualPair.Construction.unitaryGroup σ H →ₜ* Oscillator.Construction.CircleExtension σ H K c ψ, |
| 32 | (∀ g, Oscillator.Construction.circleProjection σ H K c ψ (s g) = DualPair.Construction.dualPairAction σ H K (g, 1)) ∧ |
| 33 | ∀ b : Oscillator.Construction.CircleExtension σ H K c ψ, |
| 34 | (∀ g, Commute (DualPair.Construction.dualPairAction σ H K (g, 1)) (Oscillator.Construction.circleProjection σ H K c ψ b)) → |
| 35 | ∀ g, Commute (s g) b := by |
| 36 | obtain ⟨z, hz0, hz⟩ := NormOneParameters.Construction.exists_nonzero_antifixed σ (TracePairing.Construction.quadratic_automorphism_involutive hQuadratic σ) hne |
| 37 | obtain ⟨u, a, ha⟩ := FormScaling.Construction.skewHermitian_diagonal_units σ hQuadratic hne K hK hKdet z hz0 hz |
| 38 | let Q := z • H |
| 39 | have hQ : Q.det ≠ 0 := by |
| 40 | rw [Matrix.det_smul] |
| 41 | exact mul_ne_zero (pow_ne_zero _ hz0) hHdet |
| 42 | have hskew : DualPair.Construction.adjointMatrix σ Q = -Q := FormScaling.Construction.antifixed_hermitian_scale σ z hz H hH |
| 43 | let e₀ := TensorFrameCoordinates.Construction.continuousFrameCoordinates σ H K c RealFourierUnitary.Construction.real_nondiscrete hEmbedding |
| 44 | let u₀ := DualPair.Construction.tensorUnits (1 : (Matrix (Fin m) (Fin m) E)ˣ) u |
| 45 | let e := TensorFrameCoordinates.Construction.tensorModelCoordinates finProdFinEquiv u₀ e₀ |
| 46 | have he : ∀ x y, Oscillator.Construction.standardSymplecticPairing (m * n) (e x) (e y) = |
| 47 | Algebra.trace ℝ E (DualPair.Construction.sesquilinear σ (TensorUnitary.Construction.weightedTensorForm Q a) x y) / 2 := |
| 48 | TensorFrameCoordinates.Construction.tensorModelCoordinates_preserves σ H K c finProdFinEquiv u₀ e₀ rfl _ |
| 49 | (TensorModelCongruences.Construction.tensorModel_left_congruence σ H K z u a ha) |
| 50 | let α := WeightedCayleyLifts.Construction.weightedFrameAction σ Q a e he |
| 51 | let scale : DualPair.Construction.unitaryGroup σ H →ₜ* DualPair.Construction.unitaryGroup σ Q := |
| 52 | ⟨FormScaling.Construction.unitaryScaleForm σ H z, Assembly.Construction.unitaryScaleForm_continuous σ H z⟩ |
| 53 | have hmodel (g : DualPair.Construction.unitaryGroup σ H) : |
| 54 | FrameTransport.Construction.frameSymplectic σ H K c (α (scale g)) = DualPair.Construction.dualPairAction σ H K (g, 1) := |
| 55 | TensorFrameCoordinates.Construction.tensorModelCoordinates_action σ H K c finProdFinEquiv u₀ e₀ rfl _ he |
| 56 | (TensorUnitary.Construction.weightedTensorUnitary σ Q a (scale g)) (g, 1) |
| 57 | (TensorModelCongruences.Construction.tensorModel_left_intertwines σ H K z u a g) |
| 58 | obtain ⟨s, hs, hscomm⟩ := WeightedReal.Construction.weighted_unitary_splitting_real σ H K c |
| 59 | (TensorFrameCoordinates.Construction.symplecticFrame_continuous σ H K c RealFourierUnitary.Construction.real_nondiscrete hEmbedding).2 hE hEmbedding hQuadratic hne |
| 60 | ψ hc hu hn characters.quadratic characters.quadratic_kernel Q hQ hskew a |
| 61 | characters.skewHermitian characters.skewHermitian_restriction e he |
| 62 | refine ⟨s.comp scale, ?_, ?_⟩ |
| 63 | · intro g |
| 64 | exact (hs (scale g)).trans (hmodel g) |
| 65 | · intro b hb g |
| 66 | apply Assembly.Construction.frameSplitting_centralizer σ H K c ψ α s.toMonoidHom hscomm b _ (scale g) |
| 67 | intro t |
| 68 | obtain ⟨k, rfl⟩ := FormScaling.Construction.unitaryScaleForm_surjective σ H z hz0 t |
| 69 | change Commute (FrameTransport.Construction.frameSymplectic σ H K c (α (scale k))) _ |
| 70 | rw [hmodel] |
| 71 | exact hb k |
| 72 | |
| 73 | theorem real_right_factor_splitting |
| 74 | (hH : DualPair.Construction.adjointMatrix σ H = H) (hK : DualPair.Construction.adjointMatrix σ K = -K) |
| 75 | (hHdet : H.det ≠ 0) (hKdet : K.det ≠ 0) : |
| 76 | ∃ s : DualPair.Construction.unitaryGroup σ K →ₜ* Oscillator.Construction.CircleExtension σ H K c ψ, |
| 77 | ∀ g, Oscillator.Construction.circleProjection σ H K c ψ (s g) = DualPair.Construction.dualPairAction σ H K (1, g) := by |
| 78 | obtain ⟨u, a, ha⟩ := FormScaling.Construction.hermitian_diagonal_units σ hQuadratic hne H hH hHdet |
| 79 | let e₀ := TensorFrameCoordinates.Construction.continuousFrameCoordinates σ H K c RealFourierUnitary.Construction.real_nondiscrete hEmbedding |
| 80 | let u₀ := DualPair.Construction.tensorUnits u (1 : (Matrix (Fin n) (Fin n) E)ˣ) |
| 81 | let e := TensorFrameCoordinates.Construction.tensorModelCoordinates TensorModelCongruences.Construction.swappedTensorIndex u₀ e₀ |
| 82 | have he : ∀ x y, Oscillator.Construction.standardSymplecticPairing (m * n) (e x) (e y) = |
| 83 | Algebra.trace ℝ E (DualPair.Construction.sesquilinear σ (TensorUnitary.Construction.weightedTensorForm K a) x y) / 2 := |
| 84 | TensorFrameCoordinates.Construction.tensorModelCoordinates_preserves σ H K c TensorModelCongruences.Construction.swappedTensorIndex u₀ e₀ rfl _ |
| 85 | (TensorModelCongruences.Construction.tensorModel_right_congruence σ H K u a ha) |
| 86 | obtain ⟨s, hs, _⟩ := WeightedReal.Construction.weighted_unitary_splitting_real σ H K c |
| 87 | (TensorFrameCoordinates.Construction.symplecticFrame_continuous σ H K c RealFourierUnitary.Construction.real_nondiscrete hEmbedding).2 hE hEmbedding hQuadratic hne |
| 88 | ψ hc hu hn characters.quadratic characters.quadratic_kernel K hKdet hK a |
| 89 | characters.hermitian characters.hermitian_restriction e he |
| 90 | refine ⟨s, fun g => (hs g).trans ?_⟩ |
| 91 | exact TensorFrameCoordinates.Construction.tensorModelCoordinates_action σ H K c TensorModelCongruences.Construction.swappedTensorIndex u₀ e₀ rfl _ he |
| 92 | (TensorUnitary.Construction.weightedTensorUnitary σ K a g) (1, g) (TensorModelCongruences.Construction.tensorModel_right_intertwines σ H K u a g) |
| 93 | |
| 94 | theorem real_dual_pair_splitting |
| 95 | (hH : DualPair.Construction.adjointMatrix σ H = H) (hK : DualPair.Construction.adjointMatrix σ K = -K) |
| 96 | (hHdet : H.det ≠ 0) (hKdet : K.det ≠ 0) : |
| 97 | ∃ splitting : (DualPair.Construction.unitaryGroup σ H × DualPair.Construction.unitaryGroup σ K) →ₜ* Oscillator.Construction.CircleExtension σ H K c ψ, |
| 98 | ∀ g, Oscillator.Construction.circleProjection σ H K c ψ (splitting g) = DualPair.Construction.continuousDualPairAction σ H K g := by |
| 99 | let : IsTopologicalGroup (Oscillator.Construction.CircleExtension σ H K c ψ) := |
| 100 | GroupTopology.Construction.circleExtension_isTopologicalGroup RealFourierUnitary.Construction.real_nondiscrete hEmbedding σ H K c ψ |
| 101 | obtain ⟨s, hs, hscomm⟩ := real_left_factor_splitting σ H K c hE hEmbedding hQuadratic hne |
| 102 | ψ hc hu hn characters hH hK hHdet hKdet |
| 103 | obtain ⟨t, ht⟩ := real_right_factor_splitting σ H K c hE hEmbedding hQuadratic hne |
| 104 | ψ hc hu hn characters hH hK hHdet hKdet |
| 105 | exact Assembly.Construction.dualPairSplitting_assembly σ H K c ψ s t hs ht hscomm |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.RepresentationTheory.Weil.UnitarySplitting.RealFactorSplittings.Construction |