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.AbelianModuli.HilbertConstruction.Proper.PropertyOpenMaximality |
| 2 | |
| 3 | /-! # Smooth Dimension Open -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.SmoothDimensionOpen |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A proper family has an actual maximal open base on which it is smooth of a specified relative dimension; every test scheme mapping into that open inherits the fixed dimension. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | local instance smoothDimensionSourceLocal (g : ℕ) : |
| 16 | IsZariskiLocalAtSource (@SmoothOfRelativeDimension g : MorphismProperty Scheme.{u}) := |
| 17 | HasRingHomProperty.instIsZariskiLocalAtSource |
| 18 | (Q := RingHom.Locally (RingHom.IsStandardSmoothOfRelativeDimension g)) |
| 19 | |
| 20 | local instance smoothDimensionOpenPostcomp (g : ℕ) : |
| 21 | MorphismProperty.RespectsRight (@SmoothOfRelativeDimension g : MorphismProperty Scheme.{u}) @IsOpenImmersion where |
| 22 | postcomp i hi f hf := by |
| 23 | have : IsOpenImmersion i := hi |
| 24 | have : SmoothOfRelativeDimension g f := hf |
| 25 | have h : SmoothOfRelativeDimension (g + 0) (f ≫ i) := smoothOfRelativeDimension_comp g 0 f i |
| 26 | simpa only [Nat.add_zero] using h |
| 27 | |
| 28 | variable {X S : Scheme.{u}} (f : X ⟶ S) (g : ℕ) |
| 29 | |
| 30 | def smoothDimensionSourceOpen : X.Opens := SourcePropertyOpenLocus.sourcePropertyOpenLocus (@SmoothOfRelativeDimension g) f |
| 31 | |
| 32 | theorem smoothDimensionSourceOpen_property : |
| 33 | SmoothOfRelativeDimension g ((smoothDimensionSourceOpen f g).ι ≫ f) := |
| 34 | SourcePropertyOpenLocus.sourcePropertyOpenLocus_property (@SmoothOfRelativeDimension g) f |
| 35 | |
| 36 | theorem smoothDimensionSourceOpen_iff (U : X.Opens) : |
| 37 | SmoothOfRelativeDimension g (U.ι ≫ f) ↔ U ≤ smoothDimensionSourceOpen f g := |
| 38 | SourcePropertyOpenLocus.sourcePropertyOpenLocus_iff (@SmoothOfRelativeDimension g) f U |
| 39 | |
| 40 | variable [IsProper f] |
| 41 | |
| 42 | def properSmoothDimensionBaseOpen : S.Opens := SourcePropertyBaseOpen.properSourcePropertyBaseOpen (@SmoothOfRelativeDimension g) f |
| 43 | |
| 44 | theorem properSmoothDimensionBaseOpen_restrict : |
| 45 | SmoothOfRelativeDimension g (f ∣_ properSmoothDimensionBaseOpen f g) := by |
| 46 | let : MorphismProperty.IsStableUnderBaseChange (@SmoothOfRelativeDimension g : MorphismProperty Scheme.{u}) := |
| 47 | smoothOfRelativeDimension_isStableUnderBaseChange g |
| 48 | exact SourcePropertyBaseOpen.properSourcePropertyBaseOpen_restrict (@SmoothOfRelativeDimension g) f |
| 49 | |
| 50 | theorem properSmoothDimensionBaseOpen_restrict_iff (U : S.Opens) : |
| 51 | SmoothOfRelativeDimension g (f ∣_ U) ↔ U ≤ properSmoothDimensionBaseOpen f g := by |
| 52 | let : MorphismProperty.IsStableUnderBaseChange (@SmoothOfRelativeDimension g : MorphismProperty Scheme.{u}) := |
| 53 | smoothOfRelativeDimension_isStableUnderBaseChange g |
| 54 | exact PropertyOpenMaximality.properSourcePropertyBaseOpen_restrict_iff (@SmoothOfRelativeDimension g) f U |
| 55 | |
| 56 | theorem smoothDimension_pullback_of_range_subset {T : Scheme.{u}} (c : T ⟶ S) |
| 57 | (hc : Set.range c ⊆ properSmoothDimensionBaseOpen f g) : |
| 58 | SmoothOfRelativeDimension g (pullback.snd f c) := by |
| 59 | let : MorphismProperty.IsStableUnderBaseChange (@SmoothOfRelativeDimension g : MorphismProperty Scheme.{u}) := |
| 60 | smoothOfRelativeDimension_isStableUnderBaseChange g |
| 61 | exact SourcePropertyOpenRecovery.property_pullback_of_range_subset_properBaseOpen (@SmoothOfRelativeDimension g) f c hc |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.SmoothDimensionOpen |