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.AbelianModuli.HilbertConstruction.DifferenceFieldSpecialization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferenceTwistEuler |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.DifferenceNonrealization |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.CartesianVanishingReflection |
| 5 | |
| 6 | /-! # Difference Twist Field Vanishing -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferenceTwistFieldVanishing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! If an ample difference map misses a homogeneous line, every field |
| 13 | fiber of its twisted difference family is a nontrivial homogeneous |
| 14 | line. Proper flat cohomology then vanishes on the entire square. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | local instance differenceFiberClassCommGroup (X : Scheme) : CommGroup (Line.Bundles.LineBundle.IsoClass X) := |
| 21 | Line.Bundles.LineBundle.isoClassCommGroup X |
| 22 | |
| 23 | variable {k K : Type} [Field k] [Field K] {g : ℕ} |
| 24 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 25 | (c : Spec (.of K) ⟶ Spec (.of k)) |
| 26 | (x : (Over.map c).obj (Over.mk (𝟙 (Spec (.of K)))) ⟶ A.scheme) |
| 27 | |
| 28 | theorem differenceTwistedLine_field_class (L M : Line.Bundles.LineBundle A.scheme.left) : |
| 29 | Line.Bundles.LineBundle.classOf ((DifferenceTwistEuler.differenceTwistedLine A L M).pullback |
| 30 | (DifferenceFieldSpecialization.differenceFieldSpecializationMap A c x)) = |
| 31 | Line.Bundles.LineBundle.classOf ((DifferencePointBundles.differencePointBundle (A.pullback c) |
| 32 | (L.pullback (pullback.fst A.scheme.hom c)) |
| 33 | (DifferenceFieldSpecialization.differenceFieldSpecializationPoint A c x)).tensor |
| 34 | (M.pullback (pullback.fst A.scheme.hom c))) := by |
| 35 | let t := DifferenceFieldSpecialization.differenceFieldSpecializationMap A c x |
| 36 | let p : (A.pullback c).scheme.left ⟶ A.scheme.left := pullback.fst A.scheme.hom c |
| 37 | let a := DifferenceFieldSpecialization.differenceFieldSpecializationPoint A c x |
| 38 | have hd : Line.Bundles.LineBundle.pullbackClass t (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L)) = |
| 39 | Line.Bundles.LineBundle.classOf (DifferencePointBundles.differencePointBundle (A.pullback c) (L.pullback p) a) := |
| 40 | DifferenceFieldSpecialization.differenceFieldSpecialization_class A L c x |
| 41 | have hscalar : Line.Bundles.LineBundle.pullbackClass x.left (Line.Bundles.LineBundle.classOf L) = 1 := |
| 42 | Quotient.sound (RepresentationTheory.Theta.Geometric.LineBundleFieldTriviality.lineBundle_over_field_trivial K (L.pullback x.left)) |
| 43 | have htF : t ≫ (fst A.scheme A.scheme).left = (A.pullback c).scheme.hom ≫ x.left := |
| 44 | DifferenceFieldSpecialization.differenceFieldSpecializationMap_fst A c x |
| 45 | have htS : t ≫ (snd A.scheme A.scheme).left = p := |
| 46 | DifferenceFieldSpecialization.differenceFieldSpecializationMap_snd A c x |
| 47 | have hf : Line.Bundles.LineBundle.pullbackClass t |
| 48 | (Line.Bundles.LineBundle.pullbackClass (fst A.scheme A.scheme).left (Line.Bundles.LineBundle.classOf L)) = 1 := by |
| 49 | rw [← Line.Bundles.LineBundle.pullbackClass_comp, htF, |
| 50 | Line.Bundles.LineBundle.pullbackClass_comp, hscalar] |
| 51 | exact (Line.Bundles.LineBundle.pullbackClassMonoidHom (A.pullback c).scheme.hom).map_one |
| 52 | have hs : Line.Bundles.LineBundle.pullbackClass t |
| 53 | (Line.Bundles.LineBundle.pullbackClass (snd A.scheme A.scheme).left (Line.Bundles.LineBundle.classOf M)) = |
| 54 | Line.Bundles.LineBundle.pullbackClass p (Line.Bundles.LineBundle.classOf M) := by |
| 55 | rw [← Line.Bundles.LineBundle.pullbackClass_comp, htS] |
| 56 | change Line.Bundles.LineBundle.pullbackClass t |
| 57 | ((Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L) * |
| 58 | Line.Bundles.LineBundle.pullbackClass (fst A.scheme A.scheme).left (Line.Bundles.LineBundle.classOf L)) * |
| 59 | Line.Bundles.LineBundle.pullbackClass (snd A.scheme A.scheme).left (Line.Bundles.LineBundle.classOf M)) = _ |
| 60 | rw [Line.Bundles.LineBundle.pullbackClass_mul, Line.Bundles.LineBundle.pullbackClass_mul, hd, hf, hs, mul_one] |
| 61 | rfl |
| 62 | |
| 63 | theorem reciprocalFrameBundle_pullback_class {X Y : Scheme} (f : X ⟶ Y) |
| 64 | (N : Line.Bundles.LineBundle Y) : |
| 65 | Line.Bundles.LineBundle.classOf (N.reciprocalFrameBundle.pullback f) = |
| 66 | Line.Bundles.LineBundle.classOf ((N.pullback f).reciprocalFrameBundle) := by |
| 67 | change Line.Bundles.LineBundle.pullbackClass f (Line.Bundles.LineBundle.classOf N.reciprocalFrameBundle) = _ |
| 68 | rw [Line.Bundles.LineBundle.classOf_reciprocalFrameBundle, Line.Bundles.LineBundle.classOf_reciprocalFrameBundle] |
| 69 | exact (Line.Bundles.LineBundle.pullbackClassMonoidHom f).map_inv _ |
| 70 | |
| 71 | theorem differenceTwistedLine_field_ratio_class (L N : Line.Bundles.LineBundle A.scheme.left) : |
| 72 | Line.Bundles.LineBundle.classOf ((DifferenceTwistEuler.differenceTwistedLine A L N.reciprocalFrameBundle).pullback |
| 73 | (DifferenceFieldSpecialization.differenceFieldSpecializationMap A c x)) = |
| 74 | Line.Bundles.LineBundle.classOf (DifferencePointBundles.differencePointRatio (A.pullback c) |
| 75 | (L.pullback (pullback.fst A.scheme.hom c)) |
| 76 | (N.pullback (pullback.fst A.scheme.hom c)) |
| 77 | (DifferenceFieldSpecialization.differenceFieldSpecializationPoint A c x)) := by |
| 78 | let p : (A.pullback c).scheme.left ⟶ A.scheme.left := pullback.fst A.scheme.hom c |
| 79 | let Q := DifferencePointBundles.differencePointBundle (A.pullback c) (L.pullback p) |
| 80 | (DifferenceFieldSpecialization.differenceFieldSpecializationPoint A c x) |
| 81 | calc |
| 82 | _ = Line.Bundles.LineBundle.classOf Q * Line.Bundles.LineBundle.classOf (N.reciprocalFrameBundle.pullback p) := |
| 83 | differenceTwistedLine_field_class A c x L N.reciprocalFrameBundle |
| 84 | _ = Line.Bundles.LineBundle.classOf Q * Line.Bundles.LineBundle.classOf ((N.pullback p).reciprocalFrameBundle) := |
| 85 | congrArg (fun q : Line.Bundles.LineBundle.IsoClass (A.pullback c).scheme.left => Line.Bundles.LineBundle.classOf Q * q) |
| 86 | (reciprocalFrameBundle_pullback_class p N) |
| 87 | _ = _ := rfl |
| 88 | |
| 89 | theorem differenceTwistedLine_field_cohomology_vanish |
| 90 | [IsAlgClosed k] (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (L N : Line.Bundles.LineBundle A.scheme.left) |
| 91 | (hN : ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass A (Line.Bundles.LineBundle.classOf N)) |
| 92 | (hne : ¬ Picard.ThetaConstruction.DifferenceParameterTransport.Geometric.HasDifferenceParameter A L N) (m q : ℕ) : |
| 93 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H |
| 94 | ((DifferenceTwistEuler.differenceTwistedLine A (L.tensorPower m) N.reciprocalFrameBundle).pullback |
| 95 | (DifferenceFieldSpecialization.differenceFieldSpecializationMap A c x)).sheaf q) := by |
| 96 | have h := HilbertConstruction.Field.DifferenceNonrealization.differencePointRatio_baseChanged_cohomology_vanish A P L N hN hne c m |
| 97 | (DifferenceFieldSpecialization.differenceFieldSpecializationPoint A c x) q |
| 98 | obtain ⟨e⟩ := Quotient.exact (differenceTwistedLine_field_ratio_class A c x (L.tensorPower m) N) |
| 99 | let d := (Zariski.Cohomology.ZariskiCohomology.zariskiFunctor (A.pullback c).scheme.left q).mapIso e |
| 100 | exact ⟨fun v w => (AddCommGrpCat.mono_iff_injective d.hom).mp inferInstance |
| 101 | (h.elim _ _)⟩ |
| 102 | |
| 103 | theorem differenceTwistedLine_cohomology_vanish_of_no_parameter |
| 104 | [IsAlgClosed k] (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (L N : Line.Bundles.LineBundle A.scheme.left) |
| 105 | (hN : ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass A (Line.Bundles.LineBundle.classOf N)) |
| 106 | (hne : ¬ Picard.ThetaConstruction.DifferenceParameterTransport.Geometric.HasDifferenceParameter A L N) (m q : ℕ) : |
| 107 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H |
| 108 | (DifferenceTwistEuler.differenceTwistedLine A (L.tensorPower m) N.reciprocalFrameBundle).sheaf q) := by |
| 109 | have : A.scheme.left.IsSeparated := by |
| 110 | constructor |
| 111 | rw [← terminal.comp_from A.scheme.hom] |
| 112 | infer_instance |
| 113 | have : IsLocallyNoetherian A.scheme.left := |
| 114 | LocallyOfFiniteType.isLocallyNoetherian A.scheme.hom |
| 115 | let f := (fst A.scheme A.scheme).left |
| 116 | have : IsProper f := inferInstanceAs (IsProper (pullback.fst A.scheme.hom A.scheme.hom)) |
| 117 | have : Flat f := inferInstanceAs (Flat (pullback.fst A.scheme.hom A.scheme.hom)) |
| 118 | let F := DifferenceTwistEuler.differenceTwistedLine A (L.tensorPower m) N.reciprocalFrameBundle |
| 119 | apply ProperFlat.FiberwiseVanishing.properFlat_cohomology_vanish_of_field_fibers f F |
| 120 | intro K _ s r |
| 121 | let c' := s ≫ A.scheme.hom |
| 122 | let x' : (Over.map c').obj (Over.mk (𝟙 (Spec (.of K)))) ⟶ A.scheme := |
| 123 | Over.homMk s (by simp [c']) |
| 124 | have h := differenceTwistedLine_field_cohomology_vanish A c' x' P L N hN hne m r |
| 125 | exact (HilbertConstruction.Field.CartesianVanishingReflection.lineBundle_fieldCartesian_cohomology_vanish_iff f F s |
| 126 | (DifferenceFieldSpecialization.differenceFieldSpecialization_isPullback A c' x') r).mpr h |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferenceTwistFieldVanishing |