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.Local.MatrixPivot |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.SymplecticLocal |
| 3 | |
| 4 | /-! # Integral Matrix Unit -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.IntegralMatrixUnit.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An adelic matrix unit and its inverse are integral at almost all |
| 11 | places, where they define an actual matrix unit over the local integers. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Matrix RestrictedProduct |
| 14 | open Filter |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.SymplecticLocal.CM |
| 16 | |
| 17 | variable {I R : Type*} [Fintype I] [CommRing R] |
| 18 | |
| 19 | def liftMatrix (S : Subring R) (M : Matrix I I R) (hM : ∀ i j, M i j ∈ S) : Matrix I I S := |
| 20 | fun i j => ⟨M i j, hM i j⟩ |
| 21 | |
| 22 | omit [Fintype I] in |
| 23 | theorem liftMatrix_map (S : Subring R) (M : Matrix I I R) (hM : ∀ i j, M i j ∈ S) : |
| 24 | (liftMatrix S M hM).map S.subtype = M := rfl |
| 25 | |
| 26 | def subringUnit (S : Subring R) (A : (Matrix I I R)ˣ) |
| 27 | (hA : ∀ i j, A.val i j ∈ S) (hInv : ∀ i j, (A⁻¹).val i j ∈ S) : (Matrix I I S)ˣ where |
| 28 | val := liftMatrix S A.val hA |
| 29 | inv := liftMatrix S (A⁻¹).val hInv |
| 30 | val_inv := by |
| 31 | apply Matrix.map_injective S.subtype_injective |
| 32 | dsimp only |
| 33 | rw [Matrix.map_mul, liftMatrix_map, liftMatrix_map] |
| 34 | rw [← Units.val_mul, mul_inv_cancel, Units.val_one] |
| 35 | exact S.subtype.mapMatrix.map_one.symm |
| 36 | inv_val := by |
| 37 | apply Matrix.map_injective S.subtype_injective |
| 38 | dsimp only |
| 39 | rw [Matrix.map_mul, liftMatrix_map, liftMatrix_map] |
| 40 | rw [← Units.val_mul, inv_mul_cancel, Units.val_one] |
| 41 | exact S.subtype.mapMatrix.map_one.symm |
| 42 | |
| 43 | def localUnit (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : (Matrix I I (v.adicCompletion ℚ))ˣ := |
| 44 | Units.map (Finite.SymplecticLocal.CM.localEval v).mapMatrix.toMonoidHom A |
| 45 | |
| 46 | def IsIntegral (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : Prop := |
| 47 | (∀ i j, A.val i j v ∈ v.adicCompletionIntegers ℚ) ∧ |
| 48 | ∀ i j, (A⁻¹).val i j v ∈ v.adicCompletionIntegers ℚ |
| 49 | |
| 50 | theorem eventually_integral (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) : ∀ᶠ v in cofinite, IsIntegral A v := by |
| 51 | apply Filter.Eventually.and |
| 52 | · exact Filter.eventually_all.mpr fun i => Filter.eventually_all.mpr fun j => (A.val i j).property |
| 53 | · exact Filter.eventually_all.mpr fun i => Filter.eventually_all.mpr fun j => ((A⁻¹).val i j).property |
| 54 | |
| 55 | def integralUnit (A : (Matrix I I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)ˣ) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hA : IsIntegral A v) : |
| 56 | (Matrix I I (v.adicCompletionIntegers ℚ))ˣ := |
| 57 | subringUnit (v.adicCompletionIntegers ℚ).toSubring (localUnit A v) hA.1 hA.2 |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.IntegralMatrixUnit.CM |