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.RestrictedPlaceProduct |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RestrictedInsert |
| 3 | |
| 4 | /-! # Restricted Fill Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedFillComparison.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Removing a local factor is exactly insertion of the identity into |
| 11 | the complementary restricted product. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RestrictedInsert.Approximation |
| 15 | |
| 16 | variable {I : Type*} {G : I → Type*} [∀ i, Group (G i)] |
| 17 | (K : ∀ i, Subgroup (G i)) (v : I) |
| 18 | |
| 19 | def fill : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K →* RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K := |
| 20 | (RestrictedPlaceProduct.CM.away K v).subtype.comp (RestrictedPlaceProduct.CM.awayHom K v) |
| 21 | |
| 22 | theorem same (g : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K) : fill K v g v = 1 := |
| 23 | RestrictedPlaceProduct.CM.remove_same K v g |
| 24 | |
| 25 | theorem other (g : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K) {w : I} (hw : w ≠ v) : fill K v g w = g w := |
| 26 | RestrictedPlaceProduct.CM.remove_other K v g hw |
| 27 | |
| 28 | theorem inserted (g : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K) : |
| 29 | fill K v g = CMExtraction.RestrictedInsert.Approximation.restrictedInsertPlace K v (CMExtraction.RestrictedAwaySame.Approximation.restrictedForgetPlace K v g) := by |
| 30 | apply RestrictedProduct.ext |
| 31 | intro w |
| 32 | by_cases hw : w = v |
| 33 | · subst w |
| 34 | rw [same, CMExtraction.RestrictedInsert.Approximation.restrictedInsertPlace_same] |
| 35 | · rw [other K v g hw, CMExtraction.RestrictedInsert.Approximation.restrictedInsertPlace_other K v _ w hw] |
| 36 | rfl |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedFillComparison.CM |