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.NestedSupportStalk |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.GenericField |
| 4 | |
| 5 | /-! # Nested Generic Ratio -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedGenericRatio |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Restricting a generically invertible rational function to a |
| 14 | nested support respects genuine local fractions and ambient germs. -/ |
| 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 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedSupport OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedGenericRestriction OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 22 | |
| 23 | variable (X : Scheme) (C W : IrreducibleCloseds X) (hCW : C ≤ W) |
| 24 | |
| 25 | theorem comp (hxC : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (C : Set X)) |
| 26 | (hxW : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (W : Set X)) : |
| 27 | Local.Principal.supportStalkMap X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW ≫ NestedGenericRestriction.map X C W hCW = |
| 28 | Support.LocalFraction.Restriction.toFunctionField X C (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxC := by |
| 29 | have h := NestedSupportStalk.stalk_comp (NestedSupport.inclusion X C W hCW) (CycleClass.Geometric.GenericPoint.reducedSupportι W) (CycleClass.Geometric.GenericPoint.reducedSupportι C) |
| 30 | (NestedSupport.inclusion_fac X C W hCW) (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) (NestedGenericRestriction.point X C W hCW) (CycleClass.Thom.IntersectionGeometry.supportPoint C) |
| 31 | (NestedSupport.inclusion_genericPoint X C W hCW) (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W _ hxW) (CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq C) |
| 32 | change Local.Principal.supportStalkMap X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW ≫ |
| 33 | (eqToHom (congrArg (fun y => (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk y) |
| 34 | (NestedSupport.inclusion_genericPoint X C W hCW).symm) ≫ (NestedSupport.inclusion X C W hCW).stalkMap (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C))) = |
| 35 | eqToHom (congrArg (fun y => X.presheaf.stalk y) (CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq C).symm) ≫ |
| 36 | (CycleClass.Geometric.GenericPoint.reducedSupportι C).stalkMap (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) at h |
| 37 | rw [NestedGenericRestriction.map, ← Category.assoc, ← Category.assoc, Category.assoc |
| 38 | (Local.Principal.supportStalkMap X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW), h] |
| 39 | rw [NestedGenericRestriction.stalkToField, Support.GenericField.generic_algebraMap, Category.comp_id, |
| 40 | Support.GenericField.toFunctionField_generic] |
| 41 | |
| 42 | theorem ratio (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 43 | (hunit : ∃ u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (NestedGenericRestriction.point X C W hCW), |
| 44 | IsUnit u ∧ algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField u = g) |
| 45 | (a b : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (NestedGenericRestriction.point X C W hCW)) (hb : IsUnit b) |
| 46 | (hg : g = algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField a / |
| 47 | algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField b) : |
| 48 | NestedGenericRestriction.function X C W hCW g hunit = |
| 49 | NestedGenericRestriction.map X C W hCW a / NestedGenericRestriction.map X C W hCW b := by |
| 50 | apply (eq_div_iff (hb.map (NestedGenericRestriction.map X C W hCW).hom).ne_zero).mpr |
| 51 | change NestedGenericRestriction.map X C W hCW hunit.choose * |
| 52 | NestedGenericRestriction.map X C W hCW b = NestedGenericRestriction.map X C W hCW a |
| 53 | rw [← map_mul] |
| 54 | apply congrArg (NestedGenericRestriction.map X C W hCW) |
| 55 | apply IsFractionRing.injective _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField |
| 56 | rw [map_mul, hunit.choose_spec.2] |
| 57 | exact (eq_div_iff (hb.map (algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField)).ne_zero).mp hg |
| 58 | |
| 59 | theorem ambient_ratio (hxC : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (C : Set X)) (hxW : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (W : Set X)) |
| 60 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 61 | (hunit : ∃ u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (NestedGenericRestriction.point X C W hCW), |
| 62 | IsUnit u ∧ algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField u = g) |
| 63 | (a b : X.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C)) (hb : IsUnit (Local.Principal.supportStalkMap X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW b)) |
| 64 | (hg : g = Support.LocalFraction.Restriction.toFunctionField X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW a / |
| 65 | Support.LocalFraction.Restriction.toFunctionField X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW b) : |
| 66 | NestedGenericRestriction.function X C W hCW g hunit = |
| 67 | Support.LocalFraction.Restriction.toFunctionField X C (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxC a / |
| 68 | Support.LocalFraction.Restriction.toFunctionField X C (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxC b := by |
| 69 | have ha := congrArg (fun f : X.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C) ⟶ (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField => f a) |
| 70 | (comp X C W hCW hxC hxW) |
| 71 | have hb' := congrArg (fun f : X.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C) ⟶ (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField => f b) |
| 72 | (comp X C W hCW hxC hxW) |
| 73 | exact (ratio X C W hCW g hunit (Local.Principal.supportStalkMap X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW a) |
| 74 | (Local.Principal.supportStalkMap X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW b) hb hg).trans |
| 75 | (congrArg₂ (fun a b => a / b) ha hb') |
| 76 | |
| 77 | end |
| 78 | |
| 79 | /-! A fraction of ambient sections which are units at a generic |
| 80 | intersection point gives the same restricted rational function at |
| 81 | every point of that support in the section domain. -/ |
| 82 | |
| 83 | set_option backward.isDefEq.respectTransparency false |
| 84 | set_option backward.isDefEq.respectTransparency.types false |
| 85 | |
| 86 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 87 | |
| 88 | namespace Section |
| 89 | |
| 90 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction.Restriction OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedGenericRestriction |
| 91 | |
| 92 | theorem ratio (X : Scheme) (C W : IrreducibleCloseds X) (hCW : C ≤ W) |
| 93 | (hxC : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (C : Set X)) (hxW : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (W : Set X)) |
| 94 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 95 | (hunit : ∃ u : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (NestedGenericRestriction.point X C W hCW), |
| 96 | IsUnit u ∧ algebraMap _ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField u = g) |
| 97 | (U : X.Opens) (hU : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ U) (a b : Γ(X, U)) |
| 98 | (ha : IsUnit (X.presheaf.germ U (CycleClass.Thom.IntersectionGeometry.supportPoint C) hU a)) |
| 99 | (hb : IsUnit (X.presheaf.germ U (CycleClass.Thom.IntersectionGeometry.supportPoint C) hU b)) |
| 100 | (hg : g = Support.LocalFraction.Restriction.toFunctionField X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW (X.presheaf.germ U (CycleClass.Thom.IntersectionGeometry.supportPoint C) hU a) / |
| 101 | Support.LocalFraction.Restriction.toFunctionField X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW (X.presheaf.germ U (CycleClass.Thom.IntersectionGeometry.supportPoint C) hU b)) |
| 102 | (x : X) (hx : x ∈ (C : Set X)) (hxU : x ∈ U) : |
| 103 | Support.LocalFraction.Restriction.toFunctionField X C x hx (X.presheaf.germ U x hxU a) ≠ 0 ∧ |
| 104 | Support.LocalFraction.Restriction.toFunctionField X C x hx (X.presheaf.germ U x hxU b) ≠ 0 ∧ |
| 105 | NestedGenericRestriction.function X C W hCW g hunit = |
| 106 | Support.LocalFraction.Restriction.toFunctionField X C x hx (X.presheaf.germ U x hxU a) / |
| 107 | Support.LocalFraction.Restriction.toFunctionField X C x hx (X.presheaf.germ U x hxU b) := by |
| 108 | have ha' := (ha.map (Support.LocalFraction.Restriction.toFunctionField X C (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxC).hom).ne_zero |
| 109 | have hb' := (hb.map (Support.LocalFraction.Restriction.toFunctionField X C (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxC).hom).ne_zero |
| 110 | have hr := ambient_ratio X C W hCW hxC hxW g hunit |
| 111 | (X.presheaf.germ U (CycleClass.Thom.IntersectionGeometry.supportPoint C) hU a) (X.presheaf.germ U (CycleClass.Thom.IntersectionGeometry.supportPoint C) hU b) |
| 112 | (hb.map (Local.Principal.supportStalkMap X W (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxW).hom) hg |
| 113 | rw [Support.LocalFraction.Restriction.germ_independent X C U (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxC hU x hx hxU a] at ha' hr |
| 114 | rw [Support.LocalFraction.Restriction.germ_independent X C U (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxC hU x hx hxU b] at hb' hr |
| 115 | exact ⟨ha', hb', hr⟩ |
| 116 | |
| 117 | end Section |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedGenericRatio |