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.HodgeConjecture.HeckeCycles.RestrictedAwayComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RestrictedInsert |
| 3 | |
| 4 | /-! # Restricted Away Homeomorph -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedAwayHomeomorph.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The two actual away-group models are isomorphic as topological groups. -/ |
| 11 | |
| 12 | open scoped Classical RestrictedProduct |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RestrictedInsert.Approximation |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedPlaceProduct.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedAwayComparison.CM |
| 16 | |
| 17 | variable {I : Type*} {G : I → Type*} [∀ i, Group (G i)] |
| 18 | (K : ∀ i, Subgroup (G i)) (v : I) |
| 19 | |
| 20 | def insert : CMExtraction.RestrictedAwaySame.Approximation.RestrictedAway K v →* RestrictedPlaceProduct.CM.away K v := |
| 21 | (CMExtraction.RestrictedInsert.Approximation.restrictedInsertPlace K v).codRestrict (RestrictedPlaceProduct.CM.away K v) (CMExtraction.RestrictedInsert.Approximation.restrictedInsertPlace_same K v) |
| 22 | |
| 23 | theorem forget_insert (g : CMExtraction.RestrictedAwaySame.Approximation.RestrictedAway K v) : RestrictedAwayComparison.CM.forget K v (insert K v g) = g := |
| 24 | CMExtraction.RestrictedInsert.Approximation.restrictedForgetInsert K v g |
| 25 | |
| 26 | theorem insert_forget (g : RestrictedPlaceProduct.CM.away K v) : insert K v (RestrictedAwayComparison.CM.forget K v g) = g := by |
| 27 | apply Subtype.ext |
| 28 | have h := CMExtraction.RestrictedInsert.Approximation.restrictedInsertForget K v g.val |
| 29 | have hg : g.val v = 1 := g.property |
| 30 | rw [hg, map_one, one_mul] at h |
| 31 | exact h |
| 32 | |
| 33 | def equivalence : RestrictedPlaceProduct.CM.away K v ≃* CMExtraction.RestrictedAwaySame.Approximation.RestrictedAway K v where |
| 34 | toFun := RestrictedAwayComparison.CM.forget K v |
| 35 | invFun := insert K v |
| 36 | left_inv := insert_forget K v |
| 37 | right_inv := forget_insert K v |
| 38 | map_mul' := (RestrictedAwayComparison.CM.forget K v).map_mul |
| 39 | |
| 40 | variable [∀ i, TopologicalSpace (G i)] |
| 41 | |
| 42 | theorem insert_continuous : Continuous (insert K v) := |
| 43 | (CMExtraction.RestrictedInsert.Approximation.restrictedInsertPlace_continuous K v).subtype_mk _ |
| 44 | |
| 45 | def homeomorphism : RestrictedPlaceProduct.CM.away K v ≃ₜ CMExtraction.RestrictedAwaySame.Approximation.RestrictedAway K v where |
| 46 | toEquiv := (equivalence K v).toEquiv |
| 47 | continuous_toFun := RestrictedAwayComparison.CM.forget_continuous K v |
| 48 | continuous_invFun := insert_continuous K v |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedAwayHomeomorph.CM |