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.Picard.PoincareBundle.Affine.Descent |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.Invariant |
| 3 | import Mathlib.RingTheory.Flat.Equalizer |
| 4 | |
| 5 | /-! # Line Module Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LineModuleDescent.Construction.LineDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # CartierDuality: effective descent of line modules over arbitrary rings |
| 13 | |
| 14 | Finite presentation descends by descending the kernel of a finite free |
| 15 | presentation. Thus line descent requires no noetherian hypothesis. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open TensorProduct |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- Finite presentation descends along every faithfully flat ring map. -/ |
| 25 | theorem finitePresentation_of_faithfullyFlat_baseChange |
| 26 | (R S M : Type*) [CommRing R] [CommRing S] [Algebra R S] |
| 27 | [AddCommGroup M] [Module R M] [Module.FaithfullyFlat R S] |
| 28 | [Module.FinitePresentation S (S ⊗[R] M)] : Module.FinitePresentation R M := by |
| 29 | have : Module.Finite R M := Module.Finite.of_finite_tensorProduct_of_faithfullyFlat S |
| 30 | obtain ⟨n, f, hf⟩ := Module.Finite.exists_fin' R M |
| 31 | let g := AlgebraTensorModule.lTensor S S f |
| 32 | have hg : Function.Surjective g := LinearMap.lTensor_surjective S hf |
| 33 | have : Module.Finite S (LinearMap.ker g) := .of_fg (Module.FinitePresentation.fg_ker g hg) |
| 34 | have : Module.Finite S (S ⊗[R] LinearMap.ker f) := |
| 35 | Module.Finite.equiv (LinearMap.tensorKerEquiv S S f).symm |
| 36 | have : Module.Finite R (LinearMap.ker f) := Module.Finite.of_finite_tensorProduct_of_faithfullyFlat S |
| 37 | exact Module.finitePresentation_of_free_of_surjective f hf (Module.Finite.iff_fg.mp inferInstance) |
| 38 | |
| 39 | /-- Invertibility of a line module descends without a finite-presentation |
| 40 | assumption: finite presentation is itself a consequence of faithful flatness. -/ |
| 41 | theorem invertible_of_faithfullyFlat_baseChange |
| 42 | (R S M : Type*) [CommRing R] [CommRing S] [Algebra R S] |
| 43 | [AddCommGroup M] [Module R M] [Module.FaithfullyFlat R S] |
| 44 | [Module.Invertible S (S ⊗[R] M)] : Module.Invertible R M := by |
| 45 | have : Module.FinitePresentation S (S ⊗[R] M) := |
| 46 | Module.finitePresentation_of_projective S (S ⊗[R] M) |
| 47 | have := finitePresentation_of_faithfullyFlat_baseChange R S M |
| 48 | exact Picard.PoincareBundle.Affine.LineDescent.invertible_of_faithfullyFlat_baseChange R S M |
| 49 | |
| 50 | /-- The module constructed by effective descent of a line coaction is |
| 51 | invertible over an arbitrary base ring. -/ |
| 52 | theorem descendedModule_invertible {R S : Type u} [CommRing R] [CommRing S] |
| 53 | (f : R →+* S) (hf : f.FaithfullyFlat) (D : Picard.PoincareBundle.Affine.Descent.ModuleDatum f) |
| 54 | [Module.Invertible S D.A] : Module.Invertible R (Picard.PoincareBundle.Affine.Descent.descendedModule f hf D) := by |
| 55 | let : Algebra R S := f.toAlgebra |
| 56 | have : Module.FaithfullyFlat R S := hf |
| 57 | have : Module.Invertible S (S ⊗[R] Picard.PoincareBundle.Affine.Descent.descendedModule f hf D) := |
| 58 | Module.Invertible.congr (Picard.PoincareBundle.Affine.Descent.baseChangeIso f hf D).symm.toLinearEquiv |
| 59 | exact invertible_of_faithfullyFlat_baseChange R S (Picard.PoincareBundle.Affine.Descent.descendedModule f hf D) |
| 60 | |
| 61 | /-- Geometric invariants of an actual line-bundle coaction form an |
| 62 | actual line bundle on every affine base. -/ |
| 63 | theorem invariantSheaf_isLine {R S : CommRingCat.{u}} (f : R ⟶ S) |
| 64 | (D : Picard.PoincareBundle.BeckDescent.SheafDatum (Spec.map f)) (hf : f.hom.FaithfullyFlat) |
| 65 | (hD : Picard.PoincareBundle.Line.Bundles.IsLine D.A) : |
| 66 | Picard.PoincareBundle.Line.Bundles.IsLine (Picard.PoincareBundle.BeckDescent.invariantSheaf (Spec.map f) D) := by |
| 67 | have : D.A.IsQuasicoherent := Picard.PoincareBundle.QuasiCoherent.isQuasicoherent_of_isLine D.A hD |
| 68 | let M := (moduleSpecΓFunctor (R := R)).obj (Picard.PoincareBundle.BeckDescent.invariantSheaf (Spec.map f) D) |
| 69 | have hExt : Module.Invertible S ((ModuleCat.extendScalars f.hom).obj M) := |
| 70 | Picard.PoincareBundle.Affine.Classification.invertible_of_isLine_tilde _ |
| 71 | (hD.of_iso (Picard.PoincareBundle.Affine.Invariant.extendedInvariantTildeIso f D hf.flat).symm) |
| 72 | let : Algebra R S := f.hom.toAlgebra |
| 73 | have : Module.FaithfullyFlat R S := hf |
| 74 | have : Module.Invertible S (S ⊗[R] M) := hExt |
| 75 | have : Module.Invertible R M := invertible_of_faithfullyFlat_baseChange R S M |
| 76 | exact (Picard.PoincareBundle.TildePullback.isLine_tilde_of_invertible M).of_iso (Picard.PoincareBundle.Affine.Invariant.invariantTildeIso f D) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LineModuleDescent.Construction.LineDescent |