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.SupportedExponentCompletion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.MonomialAlgebra |
| 3 | |
| 4 | /-! # Monomial Fractions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.MonomialFractions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Unit denominator cancellation works over every commutative ring. |
| 11 | It identifies the balanced fractions with the normalized coordinates. -/ |
| 12 | open scoped BigOperators Classical |
| 13 | universe u v |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {R : Type u} [CommRing R] |
| 17 | |
| 18 | theorem unitDenominator_fraction_eq {p q b f : R} (hp : IsUnit p) (hb : IsUnit b) |
| 19 | (h : q * b = p * f) : |
| 20 | q * (↑hp.unit⁻¹ : R) = f * (↑hb.unit⁻¹ : R) := by |
| 21 | have hp' : p * (↑hp.unit⁻¹ : R) = 1 := by |
| 22 | exact (congrArg (fun x : R => x * ↑hp.unit⁻¹) hp.unit_spec).symm.trans (Units.mul_inv hp.unit) |
| 23 | have hb' : b * (↑hb.unit⁻¹ : R) = 1 := by |
| 24 | exact (congrArg (fun x : R => x * ↑hb.unit⁻¹) hb.unit_spec).symm.trans (Units.mul_inv hb.unit) |
| 25 | calc |
| 26 | q * ↑hp.unit⁻¹ = (q * ↑hp.unit⁻¹) * (b * ↑hb.unit⁻¹) := by rw [hb', mul_one] |
| 27 | _ = (q * b) * ↑hp.unit⁻¹ * ↑hb.unit⁻¹ := by ring |
| 28 | _ = (p * f) * ↑hp.unit⁻¹ * ↑hb.unit⁻¹ := by rw [h] |
| 29 | _ = f * (p * ↑hp.unit⁻¹) * ↑hb.unit⁻¹ := by ring |
| 30 | _ = f * ↑hb.unit⁻¹ := by rw [hp', mul_one] |
| 31 | |
| 32 | theorem exponentMonomial_isUnit_of_le {κ : Type v} [Fintype κ] |
| 33 | (D : κ → R) {a b : κ → ℕ} (hab : b ≤ a) (ha : IsUnit (Balanced.MonomialAlgebra.exponentMonomial D a)) : |
| 34 | IsUnit (Balanced.MonomialAlgebra.exponentMonomial D b) := by |
| 35 | obtain ⟨c, hc⟩ := SupportedExponentCompletion.exponent_complement_of_le hab |
| 36 | rw [← hc, Balanced.MonomialAlgebra.exponentMonomial_add] at ha |
| 37 | exact isUnit_of_mul_isUnit_right ha |
| 38 | |
| 39 | theorem completedMonomial_fraction_eq {κ : Type v} [Fintype κ] |
| 40 | (D : κ → R) (a C b d : κ → ℕ) (hC : C + b = a) |
| 41 | (ha : IsUnit (Balanced.MonomialAlgebra.exponentMonomial D a)) : |
| 42 | ∃ hb : IsUnit (Balanced.MonomialAlgebra.exponentMonomial D b), |
| 43 | Balanced.MonomialAlgebra.exponentMonomial D (C + d) * (↑ha.unit⁻¹ : R) = |
| 44 | Balanced.MonomialAlgebra.exponentMonomial D d * (↑hb.unit⁻¹ : R) := by |
| 45 | have hb : IsUnit (Balanced.MonomialAlgebra.exponentMonomial D b) := by |
| 46 | rw [← hC, Balanced.MonomialAlgebra.exponentMonomial_add] at ha |
| 47 | exact isUnit_of_mul_isUnit_right ha |
| 48 | refine ⟨hb, unitDenominator_fraction_eq ha hb ?_⟩ |
| 49 | rw [← hC, Balanced.MonomialAlgebra.exponentMonomial_add, Balanced.MonomialAlgebra.exponentMonomial_add] |
| 50 | ring |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.MonomialFractions |