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.RelativeCech.RefinementTransfer |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.CommonRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ForwardRefinementClass |
| 4 | |
| 5 | /-! # Supported Transfer Recovery -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedTransferRecovery |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A supported class passes through the original right/inverse-left |
| 12 | resolution comparison and recovers its global image. Only the target |
| 13 | refinement is inverted. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.RefinementTransfer |
| 20 | variable {X Z : Scheme.{u}} [X.IsSeparated] (U : X.Opens) (hU : IsAffineOpen U) |
| 21 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 22 | (V : ι → X.Opens) (hV : ∀ i, IsAffineOpen (V i)) |
| 23 | (W : κ → X.Opens) (hW : ∀ i, IsAffineOpen (W i)) |
| 24 | (J : ν → X.Opens) (hJ : ∀ i, IsAffineOpen (J i)) |
| 25 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι V) |
| 26 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ W) |
| 27 | {P K T : CochainComplex X.Modules ℕ} |
| 28 | [∀ q, (P.X q).IsQuasicoherent] |
| 29 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (T.X q).IsQuasicoherent] |
| 30 | (l : K ⟶ T) [QuasiIso l] (a : P ⟶ T) |
| 31 | (c : ℕ) (hP : ∀ k, k ≠ c → P.ExactAt k) |
| 32 | (f : Z ⟶ X) [IsClosedImmersion f] (N : Z.Modules) |
| 33 | (e : P.homology c ≅ (Scheme.Modules.pushforward f).obj N) |
| 34 | (hVO : ∀ i, V i ≤ SectionIdealPuncturedCover.outside f.ker) |
| 35 | (hWO : ∀ i, W i ≤ SectionIdealPuncturedCover.outside f.ker) |
| 36 | (hJO : ∀ i, J i ≤ SectionIdealPuncturedCover.outside f.ker) |
| 37 | (q : ℕ) |
| 38 | [IsIso (RelativeCech.Refinement.homology U W J s (AdditiveCechConcentration.coefficients K) q)] |
| 39 | |
| 40 | include hJ hVO hWO hJO in |
| 41 | theorem comparison : |
| 42 | (SupportedPureClass.lift U hU V hV P c hP f N e hVO q ≫ |
| 43 | RelativeCech.RefinementTransfer.map U hU V hV q l a) ≫ |
| 44 | RelativeCech.CommonRefinement.comparison U V W J r s (AdditiveCechConcentration.coefficients K) q = |
| 45 | (SupportedPureClass.lift U hU W hW P c hP f N e hWO q ≫ |
| 46 | RelativeCech.RefinementTransfer.map U hU W hW q l a) ≫ (RelativeCech.RefinementTransfer.extension U W q).app K := by |
| 47 | apply ForwardRefinementClass.comparison |
| 48 | (SupportedPureClass.lift U hU V hV P c hP f N e hVO q) |
| 49 | (SupportedPureClass.lift U hU W hW P c hP f N e hWO q) |
| 50 | _ _ _ _ (RelativeCech.RefinementTransfer.map U hU J hJ q l a) _ _ _ |
| 51 | · exact (SupportedPureClass.refinement U hU V hV P c hP |
| 52 | f N e hVO J hJ r hJO q).trans |
| 53 | (SupportedPureClass.refinement U hU W hW P c hP |
| 54 | f N e hWO J hJ s hJO q).symm |
| 55 | · exact RelativeCech.RefinementTransfer.refinement_square U hU V hV J hJ r q l a |
| 56 | · exact RelativeCech.RefinementTransfer.refinement_square U hU W hW J hJ s q l a |
| 57 | |
| 58 | include hJ hVO hWO hJO in |
| 59 | theorem recovery : |
| 60 | (SupportedPureClass.lift U hU V hV P c hP f N e hVO q ≫ |
| 61 | RelativeCech.RefinementTransfer.map U hU V hV q l a) ≫ |
| 62 | RelativeCech.CommonRefinement.comparison U V W J r s (AdditiveCechConcentration.coefficients K) q = |
| 63 | (AdditiveCechGlobalConcentration.SupportedPureClass.globalEdge U W P c q ≫ |
| 64 | (AdditiveCechGlobalConcentration.SupportedPureClass.globalSurvivorIso U hU W hW P c hP q).inv) ≫ |
| 65 | RelativeCech.RefinementTransfer.globalMap U hU W hW q l a := by |
| 66 | rw [comparison U hU V hV W hW J hJ r s l a c hP f N e hVO hWO hJO q] |
| 67 | rw [Category.assoc, RelativeCech.RefinementTransfer.extension_square, ← Category.assoc] |
| 68 | exact congrArg (· ≫ RelativeCech.RefinementTransfer.globalMap U hU W hW q l a) |
| 69 | (AdditiveCechGlobalConcentration.SupportedPureClass.recovery U hU W hW P c hP f N e hWO q) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedTransferRecovery |