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.Analysis.Schwartz.TensorDecomposition |
| 2 | |
| 3 | /-! # Restricted Positions -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RestrictedPositions.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! ThetaCycle: finite position coordinates commute with restricted products, |
| 10 | including the actual restricted-product topologies. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open Filter |
| 14 | |
| 15 | variable {I V : Type*} [Finite I] (R : V → Type*) (A : ∀ v, Set (R v)) |
| 16 | |
| 17 | def restrictedPositionEquiv : |
| 18 | (I → RestrictedProduct R A cofinite) ≃ |
| 19 | RestrictedProduct (fun v => I → R v) (fun v => {x | ∀ i, x i ∈ A v}) cofinite where |
| 20 | toFun x := ⟨fun v i => x i v, |
| 21 | Filter.eventually_all.mpr (fun i => (x i).property)⟩ |
| 22 | invFun x i := ⟨fun v => x v i, x.property.mono (fun _ hv => hv i)⟩ |
| 23 | left_inv _ := rfl |
| 24 | right_inv _ := rfl |
| 25 | |
| 26 | theorem restricted_position_equiv_apply |
| 27 | (x : I → RestrictedProduct R A cofinite) (v : V) (i : I) : |
| 28 | restrictedPositionEquiv R A x v i = x i v := rfl |
| 29 | |
| 30 | variable [∀ v, TopologicalSpace (R v)] |
| 31 | |
| 32 | theorem restricted_position_equiv_continuous (hA : ∀ v, IsOpen (A v)) : |
| 33 | Continuous (restrictedPositionEquiv (I := I) R A) := by |
| 34 | apply (RestrictedProduct.continuous_dom_pi (fun _ v => hA v)).mpr |
| 35 | intro S hS |
| 36 | let lift : (I → RestrictedProduct R A (principal S)) → |
| 37 | RestrictedProduct (fun v => I → R v) (fun v => {x | ∀ i, x i ∈ A v}) (principal S) := |
| 38 | fun x => ⟨fun v i => x i v, fun v hv i => (x i).property hv⟩ |
| 39 | have hl : Continuous lift := by |
| 40 | apply RestrictedProduct.continuous_rng_of_principal.mpr |
| 41 | apply continuous_pi |
| 42 | intro v |
| 43 | apply continuous_pi |
| 44 | intro i |
| 45 | exact (RestrictedProduct.continuous_eval v).comp (continuous_apply i) |
| 46 | exact (RestrictedProduct.continuous_inclusion hS).comp hl |
| 47 | |
| 48 | theorem restricted_position_equiv_symm_continuous : |
| 49 | Continuous (restrictedPositionEquiv (I := I) R A).symm := by |
| 50 | apply continuous_pi |
| 51 | intro i |
| 52 | apply RestrictedProduct.continuous_dom.mpr |
| 53 | intro S hS |
| 54 | let lift : RestrictedProduct (fun v => I → R v) |
| 55 | (fun v => {x | ∀ j, x j ∈ A v}) (principal S) → RestrictedProduct R A (principal S) := |
| 56 | fun x => ⟨fun v => x v i, fun v hv => x.property hv i⟩ |
| 57 | have hl : Continuous lift := by |
| 58 | apply RestrictedProduct.continuous_rng_of_principal.mpr |
| 59 | apply continuous_pi |
| 60 | intro v |
| 61 | exact (continuous_apply i).comp (RestrictedProduct.continuous_eval v) |
| 62 | exact (RestrictedProduct.continuous_inclusion hS).comp hl |
| 63 | |
| 64 | def restrictedPositionHomeomorph (hA : ∀ v, IsOpen (A v)) : |
| 65 | (I → RestrictedProduct R A cofinite) ≃ₜ |
| 66 | RestrictedProduct (fun v => I → R v) (fun v => {x | ∀ i, x i ∈ A v}) cofinite where |
| 67 | toEquiv := restrictedPositionEquiv R A |
| 68 | continuous_toFun := restricted_position_equiv_continuous R A hA |
| 69 | continuous_invFun := restricted_position_equiv_symm_continuous R A |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RestrictedPositions.CM |