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.Surface.HistoryProgram |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Surface.LogarithmicFiniteFamily |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Uniform.ControlPrefixOpenExtension |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlPrefix.TransformNaturality |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.ResidualNeighborhoodBoundary |
| 6 | |
| 7 | /-! # History Finite Existence -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Surface.HistoryFiniteExistence.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Finite families of surface problems have one common history schedule and actual full-boundary programs. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | theorem exists_finite_surface_history_programs_of_count (n k : ℕ) : |
| 18 | ∀ {β γ ι : Type} [Fintype β] [Fintype γ] [DecidableEq β] [Fintype ι] |
| 19 | (e : γ ↪ β), Fintype.card β - Fintype.card γ ≤ k → |
| 20 | ∀ (X : ι → Scheme) [∀ i, IsIntegral (X i)] [∀ i, IsLocallyNoetherian (X i)] [∀ i, CompactSpace (X i)] |
| 21 | (f : ∀ i, X i ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [∀ i, Smooth (f i)] (J : ∀ i, (X i).IdealSheafData), |
| 22 | (∀ i, J i ≠ ⊥) → (∀ i, topologicalKrullDim (X i) ≤ 2) → |
| 23 | ∀ (D : ∀ i, β → (X i).IdealSheafData) |
| 24 | (_E : ∀ i, Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (f i) (D i) [Finset.univ]) |
| 25 | (G : ∀ i, GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas (f i) (D i)), |
| 26 | (∀ i, ((G i).reindex e).logarithmicIdeal (J i) (n + 1) = ⊤) → |
| 27 | ∃ schedule : HistorySchedule.Construction.SurfaceHistorySchedule n e, ∀ i, |
| 28 | ∃ (Y : Scheme) (g : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (K : Y.IdealSheafData) |
| 29 | (P : Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix (n + 1) (X i) (f i) (J i) Y g K), |
| 30 | HistoryProgram.Construction.SurfaceHistoryProgram n schedule (X i) (f i) (J i) (D i) Y g K P := by |
| 31 | classical |
| 32 | induction k using Nat.strong_induction_on with |
| 33 | | h k ih => |
| 34 | intro β γ ι _ _ _ _ e hcount X _ _ _ f _ J hJ hd D E G hbound |
| 35 | by_cases he : Function.Surjective e |
| 36 | · have hfull (i : ι) : (G i).logarithmicIdeal (J i) (n + 1) = ⊤ := by |
| 37 | have hi := hbound i |
| 38 | rwa [(G i).logarithmicIdeal_surjective_reindex e he (J i) (n + 1)] at hi |
| 39 | obtain ⟨ℓ, Y, g, K, P, hP⟩ := LogarithmicFiniteFamily.Construction.exists_finite_surface_logarithmic_programs n X f J hd D E G hfull |
| 40 | exact ⟨.full e he ℓ, fun i => ⟨Y i, g i, K i, P i, .full e he ℓ (hP i)⟩⟩ |
| 41 | · have hex : ∃ j : β, ∀ s : γ, j ≠ e s := by |
| 42 | by_contra! hall |
| 43 | exact he (fun j => by obtain ⟨s, hs⟩ := hall j; exact ⟨s, hs.symm⟩) |
| 44 | obtain ⟨j, hj⟩ := hex |
| 45 | choose thresholds hthreshold using fun i => AuxiliaryProgram.Construction.exists_surface_auxiliary_program_threshold |
| 46 | (f i) (J i) n (hd i) (D i) (E i) j |
| 47 | let ℓ := Finset.univ.sup thresholds |
| 48 | have hℓ (i : ι) : thresholds i ≤ ℓ := Finset.le_sup (Finset.mem_univ i) |
| 49 | choose Y g C A aux using fun i => hthreshold i ℓ (hℓ i) |
| 50 | let N := HistorySchedule.Construction.surfaceAuxiliaryProgramStepCount n ℓ (Fintype.card β) |
| 51 | have hA (i : ι) : (A i).uniformBoundaryCompatible β (D i) := (aux i).uniformBoundaryCompatible (E i) |
| 52 | have hAB (i : ι) : (A i).boundaryCompatible β (D i) := |
| 53 | Blowups.Smooth.ControlPrefix.Construction.SmoothControlPrefix.uniformBoundaryCompatible.boundaryCompatible (A i) (D i) (hA i) |
| 54 | choose J' H' P Hprefix same sameH haux using fun i => |
| 55 | (A i).exists_auxiliary_same_blowups (Nat.succ_pos n) (J i) (D i j) rfl |
| 56 | let : ∀ i, Smooth (g i) := fun i => (A i).endpoint_smooth |
| 57 | let : ∀ i, IsIntegral (Y i) := fun i => (A i).endpoint_integral |
| 58 | let : ∀ i, IsLocallyNoetherian (Y i) := fun i => LocallyOfFiniteType.isLocallyNoetherian (g i) |
| 59 | let : ∀ i, CompactSpace (Y i) := fun i => QuasiCompact.compactSpace_of_compactSpace (A i).toBase |
| 60 | let : ∀ i, IsNoetherian (Y i) := fun _ => ⟨⟩ |
| 61 | let U (i : ι) := (A i).transformedBoundaryComplement (D i) j |
| 62 | let : ∀ i, Nonempty (U i) := fun i => by |
| 63 | obtain ⟨x, hx⟩ := GlobalBlowup.Local.Construction.idealSheaf_supportComplement_nonempty ((A i).transformIdeal (D i j) 1) |
| 64 | ((A i).transformIdeal_ne_bot _ _ ((E i).component_ne_bot j)) |
| 65 | exact ⟨⟨x, hx⟩⟩ |
| 66 | let : ∀ i, IsIntegral (U i) := fun i => isIntegral_of_isOpenImmersion (U i).ι |
| 67 | let : ∀ i, IsLocallyNoetherian (U i) := fun i => LocallyOfFiniteType.isLocallyNoetherian (U i).ι |
| 68 | let : ∀ i, NoetherianSpace (U i) := fun i => (U i).ι.isOpenEmbedding.isInducing.noetherianSpace |
| 69 | let DU (i : ι) (l : ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) := |
| 70 | ((A i).boundaryAtLength (D i) N (aux i).stepCount l).comap (U i).ι |
| 71 | let EA (i : ι) := Classical.choice ((A i).boundaryAtLength_atlas (D i) (hAB i) N (aux i).stepCount) |
| 72 | let EU (i : ι) := (EA i).comapOpen (g i) (U i).ι |
| 73 | have hexG (i : ι) : ∃ B : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas ((U i).ι ≫ g i) (DU i), |
| 74 | (B.reindex (FixedLengthBoundaryHistory.Construction.iteratedExtendedBoundaryHistory N e j hj)).logarithmicIdeal ((J' i).comap (U i).ι) (n + 1) = ⊤ := by |
| 75 | obtain ⟨B, hB⟩ := (A i).exists_fixed_length_extended_history_on_complement |
| 76 | (D i) (G i) e j hj (J i) (hbound i) (hAB i) N (aux i).stepCount |
| 77 | rw [(same i).transformIdeal] at hB |
| 78 | exact ⟨B, hB⟩ |
| 79 | choose GU hGU using hexG |
| 80 | have hJ' (i : ι) : J' i ≠ ⊥ := (P i).endpoint_ideal_ne_bot (hJ i) |
| 81 | have hJU (i : ι) : (J' i).comap (U i).ι ≠ ⊥ := |
| 82 | Global.ResidualNeighborhoodBoundary.Construction.idealSheaf_comap_nonempty_open_ne_bot (U i).ι (J' i) (hJ' i) |
| 83 | have hdU (i : ι) : topologicalKrullDim (U i) ≤ 2 := |
| 84 | (U i).ι.isOpenEmbedding.isInducing.topologicalKrullDim_le.trans ((A i).endpoint_dimension_le 2 (hd i)) |
| 85 | have hlt : Fintype.card (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) - Fintype.card (Option (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N γ)) < k := |
| 86 | (FixedLengthBoundaryHistory.Construction.iteratedExtendedBoundaryHistory_missing_count_lt N e j hj).trans_le hcount |
| 87 | obtain ⟨schedule, htail⟩ := ih _ hlt (FixedLengthBoundaryHistory.Construction.iteratedExtendedBoundaryHistory N e j hj) le_rfl |
| 88 | (fun i => (U i).toScheme) (fun i => (U i).ι ≫ g i) (fun i => (J' i).comap (U i).ι) |
| 89 | hJU hdU DU EU GU hGU |
| 90 | choose V h L T tail using htail |
| 91 | have hcover (i : ι) : ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (g i) (J' i) n).support : Set (Y i)) ⊆ Set.range (U i).ι := by |
| 92 | have hclear := (A i).auxiliary_clearance (Nat.succ_pos n) (J i) (D i j) rfl |
| 93 | (by simpa only [Nat.add_sub_cancel, Nat.succ_sub_one] using (aux i).terminal_order) |
| 94 | rw [(same i).transformIdeal] at hclear |
| 95 | exact Global.ClearedHistoryNeighborhood.Construction.cleared_boundary_complement_contains_order_locus |
| 96 | (g i) (J' i) ((A i).transformIdeal (D i j) 1) (n + 1) hclear |
| 97 | choose Z k M R r hR comparison hopen hremaining using fun i => |
| 98 | (T i).exists_uniform_extension_from_order_neighborhood (Y i) (g i) (J' i) (hJ' i) (U i).ι rfl rfl |
| 99 | (by simpa only [Nat.add_sub_cancel] using hcover i) (ControlPrefix.CanonicalLabels.Construction.iteratedBoundaryLabels N β) |
| 100 | ((A i).boundaryAtLength (D i) N (aux i).stepCount) (EA i) (tail i).uniformBoundaryCompatible |
| 101 | refine ⟨.clear e j hj ℓ schedule, ?_⟩ |
| 102 | intro i |
| 103 | exact ⟨Z i, k i, M i, (P i).append (R i), .clear e j hj ℓ schedule (A i) (aux i) (hA i) |
| 104 | (P i) (same i) (T i) (tail i) (R i) (r i) (comparison i) (hR i) |
| 105 | (by simpa only [Nat.add_sub_cancel] using hremaining i)⟩ |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.Resolution.Blowups.Surface.HistoryFiniteExistence.Construction |