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.Affine.OrientedPurity |
| 2 | |
| 3 | /-! # Oriented Purity Transport -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrientedPurityTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Oriented affine purity commutes with equality transport of the |
| 10 | same quotient ideal, preserving the original augmented resolution. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 19 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 20 | (N : X.Modules) (K : ChainComplex X.Modules ℕ) [∀ k, (K.X k).IsQuasicoherent] |
| 21 | (M : X.Modules) [M.IsQuasicoherent] |
| 22 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 23 | [∀ k, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X k))] |
| 24 | [∀ k, ((LinearResolutionPurity.internalComplex N K).X k).IsQuasicoherent] |
| 25 | (I J : Ideal Γ(X, U)) (h : I = J) |
| 26 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) (Γ(X, U) ⧸ I)) |
| 27 | {c : ℕ} (s : Fin c → Γ(X, U)) |
| 28 | (hs : Koszul.OrientedTopCohomology.ideal Γ(X, U) s = I) |
| 29 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(X, U) (List.ofFn s)) |
| 30 | (eN : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(X, U) Γ(X, U)) |
| 31 | |
| 32 | theorem iso_cast : |
| 33 | OrientedPurity.iso U hU N K M ε J |
| 34 | (eM ≪≫ (Ideal.quotientEquivAlgOfEq Γ(X, U) h).toLinearEquiv.toModuleIso) |
| 35 | s (hs.trans h) hreg eN = |
| 36 | OrientedPurity.iso U hU N K M ε I eM s hs hreg eN ≪≫ |
| 37 | (Ideal.quotientEquivAlgOfEq Γ(X, U) h).toLinearEquiv.toModuleIso := by |
| 38 | subst J |
| 39 | have he : (Ideal.quotientEquivAlgOfEq Γ(X, U) (rfl : I = I)).toLinearEquiv.toModuleIso = |
| 40 | Iso.refl (ModuleCat.of Γ(X, U) (Γ(X, U) ⧸ I)) := by |
| 41 | apply Iso.ext |
| 42 | apply ModuleCat.hom_ext |
| 43 | apply LinearMap.ext |
| 44 | intro x |
| 45 | change Ideal.quotientEquivAlgOfEq Γ(X, U) (rfl : I = I) x = x |
| 46 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 47 | exact Ideal.quotientEquivAlgOfEq_mk Γ(X, U) rfl a |
| 48 | rw [he, Iso.trans_refl, Iso.trans_refl] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrientedPurityTransport |