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.NestedGenericRestriction |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 4 | |
| 5 | /-! # Restricted Principal Cycle -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.RestrictedPrincipalCycle |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The restricted rational function on each component of a finite |
| 12 | intersection cycle gives a native principal-divisor relation in the |
| 13 | next codimension. All weights are the original cycle coefficients. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped Classical |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports.ProperCycle |
| 22 | |
| 23 | theorem pair_support (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p k : ℕ) |
| 24 | [SmoothOfRelativeDimension m X.structureMap] |
| 25 | (A : X.DimensionCycleSupport p) (W : X.DimensionCycleSupport k) |
| 26 | (hproper : Supports.ProperCycle.pairMeetsProperly X p k A W) |
| 27 | (C : X.DimensionCycleSupport (p + k)) (hC : C ∈ (Supports.ProperCycle.pairCycle X m p k A W).support) : |
| 28 | C.val ≤ A.val ∧ C.val ≤ W.val := by |
| 29 | have hne := Finsupp.mem_support_iff.mp hC |
| 30 | rw [Supports.ProperCycle.pairCycle_apply X m p k A W hproper] at hne |
| 31 | have hpoint : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier) ∧ |
| 32 | CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (W.val : Set X.carrier) := by |
| 33 | by_contra h |
| 34 | exact hne (dite_eq_right h) |
| 35 | exact ⟨(Supports.supportPoint_mem_iff_subset ⟨_, A.val.isClosed⟩ C.val).mp hpoint.1, |
| 36 | (Supports.supportPoint_mem_iff_subset ⟨_, W.val.isClosed⟩ C.val).mp hpoint.2⟩ |
| 37 | |
| 38 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (q : ℕ) (W : IrreducibleCloseds X.carrier) |
| 39 | (c : X.RationalDimensionCycle q) (hc : ∀ C ∈ c.support, C.val ≤ W) |
| 40 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 41 | (hunit : ∀ C : c.support, |
| 42 | ∃ u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk |
| 43 | (NestedGenericRestriction.point X.carrier C.val.val W (hc C.val C.property)), |
| 44 | IsUnit u ∧ algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField u = g) |
| 45 | |
| 46 | def cycle : X.RationalDimensionCycle (q + 1) := |
| 47 | ∑ C : c.support, c C.val • Principal.ClosedSectionCycle.principalCycle X (q + 1) C.val.val |
| 48 | (NestedGenericRestriction.function X.carrier C.val.val W (hc C.val C.property) g (hunit C)) |
| 49 | |
| 50 | theorem rationally_zero : cycle X q W c hc g hunit ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (q + 1) := by |
| 51 | apply Submodule.sum_mem |
| 52 | intro C _ |
| 53 | apply Submodule.smul_mem |
| 54 | apply Submodule.subset_span |
| 55 | exact Principal.ClosedSectionCycle.principalCycle_isPrincipalDivisor X (q + 1) C.val.val (by rw [C.val.property]) |
| 56 | (NestedGenericRestriction.function X.carrier C.val.val W (hc C.val C.property) g (hunit C)) |
| 57 | (NestedGenericRestriction.function_ne_zero X.carrier C.val.val W (hc C.val C.property) g (hunit C)) |
| 58 | |
| 59 | theorem coefficient (D : X.DimensionCycleSupport (q + 1)) : |
| 60 | cycle X q W c hc g hunit D = |
| 61 | ∑ C : c.support, c C.val * CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient X C.val.val |
| 62 | (NestedGenericRestriction.function X.carrier C.val.val W (hc C.val C.property) g (hunit C)) D.val := by |
| 63 | simp only [cycle, Finsupp.finsetSum_apply, Finsupp.smul_apply, smul_eq_mul, Principal.ClosedSectionCycle.principalCycle_apply] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.RestrictedPrincipalCycle |