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.IsogenyQuotient.ZeroPicardKernelExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.RelativePicard.Map |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Sheaf.Image |
| 4 | |
| 5 | /-! # Char Zero Picard Image -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CharZeroPicardImage.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Cartier quotient is an actual abelian Picard image over any |
| 12 | scheme over a characteristic-zero field. Its degree conditions are |
| 13 | derived locally, not supplied as extra hypotheses. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | universe u |
| 19 | variable {S : Scheme.{u}} {k : Type u} [Field k] [CharZero k] (p : S ⟶ Spec (.of k)) |
| 20 | {g : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) |
| 21 | {X : Over S} [GrpObj X] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 22 | (f : X ⟶ A.scheme) [IsMonHom f] [IsFinite f.left] [Flat f.left] [Surjective f.left] |
| 23 | [LocallyOfFinitePresentation f.left] (C : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))) |
| 24 | |
| 25 | section Factor |
| 26 | variable {Q : Over S} [GrpObj Q] [IsCommMonObj Q] [IsProper Q.hom] |
| 27 | (q : (Canonical.DualData.Construction.canonicalDualAbelianData D).abelian.scheme ⟶ Q) [IsMonHom q] |
| 28 | (hkill : Canonical.DualData.Construction.canonicalCartierPicardInclusion D f C ≫ q = 1) |
| 29 | (hk : ∀ (T : Over S) (a : T ⟶ (Canonical.DualData.Construction.canonicalDualAbelianData D).abelian.scheme), |
| 30 | a ≫ q = 1 ↔ ∃! x : T ⟶ C.dual.X, x ≫ Canonical.DualData.Construction.canonicalCartierPicardInclusion D f C = a) |
| 31 | |
| 32 | include p hkill hk in |
| 33 | set_option backward.isDefEq.respectTransparency false in |
| 34 | theorem charZeroPicardPullback_fibres_iff (T : Over S) |
| 35 | (a b : T ⟶ (Canonical.DualData.Construction.canonicalDualAbelianData D).abelian.scheme) : |
| 36 | Canonical.PicardPullback.Construction.canonicalPicardPullbackHom D f T a = Canonical.PicardPullback.Construction.canonicalPicardPullbackHom D f T b ↔ a ≫ q = b ≫ q := by |
| 37 | constructor |
| 38 | · intro h |
| 39 | have hz : Canonical.PicardPullback.Construction.canonicalPicardPullbackHom D f T (a / b) = 1 := by |
| 40 | rw [map_div, h] |
| 41 | exact div_self' _ |
| 42 | have hq := ZeroPicardKernelExactness.Construction.charZeroPicardPullback_kernel_quotient_zero D f C q hkill p T (a / b) hz |
| 43 | change (IsMonHom.monoidHom q T) (a / b) = 1 at hq |
| 44 | rw [map_div] at hq |
| 45 | exact div_eq_one.mp hq |
| 46 | · exact RelativePicard.Factor.Construction.canonicalPicardPullback_fibre_invariance D f C q hk T a b |
| 47 | |
| 48 | variable [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] |
| 49 | |
| 50 | include p hkill hk in |
| 51 | theorem charZeroPicardQuotientFactor_mono |
| 52 | (i : uliftYoneda.{u + 1}.obj Q ⟶ (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf X).obj) |
| 53 | (hi : uliftYoneda.map q ≫ i = Canonical.PicardPullback.Construction.canonicalPicardPullbackSheafMap D f) : Mono i := by |
| 54 | obtain ⟨j, hj, hfac⟩ := Sheaf.Image.Construction.exists_mono_sheaf_factor_of_fibres q (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf X) |
| 55 | (Canonical.PicardPullback.Construction.canonicalPicardPullbackSheafMap D f) (charZeroPicardPullback_fibres_iff p D f C q hkill hk) |
| 56 | obtain ⟨v, _, hu⟩ := RelativePicard.Factor.Construction.relativePicardQuotientFactor_existsUnique D f C q hk |
| 57 | have hji : j = i := (hu j hfac).trans (hu i hi).symm |
| 58 | rw [← hji] |
| 59 | exact hj |
| 60 | end Factor |
| 61 | |
| 62 | include p in |
| 63 | set_option backward.isDefEq.respectTransparency false in |
| 64 | theorem charZeroCartierPicardImage_exists (n : ℕ) (hn : 0 < n) |
| 65 | (hk : ∀ (T : Over S) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), x ^ n = 1) : |
| 66 | ∃ (Q : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (q : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny (Canonical.DualData.Construction.canonicalDualAbelianData D).abelian Q) |
| 67 | (r : Q.scheme ⟶ (Canonical.DualData.Construction.canonicalDualAbelianData D).abelian.scheme) |
| 68 | (i : uliftYoneda.{u + 1}.obj Q.scheme ⟶ (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf X).obj), |
| 69 | Etale q.hom.left ∧ IsMonHom r ∧ Mono i ∧ |
| 70 | q.hom ≫ r = (𝟙 (Canonical.DualData.Construction.canonicalDualAbelianData D).abelian.scheme) ^ n ∧ |
| 71 | r ≫ q.hom = (𝟙 Q.scheme) ^ n ∧ |
| 72 | (∀ (T : Over S) (a : T ⟶ (Canonical.DualData.Construction.canonicalDualAbelianData D).abelian.scheme), |
| 73 | a ≫ q.hom = 1 ↔ ∃! x : T ⟶ C.dual.X, x ≫ Canonical.DualData.Construction.canonicalCartierPicardInclusion D f C = a) ∧ |
| 74 | Descent.Construction.QuotientUniversalProperty (Canonical.DualData.Construction.canonicalCartierPicardInclusion D f C) q.hom ∧ |
| 75 | uliftYoneda.map q.hom ≫ i = Canonical.PicardPullback.Construction.canonicalPicardPullbackSheafMap D f ∧ |
| 76 | (∀ T : Over S, i.app (op T) (ULift.up (1 : T ⟶ Q.scheme)) = 1) ∧ |
| 77 | (∀ (T : Over S) (x y : T ⟶ Q.scheme), |
| 78 | i.app (op T) (ULift.up (x * y)) = i.app (op T) (ULift.up x) * i.app (op T) (ULift.up y)) := by |
| 79 | have hunit := Relative.DegreeBaseChange.Construction.positiveNat_isUnit_on_charZero_field_scheme p n hn |
| 80 | obtain ⟨Q, q, r, i, he, hr, hqr, hrq, hker, hquot, hfac, h1, hm, _⟩ := |
| 81 | RelativePicard.Map.Construction.relativePicardQuotientMap_exists D f C n hunit hk |
| 82 | have : Mono (Canonical.DualData.Construction.canonicalCartierPicardInclusion D f C) := |
| 83 | Relative.CartierMonomorphism.Construction.cartierToPicard_mono_of_invertible_kernel_exponent f (Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled D) C n hunit hk |
| 84 | have hkill : Canonical.DualData.Construction.canonicalCartierPicardInclusion D f C ≫ q.hom = 1 := by |
| 85 | apply (hker C.dual.X (Canonical.DualData.Construction.canonicalCartierPicardInclusion D f C)).mpr |
| 86 | refine ⟨𝟙 C.dual.X, Category.id_comp _, ?_⟩ |
| 87 | intro x hx |
| 88 | exact (cancel_mono (Canonical.DualData.Construction.canonicalCartierPicardInclusion D f C)).mp |
| 89 | (hx.trans (Category.id_comp _).symm) |
| 90 | exact ⟨Q, q, r, i, he, hr, charZeroPicardQuotientFactor_mono p D f C q.hom hkill hker i hfac, |
| 91 | hqr, hrq, hker, hquot, hfac, h1, hm⟩ |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CharZeroPicardImage.Construction |