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.Divisor.SupportCycle |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedCycleRelation |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction |
| 4 | |
| 5 | /-! # Restricted Support Relation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RestrictedSupportRelation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restrict a support rational function to the actual components of |
| 12 | its divisor intersection. Their weighted principal divisors construct a |
| 13 | native ambient rational-equivalence relation. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction.Restriction OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedSupport |
| 21 | |
| 22 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m r : ℕ) |
| 23 | [SmoothOfRelativeDimension m X.structureMap] |
| 24 | (D : X.DimensionCycleSupport 1) (W : X.DimensionCycleSupport r) (hDW : ¬ W.val ≤ D.val) |
| 25 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) |
| 26 | (hunit : ∀ y : CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val, Order.coheight y = 1 → |
| 27 | CycleClass.Geometric.GenericPoint.reducedSupportι W.val y ∈ (D.val : Set X.carrier) → |
| 28 | ∃ u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk y, IsUnit u ∧ |
| 29 | algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk y) |
| 30 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField u = g) |
| 31 | (A : X.DimensionCycleSupport (1 + r)) (hA : A ∈ (Divisor.SupportCycle.cycle X m r D W).support) |
| 32 | |
| 33 | def inner : IrreducibleCloseds (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val) := |
| 34 | NestedSupport.innerSupport X.carrier A.val W.val (Divisor.SupportCycle.support_subset X m r D W hDW A hA).2 |
| 35 | |
| 36 | theorem inner_height : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint (inner X m r D W hDW A hA)) = 1 := |
| 37 | Divisor.SupportCycle.inner_coheight X m r D W hDW A hA |
| 38 | |
| 39 | theorem inner_point_mem : CycleClass.Geometric.GenericPoint.reducedSupportι W.val (CycleClass.Thom.IntersectionGeometry.supportPoint (inner X m r D W hDW A hA)) ∈ |
| 40 | (D.val : Set X.carrier) := by |
| 41 | rw [inner, NestedSupport.innerSupport_point, CycleClass.Thom.IntersectionGeometry.supportPreimage_spec] |
| 42 | exact (Divisor.SupportCycle.support_subset X m r D W hDW A hA).1 |
| 43 | (A.val.isIrreducible.isGenericPoint_genericPoint A.val.isClosed).mem |
| 44 | |
| 45 | def unit : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint (inner X m r D W hDW A hA)) := |
| 46 | (hunit _ (inner_height X m r D W hDW A hA) (inner_point_mem X m r D W hDW A hA)).choose |
| 47 | |
| 48 | theorem unit_isUnit : IsUnit (unit X m r D W hDW g hunit A hA) := |
| 49 | (hunit _ (inner_height X m r D W hDW A hA) (inner_point_mem X m r D W hDW A hA)).choose_spec.1 |
| 50 | |
| 51 | theorem unit_function : algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk |
| 52 | (CycleClass.Thom.IntersectionGeometry.supportPoint (inner X m r D W hDW A hA))) (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField |
| 53 | (unit X m r D W hDW g hunit A hA) = g := |
| 54 | (hunit _ (inner_height X m r D W hDW A hA) (inner_point_mem X m r D W hDW A hA)).choose_spec.2 |
| 55 | |
| 56 | def function : (CycleClass.Geometric.GenericPoint.reducedSupportScheme (inner X m r D W hDW A hA)).functionField := |
| 57 | Support.LocalFraction.Restriction.toFunctionField (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val) (inner X m r D W hDW A hA) |
| 58 | (CycleClass.Thom.IntersectionGeometry.supportPoint (inner X m r D W hDW A hA)) |
| 59 | ((inner X m r D W hDW A hA).isIrreducible.isGenericPoint_genericPoint |
| 60 | (inner X m r D W hDW A hA).isClosed).mem |
| 61 | (unit X m r D W hDW g hunit A hA) |
| 62 | |
| 63 | theorem function_ne_zero : function X m r D W hDW g hunit A hA ≠ 0 := |
| 64 | ((unit_isUnit X m r D W hDW g hunit A hA).map (Support.LocalFraction.Restriction.toFunctionField (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val) |
| 65 | (inner X m r D W hDW A hA) (CycleClass.Thom.IntersectionGeometry.supportPoint (inner X m r D W hDW A hA)) |
| 66 | ((inner X m r D W hDW A hA).isIrreducible.isGenericPoint_genericPoint |
| 67 | (inner X m r D W hDW A hA).isClosed).mem).hom).ne_zero |
| 68 | |
| 69 | def term : X.RationalDimensionCycle (1 + (r + 1)) := NestedCycleRelation.Principal.cycle X (1 + (r + 1)) W.val |
| 70 | (inner X m r D W hDW A hA) (function X m r D W hDW g hunit A hA) |
| 71 | |
| 72 | theorem term_isPrincipal : CycleClass.Thom.IntersectionGeometry.IsPrincipalDivisor X (1 + (r + 1)) (term X m r D W hDW g hunit A hA) := |
| 73 | NestedCycleRelation.isPrincipal X m r (1 + (r + 1)) W (inner X m r D W hDW A hA) |
| 74 | (inner_height X m r D W hDW A hA) (by omega) (function X m r D W hDW g hunit A hA) |
| 75 | (function_ne_zero X m r D W hDW g hunit A hA) |
| 76 | |
| 77 | omit A hA in |
| 78 | def cycle : X.RationalDimensionCycle (1 + (r + 1)) := |
| 79 | ∑ A : (Divisor.SupportCycle.cycle X m r D W).support, |
| 80 | (Divisor.SupportCycle.cycle X m r D W A.val) • term X m r D W hDW g hunit A.val A.property |
| 81 | |
| 82 | omit A hA in |
| 83 | theorem cycle_mem : cycle X m r D W hDW g hunit ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X (1 + (r + 1)) := by |
| 84 | apply Submodule.sum_mem |
| 85 | intro A _ |
| 86 | exact Submodule.smul_mem _ _ (Submodule.subset_span (term_isPrincipal X m r D W hDW g hunit A.val A.property)) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RestrictedSupportRelation |