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.NumberTheory.PadicHodge.IntegralComparison.Affine.MorphismOrdinaryCechTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.CoverOrdinaryCech |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechCoordinatePullback |
| 4 | |
| 5 | /-! # Morphism Intrinsic Cech Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.MorphismIntrinsicCechTotal.Intrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ordinary affine coordinates identify the actual refined pullback |
| 12 | with pullback on the sheaf de Rham total, over an arbitrary base ring. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | private theorem paste {C : Type*} [Category* C] {A B D E F G H : C} |
| 20 | (a : A ⟶ B) (b : B ⟶ D) (s : D ⟶ E) (t : A ⟶ F) |
| 21 | (c : F ⟶ E) (v : F ⟶ G) (d : G ⟶ H) (u : E ⟶ H) |
| 22 | (h : a ≫ b ≫ s = t ≫ c) (k : v ≫ d = c ≫ u) : |
| 23 | a ≫ b ≫ (s ≫ u) = (t ≫ v) ≫ d := by |
| 24 | calc |
| 25 | _ = (a ≫ b ≫ s) ≫ u := by simp only [Category.assoc] |
| 26 | _ = (t ≫ c) ≫ u := congrArg (fun z => z ≫ u) h |
| 27 | _ = t ≫ (v ≫ d) := by rw [Category.assoc, ← k] |
| 28 | _ = _ := (Category.assoc _ _ _).symm |
| 29 | |
| 30 | variable (R : Type) [CommRing R] |
| 31 | {X Y : Over (Spec (CommRingCat.of R))} |
| 32 | [X.left.IsSeparated] [Y.left.IsSeparated] |
| 33 | [IsProper X.hom] [Smooth X.hom] [IsProper Y.hom] [Smooth Y.hom] |
| 34 | (f : X ⟶ Y) {ι κ : Type} |
| 35 | (U : ι → AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts f.left) (V : κ → Y.left.affineOpens) |
| 36 | (r : FormalCoproduct.mk ι ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target f.left).obj ∘ U) ⟶ |
| 37 | FormalCoproduct.mk κ V) |
| 38 | (rX : ι → AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index R X) |
| 39 | (hX : ∀ i, ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source f.left).obj (U i)).val ≤ |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens R X (rX i)).val) |
| 41 | (rY : κ → AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index R Y) |
| 42 | (hY : ∀ i, (V i).val ≤ (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens R Y (rY i)).val) |
| 43 | |
| 44 | def sourceCover := (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source f.left).obj ∘ U |
| 45 | |
| 46 | def sourceOpens := (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion X.left).obj ∘ sourceCover R f U |
| 47 | |
| 48 | def targetOpens := (GeometricComparison.Affine.OpenProducts.AffineOpenProducts.inclusion Y.left).obj ∘ V |
| 49 | |
| 50 | def openRefinement := MorphismOrdinaryCechCoordinates.Ordinary.openRefinement R f U V r |
| 51 | |
| 52 | omit [X.left.IsSeparated] [Y.left.IsSeparated] [IsProper X.hom] [Smooth X.hom] [IsProper Y.hom] [Smooth Y.hom] in |
| 53 | theorem coverLE (i : ι) : sourceOpens R f U i ≤ |
| 54 | f.left ⁻¹ᵁ targetOpens R V ((openRefinement R f U V r).f i) := |
| 55 | AlgebraicGeometry.Crystalline.Cohomology.SmallProjectedLE.SmallProjectedCechPullback.coverLE f.left |
| 56 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismOrdinaryForms.AffineMorphismOrdinaryForms.targetOpens R f) |
| 57 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismOrdinaryForms.AffineMorphismOrdinaryForms.sourceOpens R f) |
| 58 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismOrdinaryPullback.AffineMorphismOrdinaryPullback.openMap R f) U (targetOpens R V) |
| 59 | (openRefinement R f U V r) i |
| 60 | |
| 61 | def bicomplexMap := AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechCoordinatePullback.BaseIntrinsicCechCoordinatePullback.sheafMap R f |
| 62 | (targetOpens R V) (sourceOpens R f U) (openRefinement R f U V r).f |
| 63 | (coverLE R f U V r) |
| 64 | |
| 65 | def map := HomologicalComplex₂.total.map (bicomplexMap R f U V r) (.up ℕ) |
| 66 | |
| 67 | def sourceIso := MorphismOrdinaryCechTotal.Ordinary.sourceIso R f U ≪≫ |
| 68 | CoverDeRhamUnit.totalIso R X (sourceCover R f U) rX hX |
| 69 | |
| 70 | def targetIso := MorphismOrdinaryCechTotal.Ordinary.targetIso R V ≪≫ |
| 71 | CoverDeRhamUnit.totalIso R Y V rY hY |
| 72 | |
| 73 | theorem target_unit_hom : |
| 74 | (CoverDeRhamUnit.totalIso R Y V rY hY).hom = |
| 75 | HomologicalComplex₂.total.map |
| 76 | (AlgebraicGeometry.Crystalline.Cohomology.Base.CoordinateCechUnit.BaseCoordinateCechUnit.map R Y (targetOpens R V)) (.up ℕ) := rfl |
| 77 | |
| 78 | omit [Y.left.IsSeparated] [IsProper Y.hom] [Smooth Y.hom] in |
| 79 | theorem source_unit_hom : |
| 80 | (CoverDeRhamUnit.totalIso R X (sourceCover R f U) rX hX).hom = |
| 81 | HomologicalComplex₂.total.map |
| 82 | (AlgebraicGeometry.Crystalline.Cohomology.Base.CoordinateCechUnit.BaseCoordinateCechUnit.map R X (sourceOpens R f U)) (.up ℕ) := rfl |
| 83 | |
| 84 | omit [X.left.IsSeparated] [Y.left.IsSeparated] [IsProper X.hom] [Smooth X.hom] [IsProper Y.hom] [Smooth Y.hom] in |
| 85 | theorem coordinate_map : MorphismOrdinaryCechTotal.Ordinary.directMap R f U V r = |
| 86 | HomologicalComplex₂.total.map |
| 87 | (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechCoordinatePullback.BaseIntrinsicCechCoordinatePullback.coordinateMap R f |
| 88 | (targetOpens R V) (sourceOpens R f U) (openRefinement R f U V r).f |
| 89 | (coverLE R f U V r)) (.up ℕ) := rfl |
| 90 | |
| 91 | theorem unit_square : |
| 92 | (CoverDeRhamUnit.totalIso R Y V rY hY).hom ≫ Intrinsic.map R f U V r = |
| 93 | MorphismOrdinaryCechTotal.Ordinary.directMap R f U V r ≫ |
| 94 | (CoverDeRhamUnit.totalIso R X (sourceCover R f U) rX hX).hom := by |
| 95 | have h := congrArg |
| 96 | (fun a => HomologicalComplex₂.total.map a (.up ℕ)) |
| 97 | (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechCoordinatePullback.BaseIntrinsicCechCoordinatePullback.unit_square R f |
| 98 | (targetOpens R V) (sourceOpens R f U) (openRefinement R f U V r).f |
| 99 | (coverLE R f U V r)) |
| 100 | simp only [HomologicalComplex₂.total.map_comp] at h |
| 101 | rw [target_unit_hom, source_unit_hom, coordinate_map] |
| 102 | exact h |
| 103 | |
| 104 | theorem total : |
| 105 | MorphismOrdinaryCechTotal.Ordinary.refinement R f U V r ≫ |
| 106 | MorphismOrdinaryCechTotal.Ordinary.geometricMap R f U ≫ |
| 107 | (sourceIso R f U rX hX).hom = |
| 108 | (targetIso R V rY hY).hom ≫ Intrinsic.map R f U V r := |
| 109 | paste |
| 110 | (MorphismOrdinaryCechTotal.Ordinary.refinement R f U V r) |
| 111 | (MorphismOrdinaryCechTotal.Ordinary.geometricMap R f U) |
| 112 | (MorphismOrdinaryCechTotal.Ordinary.sourceIso R f U).hom |
| 113 | (MorphismOrdinaryCechTotal.Ordinary.targetIso R V).hom |
| 114 | (MorphismOrdinaryCechTotal.Ordinary.directMap R f U V r) |
| 115 | (CoverDeRhamUnit.totalIso R Y V rY hY).hom |
| 116 | (Intrinsic.map R f U V r) |
| 117 | (CoverDeRhamUnit.totalIso R X (sourceCover R f U) rX hX).hom |
| 118 | (MorphismOrdinaryCechTotal.Ordinary.total R f U V r) |
| 119 | (unit_square R f U V r rX hX rY hY) |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.MorphismIntrinsicCechTotal.Intrinsic |