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.RationalOrderTransport |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.PushforwardFiber |
| 3 | |
| 4 | /-! # Principal -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.CycleClass.Thom.Open.Principal.Constructions |
| 11 | |
| 12 | /-! Removing a closed set of intrinsic codimension at least two leaves |
| 13 | the entire principal divisor unchanged under actual open pushforward. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.RationalOrderTransport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Point.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.PushforwardFiber.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ResidueDegree.Constructions |
| 18 | |
| 19 | instance openScheme_isNoetherian (X : Scheme) [AlgebraicGeometry.IsNoetherian X] |
| 20 | (U : X.Opens) : AlgebraicGeometry.IsNoetherian (U : Scheme) := by |
| 21 | let : CompactSpace (U : Scheme) := QuasiCompact.compactSpace_of_compactSpace U.ι |
| 22 | exact ⟨⟩ |
| 23 | |
| 24 | theorem principalDivisor_open_pushforward (X : Scheme) [IsIntegral X] |
| 25 | [AlgebraicGeometry.IsNoetherian X] (U : X.Opens) [Nonempty U] |
| 26 | (hU : ∀ x : X, Order.coheight x = 1 → x ∈ U) (g : X.functionField) : |
| 27 | Point.Constructions.pointPushforward U.ι |
| 28 | (Point.Constructions.rationalPrincipalPointDivisor U (RationalOrderTransport.Constructions.openFunctionFieldMap U.ι g)) = |
| 29 | Point.Constructions.rationalPrincipalPointDivisor X g := by |
| 30 | ext x |
| 31 | by_cases hx : x ∈ U |
| 32 | · let y : (U : Scheme) := ⟨x, hx⟩ |
| 33 | rw [PushforwardFiber.Constructions.pointPushforward_uniqueFiber U.ι y x rfl |
| 34 | (fun z hz => U.ι.isOpenEmbedding.injective hz), ResidueDegree.Constructions.residueDegree_immersion U.ι y, |
| 35 | Nat.cast_one, mul_one, Point.Constructions.rationalPrincipalPointDivisor_apply, |
| 36 | Point.Constructions.rationalPrincipalPointDivisor_apply, RationalOrderTransport.Constructions.ord_openImmersion] |
| 37 | rfl |
| 38 | · rw [Point.Constructions.rationalPrincipalPointDivisor_apply, |
| 39 | Scheme.ord_eq_zero_of_coheight_neq_one (fun h => hx (hU x h)), Int.cast_zero] |
| 40 | apply PushforwardFiber.Constructions.pointPushforward_apply_eq_zero |
| 41 | intro y _ he |
| 42 | exact hx (he ▸ y.property) |
| 43 | |
| 44 | end AlgebraicGeometry.CycleClass.Thom.Open.Principal.Constructions |
| 45 | |
| 46 | namespace AlgebraicGeometry.CycleClass.Thom.Open.Principal.Constructions.FiberCoefficients |
| 47 | |
| 48 | /-! An arbitrary actual open immersion preserves principal-divisor |
| 49 | coefficients on every fully retained pushforward fiber. -/ |
| 50 | |
| 51 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 52 | |
| 53 | open OAI.AlgebraicGeometry.CycleClass.Thom.RationalOrderTransport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Point.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.PushforwardFiber.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ResidueDegree.Constructions |
| 54 | |
| 55 | variable {X S : Scheme} [IsIntegral X] [IsIntegral S] |
| 56 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian S] |
| 57 | (a : X ⟶ S) [IsOpenImmersion a] (g : S.functionField) |
| 58 | |
| 59 | theorem principalPointDivisor_open_comap : |
| 60 | Point.Constructions.rationalPrincipalPointDivisor X (RationalOrderTransport.Constructions.openFunctionFieldMap a g) = |
| 61 | Finsupp.comapDomain a (Point.Constructions.rationalPrincipalPointDivisor S g) a.isOpenEmbedding.injective.injOn := by |
| 62 | ext x |
| 63 | rw [Finsupp.comapDomain_apply, Point.Constructions.rationalPrincipalPointDivisor_apply, Point.Constructions.rationalPrincipalPointDivisor_apply, |
| 64 | RationalOrderTransport.Constructions.ord_openImmersion] |
| 65 | |
| 66 | theorem principalPointDivisor_open_fiber_coefficient {T : Scheme} (f : S ⟶ T) (x : T) |
| 67 | (hcover : ∀ y : S, f y = x → y ∈ Set.range a) : |
| 68 | Point.Constructions.pointPushforward (a ≫ f) (Point.Constructions.rationalPrincipalPointDivisor X (RationalOrderTransport.Constructions.openFunctionFieldMap a g)) x = |
| 69 | Point.Constructions.pointPushforward f (Point.Constructions.rationalPrincipalPointDivisor S g) x := by |
| 70 | have h := PushforwardFiber.Constructions.pointPushforward_coeff_of_fiber_cover a f x a.isOpenEmbedding.injective |
| 71 | (ResidueDegree.Constructions.residueDegree_immersion a) hcover (Point.Constructions.rationalPrincipalPointDivisor S g) |
| 72 | rw [← principalPointDivisor_open_comap a g] at h |
| 73 | exact h.symm |
| 74 | |
| 75 | end AlgebraicGeometry.CycleClass.Thom.Open.Principal.Constructions.FiberCoefficients |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI |