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.Resolution.Blowups.Global.OverlapOrderPoint |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.CongruentAffineNeighborhood |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalControlled.Principality |
| 4 | |
| 5 | /-! # Tangent Comparison Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.TangentComparisonNeighborhood.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct an actual congruent comparison neighborhood around every transformed order point. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem globalBlowupMapTo_tangent_neighborhood |
| 16 | {X Y : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 17 | [IsIntegral Y] [IsLocallyNoetherian Y] |
| 18 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 19 | (q r : Y ⟶ X) [Etale q] (hqf : q ≫ f = g) (hrf : r ≫ f = g) |
| 20 | (I J : X.IdealSheafData) (K : Y.IdealSheafData) |
| 21 | (hq : I.comap q = K) (hr : I.comap r = K) (hI : I ≠ ⊥) (hK : K ≠ ⊥) |
| 22 | (n : ℕ) (hp : J ≤ I ^ (n + 1)) [Smooth (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f)] |
| 23 | (hcongr : IdealSheaf.CongruentMaps.Construction.IdealSheafCongruent q r (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n)) |
| 24 | (x : GlobalBlowup.Data.Construction.globalBlowup K hK) |
| 25 | (hx : GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q I K hq hI hK x ∈ |
| 26 | (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 27 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI (n + 1)) n).support) : |
| 28 | ∃ (W : Scheme) (j : W ⟶ GlobalBlowup.Data.Construction.globalBlowup K hK), IsOpenImmersion j ∧ x ∈ Set.range j ∧ |
| 29 | IdealSheaf.CongruentMaps.Construction.IdealSheafCongruent (j ≫ GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q I K hq hI hK) |
| 30 | (j ≫ GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo r I K hr hI hK) |
| 31 | (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 32 | (GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I J hI (n + 1)) n) := by |
| 33 | have hover : GlobalBlowup.Data.Construction.globalBlowupToBase I hI (GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q I K hq hI hK x) = |
| 34 | q (GlobalBlowup.Data.Construction.globalBlowupToBase K hK x) := |
| 35 | congrArg (fun m => m x) (GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo_over q I K hq hI hK) |
| 36 | have hy : GlobalBlowup.Data.Construction.globalBlowupToBase K hK x ∈ ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap q).support := by |
| 37 | rw [Scheme.IdealSheafData.support_comap] |
| 38 | change q (GlobalBlowup.Data.Construction.globalBlowupToBase K hK x) ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support |
| 39 | rw [← hover] |
| 40 | by_contra hn |
| 41 | have hpres := OrderLocusPreservation.Construction.globalBlowup_orderComplement_preimage_le f I J hI (n + 1) (Nat.succ_pos n) hp |
| 42 | simp only [Nat.add_sub_cancel] at hpres |
| 43 | exact hpres hn hx |
| 44 | obtain ⟨U, V, hqU, hrU, hxV, _⟩ := hcongr.exists_affine_pair (GlobalBlowup.Data.Construction.globalBlowupToBase K hK x) hy |
| 45 | have hxU : GlobalBlowup.Data.Construction.globalBlowupToBase I hI (GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q I K hq hI hK x) ∈ U.1 := by |
| 46 | rw [hover] |
| 47 | exact hqU hxV |
| 48 | obtain ⟨a, p, hpmap⟩ := GlobalControlled.Principality.Construction.exists_globalBlowupReesChart_over_affineOpen I hI U |
| 49 | (GlobalBlowup.SpecifiedMap.Construction.globalBlowupMapTo q I K hq hI hK x) hxU |
| 50 | obtain ⟨b, c, hb, hc, hxchart⟩ := OverlapOrderPoint.Construction.exists_globalBlowupOverlapChart_order_point f g q r hqf hrf I J K hq hr |
| 51 | hI hK n hp hcongr U V hqU hrU a x hxV p hpmap.symm (hpmap.symm ▸ hx) |
| 52 | exact ⟨_, GlobalBlowup.OverlapChart.Construction.globalBlowupOverlapChart K hK V b c, inferInstance, hxchart, |
| 53 | OverlapTangentCongruence.Construction.globalBlowupOverlapChart_tangent_congruent f g q r hqf hrf I J K hq hr hI hK n hp hcongr |
| 54 | U V hqU hrU a b c hb hc⟩ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.TangentComparisonNeighborhood.Construction |