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.RepresentationTheory.Weil.AdelicSplitting.UnitaryBase |
| 2 | |
| 3 | /-! # Intrinsic Unitary Field Equiv -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicUnitaryFieldEquiv.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A star-preserving field presentation gives an actual equivalence of |
| 10 | the specified unitary groups, in both coordinate directions. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | |
| 14 | open OAI.RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction |
| 15 | |
| 16 | variable {I R S : Type} [Fintype I] [DecidableEq I] |
| 17 | variable [CommRing R] [StarRing R] [CommRing S] [StarRing S] |
| 18 | |
| 19 | theorem inverse_preserves_star (e : R ≃+* S) (he : ∀ x, e (star x) = star (e x)) |
| 20 | (y : S) : e.symm (star y) = star (e.symm y) := by |
| 21 | apply e.injective |
| 22 | rw [e.apply_symm_apply,he,e.apply_symm_apply] |
| 23 | |
| 24 | omit [Fintype I] [DecidableEq I] [StarRing R] [StarRing S] in |
| 25 | theorem inverse_mapped_form (e : R ≃+* S) (H : Matrix I I R) : |
| 26 | (H.map e.toRingHom).map e.symm.toRingHom = H := by |
| 27 | ext i j |
| 28 | exact e.symm_apply_apply _ |
| 29 | |
| 30 | def unitaryFieldInverse (e : R ≃+* S) (he : ∀ x, e (star x) = star (e x)) |
| 31 | (H : Matrix I I R) (g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary (H.map e.toRingHom)) : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H := |
| 32 | ⟨Units.map e.symm.toRingHom.mapMatrix.toMonoidHom g.val,by |
| 33 | have h := congrArg (fun M : Matrix I I S => M.map e.symm.toRingHom) g.property |
| 34 | rw [Matrix.map_mul,Matrix.map_mul,Weil.AdelicSplitting.UnitaryBase.Construction.map_conjTranspose e.symm.toRingHom |
| 35 | (inverse_preserves_star e he),inverse_mapped_form] at h |
| 36 | exact h⟩ |
| 37 | |
| 38 | def unitaryFieldEquiv (e : R ≃+* S) (he : ∀ x, e (star x) = star (e x)) |
| 39 | (H : Matrix I I R) : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary H ≃* Weil.AdelicSplitting.UnitaryBase.Construction.Unitary (H.map e.toRingHom) where |
| 40 | toFun := Weil.AdelicSplitting.UnitaryBase.Construction.unitaryBaseChange e.toRingHom he H |
| 41 | invFun := unitaryFieldInverse e he H |
| 42 | left_inv g := by |
| 43 | apply Subtype.ext |
| 44 | apply Units.ext |
| 45 | ext i j |
| 46 | exact e.symm_apply_apply _ |
| 47 | right_inv g := by |
| 48 | apply Subtype.ext |
| 49 | apply Units.ext |
| 50 | ext i j |
| 51 | exact e.apply_symm_apply _ |
| 52 | map_mul' := (Weil.AdelicSplitting.UnitaryBase.Construction.unitaryBaseChange e.toRingHom he H).map_mul |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicUnitaryFieldEquiv.Intrinsic |