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.Divisors.LineBundles.Proper.BirationalPrincipalDivisor |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.PositiveCycleEq |
| 3 | |
| 4 | /-! # Pushforward Compare Congr -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.PushforwardCompareCongr.BundleCycles.PushforwardCompare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Cycle pushforward ignores coefficients at zero-degree points. |
| 11 | This permits the relative zero-parameter calculation to cover precisely |
| 12 | the points with positive coefficients that contribute to pushforward. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped Classical |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward OAI.AlgebraicGeometry.Divisors.LineBundles.PositiveCycleEq.BundleCycles.PositiveCycle |
| 18 | |
| 19 | theorem pointPushforward_congr {X Y : Scheme} (f : X ⟶ Y) (c d : X →₀ ℚ) |
| 20 | (h : ∀ x : X, f.residueDegree x ≠ 0 → c x = d x) : |
| 21 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f c = IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f d := by |
| 22 | have hz : IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f (c - d) = 0 := by |
| 23 | ext y |
| 24 | apply Proper.BirationalPrincipalDivisor.BundleCycles.pointPushforward_eq_zero_of_degrees |
| 25 | intro x hx _ |
| 26 | by_contra hd |
| 27 | exact hx (by simp only [Finsupp.sub_apply, h x hd, sub_self]) |
| 28 | rw [map_sub, sub_eq_zero] at hz |
| 29 | exact hz |
| 30 | |
| 31 | theorem positivePart_model {A X Y : Scheme} (i : A ⟶ X) (f : X ⟶ Y) |
| 32 | (hi : Function.Injective i) (hd : ∀ a : A, i.residueDegree a = 1) |
| 33 | (c : A →₀ ℚ) (d : X →₀ ℚ) |
| 34 | (hc : ∀ a : A, c a = d (i a)) (hn : ∀ a : A, 0 ≤ c a) |
| 35 | (hcover : ∀ x : X, f.residueDegree x ≠ 0 → 0 < d x → x ∈ Set.range i) : |
| 36 | IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f (PositiveCycleEq.BundleCycles.PositiveCycle.positivePart d) = IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward (i ≫ f) c := by |
| 37 | have hp : IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f (PositiveCycleEq.BundleCycles.PositiveCycle.positivePart d) = IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward f (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward i c) := by |
| 38 | apply pointPushforward_congr |
| 39 | intro x hx |
| 40 | by_cases hxi : x ∈ Set.range i |
| 41 | · obtain ⟨a, rfl⟩ := hxi |
| 42 | rw [IntersectionTheory.ProjectionFormula.PushforwardFiber.pointPushforward_uniqueFiber i a (i a) rfl (fun b hb => hi hb), |
| 43 | hd, Nat.cast_one, mul_one, PositiveCycleEq.BundleCycles.PositiveCycle.positivePart_apply, ← hc] |
| 44 | exact max_eq_left (hn a) |
| 45 | · rw [IntersectionTheory.ProjectionFormula.PushforwardFiber.pointPushforward_apply_eq_zero i c x |
| 46 | (fun a _ ha => hxi ⟨a, ha⟩), PositiveCycleEq.BundleCycles.PositiveCycle.positivePart_apply] |
| 47 | exact max_eq_right (le_of_not_gt (fun hpos => hxi (hcover x hx hpos))) |
| 48 | exact hp.trans (DFunLike.congr_fun (IntersectionTheory.ProjectionFormula.CyclePushforward.pointPushforward_comp i f) c).symm |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Divisors.LineBundles.PushforwardCompareCongr.BundleCycles.PushforwardCompare |