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.HilbertScheme.Presentations.RationalCoordinateDegrees |
| 2 | |
| 3 | /-! # Rational Transition Exponent Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.RationalTransitionExponentComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A scalar-coordinate-power cocycle on three distinct projective |
| 10 | coordinates forces its three integer exponents to agree. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v |
| 15 | variable {K : Type u} [Field K] {σ : Type v} |
| 16 | |
| 17 | def rationalProjectiveMonomial (c : Kˣ) (i j : σ) (d : ℤ) : FractionRing (MvPolynomial σ K) := |
| 18 | algebraMap (MvPolynomial σ K) (FractionRing (MvPolynomial σ K)) (C (c : K)) * |
| 19 | RationalCoordinateDegrees.rationalProjectiveCoordinate i j ^ d |
| 20 | |
| 21 | theorem rationalProjectiveMonomial_ne_zero (c : Kˣ) (i j : σ) (d : ℤ) : |
| 22 | rationalProjectiveMonomial c i j d ≠ 0 := |
| 23 | mul_ne_zero (RationalCoordinateDegrees.polynomialFunctionField_ne_zero (C_ne_zero.mpr c.ne_zero)) |
| 24 | (zpow_ne_zero d (RationalCoordinateDegrees.rationalProjectiveCoordinate_ne_zero i j)) |
| 25 | |
| 26 | theorem rationalProjectiveMonomial_degree [DecidableEq σ] (q : σ) (c : Kˣ) (i j : σ) (d : ℤ) : |
| 27 | RationalCoordinateDegrees.rationalCoordinateDegree q (rationalProjectiveMonomial c i j d) = |
| 28 | d * ((if q = j then (1 : ℤ) else 0) - (if q = i then (1 : ℤ) else 0)) := by |
| 29 | unfold rationalProjectiveMonomial |
| 30 | rw [RationalCoordinateDegrees.rationalCoordinateDegree_mul q _ _ (RationalCoordinateDegrees.polynomialFunctionField_ne_zero (C_ne_zero.mpr c.ne_zero)) |
| 31 | (zpow_ne_zero d (RationalCoordinateDegrees.rationalProjectiveCoordinate_ne_zero i j)), |
| 32 | RationalCoordinateDegrees.rationalCoordinateDegree_polynomial q (C (c : K)) (C_ne_zero.mpr c.ne_zero), degreeOf_C, |
| 33 | Nat.cast_zero, zero_add, RationalCoordinateDegrees.rationalCoordinateDegree_zpow, RationalCoordinateDegrees.rationalCoordinateDegree_ratio] |
| 34 | |
| 35 | theorem rational_transition_exponents_agree (i j k : σ) (hij : i ≠ j) (hjk : j ≠ k) (hik : i ≠ k) |
| 36 | (c d e : Kˣ) (a b r : ℤ) |
| 37 | (h : rationalProjectiveMonomial c i j a * rationalProjectiveMonomial d j k b = |
| 38 | rationalProjectiveMonomial e i k r) : a = b ∧ b = r := by |
| 39 | classical |
| 40 | have hj := congrArg (RationalCoordinateDegrees.rationalCoordinateDegree j) h |
| 41 | have hk := congrArg (RationalCoordinateDegrees.rationalCoordinateDegree k) h |
| 42 | rw [RationalCoordinateDegrees.rationalCoordinateDegree_mul j _ _ (rationalProjectiveMonomial_ne_zero c i j a) |
| 43 | (rationalProjectiveMonomial_ne_zero d j k b), rationalProjectiveMonomial_degree, |
| 44 | rationalProjectiveMonomial_degree, rationalProjectiveMonomial_degree] at hj |
| 45 | rw [RationalCoordinateDegrees.rationalCoordinateDegree_mul k _ _ (rationalProjectiveMonomial_ne_zero c i j a) |
| 46 | (rationalProjectiveMonomial_ne_zero d j k b), rationalProjectiveMonomial_degree, |
| 47 | rationalProjectiveMonomial_degree, rationalProjectiveMonomial_degree] at hk |
| 48 | simp [hij.symm, hjk] at hj |
| 49 | simp [hjk.symm, hik.symm] at hk |
| 50 | exact ⟨by omega, hk⟩ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.RationalTransitionExponentComparison |