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.ThetaConstruction.RelativeZeroSheaf |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.OverSubfunctor |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.SubfunctorSchemeGluing |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.RepresentedSubfunctor |
| 5 | |
| 6 | /-! # Relative Zero Scheme -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeZeroScheme.Geometric.RelativeRigidifiedCharts |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual normalized-frame charts glue to the zero scheme of the |
| 13 | original relative Picard map of a varying projective group family. |
| 14 | The representing property is on all schemes over the original base. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | |
| 19 | variable {S : Scheme} {A B : Over S} [GrpObj A] |
| 20 | (D : AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction.RelativeRigidifiedProductLine A B) |
| 21 | |
| 22 | def zeroSchemeSubfunctor : Subfunctor (yoneda.obj B.left) := FormalGeometry.Completion.OverSubfunctor.Construction.overSubfunctor (RelativeZeroSheaf.Geometric.RelativeRigidifiedCharts.zeroSubfunctor D) |
| 23 | |
| 24 | theorem zeroSchemeSubfunctor_isSheaf : |
| 25 | Presieve.IsSheaf Scheme.zariskiTopology (zeroSchemeSubfunctor D).toFunctor := |
| 26 | Presieve.isSheaf_of_le _ |
| 27 | (Precoverage.toGrothendieck_mono Scheme.zariskiPrecoverage_le_fppfPrecoverage) |
| 28 | (FormalGeometry.Completion.OverSubfunctor.Construction.overSubfunctor_isSheaf (RelativeZeroSheaf.Geometric.RelativeRigidifiedCharts.zeroSubfunctor D) Scheme.fppfTopology (RelativeZeroSheaf.Geometric.RelativeRigidifiedCharts.zeroSubfunctor_isSheaf D)) |
| 29 | |
| 30 | variable [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 31 | (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A) |
| 32 | |
| 33 | theorem zeroChart_schemeFactorization {T : Over S} |
| 34 | [IsAffine T.left] [IsNoetherianRing Γ(T.left, ⊤)] [IsLocallyNoetherian T.left] |
| 35 | (a : T ⟶ B) (Z : Scheme) (j : Z ⟶ T.left) : |
| 36 | (j ≫ a.left) ∈ (zeroSchemeSubfunctor D).obj (op Z) ↔ |
| 37 | ∃ z : Z ⟶ (RelativeZeroCharts.Geometric.RelativeRigidifiedCharts.zeroChart P D a).left, z ≫ (RelativeZeroCharts.Geometric.RelativeRigidifiedCharts.zeroChart P D a).hom = j := by |
| 38 | let U := Over.mk (j ≫ T.hom) |
| 39 | let f : U ⟶ T := Over.homMk j rfl |
| 40 | have hp := FormalGeometry.Completion.OverSubfunctor.Construction.overSubfunctor_mem (RelativeZeroSheaf.Geometric.RelativeRigidifiedCharts.zeroSubfunctor D) (f ≫ a) |
| 41 | constructor |
| 42 | · intro h |
| 43 | obtain ⟨p⟩ := (RelativeZeroSheaf.Geometric.RelativeRigidifiedCharts.zeroChart_hasLift_iff_relative_zero D P a f).mpr (hp.mp h) |
| 44 | exact ⟨p.left, p.w⟩ |
| 45 | · rintro ⟨z, hz⟩ |
| 46 | exact hp.mpr ((RelativeZeroSheaf.Geometric.RelativeRigidifiedCharts.zeroChart_hasLift_iff_relative_zero D P a f).mp ⟨Over.homMk z hz⟩) |
| 47 | |
| 48 | variable [IsLocallyNoetherian B.left] |
| 49 | |
| 50 | include P in |
| 51 | theorem zeroSchemeSubfunctor_isRepresentable : (zeroSchemeSubfunctor D).toFunctor.IsRepresentable := by |
| 52 | let U := B.left.affineCover |
| 53 | let T := fun i : U.I₀ => Over.mk (U.f i ≫ B.hom) |
| 54 | let a := fun i : U.I₀ => (Over.homMk (U.f i) rfl : T i ⟶ B) |
| 55 | let (i : U.I₀) : IsAffine (T i).left := inferInstanceAs (IsAffine (B.left.affineCover.X i)) |
| 56 | let (i : U.I₀) : IsLocallyNoetherian (T i).left := |
| 57 | LocallyOfFiniteType.isLocallyNoetherian (U.f i) |
| 58 | let (i : U.I₀) : IsNoetherianRing Γ((T i).left, ⊤) := |
| 59 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top (U.X i)⟩ |
| 60 | let M := fun i => RelativeZeroCharts.Geometric.RelativeRigidifiedCharts.zeroChart P D (a i) |
| 61 | let (i : U.I₀) : Mono (M i).hom := RelativeZeroCharts.Geometric.RelativeRigidifiedCharts.zeroChart_mono P D (a i) |
| 62 | exact FormalGeometry.Completion.SubfunctorSchemeGluing.Construction.subfunctor_isRepresentable_of_openCover (zeroSchemeSubfunctor D) U M |
| 63 | (fun i Z j => zeroChart_schemeFactorization D P (a i) Z j) (zeroSchemeSubfunctor_isSheaf D) |
| 64 | |
| 65 | def zeroScheme : Over B.left := by |
| 66 | letI := zeroSchemeSubfunctor_isRepresentable D P |
| 67 | exact FormalGeometry.Completion.RepresentedSubfunctor.Construction.representedSubfunctorFamily (zeroSchemeSubfunctor D) |
| 68 | |
| 69 | instance zeroScheme_mono : Mono (zeroScheme D P).hom := by |
| 70 | let := zeroSchemeSubfunctor_isRepresentable D P |
| 71 | exact FormalGeometry.Completion.RepresentedSubfunctor.Construction.representedSubfunctorFamily_mono (zeroSchemeSubfunctor D) |
| 72 | |
| 73 | theorem zeroScheme_hasLift_iff {T : Over S} (a : T ⟶ B) : |
| 74 | Nonempty (Over.mk a.left ⟶ zeroScheme D P) ↔ |
| 75 | D.relativeValue a = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T := by |
| 76 | let := zeroSchemeSubfunctor_isRepresentable D P |
| 77 | have hp := FormalGeometry.Completion.OverSubfunctor.Construction.overSubfunctor_mem (RelativeZeroSheaf.Geometric.RelativeRigidifiedCharts.zeroSubfunctor D) a |
| 78 | have hf := FormalGeometry.Completion.RepresentedSubfunctor.Construction.representedSubfunctor_factorization (zeroSchemeSubfunctor D) 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 zeroSchemeOver : Over S := FormalGeometry.Completion.FamilyLiftFactorization.Construction.compositeFamily B (zeroScheme D P) |
| 87 | |
| 88 | def zeroInclusion : zeroSchemeOver D P ⟶ B := FormalGeometry.Completion.FamilyLiftFactorization.Construction.compositeFamilyMap B (zeroScheme D P) |
| 89 | |
| 90 | theorem zeroInclusion_factorization (T : Over S) (a : T ⟶ B) : |
| 91 | D.relativeValue a = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T ↔ |
| 92 | ∃ z : T ⟶ zeroSchemeOver D P, z ≫ zeroInclusion D P = a := by |
| 93 | rw [← zeroScheme_hasLift_iff D P a] |
| 94 | constructor |
| 95 | · rintro ⟨p⟩ |
| 96 | let z := FormalGeometry.Completion.FamilyLiftFactorization.Construction.familyLiftFactorizationEquiv B (zeroScheme D P) a p |
| 97 | exact ⟨z.val, z.property⟩ |
| 98 | · rintro ⟨z, hz⟩ |
| 99 | exact ⟨(FormalGeometry.Completion.FamilyLiftFactorization.Construction.familyLiftFactorizationEquiv B (zeroScheme D P) a).symm ⟨z, hz⟩⟩ |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeZeroScheme.Geometric.RelativeRigidifiedCharts |