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.RestrictedAwaySame |
| 3 | |
| 4 | /-! # Restricted Away Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedAwayComparison.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compare the identity-component model of the away group with the |
| 11 | restricted product indexed by the other places. -/ |
| 12 | |
| 13 | open scoped Classical RestrictedProduct |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RestrictedAwaySame.Approximation |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedPlaceProduct.CM |
| 17 | |
| 18 | variable {I : Type*} {G : I → Type*} [∀ i, Group (G i)] |
| 19 | (K : ∀ i, Subgroup (G i)) (v : I) |
| 20 | |
| 21 | def forget : RestrictedPlaceProduct.CM.away K v →* CMExtraction.RestrictedAwaySame.Approximation.RestrictedAway K v := |
| 22 | (CMExtraction.RestrictedAwaySame.Approximation.restrictedForgetPlace K v).comp (RestrictedPlaceProduct.CM.away K v).subtype |
| 23 | |
| 24 | theorem forget_apply (g : RestrictedPlaceProduct.CM.away K v) (w : {w : I // w ≠ v}) : |
| 25 | forget K v g w = g.val w.val := rfl |
| 26 | |
| 27 | theorem forget_remove (g : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K) : |
| 28 | forget K v (RestrictedPlaceProduct.CM.awayHom K v g) = CMExtraction.RestrictedAwaySame.Approximation.restrictedForgetPlace K v g := by |
| 29 | apply RestrictedProduct.ext |
| 30 | intro w |
| 31 | exact RestrictedPlaceProduct.CM.remove_other K v g w.property |
| 32 | |
| 33 | theorem forget_injective : Function.Injective (forget K v) := by |
| 34 | intro g h he |
| 35 | apply Subtype.ext |
| 36 | apply RestrictedProduct.ext |
| 37 | intro w |
| 38 | by_cases hw : w = v |
| 39 | · subst w |
| 40 | exact g.property.trans h.property.symm |
| 41 | · exact congrArg (fun z : CMExtraction.RestrictedAwaySame.Approximation.RestrictedAway K v => z ⟨w, hw⟩) he |
| 42 | |
| 43 | variable [∀ i, TopologicalSpace (G i)] |
| 44 | |
| 45 | theorem forget_continuous : Continuous (forget K v) := |
| 46 | (CMExtraction.RestrictedAwaySame.Approximation.restrictedForgetPlace_continuous K v).comp continuous_subtype_val |
| 47 | |
| 48 | instance away_topologicalGroup [∀ i, IsTopologicalGroup (G i)] |
| 49 | [Fact (∀ i, IsOpen (K i : Set (G i)))] : IsTopologicalGroup (CMExtraction.RestrictedAwaySame.Approximation.RestrictedAway K v) := by |
| 50 | let : Fact (∀ w : {w : I // w ≠ v}, IsOpen (K w.val : Set (G w.val))) := |
| 51 | ⟨fun w => Fact.out (p := ∀ i, IsOpen (K i : Set (G i))) w.val⟩ |
| 52 | infer_instance |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedAwayComparison.CM |