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.SymplecticLocal |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SubringBigCellDeterminant |
| 3 | |
| 4 | /-! # Big Cell Choices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.BigCellChoices.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Choose local symmetric big-cell corrections integrally whenever |
| 11 | the original adelic matrix is integral. Their determinant inverses |
| 12 | are integral at those places as well. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.SymplecticLocal.CM |
| 16 | |
| 17 | variable {I : Type*} [Fintype I] |
| 18 | |
| 19 | def integralCorrection (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hg : SymplecticLocal.CM.IsIntegral g v) : |
| 20 | Matrix I I (v.adicCompletionIntegers ℚ) := (SymplecticLocal.CM.integral_big_cell g v hg).choose |
| 21 | |
| 22 | theorem integralCorrection_spec (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hg : SymplecticLocal.CM.IsIntegral g v) : |
| 23 | (integralCorrection g v hg).IsSymm ∧ |
| 24 | IsUnit ((SymplecticLocal.CM.integralSymplectic g v hg).val.toBlocks₁₁ + |
| 25 | integralCorrection g v hg * (SymplecticLocal.CM.integralSymplectic g v hg).val.toBlocks₂₁).det := |
| 26 | (SymplecticLocal.CM.integral_big_cell g v hg).choose_spec |
| 27 | |
| 28 | def fieldCorrection (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : Matrix I I (v.adicCompletion ℚ) := |
| 29 | (SymplecticLocal.CM.local_big_cell g v).choose |
| 30 | |
| 31 | theorem fieldCorrection_spec (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : |
| 32 | (fieldCorrection g v).IsSymm ∧ |
| 33 | IsUnit ((SymplecticLocal.CM.localSymplectic g v).val.toBlocks₁₁ + |
| 34 | fieldCorrection g v * (SymplecticLocal.CM.localSymplectic g v).val.toBlocks₂₁).det := |
| 35 | (SymplecticLocal.CM.local_big_cell g v).choose_spec |
| 36 | |
| 37 | def correction (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : Matrix I I (v.adicCompletion ℚ) := |
| 38 | if h : SymplecticLocal.CM.IsIntegral g v then (integralCorrection g v h).map (v.adicCompletionIntegers ℚ).subtype |
| 39 | else fieldCorrection g v |
| 40 | |
| 41 | theorem correction_symmetric (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : (correction g v).IsSymm := by |
| 42 | unfold correction |
| 43 | split_ifs with h |
| 44 | · exact (integralCorrection_spec g v h).1.map _ |
| 45 | · exact (fieldCorrection_spec g v).1 |
| 46 | |
| 47 | theorem correction_integral (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hg : SymplecticLocal.CM.IsIntegral g v) (i j : I) : |
| 48 | correction g v i j ∈ v.adicCompletionIntegers ℚ := by |
| 49 | rw [correction, dite_eq_left hg] |
| 50 | exact (integralCorrection g v hg i j).property |
| 51 | |
| 52 | def correctedDeterminant (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : v.adicCompletion ℚ := |
| 53 | ((SymplecticLocal.CM.localSymplectic g v).val.toBlocks₁₁ + correction g v * (SymplecticLocal.CM.localSymplectic g v).val.toBlocks₂₁).det |
| 54 | |
| 55 | theorem integral_determinant_map (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hg : SymplecticLocal.CM.IsIntegral g v) : |
| 56 | (v.adicCompletionIntegers ℚ).subtype |
| 57 | (((SymplecticLocal.CM.integralSymplectic g v hg).val.toBlocks₁₁ + integralCorrection g v hg * |
| 58 | (SymplecticLocal.CM.integralSymplectic g v hg).val.toBlocks₂₁).det) = correctedDeterminant g v := by |
| 59 | rw [correctedDeterminant, correction, dite_eq_left hg] |
| 60 | exact SubringBigCellDeterminant.CM.determinant_map |
| 61 | (v.adicCompletionIntegers ℚ).toSubring (SymplecticLocal.CM.localSymplectic g v) hg (integralCorrection g v hg) |
| 62 | |
| 63 | theorem correctedDeterminant_unit (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) : |
| 64 | IsUnit (correctedDeterminant g v) := by |
| 65 | by_cases hg : SymplecticLocal.CM.IsIntegral g v |
| 66 | · rw [← integral_determinant_map g v hg] |
| 67 | exact (integralCorrection_spec g v hg).2.map (v.adicCompletionIntegers ℚ).subtype |
| 68 | · rw [correctedDeterminant, correction, dite_eq_right hg] |
| 69 | exact (fieldCorrection_spec g v).2 |
| 70 | |
| 71 | theorem inverse_integral (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (v : RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.FinitePlace) (hg : SymplecticLocal.CM.IsIntegral g v) : |
| 72 | (correctedDeterminant g v)⁻¹ ∈ v.adicCompletionIntegers ℚ := by |
| 73 | rw [← integral_determinant_map g v hg] |
| 74 | exact SubringBigCellDeterminant.CM.inverse_mem (v.adicCompletionIntegers ℚ).toSubring |
| 75 | _ (integralCorrection_spec g v hg).2 |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.BigCellChoices.CM |