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.PiRestrictionLift |
| 2 | |
| 3 | /-! # Pi Supported Equiv -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.PiSupportedEquiv |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A dependent product supported on an embedded index set is the product over that index set. -/ |
| 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 | def piImageSupport (e : ι ↪ κ) : Submodule R (∀ j, B j) where |
| 19 | carrier := {y | ∀ j, j ∉ Set.range e → y j = 0} |
| 20 | zero_mem' := fun _ _ => rfl |
| 21 | add_mem' {x y} hx hy j hj := by |
| 22 | change x j + y j = 0 |
| 23 | rw [hx j hj, hy j hj, add_zero] |
| 24 | smul_mem' r y hy j hj := by |
| 25 | change r • y j = 0 |
| 26 | rw [hy j hj, smul_zero] |
| 27 | |
| 28 | def piSupportedRestrictionEquiv (e : ι ↪ κ) (E : ∀ i, B (e i) ≃ₗ[R] A i) : |
| 29 | piImageSupport (R := R) B e ≃ₗ[R] ∀ i, A i := |
| 30 | LinearEquiv.ofBijective ((PiRestrictionEquiv.piRestrictionLinear A B e E).comp (piImageSupport (R := R) B e).subtype) (by |
| 31 | constructor |
| 32 | · intro x y hxy |
| 33 | apply Subtype.ext |
| 34 | funext j |
| 35 | by_cases hj : j ∈ Set.range e |
| 36 | · obtain ⟨i, rfl⟩ := hj |
| 37 | exact (E i).injective (congrFun hxy i) |
| 38 | · exact (x.property j hj).trans (y.property j hj).symm |
| 39 | · intro x |
| 40 | obtain ⟨y, hy, hs⟩ := PiRestrictionLift.piRestrictionLinear_lift_supported A B e E x |
| 41 | exact ⟨⟨y, hs⟩, hy⟩) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.PiSupportedEquiv |