whitneyStratify(I)For a variety $X$ this command computes a Whitney stratification WS where WS#i is a list of strata closures in (complex) dimension $i$; for a prime ideal $P$ in WS#i the associated open (connected) strata is given by the connected components of $V(P)-Z$ where $Z$ is the union of the varieties defined by the entries of WS#(i-1). We demonstrate the method for the Whitney umbrella below.
|
|
|
|
Now the projective version; using the option Projective=>true will treat the input as a projective variety. If this option is omitted the input is treated as an affine cone over the projective variety.
|
|
|
|
Another projective example.
|
|
|
|
Note that as with the Whitney umbrella simply taking successive singular loci will not yield the correct stratification, in particular one would miss the two points defined by the second entry of V#0.
|
|
By default whitneyStratify will use the algorithm of [1] (Martin Helmer and Vidit Nanda. "Conormal Spaces and Whitney Stratifications", Foundations of Computational Mathematics, DOI: 10.1007/s10208-022-09574-8), which as a step requires the computation of the associated primes of a certain ideal arising from a conormal variety. This can in practice be very costly. The algorithm of [4] (Martin Helmer and Rafael Mohr. A New Algorithm for Whitney Stratification of Varieties . Arxiv: 2406.1712) also uses conormal varieties but avoids the need to compute associated primes. This algorithm is often much faster (though it is slightly more likely to produce non-minimal Whitney stratifications, it is accessed with the option AssocPrimes=>false. Both algorithms are deterministic and are guaranteed to produce a correct Whitney stratification (though not necessarily the unique minimal one).
|
|
|
|
The object whitneyStratify is a method function with options.
The source of this document is in WhitneyStratifications.m2:1665:0.