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.NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.SubringCongruence |
| 3 | |
| 4 | /-! # Integral Model Congruence -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.IntegralModelCongruence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual integral lifts and finite-index reduction kernels for the |
| 11 | standard lattice stabilizer of a polynomial matrix group. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | |
| 15 | open _root_.Matrix OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices.Construction OAI.RepresentationTheory.Theta.Adelic.SubringCongruence |
| 16 | |
| 17 | theorem specialLinear_map_injective {R S I : Type*} [CommRing R] [CommRing S] |
| 18 | [Fintype I] [DecidableEq I] (f : R →+* S) (hf : Function.Injective f) : |
| 19 | Function.Injective (Matrix.SpecialLinearGroup.map (n := I) f) := by |
| 20 | intro g h he |
| 21 | apply Matrix.SpecialLinearGroup.ext |
| 22 | intro i j |
| 23 | apply hf |
| 24 | exact congrArg (fun A : Matrix.SpecialLinearGroup I S => A.val i j) he |
| 25 | |
| 26 | variable {F : Type} [Field F] [NumberField F] {n : ℕ} (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) |
| 27 | |
| 28 | abbrev IntegralGroup := G.latticeStabilizer (NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.FullLattice.standard F n) |
| 29 | |
| 30 | def integralMatrix (g : IntegralGroup G) : Matrix.SpecialLinearGroup (Fin n) (𝓞 F) := |
| 31 | ((NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices.Construction.standard_lattice_stabilizer_iff_integral G g.val).mp g.property).choose |
| 32 | |
| 33 | theorem integralMatrix_map (g : IntegralGroup G) : |
| 34 | Matrix.SpecialLinearGroup.map (algebraMap (𝓞 F) F) (integralMatrix G g) = g.val.val := |
| 35 | ((NumberTheory.ArithmeticGroups.Lattices.Integral.Matrices.Construction.standard_lattice_stabilizer_iff_integral G g.val).mp g.property).choose_spec |
| 36 | |
| 37 | def integralMatrixHom : IntegralGroup G →* Matrix.SpecialLinearGroup (Fin n) (𝓞 F) where |
| 38 | toFun := integralMatrix G |
| 39 | map_one' := by |
| 40 | apply specialLinear_map_injective (algebraMap (𝓞 F) F) NumberField.RingOfIntegers.coe_injective |
| 41 | rw [integralMatrix_map, map_one] |
| 42 | rfl |
| 43 | map_mul' g h := by |
| 44 | apply specialLinear_map_injective (algebraMap (𝓞 F) F) NumberField.RingOfIntegers.coe_injective |
| 45 | rw [integralMatrix_map, map_mul, integralMatrix_map, integralMatrix_map] |
| 46 | rfl |
| 47 | |
| 48 | def integerIdeal (N : ℕ) : Ideal (𝓞 F) := Ideal.span {(N : 𝓞 F)} |
| 49 | |
| 50 | def integralReduction (N : ℕ) : IntegralGroup G →* |
| 51 | Matrix.SpecialLinearGroup (Fin n) (𝓞 F ⧸ integerIdeal (F := F) N) := |
| 52 | (Matrix.SpecialLinearGroup.map (Ideal.Quotient.mk _)).comp (integralMatrixHom G) |
| 53 | |
| 54 | theorem integralReduction_finiteIndex (N : ℕ) (hN : 0 < N) : |
| 55 | (integralReduction G N).ker.FiniteIndex := by |
| 56 | have hn : (N : 𝓞 F) ≠ 0 := by exact_mod_cast hN.ne' |
| 57 | have hI : integerIdeal (F := F) N ≠ ⊥ := by |
| 58 | intro h |
| 59 | have hm : (N : 𝓞 F) ∈ integerIdeal (F := F) N := Ideal.subset_span (Set.mem_singleton _) |
| 60 | rw [h] at hm |
| 61 | exact hn hm |
| 62 | let : Finite (𝓞 F ⧸ integerIdeal (F := F) N) := Ring.HasFiniteQuotients.finiteQuotient hI |
| 63 | infer_instance |
| 64 | |
| 65 | theorem integralReduction_coefficients (N : ℕ) (g : IntegralGroup G) |
| 66 | (hg : g ∈ (integralReduction G N).ker) (i j : Fin n) : |
| 67 | ∃ x : 𝓞 F, g.val.val.val i j - (1 : Matrix (Fin n) (Fin n) F) i j = (N : F) * (x : F) := by |
| 68 | let q := Ideal.Quotient.mk (integerIdeal (F := F) N) |
| 69 | have he := congrArg (fun A : Matrix.SpecialLinearGroup (Fin n) (𝓞 F ⧸ integerIdeal (F := F) N) => |
| 70 | A.val i j) hg |
| 71 | change q ((integralMatrix G g).val i j) = (1 : Matrix (Fin n) (Fin n) (𝓞 F ⧸ integerIdeal (F := F) N)) i j at he |
| 72 | have he' : q ((integralMatrix G g).val i j) = q ((1 : Matrix (Fin n) (Fin n) (𝓞 F)) i j) := |
| 73 | he.trans (SubringCongruence.map_one_entry q i j).symm |
| 74 | have hm := (Ideal.Quotient.mk_eq_mk_iff_sub_mem _ _).mp he' |
| 75 | change (integralMatrix G g).val i j - (1 : Matrix (Fin n) (Fin n) (𝓞 F)) i j ∈ |
| 76 | Ideal.span {(N : 𝓞 F)} at hm |
| 77 | obtain ⟨x, hx⟩ := Ideal.mem_span_singleton.mp hm |
| 78 | have h := congrArg (algebraMap (𝓞 F) F) hx |
| 79 | have hc := congrArg (fun A : Matrix.SpecialLinearGroup (Fin n) F => A.val i j) (integralMatrix_map G g) |
| 80 | change algebraMap (𝓞 F) F ((integralMatrix G g).val i j) = g.val.val.val i j at hc |
| 81 | rw [map_sub, map_mul, map_natCast, SubringCongruence.map_one_entry] at h |
| 82 | exact ⟨x, (congrArg (fun a : F => a - (1 : Matrix (Fin n) (Fin n) F) i j) hc.symm).trans h⟩ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.RepresentationTheory.Theta.Adelic.IntegralModelCongruence |