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.Principal.PresheafCover |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.CoverTransfer |
| 3 | |
| 4 | /-! # Presheaf -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.Presheaf.ReferenceComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The generic presheaf comparison is literally the original |
| 11 | principal-to-global comparison. Hence the original map commutes with |
| 12 | genuine native sheaf-complex maps, including the de Rham comparison. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeConcentration |
| 19 | variable {X Z : Scheme.{u}} [X.IsSeparated] |
| 20 | (U : X.Opens) (hU : IsAffineOpen U) |
| 21 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 22 | (W : ι → Principal.SectionPresheaf.Index U) (f : Z ⟶ X) [IsClosedImmersion f] |
| 23 | (hfU : ⊤ ≤ f ⁻¹ᵁ U) |
| 24 | (J : ν → X.Opens) |
| 25 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (Principal.RelativeConcentration.family U hU W)) |
| 26 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk |
| 27 | (ComplementaryAffineCover.Index (SectionIdealPuncturedCover.outside f.ker)) |
| 28 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker))) |
| 29 | (V : κ → X.Opens) (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 30 | (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 31 | (q : ℕ) |
| 32 | [IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 33 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J s |
| 34 | (Relative.AdditiveCechConcentration.coefficients K) q)] |
| 35 | |
| 36 | def presheafComparison := by |
| 37 | letI := Additive.OrderedCoverRefinement.homology_isIso |
| 38 | V (PointComplementGlobalCover.common f (Principal.RelativeConcentration.ambient U hU) V) |
| 39 | (PointComplementGlobalCover.right f (Principal.RelativeConcentration.ambient U hU) V) hV |
| 40 | (PointComplementGlobalCover.common_covers f (Principal.RelativeConcentration.ambient U hU) |
| 41 | (CoverTransfer.Reference.contains U hU f hfU) V hV) |
| 42 | haV (PointComplementGlobalCover.common_affine f (Principal.RelativeConcentration.ambient U hU) |
| 43 | (Principal.RelativeConcentration.ambient_affine U hU) V haV) K q |
| 44 | exact Principal.PresheafCover.Comparison.comparison (Principal.AdditiveSections.opens U hU) W |
| 45 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J r s |
| 46 | V (PointComplementGlobalCover.common f (Principal.RelativeConcentration.ambient U hU) V) |
| 47 | (PointComplementGlobalCover.left f (Principal.RelativeConcentration.ambient U hU) V) |
| 48 | (PointComplementGlobalCover.right f (Principal.RelativeConcentration.ambient U hU) V) |
| 49 | (Relative.AdditiveCechConcentration.coefficients K) q |
| 50 | |
| 51 | theorem original : |
| 52 | (Principal.AdditiveSections.homologyIso U hU K W q).hom ≫ |
| 53 | presheafComparison U hU W f hfU J r s V hV haV K q = |
| 54 | CoverTransfer.Reference.comparison U hU W f hfU J r s V hV haV (K := K) q := by |
| 55 | dsimp only [presheafComparison, Principal.PresheafCover.Comparison.comparison, |
| 56 | CoverTransfer.Reference.comparison, Principal.GlobalTransferRecovery.comparison, |
| 57 | Principal.RelativeConcentration.comparison, Relative.PresheafCommonRefinement.comparison, |
| 58 | RelativeCech.CommonRefinement.comparison, PointComplementGlobalCover.iso, |
| 59 | Additive.OrderedCover.Comparison.iso, Presheaf.OrderedCover.Comparison.comparison, |
| 60 | Iso.trans_hom, Iso.symm_hom, asIso_hom, asIso_inv] |
| 61 | simp only [Category.assoc] |
| 62 | rfl |
| 63 | |
| 64 | variable (L : CochainComplex (X.Opensᵒᵖ ⥤ AddCommGrpCat.{u}) ℕ) |
| 65 | (a : Relative.AdditiveCechConcentration.coefficients K ⟶ L) |
| 66 | [IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 67 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J s L q)] |
| 68 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V |
| 69 | (PointComplementGlobalCover.common f (Principal.RelativeConcentration.ambient U hU) V) |
| 70 | (PointComplementGlobalCover.right f (Principal.RelativeConcentration.ambient U hU) V) L) q)] |
| 71 | |
| 72 | theorem naturality : |
| 73 | (Principal.AdditiveSections.homologyIso U hU K W q).hom ≫ |
| 74 | homologyMap (Principal.PresheafCover.Comparison.totalMap |
| 75 | (Principal.AdditiveSections.opens U hU) W a) q ≫ |
| 76 | Principal.PresheafCover.Comparison.comparison (Principal.AdditiveSections.opens U hU) W |
| 77 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J r s |
| 78 | V (PointComplementGlobalCover.common f (Principal.RelativeConcentration.ambient U hU) V) |
| 79 | (PointComplementGlobalCover.left f (Principal.RelativeConcentration.ambient U hU) V) |
| 80 | (PointComplementGlobalCover.right f (Principal.RelativeConcentration.ambient U hU) V) L q = |
| 81 | CoverTransfer.Reference.comparison U hU W f hfU J r s V hV haV (K := K) q ≫ |
| 82 | homologyMap ((Presheaf.OrderedCover.Comparison.totalFunctor V).map a) q := by |
| 83 | let := Additive.OrderedCoverRefinement.homology_isIso |
| 84 | V (PointComplementGlobalCover.common f (Principal.RelativeConcentration.ambient U hU) V) |
| 85 | (PointComplementGlobalCover.right f (Principal.RelativeConcentration.ambient U hU) V) hV |
| 86 | (PointComplementGlobalCover.common_covers f (Principal.RelativeConcentration.ambient U hU) |
| 87 | (CoverTransfer.Reference.contains U hU f hfU) V hV) |
| 88 | haV (PointComplementGlobalCover.common_affine f (Principal.RelativeConcentration.ambient U hU) |
| 89 | (Principal.RelativeConcentration.ambient_affine U hU) V haV) K q |
| 90 | rw [Principal.PresheafCover.Comparison.naturality] |
| 91 | rw [← Category.assoc] |
| 92 | change ((Principal.AdditiveSections.homologyIso U hU K W q).hom ≫ |
| 93 | presheafComparison U hU W f hfU J r s V hV haV K q) ≫ _ = _ |
| 94 | rw [original] |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.Presheaf.ReferenceComparison |