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.RelativeCubeClasses |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.ReducedLocalGeometricTriviality |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 4 | |
| 5 | /-! # Reduced Local Cube -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.ReducedLocalCube.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The cube identity for the original normalized line over a reduced |
| 12 | local base. It follows from the geometric cube theorem on every actual |
| 13 | fiber and the proved projective frame-equation triviality criterion. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 20 | |
| 21 | universe u |
| 22 | variable {S : Scheme.{u}} [IsAffine S] [IsLocalRing Γ(S, ⊤)] [IsNoetherianRing Γ(S, ⊤)] |
| 23 | [IsLocallyNoetherian S] [IsReduced S] {g : ℕ} |
| 24 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.scheme.left) |
| 25 | |
| 26 | def cubeProduct : Over S := (A.scheme ⊗ A.scheme) ⊗ A.scheme |
| 27 | def cubeFirst : (cubeProduct A) ⟶ A.scheme := fst (A.scheme ⊗ A.scheme) A.scheme ≫ fst A.scheme A.scheme |
| 28 | def cubeSecond : (cubeProduct A) ⟶ A.scheme := fst (A.scheme ⊗ A.scheme) A.scheme ≫ snd A.scheme A.scheme |
| 29 | def cubeThird : (cubeProduct A) ⟶ A.scheme := snd (A.scheme ⊗ A.scheme) A.scheme |
| 30 | |
| 31 | local instance cubeProduct_group : GrpObj (cubeProduct A) := |
| 32 | inferInstanceAs (GrpObj ((A.scheme ⊗ A.scheme) ⊗ A.scheme)) |
| 33 | local instance cubeFirst_group : IsMonHom (cubeFirst A) := |
| 34 | inferInstanceAs (IsMonHom (fst (A.scheme ⊗ A.scheme) A.scheme ≫ fst A.scheme A.scheme)) |
| 35 | local instance cubeSecond_group : IsMonHom (cubeSecond A) := |
| 36 | inferInstanceAs (IsMonHom (fst (A.scheme ⊗ A.scheme) A.scheme ≫ snd A.scheme A.scheme)) |
| 37 | local instance cubeThird_group : IsMonHom (cubeThird A) := |
| 38 | inferInstanceAs (IsMonHom (snd (A.scheme ⊗ A.scheme) A.scheme)) |
| 39 | |
| 40 | local instance cubePair_proper : IsProper (A.scheme ⊗ A.scheme).hom := |
| 41 | inferInstanceAs (IsProper (pullback.fst A.scheme.hom A.scheme.hom ≫ A.scheme.hom)) |
| 42 | local instance cubePair_smooth : Smooth (A.scheme ⊗ A.scheme).hom := |
| 43 | inferInstanceAs (Smooth (pullback.fst A.scheme.hom A.scheme.hom ≫ A.scheme.hom)) |
| 44 | local instance cubePair_connected : GeometricallyConnected (A.scheme ⊗ A.scheme).hom := |
| 45 | GeometricallyConnected.comp (pullback.fst A.scheme.hom A.scheme.hom) A.scheme.hom |
| 46 | local instance cubeProduct_proper : IsProper (cubeProduct A).hom := |
| 47 | inferInstanceAs (IsProper (pullback.fst (A.scheme ⊗ A.scheme).hom A.scheme.hom ≫ (A.scheme ⊗ A.scheme).hom)) |
| 48 | local instance cubeProduct_smooth : Smooth (cubeProduct A).hom := |
| 49 | inferInstanceAs (Smooth (pullback.fst (A.scheme ⊗ A.scheme).hom A.scheme.hom ≫ (A.scheme ⊗ A.scheme).hom)) |
| 50 | local instance cubeProduct_connected : GeometricallyConnected (cubeProduct A).hom := |
| 51 | GeometricallyConnected.comp (pullback.fst (A.scheme ⊗ A.scheme).hom A.scheme.hom) |
| 52 | (A.scheme ⊗ A.scheme).hom |
| 53 | |
| 54 | include P in |
| 55 | theorem reducedLocal_universal_cube : |
| 56 | RelativeCubeClasses.Geometric.relativeCubeClass (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 57 | (cubeFirst A) (cubeSecond A) (cubeThird A) = 1 := by |
| 58 | let M := RelativeDifferenceBundle.Geometric.identityNormalizedLine A L |
| 59 | let q := RelativeCubeClasses.Geometric.relativeCubeClass (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M) (cubeFirst A) (cubeSecond A) (cubeThird A) |
| 60 | let C : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (cubeProduct A).left := q.out |
| 61 | have hC : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf C = q := Quotient.out_eq _ |
| 62 | let s := (1 : Over.mk (𝟙 S) ⟶ (cubeProduct A)).left |
| 63 | have hs : s ≫ (cubeProduct A).hom = 𝟙 S := (1 : Over.mk (𝟙 S) ⟶ (cubeProduct A)).w |
| 64 | have haxis : RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback s (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf C) = 1 := by |
| 65 | rw [hC] |
| 66 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (1 : Over.mk (𝟙 S) ⟶ (cubeProduct A)).left |
| 67 | (RelativeCubeClasses.Geometric.relativeCubeClass (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M) (cubeFirst A) (cubeSecond A) (cubeThird A)) = 1 |
| 68 | rw [RelativeCubeClasses.Geometric.relativeCubeClass_pullback] |
| 69 | have h₁ : (1 : Over.mk (𝟙 S) ⟶ (cubeProduct A)) ≫ (cubeFirst A) = 1 := by |
| 70 | exact MonObj.one_comp (cubeFirst A) |
| 71 | have h₂ : (1 : Over.mk (𝟙 S) ⟶ (cubeProduct A)) ≫ (cubeSecond A) = 1 := by |
| 72 | exact MonObj.one_comp (cubeSecond A) |
| 73 | have h₃ : (1 : Over.mk (𝟙 S) ⟶ (cubeProduct A)) ≫ (cubeThird A) = 1 := MonObj.one_comp _ |
| 74 | rw [h₁, h₂, h₃] |
| 75 | simp only [RelativeCubeClasses.Geometric.relativeCubeClass, M, RelativeCubeClasses.Geometric.identityNormalizedLine_one_class, mul_one, div_one] |
| 76 | let r : (Scheme.Modules.pullback s).obj C.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule S := |
| 77 | Classical.choice (Quotient.exact haxis) |
| 78 | let cubePresentation : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (cubeProduct A) := (P.product P).product P |
| 79 | obtain ⟨e⟩ := ReducedLocalGeometricTriviality.Geometric.reducedLocal_line_trivial_of_geometric_fibers |
| 80 | (X := cubeProduct A) cubePresentation s hs C r (by |
| 81 | intro y |
| 82 | let b := S.fromSpecResidueField y |
| 83 | let k := S.residueField y |
| 84 | let c := Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k))) |
| 85 | change Nonempty |
| 86 | (((C.pullback ((cubeProduct A).hom.fiberι y)).pullback |
| 87 | (pullback.fst ((cubeProduct A).hom.fiberToSpecResidueField y) c)).sheaf ≅ |
| 88 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial (pullback ((cubeProduct A).hom.fiberToSpecResidueField y) c)).sheaf) |
| 89 | apply @Quotient.exact _ (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.isoSetoid _) |
| 90 | ((C.pullback ((cubeProduct A).hom.fiberι y)).pullback |
| 91 | (pullback.fst ((cubeProduct A).hom.fiberToSpecResidueField y) c)) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial _) |
| 92 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst ((cubeProduct A).hom.fiberToSpecResidueField y) c) |
| 93 | (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback ((cubeProduct A).hom.fiberι y) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf C)) = 1 |
| 94 | rw [hC] |
| 95 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst ((Over.pullback b).obj (cubeProduct A)).hom c) |
| 96 | (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst (cubeProduct A).hom b) |
| 97 | (RelativeCubeClasses.Geometric.relativeCubeClass (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M) (cubeFirst A) (cubeSecond A) (cubeThird A))) = 1 |
| 98 | rw [RelativeCubeClasses.Geometric.relativeCubeClass_baseChange, RelativeCubeClasses.Geometric.relativeCubeClass_baseChange] |
| 99 | exact RelativeCubeClasses.Geometric.relativeCubeClass_eq_one_overField ((A.pullback b).pullback c) _ _ _ _) |
| 100 | exact hC.symm.trans (Quotient.sound ⟨e⟩) |
| 101 | |
| 102 | include P in |
| 103 | theorem reducedLocal_cube {U : Over S} (a b c : U ⟶ A.scheme) : |
| 104 | RelativeCubeClasses.Geometric.relativeCubeClass (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) a b c = 1 := by |
| 105 | let j : U ⟶ (cubeProduct A) := lift (lift a b) c |
| 106 | have h := congrArg (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback j.left) (reducedLocal_universal_cube A P L) |
| 107 | rw [map_one, RelativeCubeClasses.Geometric.relativeCubeClass_pullback] at h |
| 108 | have h₁ : j ≫ cubeFirst A = a := by |
| 109 | change lift (lift a b) c ≫ (fst (A.scheme ⊗ A.scheme) A.scheme ≫ fst A.scheme A.scheme) = a |
| 110 | rw [← Category.assoc, lift_fst, lift_fst] |
| 111 | have h₂ : j ≫ cubeSecond A = b := by |
| 112 | change lift (lift a b) c ≫ (fst (A.scheme ⊗ A.scheme) A.scheme ≫ snd A.scheme A.scheme) = b |
| 113 | rw [← Category.assoc, lift_fst, lift_snd] |
| 114 | have h₃ : j ≫ cubeThird A = c := lift_snd (lift a b) c |
| 115 | rw [h₁, h₂, h₃] at h |
| 116 | exact h |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.ReducedLocalCube.Geometric |