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.FormalGeometry.Completion.Infinitesimal.CechCoordinates |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.RelativeCechFaces |
| 3 | |
| 4 | /-! # Cech Face Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Infinitesimal.CechFaceRestriction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual affine factor comparisons commute with the Cech face restrictions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {R : Type u} [CommRing R] (I : Ideal R) {X : Scheme.{u}} |
| 22 | (f : X ⟶ Spec (CommRingCat.of R)) |
| 23 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 24 | |
| 25 | /-- Literal restriction between the two intersection factors of a Cech face. -/ |
| 26 | def relativeCechFaceRestriction (q : ℕ) (k : Fin (q + 2)) (a : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι (q + 1)) : |
| 27 | RelativeCechTerms.Construction.relativeCechFactor f U q (a.delete k) ⟶ RelativeCechTerms.Construction.relativeCechFactor f U (q + 1) a := |
| 28 | (RelativeStructureSections.Construction.relativeStructureSections f).map |
| 29 | (((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ k).toOrderHom.toFun).φ a.val).op |
| 30 | |
| 31 | variable [X.IsSeparated] (hU : ∀ i, IsAffineOpen (U i)) |
| 32 | |
| 33 | theorem infinitesimalCechFactorIso_mk (n q : ℕ) (a : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι q) |
| 34 | (s : RelativeCechTerms.Construction.relativeCechFactor f U q a) : |
| 35 | (CechTerms.Construction.infinitesimalCechFactorIso I f U hU n q a).hom (Submodule.Quotient.mk s) = |
| 36 | ((RelativeStructureSections.Construction.relativeStructureSections (pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n) ≫ f)).mapIso |
| 37 | (eqToIso ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection (pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n))) |
| 38 | U q a.val)).symm.op).hom |
| 39 | ((RelativeStructureSections.Construction.relativeStructureSectionsPullback f (pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n))).app |
| 40 | (op (∏ᶜ fun k : Fin (q + 1) => U (a.val k))) s) := by |
| 41 | change ((RelativeStructureSections.Construction.relativeStructureSections _).mapIso _).hom |
| 42 | (ChartModules.Construction.affineInfinitesimalSectionsModuleEquiv I f n _ |
| 43 | (SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U hU q a.val) (Submodule.Quotient.mk s)) = _ |
| 44 | rw [ChartModules.Construction.affineInfinitesimalSectionsModuleEquiv_mk] |
| 45 | |
| 46 | /-- Canonical quotient pullback on each chart commutes with its Cech restriction. -/ |
| 47 | theorem infinitesimalCechFactorIso_face (n q : ℕ) (k : Fin (q + 2)) |
| 48 | (a : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι (q + 1)) : |
| 49 | (CechTerms.Construction.infinitesimalCechFactorIso I f U hU n q (a.delete k)).hom ≫ |
| 50 | relativeCechFaceRestriction (pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n) ≫ f) |
| 51 | (fun i => pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n) ⁻¹ᵁ U i) q k a = |
| 52 | (AdicReduction.Construction.adicReductionFunctor (I ^ (n + 1))).map (relativeCechFaceRestriction f U q k a) ≫ |
| 53 | (CechTerms.Construction.infinitesimalCechFactorIso I f U hU n (q + 1) a).hom := by |
| 54 | let g := pullback.fst f (Neighborhoods.Construction.infinitesimalBaseToSpec I n) |
| 55 | let P := RelativeStructureSections.Construction.relativeStructureSections (g ≫ f) |
| 56 | let φ := RelativeStructureSections.Construction.relativeStructureSectionsPullback f g |
| 57 | let V₀ := ∏ᶜ fun j : Fin (q + 1) => U ((a.delete k).val j) |
| 58 | let V₁ := ∏ᶜ fun j : Fin (q + 1 + 1) => U (a.val j) |
| 59 | let e₀ := (eqToIso ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection g) U q (a.delete k).val)).symm.op |
| 60 | let e₁ := (eqToIso ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection g) U (q + 1) a.val)).symm.op |
| 61 | let j := (((FormalCoproduct.mk _ U).mapPower (SimplexCategory.δ k).toOrderHom.toFun).φ a.val).op |
| 62 | have hn : (RelativeStructureSections.Construction.relativeStructureSections f).map j ≫ φ.app (op V₁) = |
| 63 | φ.app (op V₀) ≫ P.map ((TopologicalSpace.Opens.map g.base).op.map j) := |
| 64 | φ.naturality j |
| 65 | have hc : φ.app (op V₀) ≫ (P.mapIso e₀).hom ≫ |
| 66 | relativeCechFaceRestriction (g ≫ f) (fun i => g ⁻¹ᵁ U i) q k a = |
| 67 | relativeCechFaceRestriction f U q k a ≫ φ.app (op V₁) ≫ (P.mapIso e₁).hom := by |
| 68 | change φ.app (op V₀) ≫ (P.mapIso e₀).hom ≫ _ = |
| 69 | (RelativeStructureSections.Construction.relativeStructureSections f).map j ≫ φ.app (op V₁) ≫ (P.mapIso e₁).hom |
| 70 | rw [← Category.assoc ((RelativeStructureSections.Construction.relativeStructureSections f).map j) (φ.app (op V₁)) (P.mapIso e₁).hom, |
| 71 | hn, Category.assoc] |
| 72 | apply congrArg (fun m => φ.app (op V₀) ≫ m) |
| 73 | dsimp only [relativeCechFaceRestriction, Functor.mapIso_hom, Functor.comp_map] |
| 74 | rw [← P.map_comp, ← P.map_comp] |
| 75 | congr 1 |
| 76 | apply ModuleCat.hom_ext |
| 77 | apply LinearMap.ext |
| 78 | intro x |
| 79 | induction x using Submodule.Quotient.induction_on with |
| 80 | | _ s => |
| 81 | change relativeCechFaceRestriction (g ≫ f) (fun i => g ⁻¹ᵁ U i) q k a |
| 82 | ((CechTerms.Construction.infinitesimalCechFactorIso I f U hU n q (a.delete k)).hom (Submodule.Quotient.mk s)) = |
| 83 | (CechTerms.Construction.infinitesimalCechFactorIso I f U hU n (q + 1) a).hom |
| 84 | (Submodule.Quotient.mk (relativeCechFaceRestriction f U q k a s)) |
| 85 | rw [infinitesimalCechFactorIso_mk, infinitesimalCechFactorIso_mk] |
| 86 | exact ConcreteCategory.congr_hom hc s |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Infinitesimal.CechFaceRestriction.Construction |