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.Quotient.ChartCocycle |
| 2 | |
| 3 | /-! # Chart Inverses -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Inverse coordinate changes give equivalences on quotient-chart overlaps. -/ |
| 10 | |
| 11 | universe u v w |
| 12 | |
| 13 | variable {R : Type u} [Ring R] {U : Type v} {V : Type w} |
| 14 | [AddCommGroup U] [AddCommGroup V] [Module R U] [Module R V] |
| 15 | |
| 16 | /-- Pulling the new projection back by the inverse ambient isomorphism applies the inverse first block. -/ |
| 17 | theorem Charts.QuotientChart.transition_inverse_projection (c : Charts.QuotientChart R U V) (e : (U × V) ≃ₗ[R] (U × V)) |
| 18 | (h : Function.Bijective (c.firstBlock e.toLinearMap)) : |
| 19 | (c.transition e.toLinearMap h).projection.comp e.symm.toLinearMap = |
| 20 | (LinearEquiv.ofBijective (c.firstBlock e.toLinearMap) h).symm.toLinearMap.comp c.projection := by |
| 21 | let A := LinearEquiv.ofBijective (c.firstBlock e.toLinearMap) h |
| 22 | apply LinearMap.ext |
| 23 | intro x |
| 24 | apply A.injective |
| 25 | change A ((c.transition e.toLinearMap h).projection (e.symm x)) = A (A.symm (c.projection x)) |
| 26 | rw [A.apply_symm_apply] |
| 27 | exact (LinearMap.congr_fun (c.transition_projection_comp e.toLinearMap h) (e.symm x)).trans |
| 28 | (congrArg c.projection (e.apply_symm_apply x)) |
| 29 | |
| 30 | /-- The first block for the reverse coordinate change is the inverse of the original first block. -/ |
| 31 | theorem Charts.QuotientChart.transition_inverse_firstBlock (c : Charts.QuotientChart R U V) (e : (U × V) ≃ₗ[R] (U × V)) |
| 32 | (h : Function.Bijective (c.firstBlock e.toLinearMap)) : |
| 33 | (c.transition e.toLinearMap h).firstBlock e.symm.toLinearMap = |
| 34 | (LinearEquiv.ofBijective (c.firstBlock e.toLinearMap) h).symm.toLinearMap := by |
| 35 | have he := congrArg (fun q : U × V →ₗ[R] U => q.comp (LinearMap.inl R U V)) |
| 36 | (c.transition_inverse_projection e h) |
| 37 | simpa [Charts.QuotientChart.firstBlock, LinearMap.comp_assoc, Charts.QuotientChart.projection] using he |
| 38 | |
| 39 | /-- Every valid coordinate change has a valid reverse change. -/ |
| 40 | theorem Charts.QuotientChart.transition_inverse_bijective (c : Charts.QuotientChart R U V) (e : (U × V) ≃ₗ[R] (U × V)) |
| 41 | (h : Function.Bijective (c.firstBlock e.toLinearMap)) : |
| 42 | Function.Bijective ((c.transition e.toLinearMap h).firstBlock e.symm.toLinearMap) := by |
| 43 | rw [c.transition_inverse_firstBlock e h] |
| 44 | exact (LinearEquiv.ofBijective (c.firstBlock e.toLinearMap) h).symm.bijective |
| 45 | |
| 46 | /-- The reverse transition recovers the original quotient. -/ |
| 47 | theorem Charts.QuotientChart.transition_inverse (c : Charts.QuotientChart R U V) (e : (U × V) ≃ₗ[R] (U × V)) |
| 48 | (h : Function.Bijective (c.firstBlock e.toLinearMap)) : |
| 49 | (c.transition e.toLinearMap h).transition e.symm.toLinearMap |
| 50 | (c.transition_inverse_bijective e h) = c := by |
| 51 | apply Subtype.ext |
| 52 | change (Charts.QuotientChart.ofCoordinates ((c.transition e.toLinearMap h).transitionCoordinates e.symm.toLinearMap _)).val = _ |
| 53 | rw [Charts.QuotientChart.transition_kernel] |
| 54 | change (Charts.QuotientChart.ofCoordinates (c.transitionCoordinates e.toLinearMap h)).val.comap e.symm.toLinearMap = _ |
| 55 | rw [Charts.QuotientChart.transition_kernel] |
| 56 | ext x |
| 57 | change e (e.symm x) ∈ c.val ↔ x ∈ c.val |
| 58 | rw [e.apply_symm_apply] |
| 59 | |
| 60 | /-- The two descriptions of the same quotient-chart overlap are equivalent. -/ |
| 61 | def Charts.QuotientChart.overlapEquiv (e : (U × V) ≃ₗ[R] (U × V)) : |
| 62 | {c : Charts.QuotientChart R U V // Function.Bijective (c.firstBlock e.toLinearMap)} ≃ |
| 63 | {c : Charts.QuotientChart R U V // Function.Bijective (c.firstBlock e.symm.toLinearMap)} where |
| 64 | toFun c := ⟨c.val.transition e.toLinearMap c.property, c.val.transition_inverse_bijective e c.property⟩ |
| 65 | invFun c := ⟨c.val.transition e.symm.toLinearMap c.property, |
| 66 | c.val.transition_inverse_bijective e.symm c.property⟩ |
| 67 | left_inv c := Subtype.ext (c.val.transition_inverse e c.property) |
| 68 | right_inv c := Subtype.ext (c.val.transition_inverse e.symm c.property) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quotient |