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.NumberTheory.PadicHodge.IntegralComparison.Etale.AffineTargetNilLift |
| 2 | |
| 3 | /-! # Affine Open Nil Lift -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.AffineOpenNilLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Unique nilpotent lifting into an affine etale chart over an affine |
| 10 | open of an arbitrary base. Surjectivity of the reduction supplies the |
| 11 | required factorization through the base open. -/ |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | variable {X U Y T T₀ : Scheme.{u}} [IsAffine U] [IsAffine Y] |
| 18 | (f : Y ⟶ U) [Etale f] (j : U ⟶ X) [IsOpenImmersion j] |
| 19 | (i : T₀ ⟶ T) [IsClosedImmersion i] [Surjective i] |
| 20 | (hi : IsNilpotent i.ker) (a : T₀ ⟶ Y) (b : T ⟶ X) |
| 21 | (hab : a ≫ f ≫ j = i ≫ b) |
| 22 | |
| 23 | include hab in |
| 24 | omit [IsAffine U] [IsAffine Y] [Etale f] [IsOpenImmersion j] [IsClosedImmersion i] in |
| 25 | theorem base_range : Set.range b ⊆ Set.range j := by |
| 26 | rintro _ ⟨t, rfl⟩ |
| 27 | obtain ⟨t₀, rfl⟩ := i.surjective t |
| 28 | refine ⟨f (a t₀), ?_⟩ |
| 29 | exact congrArg (fun g : T₀ ⟶ X => g t₀) hab |
| 30 | |
| 31 | def base : T ⟶ U := IsOpenImmersion.lift j b (base_range f j i a b hab) |
| 32 | |
| 33 | omit [IsAffine U] [IsAffine Y] [Etale f] [IsClosedImmersion i] in |
| 34 | theorem base_reduction : i ≫ base f j i a b hab = a ≫ f := by |
| 35 | apply (cancel_mono j).mp |
| 36 | rw [Category.assoc, base, IsOpenImmersion.lift_fac] |
| 37 | simpa only [Category.assoc] using hab.symm |
| 38 | |
| 39 | include hi hab in |
| 40 | theorem existsUnique_lift : ∃! l : T ⟶ Y, i ≫ l = a ∧ l ≫ f ≫ j = b := by |
| 41 | obtain ⟨l, hl, hu⟩ := AffineTargetNilLift.existsUnique_lift f i hi a |
| 42 | (base f j i a b hab) (base_reduction f j i a b hab).symm |
| 43 | refine ⟨l, ⟨hl.1, ?_⟩, ?_⟩ |
| 44 | · rw [← Category.assoc, hl.2, base, IsOpenImmersion.lift_fac] |
| 45 | · intro m hm |
| 46 | apply hu m |
| 47 | refine ⟨hm.1, ?_⟩ |
| 48 | apply (cancel_mono j).mp |
| 49 | rw [Category.assoc, hm.2, base, IsOpenImmersion.lift_fac] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.AffineOpenNilLift |