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.ProjectiveFrame.Discriminant |
| 2 | |
| 3 | /-! # Determinant Frame Linear Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DeterminantFrameLinearMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The polynomial determinant coordinates form an actual invertible |
| 10 | linear map on the frame-discriminant open. Its invertibility is proved |
| 11 | over arbitrary commutative rings. -/ |
| 12 | open scoped BigOperators Classical |
| 13 | universe u v w |
| 14 | variable {R : Type u} [CommRing R] {V : Type v} [AddCommGroup V] [Module R V] |
| 15 | variable {κ : Type w} [Fintype κ] |
| 16 | |
| 17 | def determinantFrameLinearMap (e : Module.Basis κ R V) (b : κ → V) (v : V) : |
| 18 | V →ₗ[R] (κ → R) := |
| 19 | LinearMap.pi fun i => |
| 20 | (∏ j ∈ Finset.univ.erase i, e.det (Function.update b j v)) • |
| 21 | e.det.toMultilinearMap.toLinearMap b i |
| 22 | |
| 23 | theorem determinantFrameLinearMap_apply (e : Module.Basis κ R V) (b : κ → V) (v w : V) : |
| 24 | determinantFrameLinearMap e b v w = ProjectiveFrame.DeterminantCoordinates.projectiveFrameDeterminantCoordinates e b v w := by |
| 25 | funext i |
| 26 | exact mul_comm _ _ |
| 27 | |
| 28 | theorem determinantFrameLinearMap_bijective (e : Module.Basis κ R V) (b : κ → V) (v : V) |
| 29 | (h : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant e b v)) : |
| 30 | Function.Bijective (determinantFrameLinearMap e b v) := by |
| 31 | obtain ⟨c, hc, hu⟩ := (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant_isUnit_iff e b v).mp h |
| 32 | have hbc : b = c := funext (fun i => (hc i).symm) |
| 33 | subst b |
| 34 | let a := (e.det c) ^ Fintype.card κ * ∏ i, c.repr v i |
| 35 | have ha : IsUnit a := ((e.isUnit_det c).pow _).mul |
| 36 | (ProjectiveFrame.HomogeneousCoordinates.projectiveFrameHomogeneousCoordinates_unit_factor c v hu) |
| 37 | let f : V ≃ₗ[R] (κ → R) := |
| 38 | (ProjectiveFrame.Normalization.projectiveFrameNormalization c v hu).trans (LinearEquiv.smulOfUnit ha.unit) |
| 39 | have hf : (determinantFrameLinearMap e c v : V → (κ → R)) = f := by |
| 40 | funext w |
| 41 | rw [determinantFrameLinearMap_apply, ProjectiveFrame.DeterminantCoordinates.projectiveFrameDeterminantCoordinates_eq, |
| 42 | ProjectiveFrame.HomogeneousCoordinates.projectiveFrameHomogeneousCoordinates_eq c v hu] |
| 43 | change (e.det c) ^ Fintype.card κ • ((∏ i, c.repr v i) • |
| 44 | ProjectiveFrame.Normalization.projectiveFrameNormalization c v hu w) = |
| 45 | (ha.unit : R) • ProjectiveFrame.Normalization.projectiveFrameNormalization c v hu w |
| 46 | rw [smul_smul, ha.unit_spec] |
| 47 | rw [hf] |
| 48 | exact f.bijective |
| 49 | |
| 50 | def determinantFrameLinearEquiv (e : Module.Basis κ R V) (b : κ → V) (v : V) |
| 51 | (h : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant e b v)) : V ≃ₗ[R] (κ → R) := |
| 52 | LinearEquiv.ofBijective (determinantFrameLinearMap e b v) |
| 53 | (determinantFrameLinearMap_bijective e b v h) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DeterminantFrameLinearMap |