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.AbelianScheme.CartierDuality.CharacterGroupSheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Etale |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Torsion.Groups |
| 4 | import Mathlib.Algebra.Polynomial.Laurent |
| 5 | import Mathlib.Algebra.Group.Equiv.TypeTags |
| 6 | import Mathlib.RingTheory.Smooth.Basic |
| 7 | |
| 8 | /-! # Multiplicative -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Multiplicative.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | The actual Hopf-algebra model of G_m is smooth and separated. Its native |
| 16 | n-torsion kernel is etale when n is invertible on the base, giving the |
| 17 | geometric target needed for the relative annihilator construction. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | open scoped _root_.CategoryTheory.MonObj |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterGroupSheaf.Construction |
| 26 | |
| 27 | def multiplicativeCoordinateLaurentEquiv (R : Type u) [CommRing R] : |
| 28 | CartierDuality.Characters.Construction.MultiplicativeGroupCoordinate R ≃ₐ[R] LaurentPolynomial R := |
| 29 | (MonoidAlgebra.toAdditiveAlgEquiv R R (Multiplicative ℤ)).trans |
| 30 | (AddMonoidAlgebra.domCongr R R (AddEquiv.additiveMultiplicative ℤ)) |
| 31 | |
| 32 | theorem multiplicativeCoordinate_smooth (R : Type u) [CommRing R] : |
| 33 | Algebra.Smooth R (CartierDuality.Characters.Construction.MultiplicativeGroupCoordinate R) := by |
| 34 | let : IsScalarTower R (Polynomial R) (LaurentPolynomial R) := |
| 35 | IsScalarTower.of_algebraMap_eq fun r => by |
| 36 | change LaurentPolynomial.C r = Polynomial.toLaurent (Polynomial.C r) |
| 37 | exact (Polynomial.toLaurent_C r).symm |
| 38 | let : Algebra.Smooth (Polynomial R) (LaurentPolynomial R) := |
| 39 | Algebra.Smooth.of_isLocalization_Away (Polynomial.X : Polynomial R) |
| 40 | let : Algebra.Smooth R (Polynomial R) := ⟨inferInstance, inferInstance⟩ |
| 41 | let : Algebra.Smooth R (LaurentPolynomial R) := |
| 42 | Algebra.Smooth.comp R (Polynomial R) (LaurentPolynomial R) |
| 43 | exact Algebra.Smooth.of_equiv (multiplicativeCoordinateLaurentEquiv R).symm |
| 44 | |
| 45 | theorem multiplicativeGroupScheme_smooth (R : Type u) [CommRing R] : |
| 46 | Smooth (CartierDuality.Characters.Construction.multiplicativeGroupScheme R).X.hom := by |
| 47 | let : Algebra.Smooth R (CartierDuality.Characters.Construction.MultiplicativeGroupCoordinate R) := multiplicativeCoordinate_smooth R |
| 48 | change Smooth (Spec.map (CommRingCat.ofHom (algebraMap R (CartierDuality.Characters.Construction.MultiplicativeGroupCoordinate R)))) |
| 49 | rw [HasRingHomProperty.Spec_iff (P := @Smooth)] |
| 50 | exact RingHom.smooth_algebraMap.mpr inferInstance |
| 51 | |
| 52 | theorem multiplicativeGroupScheme_separated (R : Type u) [CommRing R] : |
| 53 | IsSeparated (CartierDuality.Characters.Construction.multiplicativeGroupScheme R).X.hom := by |
| 54 | change IsSeparated (Spec.map (CommRingCat.ofHom (algebraMap R (CartierDuality.Characters.Construction.MultiplicativeGroupCoordinate R)))) |
| 55 | infer_instance |
| 56 | |
| 57 | theorem multiplicativeGroupOver_smooth (S : Scheme.{u}) : |
| 58 | Smooth (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X.hom := by |
| 59 | let : Smooth (CartierDuality.Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ)).X.hom := |
| 60 | multiplicativeGroupScheme_smooth _ |
| 61 | change Smooth (Limits.pullback.snd (CartierDuality.Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ)).X.hom |
| 62 | (specULiftZIsTerminal.from S)) |
| 63 | infer_instance |
| 64 | |
| 65 | theorem multiplicativeGroupOver_separated (S : Scheme.{u}) : |
| 66 | IsSeparated (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X.hom := by |
| 67 | let : IsSeparated (CartierDuality.Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ)).X.hom := |
| 68 | multiplicativeGroupScheme_separated _ |
| 69 | change IsSeparated (Limits.pullback.snd (CartierDuality.Characters.Construction.multiplicativeGroupScheme (ULift.{u} ℤ)).X.hom |
| 70 | (specULiftZIsTerminal.from S)) |
| 71 | infer_instance |
| 72 | |
| 73 | abbrev rootsOfUnityScheme (S : Scheme.{u}) (n : ℕ) : Over S := |
| 74 | Torsion.Groups.Construction.nativeTorsionScheme (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X n |
| 75 | |
| 76 | theorem rootsOfUnityScheme_etale (S : Scheme.{u}) (n : ℕ) |
| 77 | (hn : ∀ x : S, IsUnit (n : S.presheaf.stalk x)) : |
| 78 | Etale (rootsOfUnityScheme S n).hom := by |
| 79 | let G := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X |
| 80 | let : Smooth G.hom := multiplicativeGroupOver_smooth S |
| 81 | let : Etale (TorsionQuotient.SubgroupFunctor.torsionScheme G n).hom := TorsionQuotient.Etale.TorsionEtale.torsion_etale G n hn |
| 82 | let e := Torsion.Groups.Construction.torsionEqualizerKernelIso G n |
| 83 | have : IsIso e.inv.left := (Over.forget S).map_isIso e.inv |
| 84 | have he : e.inv.left ≫ (TorsionQuotient.SubgroupFunctor.torsionScheme G n).hom = (rootsOfUnityScheme S n).hom := Over.w e.inv |
| 85 | rw [← he] |
| 86 | infer_instance |
| 87 | |
| 88 | theorem rootsOfUnityScheme_separated (S : Scheme.{u}) (n : ℕ) : |
| 89 | IsSeparated (rootsOfUnityScheme S n).hom := by |
| 90 | let G := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X |
| 91 | let : IsSeparated G.hom := multiplicativeGroupOver_separated S |
| 92 | let : IsClosedImmersion (TorsionQuotient.SubgroupFunctor.torsionι G n).left := TorsionQuotient.Quasi.TorsionGeometry.torsion_closedImmersion G n |
| 93 | let : IsSeparated (TorsionQuotient.SubgroupFunctor.torsionScheme G n).hom := by |
| 94 | have hh : (TorsionQuotient.SubgroupFunctor.torsionι G n).left ≫ G.hom = (TorsionQuotient.SubgroupFunctor.torsionScheme G n).hom := Over.w _ |
| 95 | rw [← hh] |
| 96 | infer_instance |
| 97 | let e := Torsion.Groups.Construction.torsionEqualizerKernelIso G n |
| 98 | have he : e.inv.left ≫ (TorsionQuotient.SubgroupFunctor.torsionScheme G n).hom = (rootsOfUnityScheme S n).hom := Over.w e.inv |
| 99 | rw [← he] |
| 100 | infer_instance |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Multiplicative.Construction |