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.ScalarCoordinates |
| 2 | |
| 3 | /-! # Scalar Value -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarValue |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The fixed projective point scalar factors through its intrinsic |
| 10 | ambient oriented-purity coordinate, with an arbitrary line frame. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalCoordinates |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarCoordinates OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 21 | ScalarCoordinates.line_qc |
| 22 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) |
| 23 | [IsClosedImmersion f] (z : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion z] |
| 24 | (hbase : z ≫ (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 25 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 26 | (hcontains : ⊤ ≤ (z ≫ f) ⁻¹ᵁ U) |
| 27 | (i : Fin (n+2)) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 28 | (e : Γ(ScalarCoordinates.line (R := R) (n := n), U) ≃ₗ[ |
| 29 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)] |
| 30 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 31 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 32 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 33 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 34 | (z ≫ f).ker.ideal ⟨U,hU⟩) |
| 35 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 36 | (List.ofFn (Fin.append s t))) |
| 37 | (y : (Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t) |
| 38 | (c+m)).obj (LocalCoordinates.principalDual f z B U hU)) |
| 39 | |
| 40 | local instance sectionAlgebra : Algebra R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := |
| 41 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R |
| 42 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) U |
| 43 | |
| 44 | def coordinate : R := by |
| 45 | let hprojective : ∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj ((Survivor.complex f z B).X q)) := |
| 46 | fun q => ScalarCoordinates.source_projective f z B U hU i hi q |
| 47 | let hterms : ∀ q, ((Affine.LinearResolutionPurity.internalComplex |
| 48 | (ScalarCoordinates.line (R := R) (n := n)) (Survivor.complex f z B)).X q).IsQuasicoherent := |
| 49 | fun q => ScalarCoordinates.dual_qc f z B hB q |
| 50 | exact (ScalarCoordinates.quotient f z hbase U hU hcontains) |
| 51 | ((Affine.OrientedPurity.iso U hU (ScalarCoordinates.line (R := R) (n := n)) (Survivor.complex f z B) |
| 52 | (Survivor.coefficient f z) (IntegralComparison.Projective.NegativeResolution.augmentation (Survivor.coefficient f z) (Survivor.chart (R := R)) B) |
| 53 | ((z ≫ f).ker.ideal ⟨U,hU⟩) (ScalarCoordinates.quotientIso f z U hU) (Fin.append s t) |
| 54 | ((KoszulPoint.Resolution.Comparison.full_ideal |
| 55 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t).trans hst) hreg |
| 56 | (Principal.OrientedResidueNormalizationBase.lineIso U hU (ScalarCoordinates.line (R := R) (n := n)) e)).hom |
| 57 | ((Principal.ProductPointCoordinates.sectionIso U hU |
| 58 | (ScalarCoordinates.line (R := R) (n := n)) (Survivor.complex f z B) (c+m)).inv |
| 59 | (homologyMap (AugmentedOrdered.CechForget.forgetSupport (PrincipalPoint.Fraction.family U t) |
| 60 | (LocalCoordinates.principalDual f z B U hU)) (c+m) y))) |
| 61 | |
| 62 | attribute [local irreducible] PrincipalPoint.FrameScalar.value |
| 63 | Affine.OrientedPurity.iso Principal.ProductPointCoordinates.sectionIso |
| 64 | |
| 65 | theorem value_eq : ScalarCoordinates.value f z hbase B hB U hU hcontains i hi e s t hst hreg y = |
| 66 | coordinate f z hbase B hB U hU hcontains i hi e s t hst hreg y := by |
| 67 | let hprojective : ∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj ((Survivor.complex f z B).X q)) := |
| 68 | fun q => ScalarCoordinates.source_projective f z B U hU i hi q |
| 69 | let hterms : ∀ q, ((Affine.LinearResolutionPurity.internalComplex |
| 70 | (ScalarCoordinates.line (R := R) (n := n)) (Survivor.complex f z B)).X q).IsQuasicoherent := |
| 71 | fun q => ScalarCoordinates.dual_qc f z B hB q |
| 72 | dsimp only [ScalarCoordinates.value, coordinate] |
| 73 | exact PrincipalPoint.FrameScalar.value_eq U hU (ScalarCoordinates.line (R := R) (n := n)) |
| 74 | (Survivor.coefficient f z) (Survivor.complex f z B) |
| 75 | (IntegralComparison.Projective.NegativeResolution.augmentation (Survivor.coefficient f z) (Survivor.chart (R := R)) B) |
| 76 | ((z ≫ f).ker.ideal ⟨U,hU⟩) (ScalarCoordinates.quotientIso f z U hU) (ScalarCoordinates.quotient f z hbase U hU hcontains) |
| 77 | e s t hreg hst (PrincipalPoint.Fraction.family U t) (n+1) |
| 78 | (ScalarFraction.pure f z hbase B hB U hU) |
| 79 | (ScalarFraction.zero f z hbase B hB U hU s t hst) y |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarValue |