Repository navigation
Description
Surfaces are resolved in Lean. This milestone closes with the release v0.5.0.
Spec: docs/spec/04-routes.md, 07-corpus.md section 7.6, and 15-milestones.md section S4.
Acceptance
-
resolutionInDim_twois proved, for varieties first. - Embedded resolution of surfaces is stated, and half of its nodes are proved. The statement
EmbeddedResolutionSurfaceis in State the embedded resolution of surfaces singularity-lean#61, in a weaker form (see the notes of SG0000001C). Two of its three nodes, SG0000000T and SG0000000V, have Lean definitions and Lean proofs of their first facts. The node SG0000001B (the theorem of Lipman) is not proved yet.
How we work
- We do the steps of Part B in the order of the list. We start a step only when the steps before it are done.
- Each step has one Lean PR in tamnd/singularity-lean and one handbook PR in tamnd/singularity-handbook. The handbook PR gives the full proof for students. The Lean PR proves the same statement.
- When the PRs of a step merge, we check the step and write a comment on this issue with the PR links.
- After two or three steps, we pin a green main build of singularity-lean in the map and make a patch release (Part D). When the handbook changed, we also make a handbook edition with the PDF and EPUB books.
- A step marked "Blocked" needs theory that Mathlib does not have. We do not start it. We first add the missing theory as its own step.
- When all items are checked, we make the release v0.5.0.
Part A. The handbook for students
Volume 4 is the textbook of this milestone. Each item makes one chapter ready for a student who knows commutative algebra at the level of Atiyah and Macdonald. A chapter is ready when each section has a short motivation, complete definitions, complete proofs, at least one worked example for each main theorem, exercises with hints, and a precise reference (theorem or page number) for each citation.
- A1. Volume 4 is drafted, with Chapters 1 to 3 (Add Volume 4, resolution of surfaces singularity-handbook#55).
- A2. Chapter 1, blowups: add worked examples to Section 1.1 (the blowup of the plane at a point, the blowup of the cone z^2 = xy) and exercises to Sections 1.1 and 1.2 (Volume 4, Chapter 1: motivations, worked examples, exercises and precise references singularity-handbook#676).
- A3. Chapter 2, the theorem of Lipman: add a motivation for rational singularities, exercises to Sections 2.1 and 2.2, and a guide to the examples of Section 2.3 (Volume 4, Chapter 2: motivations, worked examples, exercises and precise references singularity-handbook#678).
- A4. Chapter 3, embedded resolution: add exercises, and a worked run of the algorithm on the curve y^2 = x^3 in the plane (Volume 4, Chapter 3: worked runs on the cusp and the node, and exercises singularity-handbook#681).
- A5. Each Lean line of Volume 4 names a declaration that exists on the main branch of singularity-lean and matches the Lean names of its map node (the warnings of
python3 -m shb checkfor the nodes SG0000000S and SG0000003C go away). Each reference of Volume 4 is checked against its source ([Art86], [Har, Proposition II.6.13], [Nag62, Appendix A1], [EGA4-7, 7.8.3]). Done in Volume 4: check the Lean lines and the references singularity-handbook#710. All 237 Lean names of Volume 4 exist on main. [Har, Proposition II.6.13] and [Nag62, Appendix A1] are checked against secondary sources only, and [Art86] is cited as a full work.
Part B. The Lean steps in order
B1. Points and curves on a regular surface. Done.
- B1.1. The chart of the blowup of a regular local ring at a closed point is regular,
isRegularRing_blowupChart(Prove that a chart of the blowup of a regular local ring is regular singularity-lean#53, Add Section 1.10 of Volume 1, the blowup of a regular local ring singularity-handbook#49, map node SG0000003C, Add the node of the regular chart of a blowup #63). - B1.2. The blowup of a regular curve on a regular surface is an isomorphism (Prove that the blowup of a regular curve on a regular surface is an isomorphism singularity-lean#57, Add the blowup along a regular curve to Volume 4 singularity-handbook#61, map node SG0000003D, Add the node of the blowup of a regular curve on a regular surface #70).
- B1.3. The dimension and the regularity of a hypersurface at a closed point, Lemma 2.3.1 and Proposition 2.3.2, part 1 (Prove the dimension and the regularity of a hypersurface at a closed point singularity-lean#482, Fix the build of the surface point and the full normalization files singularity-lean#504, Name the Lean proofs of Lemma 2.3.1 of Volume 4 and the vertex weight of Volume 6 singularity-handbook#581, Name the Lean proof of Proposition 2.3.2, part 1, in Volume 4 singularity-handbook#585).
- B1.4. The regularity criterion at a rational point, Lemma 2.3.4 and Example 2.3.5, and the regular points of xy = z^n (Prove the regularity criterion at a rational point and Lemma 2.3.4 of Volume 4 singularity-lean#486, Prove the regular rational points of the surface xy = z^n singularity-lean#488, Name the Lean proofs of Lemma 2.3.4 and Example 2.3.5 in Volume 4 singularity-handbook#583).
B2. The embedded resolution of a curve, in the chart model. Done.
- B2.1. The length claims of Lemma 3.1.7, parts 3 and 5, and Lemma 2.3.9, parts 1 and 3 (Prove the length claims of Volume 4, Lemma 3.1.7, part 3 singularity-lean#495, Prove Lemma 3.1.7 (5) for lengths and Lemma 2.3.9 (1, 3) in the transition model singularity-lean#505, Name the Lean proofs of the lengths in Volume 4, Lemma 3.1.7 singularity-handbook#593, Name the length form of Lemma 3.1.7 (5) and Lemma 2.3.9 (1, 3) in the Lean lines singularity-handbook#606).
- B2.2. Lemma 3.1.7, part 4: the multiplicity of the strict transform at each point is at most m. Theorem 3.1.8, part 2, Steps 3 and 4: the contact drops by 1 at each blowup (Prove Lemma 3.1.7, part 4, and the algebra of Theorem 3.1.8, part 2, for lengths singularity-lean#529, Name the Lean declarations for Lemma 3.1.7, part 4, and Theorem 3.1.8, part 2 singularity-handbook#622).
- B2.3. Theorem 3.1.8, part 2, Step 3, in the chart B = R[T]/(uT - v): B/(t) = R/(v) and the length equality (Prove the chart identification and the claim b in (v) + m^2 of Theorem 3.1.8 singularity-lean#543, Volume 4, Theorem 3.1.8: name the chart identification and the claim b in (v) + m^2 singularity-handbook#632).
- B2.4. Theorem 3.1.8, part 2, Steps 3 and 4: the other pairs of components, and the count that ends after at most tau and then t blowups (Prove the other pairs and the blowup count of Theorem 3.1.8, part 2 singularity-lean#555, Volume 4, Theorem 3.1.8: name the other pairs and the blowup count in the Lean line singularity-handbook#640).
B3. The blowup in an algebraic form. Done.
- B3.1. Lemma 1.1.3, part 1: the charts D+(f_i t) cover the blowup (Prove the cover of the node blowup by the four charts in algebraic form singularity-lean#528, Volume 4, Lemma 1.1.3: name the Lean proof of the chart cover singularity-handbook#624).
- B3.2. Lemma 1.1.3, part 2: the degree 0 part of the Rees algebra localized at x t is the chart P[I/x], with the grading
reesGrade(Prove that the degree 0 part of the Rees algebra at x t is the chart A[I/x] singularity-lean#547, Volume 8, Proposition 2.4.3: name the algebraic form of D+(x t) = Spec P[I/x] singularity-handbook#634). - B3.3. Theorem 1.1.2, part 2, and Lemma 1.1.3, formula (*): the chart R[I/f] away from f is R[1/f], and two charts agree on their overlap (Prove that a blowup chart is an isomorphism away from the center singularity-lean#566, Volume 4: name the chart localization and overlap isomorphisms in the Lean lines singularity-handbook#644).
- B3.4. The cocycle condition of the overlap isomorphisms for three charts,
idealChartOverlapEquiv_cocycleandexists_idealChartOverlapEquiv_cocycle(Prove the cocycle condition of the overlap isomorphisms of the blowup charts singularity-lean#582, Name the cocycle condition of the blowup charts in the Lean lines of Volume 4 and Volume 8 singularity-handbook#687).
B4. The blowup as a scheme. B4.1 to B4.4 are done. B4.5 is blocked.
Mathlib has AlgebraicGeometry.Proj of a graded ring, with Proj.basicOpenIsoSpec, Proj.affineOpenCoverOfIrrelevantLESpan and Proj.toSpecZero. Our grading reesGrade I makes the Rees algebra a graded ring. Thus the blowup is Proj (reesGrade I), and this part is not blocked.
- B4.1. Define the blowup of an ideal I of a ring A as
Proj (reesGrade I)with its map to Spec A. Prove that the degree 0 part of the grading is A. Done in Define the blowup of Spec A as Proj of the Rees algebra and prove the chart cover singularity-lean#622. - B4.2. For x in I, identify the open set D+(x t) with Spec P[I/x] as a scheme (B3.2 and
Proj.basicOpenIsoSpec). When I is generated by x_1, ..., x_n, these opens cover the blowup. Done in Define the blowup of Spec A as Proj of the Rees algebra and prove the chart cover singularity-lean#622 (Singularity/Surface/Blowup/Proj.lean,blowupScheme,blowupSchemeChartIso,blowupSchemeChartCover). - B4.3. The inverse image of I on the blowup is locally principal. On the chart of x it is generated by x. This is the exceptional divisor E. Done in Prove that the inverse image of I on the blowup is locally principal (B4.3) singularity-lean#652 (
Singularity/Surface/Blowup/Exceptional.lean,exceptionalIdealSheaf,exists_exceptionalIdealSheaf_comap_eq_span) and Volume 4, Section 1.1: the exceptional ideal sheaf in Lean (B4.3) singularity-handbook#702. - B4.4. Volume 4, Theorem 1.1.7 (the issue said 1.1.2 by mistake): the blowup of a regular local ring of dimension 2 at its maximal ideal is regular, and E is the projective line over the residue field (B1.1 and B4.2). Done in Prove the blowup of a regular local ring is regular, and S/mS is a polynomial ring (B4.4) singularity-lean#663 (
Singularity/Surface/Blowup/Regular.lean) and Volume 4, Theorem 1.1.7: Lean names and the exceptional divisor as Proj of the graded ring singularity-handbook#703.isRegularScheme_blowupScheme_maximalIdealproves regularity in each dimension.reesExceptionalEquivgives S/mS = k[X_0, ..., X_d], which is E in algebraic form, andblowupScheme_maximalIdeal_of_dim_twostates the case of dimension 2. - B4.5. Blocked. E is isomorphic to the projective line as a scheme, and Theorem 1.1.7, part 3 (the conormal sheaf is O(1)). Mathlib does not identify the closed subscheme of Proj S cut out by a homogeneous ideal J with Proj(S/J), and it has no grading on a quotient of a graded ring. We first add this as its own step when B5 needs it.
B5. Embedded resolution of a curve on a regular surface, on schemes.
- B5.1. Theorem 3.1.8, part 2, on schemes: the points of the two charts glue into E, and the blowup map follows the rules of Steps 3 and 4 (B2 and B4). Done on points in Prove the points of the exceptional curve and the chart rules (step B5.1) singularity-lean#671 (
Singularity/Surface/Blowup/ExceptionalPoints.lean) and Volume 4, Theorem 3.1.8: the rules of Steps 3 and 4 on the charts and the Lean names singularity-handbook#716: E is the union of V(x) in the charts (exceptionalLocus_eq_iUnion), the total transform is E with the strict set, and Rules 1 to 3 hold. Not in Lean: E as the projective line (B4.5), the strict set as a closure, and the drop of the contact on the local rings of the blown up surface. B5.2 needs the last one. - B5.2. D_n has simple normal crossings after finitely many blowups. This proves the node SG0000000V in the scheme form. We split it into three substeps.
- B5.2a. The drop of the contact on local rings: for f of order m in a regular local ring A of dimension 2, the strict transform f / x^m in the localization of A[m/x] at a point of E has order at most m, and the invariant of Step 3 goes down. Done in Prove the order bound and the contact drop on the localized blowup chart singularity-lean#684 (merge 7f978c5,
Singularity/Surface/Embedded/ContactDrop.lean) and Volume 4, Lemma 3.1.7 and Theorem 3.1.8: the order and the contact on the local rings of the chart singularity-handbook#758 (Volume 4, Lemma 3.1.7, part 4, and Theorem 3.1.8, Step 3). Not in Lean: B_Q is the local ring of the blown-up surface, and the statements on the whole surface. - B5.2b. The induction on the invariant of Steps 3 and 4: after finitely many blowups of closed points the total transform of the curve has simple normal crossings at each point, on local rings. Done in Prove the induction of Steps 3 and 4 of the embedded resolution of a curve on local rings (S4, B5.2b) singularity-lean#766 (merge 5394b26,
Singularity/Surface/Embedded/SNCInduction.lean,SurfaceGerm.measure_blowup_ltandSurfaceGerm.exists_isSNC_of_chain) and Volume 4, Theorem 3.1.8: Steps 3 and 4 as one induction on local rings (S4, B5.2b) singularity-handbook#850 (Volume 4, Theorem 3.1.8, Steps 3 and 4). Not in Lean: that the chart ring B_Q is the stalk of the blowup scheme, and Steps 1 and 2. - B5.2c. The node SG0000000V in the scheme form, from B5.1, B5.2a and B5.2b. Done in Prove the stalk form of node SG0000000V for blowups of local rings (S4, B5.2c) singularity-lean#786 (merge dd382c6,
Singularity/Surface/Embedded/StalkSNC.lean,SurfaceGerm.exists_isSncAt_of_chain) and Add the stalks of the blowup and node SG0000000V at the points of a chain to Volume 4, Section 3.1 (S4, B5.2c) singularity-handbook#867 (merge a587545, Volume 4, Section 3.1, Proposition 4 and Corollary 5). The Lean form is the stalk form for blowups of Spec R, with R a regular local ring of dimension 2. The global form is item B5.2d. - B5.2d. The node SG0000000V for a curve on a whole surface: the blowup of a surface that is not affine, flat base change from the stalks of the blowup of Spec O_{S,P}, the points of E that are not closed, the finiteness of the points without simple normal crossings, and the divisor condition
IsSncDivisoron the last surface.
- B5.2a. The drop of the contact on local rings: for f of order m in a regular local ring A of dimension 2, the strict transform f / x^m in the localization of A[m/x] at a point of E has order at most m, and the invariant of Step 3 goes down. Done in Prove the order bound and the contact drop on the localized blowup chart singularity-lean#684 (merge 7f978c5,
B6. The theorem of Lipman.
- B6.1. Normalization of an excellent surface is finite, and a normal surface has finitely many singular points, Theorem 1.2.2 and Lemma 1.2.3 for schemes.
- B6.2. Blocked. The cohomology input of the proof of Lipman: the vanishing of H^1 of the structure sheaf for rational singularities. Mathlib does not have coherent cohomology of schemes. The other way is a reviewed bridge to the proof of AxiomMath/Stacks.
- B6.3.
resolutionInDim_twofrom B5 and B6.2.
Part C. Code organization
The files of this milestone are now in Singularity/Algebra and Singularity/Surface, in one flat list. We put them in one folder for each topic.
The moves are refactor PRs with the labels area/lean and type/refactor. A refactor PR moves files and changes imports only. It does not change a proof. We make it when no open PR changes the moved files. We do not move the files of the tracks T1, T2, S7 and S9 (T1*, T2*, OpenCase*, TargetT*). Their owner moves them.
- C1.
Singularity/Surface/Blowup/:Algebra/BlowupChart,Algebra/ReesAwayChart,Algebra/ReesAwayOverlap,Surface/IdealChart,Surface/IdealChartUniversal,Surface/BlowupChartAway,Surface/OriginChart, the file of B3.4, and the new files of B4. Done in Move the blowup chart files to Singularity/Surface/Blowup singularity-lean#669 (merged at 325bfa0): the chart files moved toSingularity/Surface/Blowup/(Chart,ChartAway,IdealChart,IdealChartUniversal,OriginChart,ReesAwayChart,ReesAwayCocycle,ReesAwayOverlap), next to the files of B4 and B5.1, with the root fileSingularity/Surface/Blowup.lean. - C2.
Singularity/Surface/Embedded/: the sixSurface/BlowupCurve*files andAlgebra/CurveOnSurface. Done in Move the embedded resolution files to Singularity/Surface/Embedded singularity-lean#681 (merged at 02b9726): all seven files moved, theBlowupCurveprefix is dropped, and the root file isSingularity/Surface/Embedded.lean. - C3.
Singularity/Surface/Regular/:Algebra/SurfacePointRegular,Algebra/RationalPointRegular,Algebra/AnSurfaceRegularandAlgebra/SurfaceRegularExamples. Done in Move the regular surface files to Singularity/Surface/Regular singularity-lean#680 (merge 61fa92f). The files are nowRegular/SurfacePoint,Regular/RationalPoint,Regular/AnSurfaceandRegular/Examples, with the new rootSingularity/Surface/Regular.lean. - C4.
Singularity/Surface/Lipman/:LipmanCores,LipmanRational,LipmanResolution,NormalRationalCores,BlowupRationalCoreandIsolatedSingular. Done in Move the Lipman files to Singularity/Surface/Lipman singularity-lean#665 (merged at 95ab733): all six files moved, with the root fileSingularity/Surface/Lipman.lean. - C5.
Singularity/Surface/Examples/: the blowups of the ADE singularities and of the other examples of Volume 4 (AChainChart,AnBlowupChart,CubicConeBlowup,CuspPairBlowup,DFourBlowup,EEightChart,ESixBlowup,WhitneyUmbrella,QuarticNormalization,InseparableBlowup,POneTransitionDegree). Done in Move the worked examples of Volume 4 to Singularity/Surface/Examples singularity-lean#650, with the root fileSingularity/Surface/Examples.lean. - C6. Each folder has a root file that imports all its files. Each file starts with a module docstring that names the handbook section and lists the main results. Done in Name the handbook sections and main results in the Surface module docstrings singularity-lean#769 (merge 923f0be) for the folders
Blowup,Embedded,Examples,LipmanandRegularofSingularity/Surface/. The new files of B6.1 and B5.2c get their check when they merge. - C7. The move keeps all declaration names, so the links of the map stay correct. The map takes the new file paths at the next pin.
Part D. Builds and releases
- Run 46709883313 at commit 233381b is green with B1.3, B1.4 and B2.1. The map pins it in v0.4.82.
- Run 46748261244 at commit 12e8e65 is green with B2.2 and B3.1. The map pins it in v0.4.83.
- Run 46809603303 at commit 66c8bf8 is green with B2.3 and B3.2. The map pins it in v0.4.86.
- Run 46819078481 at commit 1ff123f is green with B2.4. The map pins it in v0.4.87.
- Run 46848663515 at commit 3e01114 is green with B3.3. The map pins it in v0.4.89.
- Handbook edition 0.8.26 (PDF and EPUB) has Chapters 1 to 3 of Volume 4 in the form for students (A2, A3 and A4), with the map at v0.4.92.
- Run 46934201937 at commit 0312bc4 is green with B3.4. The map pins it in v0.4.94, and run 47026960782 at commit 5bae65a with B4.1 and B4.2 in v0.4.95. Handbook edition 0.8.28 (PDF and EPUB) has the map at v0.4.95 and the Lean names of B3.4, B4.1 and B4.2 in Volume 4, Section 1.1.
- Run 47045507451 at commit 3a4f177 is green with B4.3. The map pins it in v0.4.96.
- Run 47061382436 at commit 2230d16 is green with B4.4, so B4.1 to B4.4 are all on main. The map pins it in v0.4.97. Handbook edition 0.9.0 (PDF and EPUB) has the text of B4.4 (Volume 4, Theorem 1.1.7: Lean names and the exceptional divisor as Proj of the graded ring singularity-handbook#703).
- Run 47093153859 at commit a34f993 is green with B5.1 (on points), C1, C2 and C4. The map pins it in v0.4.98. Handbook edition 0.9.1 (PDF and EPUB) has the text of B5.1 (Volume 4, Theorem 3.1.8: the rules of Steps 3 and 4 on the charts and the Lean names singularity-handbook#716).
- A green main build with B5, pinned in a patch release, with a handbook edition.
- Release v0.5.0, when the acceptance items and Parts A, B and C are done.
Activity
tamnd commentedon Nov 24, 2026
First step of S4.
Singularity.Algebra.isRegularRing_blowupChart). It also proves that the associated graded ring is a polynomial ring, and thatSo the blowup of a regular scheme at a closed point is regular, chart by chart. The global statement for schemes and the blowup along a regular curve are still open items. A draft of Volume 2 (surfaces) is in progress.
tamnd commentedon Nov 24, 2026
The handbook has the volume on surfaces after tamnd/singularity-handbook#55. The guide of Volume 0 gives it the number 4, and the text of Volumes 1 and 9 already refers to Volume 4 for surfaces, so I changed the item of this issue from Volume 2 to Volume 4. Volume 2 stays the volume on characteristic 0.
The volume has three chapters at status drafted. Chapter 1 computes the blowup of a regular surface at a point with the Lean results of Volume 1, Section 1.10, and it proves that a normal excellent surface has finitely many singular points. Chapter 2 states the theorem of Lipman (SG0000001B), proves its formal parts and cites the two hard steps from [Lip78]. Chapter 3 states the embedded resolution of Cossart, Jannsen and Saito (SG0000001C). The items on Lean in this milestone are still open: no result on surfaces has a Lean proof yet, and
resolutionInDim_twois not proved.tamnd commentedon Nov 24, 2026
The handbook release v0.3.2 is out: https://github.com/tamnd/singularity-handbook/releases/tag/v0.3.2
It adds Volume 4, "Resolution of surfaces" (singularity-handbook #55). The volume is at status drafted. The theorem of Lipman (SG0000001B) and the embedded resolution of surfaces (SG0000001C) have no Lean proof yet, and Volume 0, Section 5.1 states this.
The release also fixes fourteen Node lines in Volume 9 (singularity-handbook #56). These lines gave planned Lean names with the mark "(the statement only)". They now say "(planned, no Lean statement yet)", and
shb checkgives a fault for this case.tamnd commentedon Nov 24, 2026
The item "blowups of points and of regular curves on surfaces" is complete.
Singularity/Algebra/CurveOnSurface.lean. Letexists_eq_span_singleton_of_isRegularLocalRing_quotient, [Mat, Theorem 14.2]), andpropext,Classical.choiceandQuot.sound.A note on the role of this result. A regular local ring is a UFD, so each curve on a regular surface is a Cartier divisor and its blowup changes nothing. The centers of the resolution of surfaces are points. The next items of S4 are the hard ones: the theorem of Lipman, or a reviewed bridge, and
resolutionInDim_two.tamnd commentedon Nov 24, 2026
tamnd/singularity-lean#61 states the embedded resolution of surfaces as
Singularity.EmbeddedResolutionSurface. The statement is for a regular scheme of finite type over a field. It asks for a proper morphism with the properties of the result, because Mathlib has no blowups of schemes. The statement is not proved. The same PR proves that a closed point is a permissible center (SG0000000T) and that a regular subscheme of codimension 1 is a divisor with simple normal crossings (SG0000000V). The map has the new names since #79, and Volume 4 of the handbook gives them since tamnd/singularity-handbook#70. The records are at commit 23305f9, with 825 declarations. The theorem of Lipman andresolutionInDim_twoare still open in this milestone.tamnd commentedon Nov 26, 2026
Progress on Volume 4 of the handbook.
Theorem 2.1.6, the existence of$n$ in Theorem 2.2.1, and Theorem 3.1.4 are still cited and not proved in the text. No Lean status changes. The checklist does not change.
tamnd commentedon Nov 26, 2026
Review of the new Volume 4 text: tamnd/singularity-handbook#212 corrects four claims that tamnd/singularity-handbook#209 added. Hartshorne [Har, Corollary II.7.15] does not prove the closure description of the blowup, so the text now only compares with it. Example 2.3.6 shows that$H^1$ of the resolution of the cone is not 0. It does not show that this group is a line, so the text in Section 2.1 and in the two introductions now says "not 0". The normalization of the Whitney umbrella is now stated to be an isomorphism over no point of the singular line, because each fibre over that line has degree 2.
tamnd commentedon Nov 26, 2026
Lean progress for Volume 4: tamnd/singularity-lean#151 proves the algebraic part of Lemma 2.3.4, and tamnd/singularity-handbook#222 gives the Lean names.
Singularity.purelyInseparable_mem_pointIdeal_sq_iff_fin_twoproves thatSingularity.mem_pointIdeal_sq_iffproves the last claim of Lemma 2.3.1, for a rational point.The claims of Lemma 2.3.1 on dimension and regularity are not in Lean. Thus the step from the claim on$\mathfrak{m}_P^2$ to the singular point is not in Lean. The axioms are
propext,Classical.choiceandQuot.sound.tamnd commentedon Nov 26, 2026
tamnd/singularity-handbook#229 is merged. It is a second textbook pass on Volume 4. It adds Proposition 2.1.9 and Corollary 2.1.10 on H^1 over a rational singularity, Lemma 2.2.5 and Proposition 2.2.6 on Lipman's process, and a table of the 12 steps of Lipman's proof that tells which steps are proved and which are cited. It adds the resolution of A_n, D_4 and E_6 with dual graphs, the example z^2 + x^3 + y^5 in characteristics 2, 3 and 5, and the cone over a plane cubic. Chapter 3 now has a full proof of embedded resolution of a curve on a smooth surface by point blowups (Theorem 3.1.8), with the example (y^2 - x^3)(y^2 - x^5). A referee pass on the new text is in progress.
tamnd commentedon Nov 26, 2026
tamnd/singularity-handbook#230 is merged. It is the referee pass on the new text of Volume 4. It adds the missing hypothesis of dimension 2 to Proposition 2.1.9 and the condition H^0 = κ to the remark on transversal intersections. It tells which steps of the table of Lipman's proof depend on cited steps. It names the forms of D_4, E_6 and E_8 in characteristics 2 and 3 that the volume does not treat, and it replaces a wrong argument in Example 2.3.13. The computations of Example 3.1.10 are checked by machine.
tamnd commentedon Nov 26, 2026
Progress on Volume 4. tamnd/singularity-lean#164 is merged. The build gives "2495 declarations, 0 with an axiom that is not standard". It proves the chart equations of six statements:
The handbook result lines now give these names (tamnd/singularity-handbook#247). The resolution of surfaces is still not in Lean.
tamnd commentedon Nov 27, 2026
Progress on Volume 4. tamnd/singularity-lean#198 is merged. CI passed with 3392 declarations and 0 with an axiom that is not standard. Handbook PR tamnd/singularity-handbook#298 names the proofs.
Not done: normality, the integral closure, the cohomology computation and the self-intersections.
tamnd commentedon Nov 27, 2026
Four more results of Volume 4 have Lean proofs. The Lean PR is tamnd/singularity-lean#215. CI reports 3619 declarations with 0 that use an axiom that is not standard. The handbook PR tamnd/singularity-handbook#314 names the proofs.
47 remaining items
tamnd commentedon Dec 3, 2026
Map release v0.4.98 is out: https://github.com/tamnd/singularity/releases/tag/v0.4.98 (pin PR #435, release PR #436).
It pins the Lean record of the green main build run 47093153859 at commit a34f993 of singularity-lean, the merge of tamnd/singularity-lean#628. The record has 11587 declarations (110 more than v0.4.97), and each uses only propext, Classical.choice and Quot.sound.
New on main since v0.4.97:
The site https://singularity.tamnd.com takes the new record with this release. The open case is not proved.
Prove the order bound and the contact drop on the localized blowup chart
tamnd commentedon Dec 3, 2026
Map release v0.4.99 is out: https://github.com/tamnd/singularity/releases/tag/v0.4.99
The CI change tamnd/singularity-lean#692 runs the full build with nice and a swap file of up to 16 GB. This is a fix for the "runner lost communication" failures. The open conjecture is not proved by this release.
Prove the order bound and the contact drop on the localized blowup ch…
tamnd commentedon Dec 3, 2026
Handbook edition 0.9.11 is out, with a PDF and an EPUB for each volume (21 assets): https://github.com/tamnd/singularity-handbook/releases/tag/v0.9.11
The open case is not proved.
tamnd commentedon Dec 3, 2026
Step B5.2a is done in tamnd/singularity-lean#684 (labels type/proof and area/lean), merged as 7f978c5, and tamnd/singularity-handbook#758 (labels area/handbook and type/docs), merged as cd42666.
The new file is
Singularity/Surface/Embedded/ContactDrop.lean. Let R be a regular local ring of dimension 2 with maximal ideal m = (x, y), let B = R[m/x], and let Q be a prime of B that contains x.Singularity.Algebra.div_pow_notMem_maximalIdeal_atPrime_pow_succ): if f is in m^k and not in m^(k+1), then f / x^k is not in the (k+1)-th power of the maximal ideal of B_Q. So the strict transform has order at most k at each point of E in this chart.Singularity.Algebra.blowupChart_atPrime_contact_add_one): if also t = y/x is in Q, then for each b in m and each localization C of B at Q, the length of C/(t, b/x) plus 1 is the length of R/(y, b). So the contact goes down by 1. The proof also gives C/(t) = R/(y), and R/(y) is a discrete valuation ring with uniformizer x.The handbook names these results in Lemma 3.1.7 and Theorem 3.1.8, and it adds a worked example (the strict transform of y^2 - x^4, and the contact of y and y - x^3 that goes from 3 to 2) and Exercise 8.
Not in Lean:
The full build of the final head cf2b376 passed before the merge. Next in this issue: B5.2b, C3 (in progress), then B5.2c.
tamnd commentedon Dec 3, 2026
Map release v0.4.100 is out: https://github.com/tamnd/singularity/releases/tag/v0.4.100
The open conjecture is not proved by this release.
tamnd commentedon Dec 3, 2026
Step C3 is done in tamnd/singularity-lean#680 (labels type/refactor and area/lean), merged as 61fa92f.
git mvtoSingularity/Surface/Regular/:Algebra/SurfacePointRegulartoRegular/SurfacePoint,Algebra/RationalPointRegulartoRegular/RationalPoint,Algebra/AnSurfaceRegulartoRegular/AnSurface, andAlgebra/SurfaceRegularExamplestoRegular/Examples.Singularity/Surface/Regular.leanimports the four files.Singularity/Surface/Blowup/Regular.leanstays in the Blowup folder, because it is about the blowup of a regular local ring.manifests/statements.sha256changed.Singularity.Surface.Regularimports. The main build checks the result.Part C of this issue now has C6 and C7 open. Next: B5.2b (in progress), then B5.2c and C6.
tamnd commentedon Dec 3, 2026
Handbook edition 0.10.1 is released: https://github.com/tamnd/singularity-handbook/releases/tag/v0.10.1. The release has the PDF and the EPUB of each volume (21 assets). The edition pins the map at commit 459f55d (map release v0.4.100), so the handbook links agree with the Lean declarations of that release. Pull request tamnd/singularity-handbook#824 is closed because tamnd/singularity-handbook#827 already made the same pin fix. The open case (resolution in dimension 4 or more in characteristic p) is not proved.
tamnd commentedon Dec 3, 2026
Map release v0.4.102 is out: https://github.com/tamnd/singularity/releases/tag/v0.4.102. It pins the Lean record at commit 93c19a5 of tamnd/singularity-lean, where the main build is green. The record has 12514 declarations, and each uses only propext, Classical.choice and Quot.sound. This release includes step C3 of this issue (tamnd/singularity-lean#680). The map links now use the new paths in
Singularity/Surface/Regular/.tamnd commentedon Dec 3, 2026
Step B5.2b is done on local rings.
Singularity/Surface/Embedded/SNCInduction.lean. ASurfaceGermis a regular local ring of dimension 2 with components a_i in m \ m^2, multiplicities e_i and finite contact between any two components. The invariantSurfaceGerm.measureis 0 when the germ has simple normal crossings and tau + 1 otherwise, where tau is the sum over i < j of (length R/(a_i, a_j) - 1).SurfaceGerm.measure_blowup_ltproves that the invariant goes down strictly under the blowup at each closed point of the exceptional curve.SurfaceGerm.exists_isSNC_of_chainproves that each chain of blowups reaches simple normal crossings within mu steps, andSurfaceGerm.total_eq_of_isSNCgives the form of the total transform at the end. The file has 72 declarations, and each uses only propext, Classical.choice and Quot.sound. The server2 build on head 87c2323 was green. The two later rebases changed only CHANGELOG.md.Next in this issue: B5.2c (the node SG0000000V in the scheme form from B5.1, B5.2a and B5.2b), B6.1 (tamnd/singularity-lean#745, in progress) and C6.
tamnd commentedon Dec 3, 2026
Handbook edition 0.11.3 is released: https://github.com/tamnd/singularity-handbook/releases/tag/v0.11.3. The release has the PDF and the EPUB of each volume (21 assets). The edition pins the map at commit a7e94e8 (map release v0.4.102).
Release 0.11.2 left the file
EDITIONempty, so its tag build failed and it has no PDF and no EPUB. Edition 0.11.3 fixes the file and has the text of 0.11.2. The open case (resolution in dimension 4 or more in characteristic p) is not proved.tamnd commentedon Dec 3, 2026
Step C6 is done in tamnd/singularity-lean#769 (merge 923f0be).
Singularity/Surface/(Blowup,Embedded,Examples,LipmanandRegular) already imported and listed each file of their folders. The root filesExamples.leanandLipman.leannow also name their chapters and sections.Blowup/Chart.leannow names Volume 1, Section 1.10 (Proposition 1.10.1 to Theorem 1.10.6), andEmbedded/CurveOnSurface.leannow names Volume 4, Theorem 1.1.11 and Corollary 1.1.12.The new files of B6.1 (tamnd/singularity-lean#745) and B5.2c are not in this check, because they are not merged yet.
tamnd commentedon Dec 3, 2026
Map release v0.4.103 (#445 and #446) pins the Lean record at commit 48af6bd, the merge of tamnd/singularity-lean#774. The main build of that commit is green (run 47170951607). The record has 13282 declarations, and each uses only propext, Classical.choice and Quot.sound.
For this milestone, the record now includes the induction of Steps 3 and 4 for curves on local rings (B5.2b, tamnd/singularity-lean#766). The docstrings of C6 (tamnd/singularity-lean#769) merged after 48af6bd and go into the next pin.
tamnd commentedon Dec 3, 2026
B5.2c is done in the stalk form.
Singularity/Surface/Embedded/StalkSNC.lean. For each ring A and ideal I, the stalk of the blowup at a point of the chart A[I/x] is the local ring of the chart (blowupSchemeStalkIso). At each closed point of the exceptional divisor E, the stalk is the ring of a blowup germ of B5.2b (SurfaceGerm.exists_stalk). Along a chain of blowups, some germ after at most μ steps has a reduced curve with simple normal crossings (SurfaceGerm.exists_isSncAt_of_chain). The full build on head c24bf6b was green (run 47178333149). The merged head 767e309 is a later rebase that only resolves CHANGELOG.md.The global statement for a curve on a whole surface is not proved. I added item B5.2d for it. It needs the blowup of a surface that is not affine, flat base change from the stalks at P, the points of E that are not closed, the finiteness of the bad points, and the divisor condition on the last surface.