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.Affine.PrincipalWeight |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportGermOrder |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ChartGerm |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalWeightDivisorOrder |
| 5 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.Prime |
| 6 | |
| 7 | /-! # Principal Weight Transport -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalWeightTransport |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Affine principal weights agree with the native divisor weights |
| 14 | of the original support and its ambient chart section. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | theorem native (R : Type) [CommRing R] [IsNoetherianRing R] |
| 22 | (v z : PrimeSpectrum R) (hvz : v.asIdeal ≤ z.asIdeal) (r : R) : |
| 23 | PrincipalWeight.weight R v r z = |
| 24 | GlobalParameterSum.Weights.weight (Spec (.of R)) z (StructureSheaf.toStalk R z r) |
| 25 | (SupportStalk.support R v) := by |
| 26 | rw [PrincipalWeight.weight, dite_eq_left hvz] |
| 27 | exact (GlobalWeightDivisorOrder.order (Spec (.of R)) z (StructureSheaf.toStalk R z r) |
| 28 | (SupportStalk.support R v) (SupportStalk.mem R v z hvz)).symm |
| 29 | |
| 30 | theorem chart (X : Scheme) (W : IrreducibleCloseds X) (U : X.Opens) (hU : IsAffineOpen U) |
| 31 | [Nonempty ((CycleClass.Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U)] [IsNoetherianRing Γ(X, U)] |
| 32 | (z : PrimeSpectrum Γ(X, U)) |
| 33 | (hvz : (ClosedSupportCoordinates.prime (CycleClass.Geometric.GenericPoint.reducedSupportι W) U).asIdeal ≤ z.asIdeal) |
| 34 | (hzU : hU.fromSpec z ∈ U) (r : Γ(X, U)) : |
| 35 | PrincipalWeight.weight Γ(X, U) |
| 36 | (ClosedSupportCoordinates.prime (CycleClass.Geometric.GenericPoint.reducedSupportι W) U) r z = |
| 37 | GlobalParameterSum.Weights.weight X (hU.fromSpec z) |
| 38 | (X.presheaf.germ U (hU.fromSpec z) hzU r) W := by |
| 39 | let v := ClosedSupportCoordinates.prime (CycleClass.Geometric.GenericPoint.reducedSupportι W) U |
| 40 | let A := SupportStalk.support Γ(X, U) v |
| 41 | have hA : hU.fromSpec (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint W := by |
| 42 | rw [SupportStalk.point] |
| 43 | exact (ClosedSupportCoordinates.point (CycleClass.Geometric.GenericPoint.reducedSupportι W) U hU).trans |
| 44 | (CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq W) |
| 45 | have hzA := SupportStalk.mem Γ(X, U) v z hvz |
| 46 | have hzW : hU.fromSpec z ∈ (W : Set X) := |
| 47 | CoverIsolation.image_subset hU.fromSpec A W hA ⟨z, hzA, rfl⟩ |
| 48 | rw [native Γ(X, U) v z hvz r] |
| 49 | rw [← ChartGerm.apply X U hU z hzU r] |
| 50 | exact Open.SupportGermOrder.weight hU.fromSpec A W hA z hzA hzW |
| 51 | (X.presheaf.germ U (hU.fromSpec z) hzU r) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalWeightTransport |