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.Principal.ClosedKoszulResidue |
| 2 | |
| 3 | /-! # Fraction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Fraction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual point-parameter principal family carries the mixed |
| 10 | Koszul fraction. Its residue is the original closed-scheme pullback |
| 11 | of the reciprocal-product coefficient, with its exact orientation. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _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.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedKoszulResidue |
| 18 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 19 | (U : Y.Opens) (hU : IsAffineOpen U) {c m : ℕ} (s : Fin c → Γ(Y, U)) |
| 20 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Y, U) s = f.ker.ideal ⟨U, hU⟩) |
| 21 | (t : Fin m → Γ(Y, U)) |
| 22 | |
| 23 | def family : ULift.{u} (Fin m) → Principal.SectionPresheaf.Index U := fun i => ⟨t i.down⟩ |
| 24 | |
| 25 | theorem units (i : ULift.{u} (Fin m)) : |
| 26 | IsUnit (algebraMap Γ(Y, U) ((Principal.SectionPresheaf.rings U hU).obj (op (Fraction.family U t i))) (t i.down)) := |
| 27 | AffinePrincipal.Diagram.restricted_function_isUnit Y U hU (Fraction.family U t i) |
| 28 | |
| 29 | abbrev map := KoszulPartial.ResidueTotal.map Γ(Y, U) (Principal.SectionPresheaf.rings U hU) |
| 30 | (Fraction.family U t) s t (units U hU t) (Principal.ClosedKoszulResidue.target f U hU) |
| 31 | (Principal.ClosedKoszulResidue.pullback f U hU s hs) (Principal.ClosedKoszulResidue.annihilated f U hU s hs) |
| 32 | |
| 33 | theorem coefficient (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) m) |
| 34 | (φ : Module.Dual Γ(Y, U) |
| 35 | (⋀[Γ(Y, U)]^(c + m) (KoszulPartial.Fractions.ambient Γ(Y, U) (c := c) (m := m)))) : |
| 36 | ((map f U hU s hs t).f (c + m) ≫ |
| 37 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.πTotalUpNat (AugmentedOrdered.CechFunctor.bicomplex (family U t) |
| 38 | (KoszulPartial.ResidueTotal.residueComplex Γ(Y, U) (c := c) (Principal.ClosedKoszulResidue.target f U hU)))) c m (c + m) ≫ |
| 39 | Pi.π (fun b : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) m => |
| 40 | ((KoszulPartial.ResidueTotal.residueComplex Γ(Y, U) (c := c) (Principal.ClosedKoszulResidue.target f U hU)).X c).obj |
| 41 | (op ((AugmentedOrdered.Cech.formal (Fraction.family U t) m).obj b))) a ≫ |
| 42 | (singleObjXSelf (.up ℕ) c (Principal.ClosedKoszulResidue.target f U hU)).hom.app (op ((AugmentedOrdered.Cech.formal (Fraction.family U t) m).obj a))) |
| 43 | (show (KoszulPartial.Components.source Γ(Y, U) s t).X (c + m) from φ) = |
| 44 | f.app (Principal.SectionPresheaf.openSubset U ((AugmentedOrdered.Cech.formal (Fraction.family U t) m).obj a)) |
| 45 | (KoszulPartial.Fractions.reciprocal Γ(Y, U) (Principal.SectionPresheaf.rings U hU) (Fraction.family U t) t (units U hU t) a * |
| 46 | algebraMap Γ(Y, U) ((Principal.SectionPresheaf.rings U hU).obj (op ((AugmentedOrdered.Cech.formal (Fraction.family U t) m).obj a))) |
| 47 | (φ (TopExteriorCoordinates.generator |
| 48 | (KoszulPartial.TopResidue.basis Γ(Y, U) (c := c) (m := m))))) := by |
| 49 | exact (KoszulPartial.ResidueTotal.coefficient Γ(Y, U) (Principal.SectionPresheaf.rings U hU) |
| 50 | (Fraction.family U t) s t (units U hU t) (Principal.ClosedKoszulResidue.target f U hU) |
| 51 | (Principal.ClosedKoszulResidue.pullback f U hU s hs) (Principal.ClosedKoszulResidue.annihilated f U hU s hs) a φ).trans |
| 52 | (Principal.ClosedKoszulResidue.pullback_apply f U hU s hs _ _) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Fraction |