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.Geometric.SphericalGU |
| 2 | |
| 3 | /-! # Contragredient -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Contragredient.Local |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The inverse-transpose automorphism of the actual special-linear |
| 10 | group preserves the literal integral level. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | variable (R : Type*) [CommRing R] |
| 15 | |
| 16 | def contragredient : Matrix.SpecialLinearGroup (Fin 3) R →* |
| 17 | Matrix.SpecialLinearGroup (Fin 3) R where |
| 18 | toFun g := (g⁻¹).transpose |
| 19 | map_one' := by |
| 20 | apply Subtype.ext |
| 21 | simp only [inv_one, Matrix.SpecialLinearGroup.coe_transpose, |
| 22 | Matrix.SpecialLinearGroup.coe_one, Matrix.transpose_one] |
| 23 | map_mul' g h := by |
| 24 | apply Subtype.ext |
| 25 | simp only [mul_inv_rev, Matrix.SpecialLinearGroup.coe_transpose, |
| 26 | Matrix.SpecialLinearGroup.coe_mul, Matrix.transpose_mul] |
| 27 | |
| 28 | theorem contragredient_involutive : Function.Involutive (contragredient R) := by |
| 29 | intro g |
| 30 | change ((contragredient R g)⁻¹).transpose = g |
| 31 | rw [← map_inv] |
| 32 | change (((g⁻¹)⁻¹).transpose).transpose = g |
| 33 | rw [inv_inv] |
| 34 | rfl |
| 35 | |
| 36 | def contragredientEquiv : Matrix.SpecialLinearGroup (Fin 3) R ≃* |
| 37 | Matrix.SpecialLinearGroup (Fin 3) R := |
| 38 | { (contragredient_involutive R).toPerm _ with map_mul' := (contragredient R).map_mul } |
| 39 | |
| 40 | theorem contragredient_map {S : Type*} [CommRing S] (f : R →+* S) |
| 41 | (g : Matrix.SpecialLinearGroup (Fin 3) R) : |
| 42 | contragredient S (Matrix.SpecialLinearGroup.map f g) = |
| 43 | Matrix.SpecialLinearGroup.map f (contragredient R g) := by |
| 44 | change ((Matrix.SpecialLinearGroup.map f g)⁻¹).transpose = _ |
| 45 | rw [← map_inv] |
| 46 | rfl |
| 47 | |
| 48 | theorem contragredient_integral (q : ℕ) [Fact q.Prime] (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) |
| 49 | (hg : g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) : |
| 50 | contragredient ℚ_[q] g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q := by |
| 51 | obtain ⟨a, rfl⟩ := hg |
| 52 | exact ⟨contragredient ℤ_[q] a, (contragredient_map ℤ_[q] PadicInt.Coe.ringHom a).symm⟩ |
| 53 | |
| 54 | theorem contragredient_integral_iff (q : ℕ) [Fact q.Prime] (g : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) : |
| 55 | contragredient ℚ_[q] g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q ↔ g ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q := by |
| 56 | constructor |
| 57 | · intro h |
| 58 | simpa only [contragredient_involutive ℚ_[q] g] using contragredient_integral q _ h |
| 59 | · exact contragredient_integral q g |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Contragredient.Local |