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.AbelianModuli.HilbertConstruction.MixedKoszulEulerDifference |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HyperplaneMixedKoszulSupport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegerEulerDifferenceOrbit |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntegerMixedPowerDifferences |
| 5 | |
| 6 | /-! # Hyperplane Mixed Euler Coefficient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HyperplaneMixedEulerCoefficient |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! One hyperplane and g sections pulled back to the d-th power have |
| 13 | mixed Euler coefficient c (g+1)! d^g when the actual integer Euler |
| 14 | orbit of the line bundle is the degree-(g+1) monomial with coefficient c. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | theorem mixedEulerDifference_eq_power_of_constant_class {X : Scheme.{u}} |
| 19 | (bs : List (LineBundleKoszulComplex.LineBundleSection X)) (a : Line.Bundles.LineBundle.IsoClass X) |
| 20 | (h : ∀ b ∈ bs, Line.Bundles.LineBundle.classOf b.1 = a) : |
| 21 | MixedKoszulEulerDifference.mixedLineBundleEulerDifference X bs = (LineBundle.EulerShifts.lineBundleEulerShift X a - 1) ^ bs.length := by |
| 22 | induction bs with |
| 23 | | nil => rfl |
| 24 | | cons b bs ih => |
| 25 | rw [MixedKoszulEulerDifference.mixedLineBundleEulerDifference, h b (by simp), |
| 26 | ih (fun b hb => h b (List.mem_cons_of_mem _ hb)), List.length_cons, pow_succ'] |
| 27 | |
| 28 | theorem hyperplanePullbackSections_eulerDifference {X : Scheme.{u}} |
| 29 | (L : Line.Bundles.LineBundle X) (a : Line.Bundles.structureModule X ⟶ L.sheaf) (m : X ⟶ X) |
| 30 | (ts : List (Line.Bundles.structureModule X ⟶ L.sheaf)) : |
| 31 | MixedKoszulEulerDifference.mixedLineBundleEulerDifference X (HyperplaneMixedKoszulSupport.hyperplanePullbackSections L a m ts) = |
| 32 | (LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf L) - 1) * |
| 33 | (LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf (L.pullback m)) - 1) ^ ts.length := by |
| 34 | rw [HyperplaneMixedKoszulSupport.hyperplanePullbackSections, MixedKoszulEulerDifference.mixedLineBundleEulerDifference, |
| 35 | mixedEulerDifference_eq_power_of_constant_class _ (Line.Bundles.LineBundle.classOf (L.pullback m))] |
| 36 | · rw [List.length_map] |
| 37 | · intro b hb |
| 38 | obtain ⟨t, _, rfl⟩ := List.mem_map.mp hb |
| 39 | rfl |
| 40 | |
| 41 | theorem hyperplanePullbackSections_monomial_eulerDifference {X : Scheme.{u}} |
| 42 | (L : Line.Bundles.LineBundle X) (a : Line.Bundles.structureModule X ⟶ L.sheaf) (m : X ⟶ X) |
| 43 | (ts : List (Line.Bundles.structureModule X ⟶ L.sheaf)) (g : ℕ) (hlen : ts.length = g) |
| 44 | (f : Line.Bundles.LineBundle.IsoClass X → ℤ) (c d : ℤ) (hd : d ≠ 0) |
| 45 | (hclass : Line.Bundles.LineBundle.classOf (L.pullback m) = Line.Bundles.LineBundle.classOf L ^ d) |
| 46 | (hf : ∀ z : ℤ, f (Line.Bundles.LineBundle.classOf L ^ z) = c * z ^ (g + 1)) : |
| 47 | MixedKoszulEulerDifference.mixedLineBundleEulerDifference X (HyperplaneMixedKoszulSupport.hyperplanePullbackSections L a m ts) f 1 = |
| 48 | c * ((g + 1).factorial : ℤ) * d ^ g := by |
| 49 | rw [hyperplanePullbackSections_eulerDifference, hlen, hclass, |
| 50 | IntegerEulerDifferenceOrbit.lineBundleEulerDifference_mixed_orbit] |
| 51 | have horbit : (fun z : ℤ => f (Line.Bundles.LineBundle.classOf L ^ z)) = |
| 52 | (fun z : ℤ => c * z ^ (g + 1)) := funext hf |
| 53 | rw [horbit] |
| 54 | exact IntegerMixedPowerDifferences.integer_mixedMonomial_finiteDifference g c d 0 hd |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HyperplaneMixedEulerCoefficient |