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.UnitaryAlgebraicModel |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices |
| 3 | |
| 4 | /-! # Principal Regular Integral -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.PrincipalRegularIntegral |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Deep coefficient principal groups preserve the actual standard |
| 11 | integral lattice in the six-dimensional faithful representation. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | |
| 15 | open _root_.Matrix OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices.Construction |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.PrincipalSubgroup |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.PrincipalCoefficientOrder OAI.RepresentationTheory.Theta.Adelic.SubringCongruence OAI.RepresentationTheory.Theta.Adelic.UnitaryAlgebraicModel |
| 18 | open OAI.RepresentationTheory.Theta.Adelic.UnitaryPolynomialEquations |
| 19 | |
| 20 | variable (F : Type) [Field F] [NumberField F] (d : F) |
| 21 | variable (N : ℕ) (q : 𝓞 F) (hq : (q : F) = (N : F) * d) |
| 22 | |
| 23 | omit [NumberField F] in |
| 24 | theorem order_regular_integral (x : PrincipalCoefficientOrder.coefficientOrder F d N q hq) (i j : Fin 2) : |
| 25 | IsIntegral ℤ (Geometry.ComplexBall.ArithmeticQuotientEquationsData.quadraticRegular d x.val i j) := by |
| 26 | obtain ⟨a, b, h⟩ := x.property |
| 27 | rw [h] |
| 28 | fin_cases i <;> fin_cases j |
| 29 | · exact a.property |
| 30 | · change IsIntegral ℤ (d * ((N : F) * (b : F))) |
| 31 | have he : d * ((N : F) * (b : F)) = (q : F) * (b : F) := by rw [hq]; ring |
| 32 | exact he.symm ▸ q.property.mul b.property |
| 33 | · exact (isIntegral_natCast N).mul b.property |
| 34 | · exact a.property |
| 35 | |
| 36 | variable (H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ) |
| 37 | |
| 38 | omit [NumberField F] in |
| 39 | include q hq in |
| 40 | theorem principal_regular_integral (g : SpecialUnitary.SU H.val) (hg : BallGeometryData.PrincipalLevel N g) : |
| 41 | ∀ i j, IsIntegral ℤ ((UnitaryPolynomialEquations.regularSU d H.val g).val i j) := by |
| 42 | have hmem := (PrincipalSubgroup.principalSubgroup_mem_iff F d H N q hq g).mpr hg |
| 43 | change PrincipalSubgroup.suSpecialLinear H.val g ∈ |
| 44 | SubringCongruence.congruenceImage (PrincipalCoefficientOrder.coefficientOrder F d N q hq) (PrincipalCoefficientOrder.coefficientIdeal F d N q hq) at hmem |
| 45 | obtain ⟨u, _, hu⟩ := hmem |
| 46 | have he (i j : Fin 3) : g.val.val i j ∈ PrincipalCoefficientOrder.coefficientOrder F d N q hq := by |
| 47 | have hh := congrArg (fun A : Matrix.SpecialLinearGroup (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d) => A.val i j) hu |
| 48 | change (u.val i j : Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d) = g.val.val i j at hh |
| 49 | exact hh ▸ (u.val i j).property |
| 50 | intro i j |
| 51 | obtain ⟨⟨i, a⟩, rfl⟩ := Geometry.ComplexBall.ArithmeticQuotientEquationsData.pairIndex.surjective i |
| 52 | obtain ⟨⟨j, b⟩, rfl⟩ := Geometry.ComplexBall.ArithmeticQuotientEquationsData.pairIndex.surjective j |
| 53 | change IsIntegral ℤ (Geometry.ComplexBall.ArithmeticQuotientEquationsData.regularMatrix d g.val.val _ _) |
| 54 | rw [Geometry.ComplexBall.ArithmeticQuotientEquationsData.regularMatrix_entry] |
| 55 | exact order_regular_integral F d N q hq ⟨g.val.val i j, he i j⟩ a b |
| 56 | |
| 57 | include q hq in |
| 58 | theorem principal_regular_stabilizes (g : SpecialUnitary.SU H.val) (hg : BallGeometryData.PrincipalLevel N g) : |
| 59 | UnitaryAlgebraicModel.regularUnitaryEquiv d H.val g ∈ |
| 60 | (UnitaryAlgebraicModel.unitaryAlgebraicGroup d H.val).latticeStabilizer (NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.FullLattice.standard F 6) := by |
| 61 | apply (NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices.Construction.standard_lattice_stabilizer_iff_integral _ _).mpr |
| 62 | let M : Matrix (Fin 6) (Fin 6) (𝓞 F) := |
| 63 | fun i j => ⟨(UnitaryPolynomialEquations.regularSU d H.val g).val i j, principal_regular_integral F d N q hq H g hg i j⟩ |
| 64 | have hdet : M.det = 1 := by |
| 65 | apply NumberField.RingOfIntegers.coe_injective |
| 66 | rw [RingHom.map_det, map_one] |
| 67 | exact (UnitaryPolynomialEquations.regularSU d H.val g).property |
| 68 | exact ⟨⟨M, hdet⟩, rfl⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.RepresentationTheory.Theta.Adelic.PrincipalRegularIntegral |