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.Quotients.FiniteDescent.RelativeAffine |
| 2 | |
| 3 | /-! # Rigidity Restriction On -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.RigidityRestrictionOn.Construction.RigidityRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting a section and applying affine rigidity on a neighborhood of the base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X S : Scheme.{u}} (f : X ⟶ S) (e : S ⟶ X) (he : e ≫ f = 𝟙 S) |
| 16 | |
| 17 | include he |
| 18 | |
| 19 | theorem section_range (V : S.Opens) : |
| 20 | Set.range (V.ι ≫ e) ⊆ Set.range (f ⁻¹ᵁ V).ι := by |
| 21 | rw [Scheme.Opens.range_ι] |
| 22 | rintro _ ⟨x, rfl⟩ |
| 23 | change (e ≫ f) x.1 ∈ V |
| 24 | rw [he] |
| 25 | exact x.2 |
| 26 | |
| 27 | def section_restrict (V : S.Opens) : V.toScheme ⟶ (f ⁻¹ᵁ V).toScheme := |
| 28 | IsOpenImmersion.lift (f ⁻¹ᵁ V).ι (V.ι ≫ e) (section_range f e he V) |
| 29 | |
| 30 | @[reassoc] |
| 31 | theorem section_restrict_comp (V : S.Opens) : |
| 32 | section_restrict f e he V ≫ (f ⁻¹ᵁ V).ι = V.ι ≫ e := |
| 33 | IsOpenImmersion.lift_fac _ _ _ |
| 34 | |
| 35 | theorem section_restrict_comp_base (V : S.Opens) : |
| 36 | section_restrict f e he V ≫ (f ∣_ V) = 𝟙 _ := by |
| 37 | apply (cancel_mono V.ι).mp |
| 38 | rw [Category.assoc, morphismRestrict_ι, section_restrict_comp_assoc, |
| 39 | he, Category.comp_id, Category.id_comp] |
| 40 | |
| 41 | theorem factor_on_open [IsProper f] [Smooth f] [GeometricallyConnected f] [IsReduced X] |
| 42 | {Y : Scheme.{u}} (h : X ⟶ Y) (U : Y.affineOpens) (V : S.Opens) |
| 43 | (hV : Set.range ((f ⁻¹ᵁ V).ι ≫ h) ⊆ Set.range U.1.ι) : |
| 44 | (f ⁻¹ᵁ V).ι ≫ h = (f ⁻¹ᵁ V).ι ≫ f ≫ e ≫ h := by |
| 45 | let h' := IsOpenImmersion.lift U.1.ι ((f ⁻¹ᵁ V).ι ≫ h) hV |
| 46 | have hh' : h' ≫ U.1.ι = (f ⁻¹ᵁ V).ι ≫ h := IsOpenImmersion.lift_fac _ _ _ |
| 47 | have : IsAffine U.1.toScheme := U.2 |
| 48 | have H := RelativeAffine.Construction.RelativeAffineRigidity.factor (f ∣_ V) (section_restrict f e he V) |
| 49 | (section_restrict_comp_base f e he V) h' |
| 50 | have H' := congrArg (fun g => g ≫ U.1.ι) H |
| 51 | simp only [Category.assoc] at H' |
| 52 | rw [hh', section_restrict_comp_assoc, morphismRestrict_ι_assoc] at H' |
| 53 | exact H' |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.RigidityRestrictionOn.Construction.RigidityRestriction |