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.Projective.LineExponentSymmetry |
| 2 | |
| 3 | /-! # Line Common Exponent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.LineCommonExponent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every line bundle on projective space over a field has one integer |
| 10 | exponent for all standard-chart transitions, including projective dimension one. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | theorem symmetric_triple_value_constant {α : Type u} {β : Type v} |
| 17 | (e : (i j : α) → j ≠ i → β) |
| 18 | (hsym : ∀ i j hji, e i j hji = e j i hji.symm) |
| 19 | (htri : ∀ i j k hji hkj hki, e i j hji = e j k hkj ∧ e j k hkj = e i k hki) |
| 20 | (a b : α) (hba : b ≠ a) : ∀ i j hji, e i j hji = e a b hba := by |
| 21 | classical |
| 22 | have hrow (j : α) (hja : j ≠ a) : e a j hja = e a b hba := by |
| 23 | by_cases hjb : j = b |
| 24 | · subst j |
| 25 | rfl |
| 26 | · exact ((htri a b j hba hjb hja).1.trans (htri a b j hba hjb hja).2).symm |
| 27 | intro i j hji |
| 28 | by_cases hia : i = a |
| 29 | · subst i |
| 30 | exact hrow j hji |
| 31 | by_cases hja : j = a |
| 32 | · subst j |
| 33 | exact (hsym i a hji).trans (hrow i hia) |
| 34 | exact (htri a i j hia hji hja).1.symm.trans (hrow i hia) |
| 35 | |
| 36 | variable (K : Type u) [Field K] {n : ℕ} |
| 37 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (Proj (Hilbert.Polynomial.GradedHilbert.grading K n))) |
| 38 | |
| 39 | def projectiveLineCommonExponent : ℤ := |
| 40 | if hn : 0 < n then |
| 41 | FrameExponents.projectiveLineTransitionExponent K 0 ⟨1, Nat.succ_lt_succ hn⟩ (by simp) L |
| 42 | else 0 |
| 43 | |
| 44 | theorem projectiveLineTransitionExponent_eq_common (i j : Fin (n + 1)) (hji : j ≠ i) : |
| 45 | FrameExponents.projectiveLineTransitionExponent K i j hji L = projectiveLineCommonExponent K L := by |
| 46 | have hn : 0 < n := by |
| 47 | by_contra h |
| 48 | have hn0 : n = 0 := by omega |
| 49 | subst n |
| 50 | exact hji (Fin.ext (by have hi := i.isLt; have hj := j.isLt; omega)) |
| 51 | rw [projectiveLineCommonExponent, dite_eq_left hn] |
| 52 | exact symmetric_triple_value_constant (fun i j hji => FrameExponents.projectiveLineTransitionExponent K i j hji L) |
| 53 | (LineExponentSymmetry.projectiveLineTransitionExponent_symm K L) (LineRationalCocycle.projectiveLineTransitionExponent_triple K L) |
| 54 | 0 ⟨1, Nat.succ_lt_succ hn⟩ (by simp) i j hji |
| 55 | |
| 56 | theorem projectiveLineTransitionValue_common_monomial (i j : Fin (n + 1)) (hji : j ≠ i) : |
| 57 | ∃ c : Kˣ, OverlapFunctionField.projectiveOverlapFunctionFieldMap K i j (LineTransitionPowers.projectiveLineTransitionValue K L i j) = |
| 58 | RationalTransitionExponentComparison.rationalProjectiveMonomial c i j (projectiveLineCommonExponent K L) := by |
| 59 | obtain ⟨c, hc⟩ := OverlapRationalMonomials.projectiveOverlapFunctionFieldMap_unit K i j hji (LineTransitionPowers.projectiveLineTransitionUnit K L i j) |
| 60 | refine ⟨c, ?_⟩ |
| 61 | have hc' : OverlapFunctionField.projectiveOverlapFunctionFieldMap K i j (LineTransitionPowers.projectiveLineTransitionValue K L i j) = |
| 62 | RationalTransitionExponentComparison.rationalProjectiveMonomial c i j (FrameExponents.projectiveLineTransitionExponent K i j hji L) := by |
| 63 | simpa only [FrameExponents.projectiveLineTransitionExponent, LineTransitionPowers.projectiveLineTransitionUnit, IsUnit.unit_spec] using hc |
| 64 | rwa [projectiveLineTransitionExponent_eq_common] at hc' |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.LineCommonExponent |