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.GlobalWeightDivisorOrder |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PositiveCycle |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 4 | |
| 5 | /-! # Horizontal Family Fiber -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HorizontalFamilyFiber |
| 12 | |
| 13 | /-! On a horizontal integral family support, the global parameter |
| 14 | weights are a genuine finite cycle: the embedded positive part of the |
| 15 | native principal divisor of the rational parameter. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 21 | open scoped _root_.Polynomial |
| 22 | |
| 23 | namespace Family |
| 24 | |
| 25 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalParameterSum.Weights OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PositiveCycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.DivisorNorm |
| 26 | |
| 27 | variable (Z : Scheme) [AlgebraicGeometry.IsNoetherian Z] (C : IrreducibleCloseds Z) |
| 28 | (t : Z ⟶ Spec (.of ℂ[X])) |
| 29 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 30 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 31 | |
| 32 | def cycle (a : ℂ) : Z →₀ ℚ := |
| 33 | let s := (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine |
| 34 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (s ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 35 | CyclePushforward.pointPushforward (CycleClass.Geometric.GenericPoint.reducedSupportι C) |
| 36 | (PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor (CycleClass.Geometric.GenericPoint.reducedSupportScheme C) |
| 37 | (Projective.LineParameter.pullback s hη - algebraMap ℂ (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField a))) |
| 38 | |
| 39 | theorem apply (a : ℂ) (x : Z) : cycle Z C t hη a x = |
| 40 | GlobalParameterSum.Weights.weight Z x (Affine.ParameterFiber.germ ℂ t x a) C := by |
| 41 | let s := (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine |
| 42 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (s ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 43 | by_cases hx : x ∈ (C : Set Z) |
| 44 | · let y := CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx |
| 45 | have hy : CycleClass.Geometric.GenericPoint.reducedSupportι C y = x := CycleClass.Thom.IntersectionGeometry.supportPreimage_spec C x hx |
| 46 | have hu : ∀ z, CycleClass.Geometric.GenericPoint.reducedSupportι C z = x → z = y := |
| 47 | fun z hz => (CycleClass.Geometric.GenericPoint.reducedSupportι C).isClosedEmbedding.injective (hz.trans hy.symm) |
| 48 | rw [cycle, PushforwardFiber.pointPushforward_uniqueFiber (CycleClass.Geometric.GenericPoint.reducedSupportι C) y x hy hu, |
| 49 | Principal.ClosedSectionCycle.residueDegree_immersion, Nat.cast_one, mul_one, |
| 50 | PositiveCycle.positivePart_apply, Affine.DivisorNorm.rationalPrincipalDivisor_apply, |
| 51 | ← GlobalWeightDivisorOrder.parameter Z C t hη x hx a] |
| 52 | exact max_eq_left (GlobalWeightDivisorOrder.nonneg Z x (Affine.ParameterFiber.germ ℂ t x a) C) |
| 53 | · have hout : ∀ z : CycleClass.Geometric.GenericPoint.reducedSupportScheme C, CycleClass.Geometric.GenericPoint.reducedSupportι C z ≠ x := by |
| 54 | intro z hz |
| 55 | apply hx |
| 56 | rw [← hz, ← CycleClass.Geometric.GenericPoint.range_reducedSupportι] |
| 57 | exact ⟨z, rfl⟩ |
| 58 | rw [cycle, PushforwardFiber.pointPushforward_apply_eq_zero (CycleClass.Geometric.GenericPoint.reducedSupportι C) _ x |
| 59 | (fun z _ => hout z), GlobalParameterSum.Weights.weight, dite_eq_right hx] |
| 60 | |
| 61 | end Family |
| 62 | |
| 63 | end AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HorizontalFamilyFiber |
| 64 | |
| 65 | namespace AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HorizontalFamilyFiber.ParameterChange |
| 66 | |
| 67 | /-! Equal native affine parameter maps define equal horizontal fiber cycles. -/ |
| 68 | |
| 69 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 70 | open scoped _root_.Polynomial |
| 71 | |
| 72 | theorem cycle {Z : Scheme} [AlgebraicGeometry.IsNoetherian Z] (C : IrreducibleCloseds Z) |
| 73 | {s t : Z ⟶ Spec (.of ℂ[X])} (h : s = t) |
| 74 | (hs : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ s) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 75 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 76 | (ht : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 77 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) (a : ℂ) : |
| 78 | Family.cycle Z C s hs a = Family.cycle Z C t ht a := by |
| 79 | subst t |
| 80 | rfl |
| 81 | |
| 82 | end AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HorizontalFamilyFiber.ParameterChange |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI |