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.Fraction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.KoszulLeft |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedPointCoordinates |
| 4 | |
| 5 | /-! # Refined Point Fraction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.RefinedPointFraction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Both actual maps in the original common negative refinement are |
| 12 | retained in the supported point-class normalization. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 20 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | variable {Z X : Scheme.{u}} (s₀ : Z ⟶ X) |
| 23 | (f : X ⟶ Proj (homogeneousSubmodule σ R)) |
| 24 | [IsClosedImmersion s₀] [IsClosedImmersion f] |
| 25 | (U : (Proj (homogeneousSubmodule σ R)).Opens) (hU : IsAffineOpen U) |
| 26 | (i : σ) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) (j : σ) (B : ℕ) |
| 27 | (N : (Proj (homogeneousSubmodule σ R)).Modules) [N.IsQuasicoherent] |
| 28 | (e : Γ(N, U) ≃ₗ[Γ(Proj (homogeneousSubmodule σ R), U)] Γ(Proj (homogeneousSubmodule σ R), U)) |
| 29 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule σ R), U)) |
| 30 | (t : Fin m → Γ(Proj (homogeneousSubmodule σ R), U)) |
| 31 | (hs : KoszulPartial.Resolution.normalIdeal Γ(Proj (homogeneousSubmodule σ R), U) s = f.ker.ideal ⟨U, hU⟩) |
| 32 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule σ R), U) s t = (s₀ ≫ f).ker.ideal ⟨U, hU⟩) |
| 33 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), U) (List.ofFn s)) |
| 34 | (hregst : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule σ R), U) |
| 35 | (List.ofFn (Fin.append s t))) |
| 36 | |
| 37 | abbrev comparison (q : ℕ) := by |
| 38 | let hr := ProjectivePoint.KoszulMap.rightHomotopy s₀ f U hU i hi j B N e s t hs hst hreg hregst |
| 39 | let hr' := KoszulPoint.HomCoordinates.homotopy Γ(Proj (homogeneousSubmodule σ R), U) |
| 40 | (Principal.SectionPresheaf.rings U hU) s t _ _ _ hr |
| 41 | let hl := ProjectivePoint.KoszulLeft.leftHomotopy s₀ f U hU i hi j B N e s hs hreg |
| 42 | let hl' := Koszul.NormalHomCoordinates.homotopy Γ(Proj (homogeneousSubmodule σ R), U) |
| 43 | (Principal.SectionPresheaf.rings U hU) s _ _ _ hl |
| 44 | exact Koszul.RefinedPointCoordinates.comparison Γ(Proj (homogeneousSubmodule σ R), U) |
| 45 | (Principal.SectionPresheaf.rings U hU) (PrincipalPoint.Fraction.family U t) s t |
| 46 | (PrincipalPoint.Fraction.units U hU t) _ _ _ _ _ hr' hl' q |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.RefinedPointFraction |