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.ZeroChartSheaf |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.OverSubfunctor |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.SubfunctorSchemeGluing |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.RepresentedSubfunctor |
| 5 | |
| 6 | /-! # Product Zero Scheme -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Glue actual normalized-frame charts to represent the zero fiber |
| 13 | of a rigidified product-family Picard map. All test schemes are retained. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory Opposite |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | |
| 20 | universe u |
| 21 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 22 | {A B : Over (Spec (.of K))} [GrpObj A] [IsCommMonObj A] |
| 23 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 24 | (D : ProductLine.Construction.RigidifiedProductLine A B) |
| 25 | |
| 26 | def ProductLine.Construction.RigidifiedProductLine.zeroSchemeSubfunctor : Subfunctor (yoneda.obj B.left) := OverSubfunctor.Construction.overSubfunctor D.zeroSubfunctor |
| 27 | |
| 28 | omit [IsAlgClosed K] [IsCommMonObj A] [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] in |
| 29 | theorem ProductLine.Construction.RigidifiedProductLine.zeroSchemeSubfunctor_isSheaf : |
| 30 | Presieve.IsSheaf Scheme.zariskiTopology D.zeroSchemeSubfunctor.toFunctor := |
| 31 | Presieve.isSheaf_of_le _ |
| 32 | (Precoverage.toGrothendieck_mono Scheme.zariskiPrecoverage_le_fppfPrecoverage) |
| 33 | (OverSubfunctor.Construction.overSubfunctor_isSheaf D.zeroSubfunctor Scheme.fppfTopology D.zeroSubfunctor_isSheaf) |
| 34 | |
| 35 | theorem ProductLine.Construction.RigidifiedProductLine.zeroChart_schemeFactorization {T : Over (Spec (.of K))} |
| 36 | [IsAffine T.left] [IsNoetherianRing Γ(T.left, ⊤)] (a : T ⟶ B) |
| 37 | (Z : Scheme.{u}) (j : Z ⟶ T.left) : |
| 38 | (j ≫ a.left) ∈ D.zeroSchemeSubfunctor.obj (op Z) ↔ |
| 39 | ∃ z : Z ⟶ (D.zeroChart a).left, z ≫ (D.zeroChart a).hom = j := by |
| 40 | let U := Over.mk (j ≫ T.hom) |
| 41 | let f : U ⟶ T := Over.homMk j rfl |
| 42 | have hp := OverSubfunctor.Construction.overSubfunctor_mem D.zeroSubfunctor (f ≫ a) |
| 43 | constructor |
| 44 | · intro h |
| 45 | obtain ⟨p⟩ := (D.zeroChart_hasLift_iff_relative_zero a f).mpr (hp.mp h) |
| 46 | exact ⟨p.left, p.w⟩ |
| 47 | · rintro ⟨z, hz⟩ |
| 48 | exact hp.mpr ((D.zeroChart_hasLift_iff_relative_zero a f).mp ⟨Over.homMk z hz⟩) |
| 49 | |
| 50 | variable [IsLocallyNoetherian B.left] |
| 51 | |
| 52 | theorem ProductLine.Construction.RigidifiedProductLine.zeroSchemeSubfunctor_isRepresentable : D.zeroSchemeSubfunctor.toFunctor.IsRepresentable := by |
| 53 | let U := B.left.affineCover |
| 54 | let T := fun i : U.I₀ => Over.mk (U.f i ≫ B.hom) |
| 55 | let a := fun i : U.I₀ => (Over.homMk (U.f i) rfl : T i ⟶ B) |
| 56 | have : ∀ i, IsAffine (T i).left := fun i => inferInstanceAs (IsAffine (B.left.affineCover.X i)) |
| 57 | have : ∀ i, IsNoetherianRing Γ((T i).left, ⊤) := by |
| 58 | intro i |
| 59 | have : IsLocallyNoetherian (U.X i) := LocallyOfFiniteType.isLocallyNoetherian (U.f i) |
| 60 | exact IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top (U.X i)⟩ |
| 61 | let M := fun i => D.zeroChart (a i) |
| 62 | have : ∀ i, Mono (M i).hom := fun i => D.zeroChart_mono (a i) |
| 63 | exact SubfunctorSchemeGluing.Construction.subfunctor_isRepresentable_of_openCover D.zeroSchemeSubfunctor U M |
| 64 | (fun i Z j => D.zeroChart_schemeFactorization (a i) Z j) D.zeroSchemeSubfunctor_isSheaf |
| 65 | |
| 66 | def ProductLine.Construction.RigidifiedProductLine.zeroScheme : Over B.left := by |
| 67 | haveI := D.zeroSchemeSubfunctor_isRepresentable |
| 68 | exact RepresentedSubfunctor.Construction.representedSubfunctorFamily D.zeroSchemeSubfunctor |
| 69 | |
| 70 | instance ProductLine.Construction.RigidifiedProductLine.zeroScheme_mono : Mono D.zeroScheme.hom := by |
| 71 | have := D.zeroSchemeSubfunctor_isRepresentable |
| 72 | exact RepresentedSubfunctor.Construction.representedSubfunctorFamily_mono D.zeroSchemeSubfunctor |
| 73 | |
| 74 | theorem ProductLine.Construction.RigidifiedProductLine.zeroScheme_hasLift_iff {T : Over (Spec (.of K))} (a : T ⟶ B) : |
| 75 | Nonempty (Over.mk a.left ⟶ D.zeroScheme) ↔ D.relativeValue a = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T := by |
| 76 | have := D.zeroSchemeSubfunctor_isRepresentable |
| 77 | have hp := OverSubfunctor.Construction.overSubfunctor_mem D.zeroSubfunctor a |
| 78 | have hf := RepresentedSubfunctor.Construction.representedSubfunctor_factorization D.zeroSchemeSubfunctor T.left a.left |
| 79 | constructor |
| 80 | · rintro ⟨v⟩ |
| 81 | exact hp.mp (hf.mpr ⟨v.left, v.w⟩) |
| 82 | · intro h |
| 83 | obtain ⟨v, hv⟩ := hf.mp (hp.mpr h) |
| 84 | exact ⟨Over.homMk v hv⟩ |
| 85 | |
| 86 | def ProductLine.Construction.RigidifiedProductLine.zeroSchemeOver : Over (Spec (.of K)) := FamilyLiftFactorization.Construction.compositeFamily B D.zeroScheme |
| 87 | |
| 88 | def ProductLine.Construction.RigidifiedProductLine.zeroInclusion : D.zeroSchemeOver ⟶ B := FamilyLiftFactorization.Construction.compositeFamilyMap B D.zeroScheme |
| 89 | |
| 90 | theorem ProductLine.Construction.RigidifiedProductLine.zeroInclusion_factorization (T : Over (Spec (.of K))) (a : T ⟶ B) : |
| 91 | D.relativeValue a = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T ↔ ∃ z : T ⟶ D.zeroSchemeOver, z ≫ D.zeroInclusion = a := by |
| 92 | rw [← D.zeroScheme_hasLift_iff] |
| 93 | constructor |
| 94 | · rintro ⟨p⟩ |
| 95 | let z := FamilyLiftFactorization.Construction.familyLiftFactorizationEquiv B D.zeroScheme a p |
| 96 | exact ⟨z.val, z.property⟩ |
| 97 | · rintro ⟨z, hz⟩ |
| 98 | exact ⟨(FamilyLiftFactorization.Construction.familyLiftFactorizationEquiv B D.zeroScheme a).symm ⟨z, hz⟩⟩ |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified |