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.PrincipalResidue.SurvivorSection |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrientedPurityTransport |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.LineFrameNormalization |
| 4 | |
| 5 | /-! # Section Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.SectionCoordinates.Survivor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The section coefficient of the genuine principal residue uses |
| 12 | the original closed quotient and the prescribed affine line frame. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | attribute [local irreducible] Affine.OrientedPurity.iso |
| 20 | |
| 21 | universe u |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 23 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 24 | (N : Y.Modules) [N.IsQuasicoherent] |
| 25 | (K : ChainComplex Y.Modules ℕ) [∀ k, (K.X k).IsQuasicoherent] |
| 26 | {X : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 27 | (ε : K ⟶ (ChainComplex.single₀ Y.Modules).obj (Principal.ClosedQuotient.directImage f)) |
| 28 | [QuasiIso ε] [∀ k, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X k))] |
| 29 | {c : ℕ} (s : Fin c → Γ(Y, U)) |
| 30 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Y, U) s = f.ker.ideal ⟨U, hU⟩) |
| 31 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn s)) |
| 32 | [∀ k, ((Affine.LinearResolutionPurity.internalComplex N K).X k).IsQuasicoherent] |
| 33 | (eN : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(Y, U) Γ(Y, U)) |
| 34 | |
| 35 | attribute [local instance] Principal.OrientedResidue.structure_quasicoherent |
| 36 | |
| 37 | omit [N.IsQuasicoherent] in |
| 38 | theorem sectionMap_frame : |
| 39 | SurvivorSection.sectionMap U hU N (Affine.LineFrameNormalization.PrincipalOrientedResidue.sectionFrame U hU N eN) |
| 40 | K f ε s hs hreg = |
| 41 | (Affine.OrientedPurity.iso U hU N K (Principal.ClosedQuotient.directImage f) ε |
| 42 | (f.ker.ideal ⟨U, hU⟩) (Closed.QuotientSectionNormalization.chartIso f U hU) |
| 43 | s hs hreg eN).hom ≫ (Closed.QuotientSectionNormalization.iso f U hU).inv := by |
| 44 | have h := Affine.OrientedPurityTransport.iso_cast U hU N K |
| 45 | (Principal.ClosedQuotient.directImage f) ε (f.ker.ideal ⟨U, hU⟩) |
| 46 | (KoszulPartial.Resolution.normalIdeal Γ(Y, U) s) hs.symm |
| 47 | (Closed.QuotientSectionNormalization.chartIso f U hU) s hs hreg eN |
| 48 | dsimp only [SurvivorSection.sectionMap] |
| 49 | rw [Affine.LineFrameNormalization.PrincipalOrientedResidue.lineIso_sectionFrame] |
| 50 | unfold Principal.OrientedResidue.quotientIso |
| 51 | rw [h] |
| 52 | simp only [SurvivorSection.coefficientIso, Principal.OrientedResidue.quotientIso, |
| 53 | Closed.QuotientSectionNormalization.chartIso, Iso.trans_hom, Iso.trans_inv, |
| 54 | Iso.symm_inv, Category.assoc, Iso.hom_inv_id_assoc, |
| 55 | Iso.hom_inv_id, Category.comp_id] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.SectionCoordinates.Survivor |