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.ModuleFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PrincipalFrameNormalization |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.FrameScalarValue |
| 4 | |
| 5 | /-! # Scalar Frame Value -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarFrameValue |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original projective scalar in its prescribed parameter frame is |
| 12 | the intrinsic oriented coordinate for that same differential basis. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 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.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalCoordinates |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarCoordinates OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 23 | ScalarCoordinates.line_qc |
| 24 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) |
| 25 | [IsClosedImmersion f] (z : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion z] |
| 26 | (hbase : z ≫ (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 27 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 28 | (hcontains : ⊤ ≤ (z ≫ f) ⁻¹ᵁ U) |
| 29 | (i : Fin (n+2)) (hi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 30 | (e : Γ(ScalarCoordinates.line (R := R) (n := n), U) ≃ₗ[ |
| 31 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)] |
| 32 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 33 | {c m : ℕ} (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 34 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 35 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 36 | (z ≫ f).ker.ideal ⟨U,hU⟩) |
| 37 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 38 | (List.ofFn (Fin.append s t))) |
| 39 | (y : (Supported.CechHomotopyEquivalence.functor (PrincipalPoint.Fraction.family U t) |
| 40 | (c+m)).obj (LocalCoordinates.principalDual f z B U hU)) |
| 41 | |
| 42 | local instance sectionAlgebra : Algebra R Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := |
| 43 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R |
| 44 | (Over.mk (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)))) U |
| 45 | |
| 46 | variable (b : Module.Basis (Fin (n+1)) Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 47 | Ω[Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)⁄R]) |
| 48 | |
| 49 | def frame : (AffineOpen.InternalHom.sections U hU).obj (ScalarCoordinates.line (R := R) (n := n)) ≅ |
| 50 | ModuleCat.of Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) |
| 51 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) := |
| 52 | ParameterLineAdjunction.frame (c := n+1) (g := 0) b |
| 53 | ((AffineOpen.InternalHom.sections U hU).obj (ScalarCoordinates.line (R := R) (n := n))) |
| 54 | (Projective.AmbientAdjunction.chartLineExterior i U hU hi (Survivor.chart (R := R))) |
| 55 | |
| 56 | attribute [local irreducible] ParameterLineAdjunction.frame |
| 57 | Projective.AmbientAdjunction.chartLineExterior |
| 58 | Affine.LineFrameNormalization.PrincipalOrientedResidue.sectionFrame |
| 59 | |
| 60 | omit [IsNoetherianRing R] in |
| 61 | theorem scalarFrame_eq : |
| 62 | Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 63 | (Survivor.chart (R := R)) U hU i hi b = |
| 64 | Affine.LineFrameNormalization.PrincipalOrientedResidue.sectionFrame U hU |
| 65 | (ScalarCoordinates.line (R := R) (n := n)) (frame U hU i hi b) := by |
| 66 | dsimp only [Projective.PrincipalResidueCoordinates.scalarFrame, |
| 67 | Projective.ParameterAdjunction.parameterFrame, frame, |
| 68 | ScalarCoordinates.line, ScalarFraction.line] |
| 69 | |
| 70 | def frameCoordinate : R := |
| 71 | ModuleFrame.coordinate f z hbase B hB U hU hcontains i hi |
| 72 | (frame U hU i hi b) s t hst hreg y |
| 73 | |
| 74 | attribute [local irreducible] frame ModuleFrame.coordinate |
| 75 | ScalarCoordinates.value |
| 76 | |
| 77 | theorem value_eq : ScalarCoordinates.value f z hbase B hB U hU hcontains i hi |
| 78 | (Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 79 | (Survivor.chart (R := R)) U hU i hi b) s t hst hreg y = |
| 80 | frameCoordinate f z hbase B hB U hU hcontains i hi s t hst hreg y b := by |
| 81 | dsimp only [frameCoordinate] |
| 82 | rw [scalarFrame_eq] |
| 83 | exact ModuleFrame.value_eq f z hbase B hB U hU hcontains i hi |
| 84 | (frame U hU i hi b) s t hst hreg y |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarFrameValue |