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.GlobalTransferRecovery |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PointComplementGlobalCover |
| 3 | |
| 4 | /-! # Cover Transfer -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.CoverTransfer.Reference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual principal supported class and original resolution |
| 11 | transfer land in the same class on an arbitrary original affine cover. -/ |
| 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) (hJ : ∀ i, IsAffineOpen (J i)) |
| 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 | |
| 29 | include hfU in |
| 30 | omit [X.IsSeparated] [IsClosedImmersion f] in |
| 31 | theorem contains : ⊤ ≤ f ⁻¹ᵁ Principal.RelativeConcentration.ambient U hU := by |
| 32 | change ⊤ ≤ f ⁻¹ᵁ Principal.SectionPresheaf.openSubset U (⊤_ Principal.SectionPresheaf.Index U) |
| 33 | rw [Principal.TerminalScalars.open_eq U hU] |
| 34 | exact hfU |
| 35 | |
| 36 | variable {P K T : CochainComplex X.Modules ℕ} |
| 37 | [∀ q, (P.X q).IsQuasicoherent] [∀ q, (K.X q).IsQuasicoherent] |
| 38 | [∀ q, (T.X q).IsQuasicoherent] (l : K ⟶ T) [QuasiIso l] (a : P ⟶ T) |
| 39 | (c : ℕ) (hP : ∀ k, k ≠ c → P.ExactAt k) (N : Z.Modules) |
| 40 | (e : P.homology c ≅ (Scheme.Modules.pushforward f).obj N) |
| 41 | (hWO : ∀ i, Principal.SectionPresheaf.openSubset U (W i) ≤ SectionIdealPuncturedCover.outside f.ker) |
| 42 | (hJO : ∀ i, J i ≤ SectionIdealPuncturedCover.outside f.ker) |
| 43 | (q : ℕ) [hiso : IsIso (RelativeCech.Refinement.homology (Principal.RelativeConcentration.ambient U hU) |
| 44 | (ComplementaryAffineCover.opens (SectionIdealPuncturedCover.outside f.ker)) J s |
| 45 | (Relative.AdditiveCechConcentration.coefficients K) q)] |
| 46 | |
| 47 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealPuncturedCover.outside f.ker |
| 48 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.ComplementaryAffineCover.opens O |
| 49 | |
| 50 | def comparison := by |
| 51 | letI := hiso |
| 52 | exact Principal.GlobalTransferRecovery.comparison U hU W C J r s (K := K) q ≫ |
| 53 | (PointComplementGlobalCover.iso f (Principal.RelativeConcentration.ambient U hU) (Principal.RelativeConcentration.ambient_affine U hU) |
| 54 | (contains U hU f hfU) V hV haV K q).hom |
| 55 | |
| 56 | include hJ hWO hJO in |
| 57 | theorem recovery : |
| 58 | (SupportedClass.Reference.localize U hU W P c hP f N e hWO q ≫ |
| 59 | (Principal.AdditiveSections.forgetScalars U).map |
| 60 | (Principal.RelativeTransfer.map U hU W q l a)) ≫ |
| 61 | comparison U hU W f hfU J r s V hV haV q = |
| 62 | Global.PureSectionClass.map V haV P c hP q ≫ |
| 63 | IntrinsicOrdered.CechTransferCoordinates.Intrinsic.genericMap (𝟙 X) V haV q l a := by |
| 64 | unfold comparison |
| 65 | rw [← Category.assoc, |
| 66 | Principal.GlobalTransferRecovery.recovery U hU W C |
| 67 | (ComplementaryAffineCover.affine O) J hJ r s l a c hP f N e hWO |
| 68 | (ComplementaryAffineCover.le O) hJO q] |
| 69 | exact PointComplementGlobalCover.pure_transfer f (Principal.RelativeConcentration.ambient U hU) (Principal.RelativeConcentration.ambient_affine U hU) |
| 70 | (contains U hU f hfU) V hV haV K c hP l a q |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalReference.CoverTransfer.Reference |