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.PrincipalReference.CoverTransfer |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.CommonRefinementNaturality |
| 3 | |
| 4 | /-! # Cover Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.CoverNaturality.Reference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original principal-to-global comparison commutes with genuine |
| 11 | coefficient morphisms, including the single-sheaf adjunction map. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.RelativeConcentration |
| 18 | variable {X Z : Scheme.{u}} [X.IsSeparated] (U : X.Opens) (hU : IsAffineOpen U) |
| 19 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 20 | (W : ι → Principal.SectionPresheaf.Index U) (f : Z ⟶ X) [IsClosedImmersion f] |
| 21 | (hfU : ⊤ ≤ f ⁻¹ᵁ U) |
| 22 | (J : ν → X.Opens) |
| 23 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (Principal.RelativeConcentration.family U hU W)) |
| 24 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk |
| 25 | (ComplementaryAffineCover.Index (SectionIdealPuncturedCover.outside f.ker)) |
| 26 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker))) |
| 27 | (V : κ → X.Opens) (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 28 | {K L : CochainComplex X.Modules ℕ} |
| 29 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (L.X q).IsQuasicoherent] |
| 30 | (a : K ⟶ L) (q : ℕ) |
| 31 | [IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 32 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J s |
| 33 | (Relative.AdditiveCechConcentration.coefficients K) q)] |
| 34 | [IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 35 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J s |
| 36 | (Relative.AdditiveCechConcentration.coefficients L) q)] |
| 37 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealPuncturedCover.outside f.ker |
| 38 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.ComplementaryAffineCover.opens O |
| 39 | |
| 40 | theorem comparison : |
| 41 | (Principal.AdditiveSections.forgetScalars U).map |
| 42 | ((Concentration.Reference.functor U hU W q).map a) ≫ |
| 43 | CoverTransfer.Reference.comparison U hU W f hfU J r s V hV haV (K := L) q = |
| 44 | CoverTransfer.Reference.comparison U hU W f hfU J r s V hV haV (K := K) q ≫ |
| 45 | (Additive.OrderedCechConcentration.functor V q).map a := by |
| 46 | have hp := Principal.RelativeConcentration.naturality U hU W a q |
| 47 | have hr := RelativeCech.CommonRefinementNaturality.naturality (Principal.RelativeConcentration.ambient U hU) |
| 48 | (Principal.RelativeConcentration.family U hU W) C J r s (Relative.AdditiveCechConcentration.coefficientMap a) q |
| 49 | have hg := Additive.OrderedCover.Comparison.naturality |
| 50 | (PointComplementGlobalCover.cover f (Principal.RelativeConcentration.ambient U hU)) V |
| 51 | (PointComplementGlobalCover.common f (Principal.RelativeConcentration.ambient U hU) V) |
| 52 | (PointComplementGlobalCover.left f (Principal.RelativeConcentration.ambient U hU) V) |
| 53 | (PointComplementGlobalCover.right f (Principal.RelativeConcentration.ambient U hU) V) |
| 54 | (PointComplementGlobalCover.covers f (Principal.RelativeConcentration.ambient U hU) |
| 55 | (CoverTransfer.Reference.contains U hU f hfU)) hV |
| 56 | (PointComplementGlobalCover.common_covers f (Principal.RelativeConcentration.ambient U hU) |
| 57 | (CoverTransfer.Reference.contains U hU f hfU) V hV) |
| 58 | (PointComplementGlobalCover.affine f (Principal.RelativeConcentration.ambient U hU) (Principal.RelativeConcentration.ambient_affine U hU)) haV |
| 59 | (PointComplementGlobalCover.common_affine f (Principal.RelativeConcentration.ambient U hU) (Principal.RelativeConcentration.ambient_affine U hU) V haV) |
| 60 | a q |
| 61 | have hpr := DualComplexHomology.compose_squares _ _ _ _ _ _ _ hp hr |
| 62 | have h := DualComplexHomology.compose_squares _ _ _ _ _ _ _ hpr hg |
| 63 | simpa only [CoverTransfer.Reference.comparison, |
| 64 | Principal.GlobalTransferRecovery.comparison, PointComplementGlobalCover.iso, |
| 65 | Functor.comp_map, Category.assoc] using h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.CoverNaturality.Reference |