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.IntrinsicDeRham.TopEdgeTransfer |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.TopEdgeMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoverRefinement |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechCoordinatePullback |
| 5 | |
| 6 | /-! # Top Form Pullback Refinement -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormPullbackRefinement |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original pullback on a refined source cover is the |
| 13 | inverse-cover pullback followed by the literal module Čech refinement. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem conjugate {C : Type*} [Category C] {A B D A' B' D' : C} |
| 19 | (eA : A ≅ A') (eB : B ≅ B') (eD : D ≅ D') |
| 20 | (a : A' ⟶ B') (b : B' ⟶ D') (c : B ⟶ D) |
| 21 | (h : eB.hom ≫ b = c ≫ eD.hom) : |
| 22 | eA.hom ≫ (a ≫ b) ≫ eD.inv = (eA.hom ≫ a ≫ eB.inv) ≫ c := by |
| 23 | have hc : b ≫ eD.inv = eB.inv ≫ c := by |
| 24 | apply (cancel_epi eB.hom).1 |
| 25 | rw [← Category.assoc, h] |
| 26 | simp only [Category.assoc, Iso.hom_inv_id_assoc, Iso.hom_inv_id, Category.comp_id] |
| 27 | simp only [Category.assoc] |
| 28 | rw [hc] |
| 29 | |
| 30 | universe u |
| 31 | variable (R : Type u) [CommRing R] |
| 32 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 33 | {ι κ : Type u} (U : ι → Y.left.Opens) (V : κ → X.left.Opens) |
| 34 | (r : κ → ι) (hr : ∀ i, V i ≤ f.left ⁻¹ᵁ U (r i)) |
| 35 | local notation "W" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.CechTransfer.Intrinsic.inverseCover R X Y f U |
| 36 | |
| 37 | def refinement : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι W := |
| 38 | AlgebraicGeometry.Crystalline.Cohomology.RefinedGeometric.RefinedGeometricCechPullback.coverMap X.left W V r hr |
| 39 | |
| 40 | theorem row (q : ℕ) : |
| 41 | (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechCoordinatePullback.BaseIntrinsicCechCoordinatePullback.sheafMap R f U V r hr).f q = |
| 42 | (IntrinsicDeRham.CechTransfer.Intrinsic.pullback R X Y f U).f q ≫ |
| 43 | GeometricComparison.Cech.FamilyRefinement.CechFamilyRefinement.map (FormalCoproduct.mk ι W) (FormalCoproduct.mk κ V) |
| 44 | (refinement R X Y f U V r hr) ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.sheafComplex R X).X q).obj := |
| 45 | (Category.assoc _ _ _).symm |
| 46 | |
| 47 | theorem conjugated_row (q : ℕ) : |
| 48 | (IntrinsicDeRham.TopEdge.Intrinsic.rowIso R Y U q).hom ≫ |
| 49 | (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechCoordinatePullback.BaseIntrinsicCechCoordinatePullback.sheafMap R f U V r hr).f q ≫ |
| 50 | (IntrinsicDeRham.TopEdge.Intrinsic.rowIso R X V q).inv = |
| 51 | ((IntrinsicDeRham.TopEdge.Intrinsic.rowIso R Y U q).hom ≫ |
| 52 | (IntrinsicDeRham.CechTransfer.Intrinsic.pullback R X Y f U).f q ≫ |
| 53 | (IntrinsicDeRham.TopEdge.Intrinsic.rowIso R X W q).inv) ≫ |
| 54 | ModuleCech.CoverRefinement.map R X W V (refinement R X Y f U V r hr) |
| 55 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X q) := by |
| 56 | rw [row] |
| 57 | exact conjugate |
| 58 | (IntrinsicDeRham.TopEdge.Intrinsic.rowIso R Y U q) |
| 59 | (IntrinsicDeRham.TopEdge.Intrinsic.rowIso R X W q) |
| 60 | (IntrinsicDeRham.TopEdge.Intrinsic.rowIso R X V q) _ _ _ |
| 61 | (GeometricComparison.Cech.FamilyRefinement.CechFamilyRefinement.naturality (FormalCoproduct.mk ι W) (FormalCoproduct.mk κ V) |
| 62 | (refinement R X Y f U V r hr) |
| 63 | ((IntrinsicDeRham.CechComplex.Intrinsic.presheaves R X).map |
| 64 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.coefficientSheafIso R X q).hom)) |
| 65 | |
| 66 | variable (g : ℕ) [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 67 | [SmoothOfRelativeDimension g Y.hom] [IsProper Y.hom] |
| 68 | |
| 69 | omit [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 70 | [SmoothOfRelativeDimension g Y.hom] [IsProper Y.hom] in |
| 71 | theorem pullback (x : IntrinsicDeRham.TopEdge.Intrinsic.source R Y U g) : |
| 72 | IntrinsicDeRham.TopEdgeMap.Intrinsic.rowMap R X Y V U g |
| 73 | (AlgebraicGeometry.Crystalline.Cohomology.Base.IntrinsicCechCoordinatePullback.BaseIntrinsicCechCoordinatePullback.sheafMap R f U V r hr) x = |
| 74 | HomologicalComplex.homologyMap (ModuleCech.CoverRefinement.map R X W V |
| 75 | (refinement R X Y f U V r hr) (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g)) g |
| 76 | (IntrinsicDeRham.TopEdgeTransfer.Intrinsic.pullback R X Y f U g x) := by |
| 77 | have h := congrArg (fun z => HomologicalComplex.homologyMap z g) |
| 78 | (conjugated_row R X Y f U V r hr g) |
| 79 | simp only [HomologicalComplex.homologyMap_comp] at h |
| 80 | exact ConcreteCategory.congr_hom h x |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.TopFormPullbackRefinement |