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.Projective.Approximation |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.Normal |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveSupports |
| 5 | |
| 6 | /-! # Chow Moving -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.ChowMoving |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Divisor moving on every smooth projective presentation. Actual principal |
| 13 | divisors remove any finite list of divisor components, so two divisor cycles |
| 14 | always have rationally equivalent representatives meeting properly. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped BigOperators Classical |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 22 | |
| 23 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 24 | |
| 25 | include m |
| 26 | |
| 27 | theorem exists_principal_separating (S : Finset (X.DimensionCycleSupport 1)) (A : S) : |
| 28 | ∃ d : X.RationalDimensionCycle 1, CycleClass.Thom.IntersectionGeometry.IsPrincipalDivisor X 1 d ∧ |
| 29 | ∀ B : S, d B.val = if B = A then 1 else 0 := by |
| 30 | classical |
| 31 | let C := ZeroComponents.containingComponent X m A.val.val |
| 32 | let : IsOpenImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι C.val) := |
| 33 | Open.Support.inclusion_isOpenImmersion C.val (Open.Support.codimension_zero_isOpen X m C) |
| 34 | let : SmoothOfRelativeDimension m (CycleClass.Geometric.SupportFiniteType.supportStructureMap C.val X.structureMap) := by |
| 35 | simpa only [zero_add, CycleClass.Geometric.SupportFiniteType.supportStructureMap] using |
| 36 | (smoothOfRelativeDimension_comp 0 m (CycleClass.Geometric.GenericPoint.reducedSupportι C.val) X.structureMap) |
| 37 | let : Smooth (CycleClass.Geometric.SupportFiniteType.supportStructureMap C.val X.structureMap) := |
| 38 | SmoothOfRelativeDimension.smooth m _ |
| 39 | let T := {B : S // CycleClass.Thom.IntersectionGeometry.supportPoint B.val.val ∈ (C.val : Set X.carrier)} |
| 40 | let y : T → CycleClass.Geometric.GenericPoint.reducedSupportScheme C.val := fun B => |
| 41 | CycleClass.Thom.IntersectionGeometry.supportPreimage C.val (CycleClass.Thom.IntersectionGeometry.supportPoint B.val.val.val) B.property |
| 42 | have hy (B : T) : CycleClass.Geometric.GenericPoint.reducedSupportι C.val (y B) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val.val.val := |
| 43 | CycleClass.Thom.IntersectionGeometry.supportPreimage_spec _ _ _ |
| 44 | have hheight (B : T) : Order.coheight (y B) = 1 := by |
| 45 | rw [← coheight_eq_of_isOpenImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι C.val), hy] |
| 46 | exact CurveSupports.coheight_one X m B.val.val |
| 47 | have hinj : Function.Injective y := by |
| 48 | intro B D h |
| 49 | apply Subtype.ext |
| 50 | apply Subtype.ext |
| 51 | apply Subtype.ext |
| 52 | apply irreducibleSetEquivPoints.injective |
| 53 | exact (hy B).symm.trans ((congrArg (CycleClass.Geometric.GenericPoint.reducedSupportι C.val) h).trans (hy D)) |
| 54 | obtain ⟨g, hg, he⟩ := Projective.Approximation.exists_orders |
| 55 | (X.projective.reducedSupport C.val) |
| 56 | (ProjectionFormula.Smooth.Normal.stalk_integrallyClosed (CycleClass.Geometric.SupportFiniteType.supportStructureMap C.val X.structureMap)) |
| 57 | y hheight hinj (fun B => if B.val = A then 1 else 0) |
| 58 | refine ⟨Principal.ClosedSectionCycle.principalCycle X 1 C.val g, |
| 59 | Principal.ClosedSectionCycle.principalCycle_isPrincipalDivisor X 1 C.val (by rw [C.property]) g hg, fun B => ?_⟩ |
| 60 | rw [Principal.ClosedSectionCycle.principalCycle_apply] |
| 61 | by_cases hB : CycleClass.Thom.IntersectionGeometry.supportPoint B.val.val ∈ (C.val : Set X.carrier) |
| 62 | · rw [CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient, dite_eq_left hB] |
| 63 | have h := he (⟨B, hB⟩ : T) |
| 64 | change (CycleClass.Geometric.GenericPoint.reducedSupportScheme C.val).ord g (CycleClass.Thom.IntersectionGeometry.supportPreimage C.val _ hB) = |
| 65 | (if B = A then 1 else 0) at h |
| 66 | rw [h] |
| 67 | split_ifs <;> norm_num |
| 68 | · rw [CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient, dite_eq_right hB, ite_eq_right] |
| 69 | intro h |
| 70 | subst B |
| 71 | exact hB ((ZeroComponents.subset_containingComponent X m A.val.val) |
| 72 | (A.val.val.isIrreducible.isGenericPoint_genericPoint A.val.val.isClosed).mem) |
| 73 | |
| 74 | theorem exists_rationallyEquivalent_avoiding (S : Finset (X.DimensionCycleSupport 1)) |
| 75 | (a : X.RationalDimensionCycle 1) : |
| 76 | ∃ a' : X.RationalDimensionCycle 1, CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 a a' ∧ |
| 77 | ∀ B ∈ S, a' B = 0 := by |
| 78 | classical |
| 79 | choose d hd he using exists_principal_separating X m S |
| 80 | let c := ∑ A : S, a A.val • d A |
| 81 | refine ⟨a - c, ?_, fun B hB => ?_⟩ |
| 82 | · change a - (a - c) ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences X 1 |
| 83 | rw [sub_sub_cancel] |
| 84 | exact Submodule.sum_mem _ (fun A _ => Submodule.smul_mem _ _ (Submodule.subset_span (hd A))) |
| 85 | · change a B - c B = 0 |
| 86 | simp only [c, Finsupp.finsetSum_apply, Finsupp.smul_apply] |
| 87 | have h (A : S) : d A B = if (⟨B, hB⟩ : S) = A then 1 else 0 := he A ⟨B, hB⟩ |
| 88 | simp only [h, smul_eq_mul, mul_ite, mul_one, mul_zero] |
| 89 | simp |
| 90 | |
| 91 | theorem meetProperly_of_avoiding (a b : X.RationalDimensionCycle 1) |
| 92 | (h : ∀ B ∈ b.support, a B = 0) : CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 1 a b := by |
| 93 | intro A hA B hB C hC |
| 94 | have hCA : C ≤ A.val := fun _ hx => (hC hx).1 |
| 95 | have hCB : C ≤ B.val := fun _ hx => (hC hx).2 |
| 96 | have hne : C ≠ A.val := by |
| 97 | intro he |
| 98 | have hAB : A = B := Subtype.ext |
| 99 | (IntersectionZero.eq_of_subset_of_codimension_eq X m |
| 100 | (he ▸ hCB) (A.property.trans B.property.symm)) |
| 101 | subst A |
| 102 | exact (Finsupp.mem_support_iff.mp hA) (h B hB) |
| 103 | have ht := Supports.codimension_strictAnti X m (lt_of_le_of_ne hCA hne) |
| 104 | rw [A.property] at ht |
| 105 | omega |
| 106 | |
| 107 | theorem properly_meeting_representatives (a b : X.RationalDimensionCycle 1) : |
| 108 | ∃ a' : X.RationalDimensionCycle 1, |
| 109 | CycleClass.Thom.IntersectionGeometry.RationallyEquivalent X 1 a a' ∧ CycleClass.Thom.IntersectionGeometry.MeetProperly X 1 1 a' b := by |
| 110 | obtain ⟨a', ha', havoid⟩ := exists_rationallyEquivalent_avoiding X m b.support a |
| 111 | exact ⟨a', ha', meetProperly_of_avoiding X m a' b havoid⟩ |
| 112 | |
| 113 | theorem intersection_representative_exists (a b : X.RationalDimensionCycle 1) : |
| 114 | ∃ c : X.RationalDimensionCycle (1 + 1), CycleClass.Thom.IntersectionGeometry.RepresentsIntersection X 1 1 a b c := by |
| 115 | obtain ⟨a', ha', hproper⟩ := properly_meeting_representatives X m a b |
| 116 | obtain ⟨c, hc, _⟩ := Supports.ProperCycle.properIntersection_exists_unique X m 1 1 a' b hproper |
| 117 | exact ⟨c, a', b, c, ha', CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X 1 b, hc, |
| 118 | CycleClass.Thom.IntersectionGeometry.rationallyEquivalent_refl X (1 + 1) c⟩ |
| 119 | |
| 120 | theorem chowIntersection_nonempty (a b : ProperCycleLinearity.ChowQ X 1) : |
| 121 | (ProperCycleLinearity.chowIntersection X 1 1 a b).Nonempty := by |
| 122 | obtain ⟨a, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X 1 a |
| 123 | obtain ⟨b, rfl⟩ := ProperCycleLinearity.cycleToChowQ_surjective X 1 b |
| 124 | obtain ⟨c, hc⟩ := intersection_representative_exists X m a b |
| 125 | exact ⟨ProperCycleLinearity.cycleToChowQ X (1 + 1) c, a, b, c, rfl, rfl, rfl, hc⟩ |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.ChowMoving |