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.CoverShiftedMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.RelativeGeometry |
| 3 | |
| 4 | /-! # Shifted Map -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.ShiftedMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For the genuine complement of a closed point, the source geometry |
| 11 | supplies all refinement inverses needed by the shifted pure comparison. -/ |
| 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.PrincipalPoint.RelativeGeometry |
| 18 | variable {X Y T S : Scheme.{u}} [X.IsSeparated] [Y.IsSeparated] |
| 19 | (π : Y ⟶ S) (i : X ⟶ Y) [IsClosedImmersion i] (s₀ : T ⟶ X) [IsClosedImmersion s₀] |
| 20 | (U : Y.Opens) (hU : IsAffineOpen U) (hfU : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 21 | {a b : ℕ} (s : Fin a → Γ(Y, U)) (t : Fin b → Γ(Y, U)) |
| 22 | (hs : Ideal.span (Set.range s) = i.ker.ideal ⟨U, hU⟩) |
| 23 | (hst : Ideal.span (Set.range (Fin.append s t)) = (s₀ ≫ i).ker.ideal ⟨U, hU⟩) |
| 24 | {κ : Type u} [LinearOrder κ] (V : κ → Y.Opens) (hV : iSup V = ⊤) |
| 25 | (haV : ∀ j, IsAffineOpen (V j)) |
| 26 | (K : CochainComplex Y.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 27 | (c : ℕ) (hK : ∀ q, q ≠ c → K.ExactAt q) |
| 28 | (N : X.Modules) [N.IsQuasicoherent] |
| 29 | (e : K.homology c ≅ (Scheme.Modules.pushforward i).obj N) |
| 30 | (g q : ℕ) (hq : q=g+c) |
| 31 | |
| 32 | abbrev comparison := by |
| 33 | let D := (Scheme.Modules.pushforward i).obj N |
| 34 | letI : D.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom i |
| 35 | letI : (K.homology c).IsQuasicoherent := QuasicoherentTruncation.cohomology K c |
| 36 | letI (k : ℕ) : (((single Y.Modules (.up ℕ) c).obj (K.homology c)).X k).IsQuasicoherent := |
| 37 | QuasicoherentTruncation.single (K.homology c) c k |
| 38 | letI (k : ℕ) : (((single Y.Modules (.up ℕ) c).obj D).X k).IsQuasicoherent := |
| 39 | QuasicoherentTruncation.single D c k |
| 40 | letI := RelativeGeometry.right_isIso i s₀ U hU s t hs hst K c hK N e q |
| 41 | letI := RelativeGeometry.right_isIso i s₀ U hU s t hs hst |
| 42 | ((single Y.Modules (.up ℕ) c).obj (K.homology c)) c |
| 43 | (fun k hk => exactAt_single_obj (.up ℕ) c (K.homology c) k hk) N |
| 44 | (singleObjHomologySelfIso (.up ℕ) c (K.homology c) ≪≫ e) q |
| 45 | letI := RelativeGeometry.right_isIso i s₀ U hU s t hs hst |
| 46 | ((single Y.Modules (.up ℕ) c).obj D) c |
| 47 | (fun k hk => exactAt_single_obj (.up ℕ) c D k hk) N |
| 48 | (singleObjHomologySelfIso (.up ℕ) c D) q |
| 49 | exact PrincipalReference.CoverShiftedMap.Reference.comparison π U hU |
| 50 | (Fraction.family U t) (s₀ ≫ i) hfU |
| 51 | (RelativeGeometry.common i s₀ U hU t) (RelativeGeometry.common_affine i s₀ U hU t) |
| 52 | (RelativeGeometry.left i s₀ U hU t) (RelativeGeometry.right i s₀ U hU t) V hV haV K c hK D e.hom g q hq |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.ShiftedMap |