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.PiRestrictionEquiv |
| 2 | |
| 3 | /-! # Pi Restriction Lift -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.PiRestrictionLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction of a dependent product along an embedding has a lift supported on the image. -/ |
| 10 | |
| 11 | universe u v w t z |
| 12 | |
| 13 | variable {R : Type u} [CommRing R] {ι : Type v} [Nonempty ι] {κ : Type w} |
| 14 | variable (A : ι → Type t) (B : κ → Type z) |
| 15 | variable [∀ i, AddCommGroup (A i)] [∀ i, Module R (A i)] |
| 16 | variable [∀ j, AddCommGroup (B j)] [∀ j, Module R (B j)] |
| 17 | |
| 18 | theorem piRestrictionLinear_lift_supported (e : ι ↪ κ) (E : ∀ i, B (e i) ≃ₗ[R] A i) |
| 19 | (x : ∀ i, A i) : |
| 20 | ∃ y : ∀ j, B j, PiRestrictionEquiv.piRestrictionLinear A B e E y = x ∧ ∀ j, j ∉ Set.range e → y j = 0 := by |
| 21 | classical |
| 22 | obtain ⟨g, hg⟩ := e.injective.hasLeftInverse |
| 23 | let y : ∀ j, B j := fun j => if hj : e (g j) = j then hj ▸ ((E (g j)).symm (x (g j))) else 0 |
| 24 | refine ⟨y, ?_, ?_⟩ |
| 25 | · funext i |
| 26 | have hy : y (e i) = (E i).symm (x i) := by |
| 27 | have ht (j k : ι) (h : j = k) : |
| 28 | (congrArg e h) ▸ ((E j).symm (x j)) = (E k).symm (x k) := by |
| 29 | subst k |
| 30 | rfl |
| 31 | dsimp only [y] |
| 32 | rw [dite_eq_left (congrArg e (hg i))] |
| 33 | exact ht (g (e i)) i (hg i) |
| 34 | change E i (y (e i)) = x i |
| 35 | rw [hy, LinearEquiv.apply_symm_apply] |
| 36 | · intro j hj |
| 37 | have h : ¬ e (g j) = j := fun h => hj ⟨g j, h⟩ |
| 38 | exact dite_eq_right h |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.PiRestrictionLift |