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.Endomorphisms |
| 2 | |
| 3 | /-! # Group Law Finite Identities -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.GroupLawFiniteIdentities.Core |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The all-test-scheme group-law predicate is exactly two actual |
| 10 | morphism identities, with no representability hypothesis. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] |
| 17 | variable {T : Over S} (f : T ⨯ A ⟶ A) |
| 18 | |
| 19 | def groupIdentityValue : T ⟶ A := prod.lift (𝟙 T) (1 : T ⟶ A) ≫ f |
| 20 | |
| 21 | def groupProductValue : T ⨯ (A ⨯ A) ⟶ A := |
| 22 | prod.lift prod.fst ((prod.snd ≫ prod.fst) * (prod.snd ≫ prod.snd)) ≫ f |
| 23 | |
| 24 | def productGroupValues : T ⨯ (A ⨯ A) ⟶ A := |
| 25 | (prod.lift prod.fst (prod.snd ≫ prod.fst) ≫ f) * |
| 26 | (prod.lift prod.fst (prod.snd ≫ prod.snd) ≫ f) |
| 27 | |
| 28 | theorem preservesGroupLaw_iff_two_identities : Endomorphisms.Core.PreservesGroupLaw A f ↔ |
| 29 | groupIdentityValue A f = 1 ∧ groupProductValue A f = productGroupValues A f := by |
| 30 | constructor |
| 31 | · intro h |
| 32 | exact ⟨(h T (𝟙 T)).1, |
| 33 | (h (T ⨯ (A ⨯ A)) prod.fst).2 (prod.snd ≫ prod.fst) (prod.snd ≫ prod.snd)⟩ |
| 34 | · rintro ⟨hunit, hmul⟩ U t |
| 35 | constructor |
| 36 | · have h := congrArg (fun k => t ≫ k) hunit |
| 37 | simpa only [groupIdentityValue, ← Category.assoc, prod.comp_lift, Category.comp_id, |
| 38 | MonObj.comp_one] using h |
| 39 | · intro x y |
| 40 | have h := congrArg (fun k => prod.lift t (prod.lift x y) ≫ k) hmul |
| 41 | simpa only [groupProductValue, productGroupValues, MonObj.comp_mul, prod.comp_lift, |
| 42 | ← Category.assoc, prod.lift_fst, prod.lift_snd] using h |
| 43 | |
| 44 | theorem preservesGroupLaw_iff_product_identity : Endomorphisms.Core.PreservesGroupLaw A f ↔ |
| 45 | groupProductValue A f = productGroupValues A f := by |
| 46 | rw [preservesGroupLaw_iff_two_identities] |
| 47 | refine ⟨And.right, fun hmul => ⟨?_, hmul⟩⟩ |
| 48 | have h := congrArg (fun k => prod.lift (𝟙 T) (prod.lift (1 : T ⟶ A) 1) ≫ k) hmul |
| 49 | have hid : groupIdentityValue A f = groupIdentityValue A f * groupIdentityValue A f := by |
| 50 | simpa only [groupProductValue, productGroupValues, groupIdentityValue, MonObj.comp_mul, |
| 51 | prod.comp_lift, ← Category.assoc, prod.lift_fst, prod.lift_snd, one_mul] using h |
| 52 | exact mul_eq_left.mp hid.symm |
| 53 | |
| 54 | theorem groupProductValue_baseChange {U : Over S} (a : U ⟶ T) : |
| 55 | groupProductValue A (prod.map a (𝟙 A) ≫ f) = |
| 56 | prod.map a (𝟙 (A ⨯ A)) ≫ groupProductValue A f := by |
| 57 | simp only [groupProductValue, ← Category.assoc, prod.lift_map, prod.comp_lift, |
| 58 | MonObj.comp_mul, prod.map_fst, prod.map_snd, Category.comp_id] |
| 59 | |
| 60 | theorem productGroupValues_baseChange {U : Over S} (a : U ⟶ T) : |
| 61 | productGroupValues A (prod.map a (𝟙 A) ≫ f) = |
| 62 | prod.map a (𝟙 (A ⨯ A)) ≫ productGroupValues A f := by |
| 63 | simp only [productGroupValues, ← Category.assoc, prod.lift_map, prod.comp_lift, |
| 64 | MonObj.comp_mul, prod.map_fst, prod.map_snd, Category.comp_id] |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.GroupLawFiniteIdentities.Core |