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.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.PrincipalComponentSum |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoveredPrincipalExpansion |
| 3 | |
| 4 | /-! # Principal Component Sum -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalComponentSum |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Geometric support covers identify an affine principal quotient |
| 11 | with a sum of native ambient intersection-component weights. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.SupportStalk |
| 19 | |
| 20 | theorem coefficient (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 21 | [SmoothOfRelativeDimension m V.structureMap] |
| 22 | (R : Type) [CommRing R] [IsNoetherianRing R] |
| 23 | (j : Spec (.of R) ⟶ V.carrier) [IsOpenImmersion j] |
| 24 | (v : PrimeSpectrum R) (r : R) (hr : r ∉ v.asIdeal) |
| 25 | (W : IrreducibleCloseds V.carrier) (hW : j v = CycleClass.Thom.IntersectionGeometry.supportPoint W) |
| 26 | (F : Finset (IrreducibleCloseds V.carrier)) |
| 27 | (hF : ∀ B ∈ F, q ≤ V.supportCodimension B) |
| 28 | (hcover : ∀ w ∈ Module.support R (QuotSMulTop r (R ⧸ v.asIdeal)), |
| 29 | ∃ B ∈ F, j w ∈ (B : Set V.carrier)) |
| 30 | (A : V.DimensionCycleSupport p) (A₀ : IrreducibleCloseds (Spec (.of R))) |
| 31 | (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A₀) = CycleClass.Thom.IntersectionGeometry.supportPoint A.val) |
| 32 | (hproper : ∀ B ∈ F, ∀ D : IrreducibleCloseds V.carrier, |
| 33 | (D : Set V.carrier) ⊆ (A.val : Set V.carrier) ∩ (B : Set V.carrier) → |
| 34 | p + V.supportCodimension B ≤ V.supportCodimension D) |
| 35 | (C : V.DimensionCycleSupport (p + q)) (x : PrimeSpectrum R) |
| 36 | (hx : j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) (hxA : x ∈ (A₀ : Set (Spec (.of R)))) |
| 37 | (hvx : v.asIdeal ≤ x.asIdeal) (s : V.carrier.presheaf.stalk (j x)) |
| 38 | (hs : j.stalkMap x s = StructureSheaf.toStalk R x r) : |
| 39 | CoveredPrincipalExpansion.pairing R v r A₀ x hxA hvx m = |
| 40 | ∑ D ∈ Finite.ClosedComponents.components V.carrier |
| 41 | (IsolatedGeometricComponents.intersection V.carrier W A.val), |
| 42 | TotalTorCoefficient.coefficient V.carrier W A.val (CycleClass.Thom.IntersectionGeometry.supportPoint D) m * |
| 43 | GlobalParameterSum.Weights.weight V.carrier (j x) s D := by |
| 44 | let : IsDomain (V.carrier.presheaf.stalk (j x)) := V.stalk_isDomain (j x) |
| 45 | have hW₀ : j (CycleClass.Thom.IntersectionGeometry.supportPoint (SupportStalk.support R v)) = CycleClass.Thom.IntersectionGeometry.supportPoint W := by rw [SupportStalk.point]; exact hW |
| 46 | have hxW₀ := SupportStalk.mem R v x hvx |
| 47 | have hxW : j x ∈ (W : Set V.carrier) := |
| 48 | CoverIsolation.image_subset j (SupportStalk.support R v) W hW₀ ⟨x, hxW₀, rfl⟩ |
| 49 | have hxAj : j x ∈ (A.val : Set V.carrier) := |
| 50 | CoverIsolation.image_subset j A₀ A.val hA ⟨x, hxA, rfl⟩ |
| 51 | let : HasProjectiveDimensionLE (CycleClass.Thom.IntersectionGeometry.localSupportModule V.carrier A.val (j x) hxAj) m := |
| 52 | Smooth.StalkDimension.stalk_bound V.structureMap m (j x) _ |
| 53 | have hiso := PrincipalIsolation.isolated V m p q R j v r F hF hcover A A₀ hA hproper |
| 54 | C x hx hxA hvx |
| 55 | have hnonzero := PrincipalBaseChange.SupportOrder.image_ne_zero R v x hvx r hr |
| 56 | have he := Open.PrincipalComponentSum.coefficient j (SupportStalk.support R v) A₀ W A.val hW₀ hA x |
| 57 | hxW₀ hxA hxW hxAj s (by rwa [hs]) m (by rwa [hs]) |
| 58 | unfold CoveredPrincipalExpansion.pairing |
| 59 | rw [← hs] |
| 60 | exact he |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalComponentSum |