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.NestedSupport |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction |
| 3 | |
| 4 | /-! # Nested Generic Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedGenericRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction of a rational function that is a unit at the generic |
| 11 | point of a nested support, through the actual closed-immersion stalk map. -/ |
| 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.NestedSupport |
| 19 | |
| 20 | def stalkToField (Y : Scheme) [IsIntegral Y] (y : Y) : Y.presheaf.stalk y ⟶ Y.functionField := |
| 21 | CommRingCat.ofHom (algebraMap (Y.presheaf.stalk y) Y.functionField) |
| 22 | |
| 23 | variable (X : Scheme) (C W : IrreducibleCloseds X) (hCW : C ≤ W) |
| 24 | |
| 25 | def point : CycleClass.Geometric.GenericPoint.reducedSupportScheme W := CycleClass.Thom.IntersectionGeometry.supportPreimage W (CycleClass.Thom.IntersectionGeometry.supportPoint C) |
| 26 | (hCW (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem) |
| 27 | |
| 28 | def map : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (point X C W hCW) ⟶ |
| 29 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField := |
| 30 | eqToHom (congrArg (fun x => (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk x) |
| 31 | (NestedSupport.inclusion_genericPoint X C W hCW).symm) ≫ |
| 32 | (NestedSupport.inclusion X C W hCW).stalkMap (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) ≫ |
| 33 | stalkToField (CycleClass.Geometric.GenericPoint.reducedSupportScheme C) (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) |
| 34 | |
| 35 | theorem section_eq (U : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).Opens) |
| 36 | [Nonempty ((NestedSupport.inclusion X C W hCW) ⁻¹ᵁ U)] |
| 37 | (hx : point X C W hCW ∈ U) (a : Γ(CycleClass.Geometric.GenericPoint.reducedSupportScheme W, U)) : |
| 38 | NestedGenericRestriction.map X C W hCW ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.germ U (point X C W hCW) hx a) = |
| 39 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).germToFunctionField ((NestedSupport.inclusion X C W hCW) ⁻¹ᵁ U) |
| 40 | ((NestedSupport.inclusion X C W hCW).app U a) := by |
| 41 | simpa only [NestedGenericRestriction.map, stalkToField, CommRingCat.comp_apply] using |
| 42 | congrArg (fun f : Γ(CycleClass.Geometric.GenericPoint.reducedSupportScheme W, U) ⟶ (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField => f a) |
| 43 | (Support.LocalFraction.Restriction.germ_square (NestedSupport.inclusion X C W hCW) U |
| 44 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) (point X C W hCW) |
| 45 | (NestedSupport.inclusion_genericPoint X C W hCW) hx) |
| 46 | |
| 47 | variable (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 48 | (hunit : ∃ u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (point X C W hCW), |
| 49 | IsUnit u ∧ algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField u = g) |
| 50 | |
| 51 | def function : (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField := NestedGenericRestriction.map X C W hCW hunit.choose |
| 52 | |
| 53 | theorem function_ne_zero : function X C W hCW g hunit ≠ 0 := |
| 54 | ((hunit.choose_spec.1).map (NestedGenericRestriction.map X C W hCW).hom).ne_zero |
| 55 | |
| 56 | theorem function_eq (u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (point X C W hCW)) |
| 57 | (hu : algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField u = g) : |
| 58 | function X C W hCW g hunit = NestedGenericRestriction.map X C W hCW u := by |
| 59 | apply congrArg (NestedGenericRestriction.map X C W hCW) |
| 60 | exact IsFractionRing.injective _ _ (hunit.choose_spec.2.trans hu.symm) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedGenericRestriction |