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.SurvivorCoordinates |
| 2 | |
| 3 | /-! # Survivor Section -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.SurvivorSection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original residue on the surviving sheaf, expressed directly |
| 10 | as a section of the closed structure sheaf. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 20 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 21 | (N : Y.Modules) [N.IsQuasicoherent] |
| 22 | (e : Γ(N, U) ≃ₗ[Γ(Y, U)] Γ(Y, U)) |
| 23 | (K : ChainComplex Y.Modules ℕ) [∀ k, (K.X k).IsQuasicoherent] |
| 24 | {X : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 25 | (ε : K ⟶ (ChainComplex.single₀ Y.Modules).obj (Principal.ClosedQuotient.directImage f)) |
| 26 | [QuasiIso ε] [∀ k, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X k))] |
| 27 | {c : ℕ} (s : Fin c → Γ(Y, U)) |
| 28 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Y, U) s = f.ker.ideal ⟨U, hU⟩) |
| 29 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn s)) |
| 30 | [∀ k, ((Affine.LinearResolutionPurity.internalComplex N K).X k).IsQuasicoherent] |
| 31 | |
| 32 | attribute [local instance] Principal.OrientedResidue.structure_quasicoherent |
| 33 | |
| 34 | def coefficientIso : (Affine.ModuleExactSections.sections U).obj |
| 35 | (Principal.ClosedQuotient.directImage f) ≅ |
| 36 | ModuleCat.of Γ(Y, U) (Γ(Y, U) ⧸ KoszulPartial.Resolution.normalIdeal Γ(Y, U) s) := |
| 37 | Affine.ChartSections.iso U hU (Principal.ClosedQuotient.directImage f) ≪≫ |
| 38 | Principal.OrientedResidue.quotientIso f U hU s hs |
| 39 | |
| 40 | def sectionMap : (Affine.ModuleExactSections.sections U).obj |
| 41 | ((Affine.LinearResolutionPurity.internalComplex N K).homology c) ⟶ |
| 42 | (Affine.ModuleExactSections.sections U).obj (Principal.ClosedQuotient.directImage f) := |
| 43 | (Affine.OrientedPurity.iso U hU N K (Principal.ClosedQuotient.directImage f) ε |
| 44 | (KoszulPartial.Resolution.normalIdeal Γ(Y, U) s) |
| 45 | (Principal.OrientedResidue.quotientIso f U hU s hs) s rfl hreg |
| 46 | (Principal.OrientedResidueNormalizationBase.lineIso U hU N e)).hom ≫ |
| 47 | (coefficientIso U hU f s hs).inv |
| 48 | |
| 49 | theorem atOne : |
| 50 | ((Principal.AtOne.iso U hU).app |
| 51 | ((Affine.LinearResolutionPurity.internalComplex N K).homology c)).hom ≫ |
| 52 | (SurvivorData.map U hU N e K f ε s hs hreg).app (op (Principal.AtOne.object U)) = |
| 53 | sectionMap U hU N e K f ε s hs hreg ≫ |
| 54 | ((Principal.AtOne.iso U hU).app (Principal.ClosedQuotient.directImage f)).hom := by |
| 55 | apply (cancel_mono (Principal.OrientedResidueNormalization.targetAtOne U hU f s hs).hom).mp |
| 56 | calc |
| 57 | _ = SurvivorData.normalized U hU N e K f ε s hs hreg := Category.assoc _ _ _ |
| 58 | _ = _ := SurvivorCoordinates.comparison U hU N e K f ε s hs hreg |
| 59 | _ = _ := by |
| 60 | simp only [sectionMap, coefficientIso, Principal.OrientedResidueNormalization.targetAtOne, |
| 61 | Iso.trans_hom, Iso.trans_inv, Iso.symm_hom, Category.assoc, |
| 62 | Iso.hom_inv_id_assoc, Iso.inv_hom_id_assoc, Iso.inv_hom_id, |
| 63 | Category.comp_id] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.SurvivorSection |