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.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.QuadraticBare |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.BareNe |
| 3 | |
| 4 | /-! # Integral Vacuum -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.IntegralVacuum.CM.LowerBare |
| 11 | |
| 12 | /-! Lower unipotents have actual lifts to the finite bare group by |
| 13 | Fourier conjugation of the constructed quadratic lifts. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.FiniteOscillator.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.Quadratic.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.QuadraticBare.CM |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.BareNe.CM.Group |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.BareNe.CM.Normal |
| 21 | |
| 22 | variable {I : Type*} [Fintype I] |
| 23 | |
| 24 | def lower (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hB : B.IsSymm) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf := by |
| 25 | refine ⟨Matrix.fromBlocks 1 0 B 1, ?_⟩ |
| 26 | rw [SymplecticGroup.fromBlocks_mem_iff] |
| 27 | simp [hB.eq] |
| 28 | |
| 29 | theorem lower_matrix (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hB : B.IsSymm) : |
| 30 | (FourierHeisenberg.CM.weyl (I := I))⁻¹ * RepresentationTheory.Hecke.RadialDilation.QuadraticCommutator.Realization.ringUpper (-B) hB.neg * |
| 31 | FourierHeisenberg.CM.weyl = lower B hB := by |
| 32 | apply Subtype.ext |
| 33 | change ((FourierHeisenberg.CM.weyl (I := I))⁻¹).val * |
| 34 | (RepresentationTheory.Hecke.RadialDilation.QuadraticCommutator.Realization.ringUpper (-B) hB.neg).val * (FourierHeisenberg.CM.weyl (I := I)).val = _ |
| 35 | rw [SymplecticGroup.coe_inv] |
| 36 | simp [FourierHeisenberg.CM.weyl, RepresentationTheory.Hecke.RadialDilation.QuadraticCommutator.Realization.ringUpper, lower, Matrix.J, |
| 37 | Matrix.fromBlocks_multiply, Matrix.fromBlocks_transpose, Matrix.fromBlocks_neg] |
| 38 | |
| 39 | def lowerLift (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hB : B.IsSymm) : BareNe.CM.Group.BareGroup (I := I) := by |
| 40 | refine ⟨FiniteOscillator.CM.fourierOscillator⁻¹ * Quadratic.CM.quadraticOscillator (-B) hB.neg * FiniteOscillator.CM.fourierOscillator, ?_⟩ |
| 41 | have h := (BareNe.CM.Normal.bare_normal (I := I)).conj_mem (Quadratic.CM.quadraticOscillator (-B) hB.neg) |
| 42 | (QuadraticBare.CM.quadratic_mem (-B) hB.neg) (FiniteOscillator.CM.fourierOscillator⁻¹) |
| 43 | simpa only [inv_inv] using h |
| 44 | |
| 45 | theorem lowerLift_projection (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hB : B.IsSymm) : |
| 46 | BareNe.CM.Group.bareProjection (lowerLift B hB) = lower B hB := by |
| 47 | change FiniteOscillator.CM.projection (FiniteOscillator.CM.fourierOscillator⁻¹ * Quadratic.CM.quadraticOscillator (-B) hB.neg * FiniteOscillator.CM.fourierOscillator) = _ |
| 48 | rw [map_mul, map_mul, map_inv] |
| 49 | exact lower_matrix B hB |
| 50 | |
| 51 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.IntegralVacuum.CM.LowerBare |
| 52 | |
| 53 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.IntegralVacuum.CM |
| 54 | |
| 55 | /-! Exact fixation of the finite integral lattice vector by Fourier |
| 56 | and by upper/lower operators with half-integral coefficients. -/ |
| 57 | |
| 58 | open scoped Classical _root_.Matrix |
| 59 | open _root_.Matrix |
| 60 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.FourierHeisenberg.CM.Equiv |
| 61 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.FiniteOscillator.CM |
| 62 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.Quadratic.CM |
| 63 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.BareNe.CM.Group |
| 64 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.IntegralVacuum.CM.LowerBare |
| 65 | variable {I : Type*} [Fintype I] |
| 66 | |
| 67 | omit [Fintype I] in |
| 68 | theorem finiteLattice_one : RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (ι := I) 1 one_ne_zero = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors.toAddSubgroup := by |
| 69 | ext x |
| 70 | simp only [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice_mem_iff, inv_one, RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale_one, Subring.mem_toAddSubgroup] |
| 71 | |
| 72 | omit [Fintype I] in |
| 73 | theorem latticeIndicator_one : RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator (ι := I) 1 one_ne_zero = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralIndicator := by |
| 74 | funext x |
| 75 | rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator, finiteLattice_one] |
| 76 | rfl |
| 77 | |
| 78 | theorem fourier_vacuum : FourierHeisenberg.CM.Equiv.fourierEquiv (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction := by |
| 79 | apply Subtype.ext |
| 80 | funext x |
| 81 | rw [FourierHeisenberg.CM.Equiv.fourierEquiv_apply] |
| 82 | change RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.fourier Constructed.AdelicCharacter.CM.Finite.character (Constructed.FiniteMeasure.CM.measure I) |
| 83 | RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralIndicator x = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralIndicator x |
| 84 | rw [← latticeIndicator_one, Constructed.FiniteFourier.CM.latticeIndicator_fourier] |
| 85 | simp only [inv_one, latticeIndicator_one, finiteLattice_one] |
| 86 | rw [Subring.coe_toAddSubgroup] |
| 87 | rw [Constructed.FiniteMeasure.CM.integral_real_volume] |
| 88 | simp |
| 89 | |
| 90 | theorem inverse_fourier_vacuum : |
| 91 | FourierHeisenberg.CM.Equiv.fourierEquiv.symm (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction := by |
| 92 | apply FourierHeisenberg.CM.Equiv.fourierEquiv.injective |
| 93 | rw [LinearEquiv.apply_symm_apply, fourier_vacuum] |
| 94 | |
| 95 | def HalfIntegral (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : Prop := |
| 96 | ∀ i j, algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * B i j ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele |
| 97 | |
| 98 | omit [Fintype I] in |
| 99 | theorem halfIntegral_neg (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hB : HalfIntegral B) : HalfIntegral (-B) := by |
| 100 | intro i j |
| 101 | change algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * (-B i j) ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele |
| 102 | rw [mul_neg] |
| 103 | exact RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.neg_mem (hB i j) |
| 104 | |
| 105 | theorem quadratic_integral (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hB : HalfIntegral B) |
| 106 | (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hx : x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors) : RepresentationTheory.Hecke.RadialDilation.QuadraticCommutator.Realization.ringQuadratic B x ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele := by |
| 107 | rw [RepresentationTheory.Hecke.RadialDilation.QuadraticCommutator.Realization.ringQuadratic_entries] |
| 108 | apply RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.sum_mem |
| 109 | intro i _ |
| 110 | apply RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.sum_mem |
| 111 | intro j _ |
| 112 | exact RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.mul_mem (RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.mul_mem (hx i) (hB i j)) (hx j) |
| 113 | |
| 114 | theorem quadratic_vacuum (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hB : HalfIntegral B) : |
| 115 | Quadratic.CM.finiteQuadratic B RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction := by |
| 116 | apply Subtype.ext |
| 117 | funext x |
| 118 | change Constructed.AdelicCharacter.CM.Finite.character (RepresentationTheory.Hecke.RadialDilation.QuadraticCommutator.Realization.ringQuadratic B x) * RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralIndicator x = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralIndicator x |
| 119 | by_cases hx : x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors |
| 120 | · rw [Constructed.AdelicCharacter.CM.Finite.character_integral _ (quadratic_integral B hB x hx), one_mul] |
| 121 | · rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralIndicator_of_notMem hx, mul_zero] |
| 122 | |
| 123 | theorem lower_vacuum (B : Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hB : B.IsSymm) (hi : HalfIntegral B) : |
| 124 | BareNe.CM.Group.bareAction (LowerBare.lowerLift B hB) RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction := by |
| 125 | change FourierHeisenberg.CM.Equiv.fourierEquiv.symm (Quadratic.CM.finiteQuadratic (-B) (FourierHeisenberg.CM.Equiv.fourierEquiv RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction)) = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction |
| 126 | rw [fourier_vacuum, quadratic_vacuum (-B) (halfIntegral_neg B hi), inverse_fourier_vacuum] |
| 127 | |
| 128 | theorem vacuum_ne_zero : (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralTestFunction : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) ≠ 0 := by |
| 129 | intro h |
| 130 | have he := congrArg (fun f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I => f.val 0) h |
| 131 | change RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralIndicator (0 : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) = 0 at he |
| 132 | rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralIndicator_of_mem RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors.zero_mem] at he |
| 133 | exact one_ne_zero he |
| 134 | |
| 135 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.IntegralVacuum.CM |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI |