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.CycleClass.Thom.PrincipalDivisor |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.RationalOrderTransport |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.CodimensionZeroSupport |
| 4 | |
| 5 | /-! # Divisor Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.DivisorDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The faithfully defined principal-divisor relations in codimension one |
| 14 | are annihilated by the actual geometric class map, on every presentation. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | namespace Constructions |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.PrincipalDivisor.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.CodimensionZeroSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.RationalOrderTransport.Constructions |
| 23 | |
| 24 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (W : IrreducibleCloseds X.carrier) |
| 25 | |
| 26 | /-- The coefficient vanishes in every other actual component. -/ |
| 27 | theorem principalDivisorCoefficient_other_component (g : (Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 28 | (C : irreducibleComponents X.carrier) (hC : C ≠ X.supportComponent W) |
| 29 | (Z : IrreducibleCloseds (X.componentVariety C).carrier) : |
| 30 | IntersectionGeometry.principalDivisorCoefficient X W g (X.componentSupportImage C Z) = 0 := by |
| 31 | have hout : IntersectionGeometry.supportPoint (X.componentSupportImage C Z) ∉ (W : Set X.carrier) := by |
| 32 | intro hxW |
| 33 | let x := IntersectionGeometry.supportPoint (X.componentSupportImage C Z) |
| 34 | have hxC : x ∈ C.val := X.componentSupportImage_subset C Z |
| 35 | ((X.componentSupportImage C Z).isIrreducible.isGenericPoint_genericPoint |
| 36 | (X.componentSupportImage C Z).isClosed).mem |
| 37 | have hxD : x ∈ (X.supportComponent W).val := X.support_subset_component W hxW |
| 38 | let := X.stalk_isDomain x |
| 39 | exact hC (Subtype.ext (Foundations.Scheme.LocalDomainComponents.irreducibleComponents_eq_of_mem_of_stalkDomain x |
| 40 | C.property (X.supportComponent W).property hxC hxD)) |
| 41 | simp only [IntersectionGeometry.principalDivisorCoefficient, dite_eq_right hout] |
| 42 | |
| 43 | /-- On its component the same coefficient is the order of the actual |
| 44 | function pulled through the canonical reduced-support isomorphism. -/ |
| 45 | theorem principalDivisorCoefficient_component (hW : X.supportCodimension W = 0) |
| 46 | (g : (Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 47 | (Z : IrreducibleCloseds (X.componentVariety (X.supportComponent W)).carrier) : |
| 48 | IntersectionGeometry.principalDivisorCoefficient X W g (X.componentSupportImage (X.supportComponent W) Z) = |
| 49 | ((X.componentVariety (X.supportComponent W)).carrier.ord |
| 50 | (RationalOrderTransport.Constructions.openFunctionFieldMap (CodimensionZeroSupport.Constructions.componentReducedSupportIso X W hW).hom g) (IntersectionGeometry.supportPoint Z) : ℚ) := by |
| 51 | let e := CodimensionZeroSupport.Constructions.componentReducedSupportIso X W hW |
| 52 | have hx : Geometric.GenericPoint.reducedSupportι W (e.hom (IntersectionGeometry.supportPoint Z)) = |
| 53 | IntersectionGeometry.supportPoint (X.componentSupportImage (X.supportComponent W) Z) := by |
| 54 | have h := congrArg (fun k : (X.componentVariety (X.supportComponent W)).carrier ⟶ X.carrier => |
| 55 | k (IntersectionGeometry.supportPoint Z)) (CodimensionZeroSupport.Constructions.componentReducedSupportIso_inclusion X W hW) |
| 56 | exact h.trans (X.componentSupportImage_genericPoint (X.supportComponent W) Z).symm |
| 57 | rw [IntersectionGeometry.principalDivisorCoefficient_at_image X W g _ (e.hom (IntersectionGeometry.supportPoint Z)) hx] |
| 58 | exact congrArg (fun n : ℤ => (n : ℚ)) (RationalOrderTransport.Constructions.ord_openImmersion e.hom g (IntersectionGeometry.supportPoint Z)).symm |
| 59 | |
| 60 | theorem isPrincipalDivisor_geometricClass_zero (d : X.RationalDimensionCycle 1) |
| 61 | (hd : IntersectionGeometry.IsPrincipalDivisor X 1 d) : X.geometricCycleClassMap 1 d = 0 := by |
| 62 | obtain ⟨W, hW, g, hg, hcoeff⟩ := hd |
| 63 | have hW0 : X.supportCodimension W = 0 := by omega |
| 64 | apply (X.componentBettiEquiv (ModuleCat.of ℚ ℚ) 2).injective |
| 65 | funext C |
| 66 | have hc : X.componentBettiEquiv (ModuleCat.of ℚ ℚ) 2 (X.geometricCycleClassMap 1 d) C = |
| 67 | (X.componentVariety C).geometricCycleClassMap 1 (X.componentDimensionCycleEquiv 1 d C) := |
| 68 | X.componentBettiEquiv_geometricCycleClassMap 1 d C |
| 69 | rw [hc, map_zero, Pi.zero_apply] |
| 70 | by_cases hC : C = X.supportComponent W |
| 71 | · subst C |
| 72 | let f := RationalOrderTransport.Constructions.openFunctionFieldMap (CodimensionZeroSupport.Constructions.componentReducedSupportIso X W hW0).hom g |
| 73 | have hf : f ≠ 0 := (map_ne_zero_iff _ (RationalOrderTransport.Constructions.openFunctionFieldMap |
| 74 | (CodimensionZeroSupport.Constructions.componentReducedSupportIso X W hW0).hom).hom.injective).mpr hg |
| 75 | apply PrincipalDivisor.Constructions.geometricClass_zero_of_principal_orders (X.componentVariety (X.supportComponent W)) f hf |
| 76 | intro Z |
| 77 | rw [X.componentDimensionCycleEquiv_apply, hcoeff] |
| 78 | exact principalDivisorCoefficient_component X W hW0 g Z.val |
| 79 | · have hz : X.componentDimensionCycleEquiv 1 d C = 0 := by |
| 80 | ext Z |
| 81 | rw [X.componentDimensionCycleEquiv_apply, hcoeff, Finsupp.zero_apply] |
| 82 | exact principalDivisorCoefficient_other_component X W g C hC Z.val |
| 83 | rw [hz, map_zero] |
| 84 | |
| 85 | theorem rationalEquivalences_le_geometricClass_ker : |
| 86 | IntersectionGeometry.rationalEquivalences X 1 ≤ LinearMap.ker (X.geometricCycleClassMap 1) := by |
| 87 | apply Submodule.span_le.mpr |
| 88 | intro d hd |
| 89 | exact isPrincipalDivisor_geometricClass_zero X d hd |
| 90 | |
| 91 | theorem geometricClass_eq_of_rationallyEquivalent {a b : X.RationalDimensionCycle 1} |
| 92 | (h : IntersectionGeometry.RationallyEquivalent X 1 a b) : X.geometricCycleClassMap 1 a = X.geometricCycleClassMap 1 b := by |
| 93 | have hz := rationalEquivalences_le_geometricClass_ker X h |
| 94 | change X.geometricCycleClassMap 1 (a - b) = 0 at hz |
| 95 | rw [map_sub, sub_eq_zero] at hz |
| 96 | exact hz |
| 97 | |
| 98 | end Constructions |
| 99 | |
| 100 | end |
| 101 | |
| 102 | /-! Principal-divisor coefficients restrict to a component through the actual |
| 103 | isomorphism of reduced support schemes and its actual function-field map. -/ |
| 104 | |
| 105 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 106 | set_option backward.isDefEq.respectTransparency false |
| 107 | set_option backward.isDefEq.respectTransparency.types false |
| 108 | set_option backward.defeqAttrib.useBackward true |
| 109 | |
| 110 | namespace Constructions.PrincipalComponentRestriction |
| 111 | open OAI.AlgebraicGeometry.CycleClass.Thom.RationalOrderTransport.Constructions |
| 112 | |
| 113 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (C : irreducibleComponents X.carrier) |
| 114 | (W : IrreducibleCloseds (X.componentVariety C).carrier) |
| 115 | |
| 116 | /-- The coefficient comparison is valid for every irreducible test support. -/ |
| 117 | theorem principalDivisorCoefficient_componentImage |
| 118 | (g : (Geometric.GenericPoint.reducedSupportScheme (X.componentSupportImage C W)).functionField) |
| 119 | (Z : IrreducibleCloseds (X.componentVariety C).carrier) : |
| 120 | IntersectionGeometry.principalDivisorCoefficient X (X.componentSupportImage C W) g (X.componentSupportImage C Z) = |
| 121 | IntersectionGeometry.principalDivisorCoefficient (X.componentVariety C).presentation W |
| 122 | (RationalOrderTransport.Constructions.openFunctionFieldMap (X.componentSupportSchemeIso C W).hom g) Z := by |
| 123 | let e := X.componentSupportSchemeIso C W |
| 124 | by_cases hz : IntersectionGeometry.supportPoint Z ∈ (W : Set (X.componentVariety C).carrier) |
| 125 | · let x := IntersectionGeometry.supportPreimage W (IntersectionGeometry.supportPoint Z) hz |
| 126 | have hx : Geometric.GenericPoint.reducedSupportι W x = IntersectionGeometry.supportPoint Z := IntersectionGeometry.supportPreimage_spec W (IntersectionGeometry.supportPoint Z) hz |
| 127 | have hxy : Geometric.GenericPoint.reducedSupportι (X.componentSupportImage C W) (e.hom x) = |
| 128 | IntersectionGeometry.supportPoint (X.componentSupportImage C Z) := by |
| 129 | have h := congrArg (fun k : Geometric.GenericPoint.reducedSupportScheme W ⟶ X.carrier => k x) |
| 130 | (X.componentSupportSchemeIso_hom_inclusion C W) |
| 131 | exact h.trans ((congrArg (X.componentInclusion C) hx).trans |
| 132 | (X.componentSupportImage_genericPoint C Z).symm) |
| 133 | rw [IntersectionGeometry.principalDivisorCoefficient_at_image X _ g _ (e.hom x) hxy, |
| 134 | IntersectionGeometry.principalDivisorCoefficient_at_image (X.componentVariety C).presentation W _ Z x hx] |
| 135 | exact congrArg (fun n : ℤ => (n : ℚ)) (RationalOrderTransport.Constructions.ord_openImmersion e.hom g x).symm |
| 136 | · have hout : IntersectionGeometry.supportPoint (X.componentSupportImage C Z) ∉ |
| 137 | (X.componentSupportImage C W : Set X.carrier) := by |
| 138 | intro h |
| 139 | change IntersectionGeometry.supportPoint (X.componentSupportImage C Z) ∈ |
| 140 | X.componentInclusion C '' (W : Set (X.componentVariety C).carrier) at h |
| 141 | rw [show IntersectionGeometry.supportPoint (X.componentSupportImage C Z) = X.componentInclusion C (IntersectionGeometry.supportPoint Z) from |
| 142 | X.componentSupportImage_genericPoint C Z] at h |
| 143 | obtain ⟨x, hx, he⟩ := h |
| 144 | exact hz ((X.componentInclusion C).isClosedEmbedding.injective he ▸ hx) |
| 145 | simp only [IntersectionGeometry.principalDivisorCoefficient, dite_eq_right hout, dite_eq_right hz] |
| 146 | |
| 147 | end Constructions.PrincipalComponentRestriction |
| 148 | |
| 149 | end |
| 150 | |
| 151 | end OAI.AlgebraicGeometry.CycleClass.Thom.DivisorDescent |