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.ProjectivePoint.KoszulMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.HomCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.Fraction |
| 4 | |
| 5 | /-! # Fraction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Fraction.Comparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual common negative-refinement map to the original point |
| 12 | coefficient sends its supported Koszul lift to the literal mixed |
| 13 | partial-fraction class. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.KoszulMap |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 21 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | variable {Z X : Scheme.{u}} (s₀ : Z ⟶ X) |
| 24 | (f : X ⟶ Proj (homogeneousSubmodule σ R)) |
| 25 | [IsClosedImmersion s₀] [IsClosedImmersion f] |
| 26 | (U : (Proj (homogeneousSubmodule σ R)).Opens) (hU : IsAffineOpen U) |
| 27 | (i : σ) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (j : σ) (B : ℕ) |
| 28 | (N : (Proj (homogeneousSubmodule σ R)).Modules) [N.IsQuasicoherent] |
| 29 | (e : Γ(N, U) ≃ₗ[Γ(Proj (homogeneousSubmodule σ R), U)] Γ(Proj (homogeneousSubmodule σ R), U)) |
| 30 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule σ R), U)) |
| 31 | (t : Fin m → Γ(Proj (homogeneousSubmodule σ R), U)) |
| 32 | (hs : KoszulPartial.Resolution.normalIdeal Γ(Proj (homogeneousSubmodule σ R), U) s = f.ker.ideal ⟨U, hU⟩) |
| 33 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule σ R), U) s t = (s₀ ≫ f).ker.ideal ⟨U, hU⟩) |
| 34 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), U) (List.ofFn s)) |
| 35 | (hregst : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), U) |
| 36 | (List.ofFn (Fin.append s t))) |
| 37 | |
| 38 | abbrev homology (q : ℕ) := by |
| 39 | let h := KoszulMap.rightHomotopy s₀ f U hU i hi j B N e s t hs hst hreg hregst |
| 40 | let hc := KoszulPoint.HomCoordinates.homotopy Γ(Proj (homogeneousSubmodule σ R), U) |
| 41 | (Principal.SectionPresheaf.rings U hU) s t _ _ _ h |
| 42 | exact KoszulPoint.Map.Comparison.homology Γ(Proj (homogeneousSubmodule σ R), U) |
| 43 | (Principal.SectionPresheaf.rings U hU) (PrincipalPoint.Fraction.family U t) s t |
| 44 | (PrincipalPoint.Fraction.units U hU t) _ _ _ hc q |
| 45 | |
| 46 | abbrev class_eq |
| 47 | (φ : Module.Dual Γ(Proj (homogeneousSubmodule σ R), U) |
| 48 | (⋀[Γ(Proj (homogeneousSubmodule σ R), U)]^(c + m) |
| 49 | (KoszulPartial.Fractions.ambient Γ(Proj (homogeneousSubmodule σ R), U) (c := c) (m := m)))) := by |
| 50 | let h := KoszulMap.rightHomotopy s₀ f U hU i hi j B N e s t hs hst hreg hregst |
| 51 | let hc := KoszulPoint.HomCoordinates.homotopy Γ(Proj (homogeneousSubmodule σ R), U) |
| 52 | (Principal.SectionPresheaf.rings U hU) s t _ _ _ h |
| 53 | exact KoszulPoint.Map.Comparison.class_eq Γ(Proj (homogeneousSubmodule σ R), U) |
| 54 | (Principal.SectionPresheaf.rings U hU) (PrincipalPoint.Fraction.family U t) s t |
| 55 | (PrincipalPoint.Fraction.units U hU t) _ _ _ hc φ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Fraction.Comparison |