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.FormalGeometry.Completion.Rigidified.ProductZeroChart |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.FamilyLiftFactorization |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.MonomorphismSheafLifts |
| 4 | import Mathlib.CategoryTheory.Sites.LocallyBijective |
| 5 | |
| 6 | /-! # Zero Chart Sheaf -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The normalized-frame chart represents the zero fiber in the |
| 13 | actual relative Picard sheaf. Local lifts descend through its proved |
| 14 | monomorphism, including on nonreduced test schemes. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory Opposite |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | |
| 21 | universe u |
| 22 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 23 | {A B : Over (Spec (.of K))} [GrpObj A] [IsCommMonObj A] |
| 24 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 25 | (D : ProductLine.Construction.RigidifiedProductLine A B) {T : Over (Spec (.of K))} |
| 26 | [IsAffine T.left] [IsNoetherianRing Γ(T.left, ⊤)] (a : T ⟶ B) |
| 27 | |
| 28 | theorem ProductLine.Construction.RigidifiedProductLine.zeroChart_hasLift_of_relative_zero {U : Over (Spec (.of K))} (j : U ⟶ T) |
| 29 | (h : D.relativeValue (j ≫ a) = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A U) : |
| 30 | Nonempty (Over.mk j.left ⟶ D.zeroChart a) := by |
| 31 | let J := Scheme.fppfTopology.over (Spec (.of K)) |
| 32 | let x : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).obj (op U) := AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line (j ≫ a)) |
| 33 | let y : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A).obj (op U) := AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass (U ⊗ A).left |
| 34 | have : Presheaf.IsLocallyInjective J (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A) := |
| 35 | inferInstanceAs (Presheaf.IsLocallyInjective J (toSheafify J (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A))) |
| 36 | let R : Sieve U := Presheaf.equalizerSieve (F := AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A) (X := op U) x y |
| 37 | have hR : R ∈ J U := Presheaf.equalizerSieve_mem J (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A) x y h |
| 38 | obtain ⟨v, hv⟩ := MonomorphismSheafLifts.Construction.mono_hasLift_of_coveringSieve J (FamilyLiftFactorization.Construction.compositeFamilyMap T (D.zeroChart a)) j R hR (by |
| 39 | intro V z hz |
| 40 | have hp : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line ((z ≫ j) ≫ a)) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass (V ⊗ A).left := by |
| 41 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (z ⊗ₘ 𝟙 A).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line (j ≫ a))) = |
| 42 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (z ⊗ₘ 𝟙 A).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass (U ⊗ A).left) at hz |
| 43 | rw [D.line_class_pullback, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_trivial] at hz |
| 44 | simpa only [Category.assoc] using hz |
| 45 | obtain ⟨p⟩ := (D.zeroChart_hasLift_iff_class a (z ≫ j)).mpr hp |
| 46 | let w := FamilyLiftFactorization.Construction.familyLiftFactorizationEquiv T (D.zeroChart a) (z ≫ j) p |
| 47 | exact ⟨w.val, w.property⟩) |
| 48 | exact ⟨(FamilyLiftFactorization.Construction.familyLiftFactorizationEquiv T (D.zeroChart a) j).symm ⟨v, hv⟩⟩ |
| 49 | |
| 50 | theorem ProductLine.Construction.RigidifiedProductLine.zeroChart_hasLift_iff_relative_zero {U : Over (Spec (.of K))} (j : U ⟶ T) : |
| 51 | Nonempty (Over.mk j.left ⟶ D.zeroChart a) ↔ D.relativeValue (j ≫ a) = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A U := by |
| 52 | constructor |
| 53 | · intro h |
| 54 | have hc := (D.zeroChart_hasLift_iff_class a j).mp h |
| 55 | unfold ProductLine.Construction.RigidifiedProductLine.relativeValue |
| 56 | rw [hc] |
| 57 | rfl |
| 58 | · exact D.zeroChart_hasLift_of_relative_zero a j |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified |