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.Relative.CommonConcentration |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.OrderedCoverConcentration |
| 4 | |
| 5 | /-! # Cover Concentration -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.CoverConcentration.Reference |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual principal-to-original-cover map retains the canonical |
| 12 | concentration on both sides of the local residue calculation. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _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] (U : X.Opens) (hU : IsAffineOpen U) |
| 20 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 21 | (W : ι → Principal.SectionPresheaf.Index U) (f : Z ⟶ X) [IsClosedImmersion f] |
| 22 | (hfU : ⊤ ≤ f ⁻¹ᵁ U) |
| 23 | (J : ν → X.Opens) (hJ : ∀ i, IsAffineOpen (J i)) |
| 24 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (Principal.RelativeConcentration.family U hU W)) |
| 25 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk |
| 26 | (ComplementaryAffineCover.Index (SectionIdealPuncturedCover.outside f.ker)) |
| 27 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker))) |
| 28 | (V : κ → X.Opens) (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 29 | (K : CochainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 30 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) (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 |
| 37 | ((single X.Modules (.up ℕ) c).obj (K.homology c))) q)] |
| 38 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealPuncturedCover.outside f.ker |
| 39 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.ComplementaryAffineCover.opens O |
| 40 | local instance survivor_qc : (K.homology c).IsQuasicoherent := |
| 41 | QuasicoherentTruncation.cohomology K c |
| 42 | local instance single_qc (q : ℕ) : |
| 43 | (((single X.Modules (.up ℕ) c).obj (K.homology c)).X q).IsQuasicoherent := |
| 44 | QuasicoherentTruncation.single (K.homology c) c q |
| 45 | |
| 46 | include hJ in |
| 47 | theorem comparison : |
| 48 | (Principal.AdditiveSections.forgetScalars U).map |
| 49 | (Concentration.Reference.iso U hU W K c hK q).hom ≫ |
| 50 | CoverTransfer.Reference.comparison U hU W f hfU J r s V hV haV |
| 51 | (K := (single X.Modules (.up ℕ) c).obj (K.homology c)) q = |
| 52 | CoverTransfer.Reference.comparison U hU W f hfU J r s V hV haV (K := K) q ≫ |
| 53 | (Additive.OrderedCechConcentration.iso V haV K c hK q).hom := by |
| 54 | have hp := Principal.RelativeConcentration.concentration U hU W K c hK q |
| 55 | have hr := Relative.CommonConcentration.comparison (Principal.RelativeConcentration.ambient U hU) (Principal.RelativeConcentration.ambient_affine U hU) |
| 56 | (Principal.RelativeConcentration.family U hU W) (Principal.RelativeConcentration.family_affine U hU W) C (ComplementaryAffineCover.affine O) |
| 57 | J hJ r s K c hK q |
| 58 | have hg := Additive.OrderedCoverConcentration.square |
| 59 | (PointComplementGlobalCover.cover f (Principal.RelativeConcentration.ambient U hU)) V |
| 60 | (PointComplementGlobalCover.common f (Principal.RelativeConcentration.ambient U hU) V) |
| 61 | (PointComplementGlobalCover.left f (Principal.RelativeConcentration.ambient U hU) V) |
| 62 | (PointComplementGlobalCover.right f (Principal.RelativeConcentration.ambient U hU) V) |
| 63 | (PointComplementGlobalCover.covers f (Principal.RelativeConcentration.ambient U hU) |
| 64 | (CoverTransfer.Reference.contains U hU f hfU)) hV |
| 65 | (PointComplementGlobalCover.common_covers f (Principal.RelativeConcentration.ambient U hU) |
| 66 | (CoverTransfer.Reference.contains U hU f hfU) V hV) |
| 67 | (PointComplementGlobalCover.affine f (Principal.RelativeConcentration.ambient U hU) (Principal.RelativeConcentration.ambient_affine U hU)) haV |
| 68 | (PointComplementGlobalCover.common_affine f (Principal.RelativeConcentration.ambient U hU) (Principal.RelativeConcentration.ambient_affine U hU) V haV) |
| 69 | K c hK q |
| 70 | have hpr := DualComplexHomology.compose_squares _ _ _ _ _ _ _ hp hr |
| 71 | have h := DualComplexHomology.compose_squares _ _ _ _ _ _ _ hpr hg |
| 72 | simpa only [CoverTransfer.Reference.comparison, |
| 73 | Principal.GlobalTransferRecovery.comparison, PointComplementGlobalCover.iso, |
| 74 | Functor.mapIso_hom, Category.assoc] using h |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.CoverConcentration.Reference |