An Adaptive Grid Algorithm for Computing the Homology Group of Semialgebraic Set
Han Jiadong

TL;DR
This paper introduces an adaptive grid algorithm on the unit sphere to improve the efficiency of computing homology groups of semialgebraic sets, advancing practical methods in real algebraic geometry.
Contribution
It presents a novel adaptive grid algorithm that enhances the existing weak exponential time algorithm for homology computation of semialgebraic sets.
Findings
Improved algorithm reduces computational complexity.
Demonstrates practical efficiency on example sets.
Advances the applicability of homology computation methods.
Abstract
Looking for an efficient algorithm for the computation of the homology groups of an algebraic set or even a semi-algebraic set is an important problem in the effective real algebraic geometry. Recently, Peter Burgisser, Felipe Cucker and Pierre Lairez wrote a paper [1], which made a step forward by giving an algorithm of weak exponential time. However, the algorithm is not not practical. In my thesis, I will introduce my improvement of this algorithm using an adaptive grid algorithm on the unit sphere.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopological and Geometric Data Analysis · Homotopy and Cohomology in Algebraic Topology · Digital Image Processing Techniques
An Adaptive Grid Algorithm for Computing the Homology Group of Semialgebraic Set
Jiadong Han 1
1Université Paris Sud
Abstract
Looking for an efficient algorithm for the computation of the homology groups of an algebraic set or even a semi-algebraic set is an important problem in the effective real algebraic geometry. Recently, Peter Brgisser, Felipe Cucker and Pierre Lairez wrote a paper [1], which made a step forward by giving an algorithm of weak exponential time. However, the algorithm has not yet became practical. In our thesis, I will introduce our work on an improvement of this algorithm using an adaptive grid algorithm on the unit sphere.
Keywords— Complexity, Homology, Optimization, Grid Algorithm
1 Introduction
At first, let us introduce some basic definitions in this thesis.
A basic semialgebraic set is a subset of a Euclidean space given by a system of equalities and inequalities of the form
[TABLE]
where and are tuples of polynomials with real coefficients and the expression stands for either or (we use the notation to emphasize the fact, which become clear in [1]4.1.4 where the author’s main results do not depend on whether the inequalities in are strict.) Let denote the solution set of the semialgebraic system . And let , called the spherical semi algebraic set, denote the solution set of the semialgebraic system in the unit sphere.
For a vector of positive integers, we denote by (or to emphasize the number of components) the linear space of the -tuples of real polynomials in variables of degree , respectively. Similarly, for a vector of positive integers, we denote by (or to emphasize the number of components) the linear space of the -tuples of real homogeneous polynomials in variables of degree , respectively.
Let denote the maximum of the . We will assume that because a set defined by degree polynomials is convex and its homology is trivial. Let denote the dimension of , that is, .
This is the size of the semialgebraic system , as it is the number of real coefficients necessary to determine it.
We will endow with the Weyl inner product and induced norm in . The Weyl inner product is a dot product with respect to a specially weighted monominal basis. In particular, it is invariant under orthogonal transformations of the homogeneous variables . That is, for any orthogonal transformation and any , we have . In all of what follows, all occurences of normes in spaces refer to the norm induced by the Weyl inner product. For a point and a system , let denote the derivate of at , which is a linear map . We also define the diagonal normalization matrix
[TABLE]
We will use these to define some continuous condition functions in 3.3. From these condition numbers, we can get [1] Theorem 1.1 to compute homology group of a semi-algebraic set.
Now we will outline how the authors in [1] get the above theorem and think about how to get an improvement of this theorem.In [2], Niyogi, Smale and Weinberger give an answer to the following question: giving a compact submanifold , a finite set and , how to ensure that is a deformation retract of (see §3.1 ). And [1] gives an extension in the **Theorem 2.8. ** Based on this theorem, the paper [1] gives a covering algorithm to generate a finite point set on the sphere whose neighbourhood is homotopical to the semialgebraic set S(F,G) in Theorem 1.8. Then the authors give an algorithm on the calculation of the homotopy group. The key point is that the homotopy equivalence implies the isomorphism of homology group.
As a result, one can get the homology group by computing the nerve of the covering (this is the simplicial complex whose elements are the subsets of such that is not empty) and computing it’s homology group by the Nerve Theorem (Corollary 4G.3 of [4]). The process is described in detail in [5] §4 where the proof of the following result can be found. In [6] and [7] there are improved algorithms for computing the nerve of a covering.
Theorem 1.1**.**
([6] and [7] ) Given a finite set and a positive real number , one can compute the homology of with operations.
Now the authors give the proof of the Theorem 1.1 in [1].
However, in practice, the above algorithms is slow. One reason is that we only allow the division of the same radius in the cube, which may generate many overqualified points. As a result, we will introduce a more adaptive grid algorithm in chapter 2. Based on this grid algorithm, we will prove a local version in the the Niyogi-Smale-Weinberger theorem, which allows us to apply our grid algorithm on the computation of homology groups.
Let me introduce our strategy in this thesis.
In the chapter 2, we give an adaptive grid algorithm on the unit shpere, which is a basis for our future design. This algorithm is a generalized idea of finding a minimum of a Lipchitz continuous function on an interval. In the intuition, Finding a minimum of a Lipchitz continuous function f on an interval will lead to the complexity of in 2.1. However, we give an algorithm of the complexity in 2.2. Then ze generaliwe it to the sphere in 2.3.
From this algorithm, we can design an adaptive covering algorithm to generate a finite point set on the sphere whose neighbourhood is homotopical to the semialgebraic set .
For the goal of our thesis, we need a theorem to judge whether a compact set in Sn is homotopical to . So we prove an extension of the Niyogi-Smale-Weinberger theorem in a unit sphere in 3.2.To prove this theorem, we at first give a local version of the Niyogi-Smale-Weinberger theorem in 3.7. Then we prove it by generalizing the the proof on [1].
Based on the adaptive grid algorithm and the Niyogi-Smale-Weinberger theorem, we can design the algorithm in 3.14.Notice 1.1 dose not depend on the choice of . As a result, it is quite reasonable to have the following conjecture.
Conjecture 1.1**.**
Given a finite set and a positive continuous function , one can compute the homology of with operations.
Now we can give a more adaptive homology group calculation algorithm and give a conjectured complexity in 3.16 which reduced the complexity greatly.
2 An adaptive grid algorithm
In this chapter, we will introduce an adaptive grid algorithm to obtain an optimized algorithm for the computation of homology group in a semi-algebraic set. At first, we will explain the potential grid algorithm in the of [1]. Then we will give an adaptive version in interval, or dimension 1. Finally, we will give a much more general version in the unit sphere . As a most useful special case in our work, we will give an adaptive grid algorithm in a unit sphere. We assume that an continuous function with in this section. And suppose that the complexity of the following algorithms are only the total number of nodes in the corresponding decision tree.
2.1 An nonadaptive grid algorithm
To introduce nonadaptive and adaptive grid algorithms, we consider the problem of computing the minimum of a 1-Lipschitz function f : [a,b] → (0,1].
At first I will give an nonadaptive algorithm.
Theorem 2.1**.**
Given a small and a function , we have the following algorithm to find a minimum of . Concretely, there is an interval such that . This algorithm performs evaluations on .
Remark 2.1**.**
This algorithm is nonadaptive since the grid generation process. We can see each grid generation process as a division of generated intervals together.
Proof.
At first, we prove the correctness of this algorithm. Let . Notice that if , we see that . Take an interval . By the recursion process, we see that the algorithm is correct when implies the algorithm is correct when . As a result, for the interval , we get the algorithm is correct from this induction process. Then, we will prove that this algorithm will terminate. Notice that if , the algorithm will satisfy the stop condition. Take an interval . By the recursion, we see that the algorithm will terminate if implies that the algorithm will finish if . As a result, for the interval , we get the algorithm will terminate from this induction process. Now let us give a complexity analysis. Notice the iteration generates intervals. Notice there must be a point in where takes the minimum. As a result, suppose the maximum iteration time is , we have , or. As a result, when we assume an efficient computation in the evaluation, the complexity is bounded by
[TABLE]
∎
2.2 An adaptive grid algorithm in an interval
Notice that the complexity of this nonadaptive algorithm depends on the maximum of because there are many useless computations. For example, when we get an interval which satisfies the condition , we still divide this interval. As a result, a precise partition of the generated intervals should be added to the design. Now we have the following algorithm to calculate the minimum of a strictly positive 1-Lipschitz function f on with the complexity
Theorem 2.2**.**
Given a closed interval , a small and a function , we have the following algorithm to to find a minimum of . Concretely, there is an interval such that . This algorithm performs evaluations on .
Proof.
At first, we prove the correctness of this algorithm. Given an interval , a strictly positive function and a very small positive integer . Let . Notice that if , we see that By the recursion process, we see that the algorithm is correct if implies the algorithm is correct if . As a result, for any interval , we get the algorithm is correct by the induction process. Then, we prove that this algorithm can terminate . Notice that if , the algorithm will satisfy the stop condition. By the recursion, we see that the algorithm will terminate if implies that the algorithm will terminate if . As a result, for any interval , we get the algorithm will terminate by the induction process. At last, let us analyze the complexity of this algorithm. Notice that we can visualize the process of the algorithm as a binary tree. The nodes of the tree are input intervals in each iteration of the algorithm, the layer is the process after iterations and the leaves are the final iteration in each branches. In addition, the complexity is less than the double of cardinality of leaves For any in a leaf , we have
[TABLE]
and
[TABLE]
In summary, we get . By dividing by and taking the integral over , we get . Suppose there are leaves . By the process of the recursion algorithm, we can see m as the operations times and the union of all leaves is . After the m sums of the above inequality, we get
[TABLE]
As a result, we get the complexity of the algorithm as ∎
2.3 An adaptive grid algorithm in a unit sphere
Inspired by , we want to find an adaptive grid algorithm in a unit sphere. Actually, we can even design a similar algorithm in a certain Riemennian manifold. However, we notice that the above algorithm analysis greatly depends on how to divide the interval. For instance, there is no overlaps in each partition, which allows us to take an integral on a small interval and then taking the sum. However, in general, it is not easy to show the control of overlaps. So we need to consider some additional conditions on the open cover. At first, we will give some useful notations. Let be a maximal set such that Let .
Lemma 2.1**.**
Each is an open cover of .
Proof.
We can get this statement from a contradiction. Suppose there is a but is not covered by . Then satisfies the above condition that , which is contradicted to the maximal set of . ∎
For a Ball , we denote by or its radius and or its center. For , let . We will also use the following notation: . Notice that . We define for , and for . Now we design the algorithm and give a complexity analysis. Suppose An is the area of a dimension unit sphere. Suppose is the area of a dimension unit sphere.
Theorem 2.3**.**
Given a continuous function , we have the following algorithm to generate a open cover of the unit sphere Sn such that must satisfy . This algorithm performs less than evaluations on . Notice that where
Proof.
Now we begin the proof of the correctness. From the judgement condition of the algorithm, we see that each output must satisfy . We will use the following lemma to get the output is an open cover of Sn.
Lemma 2.2**.**
For all , and .
Proof.
is from the definition. We will prove by induction on the . Suppose , we get the lemma from the definition of . Now suppose it is true for . We need to prove that it is true for . Notice . For , we can have and . As a result, we get ∎
Notice from this lemma, the output of our algorithm is an open cover. Now we will show that the algorithm will terminate. We need to note that if , the algorithm must terminate. In addition, it is easy to see that if the algorithm terminates when the final input in the iteration process is , the algorithm must terminate when the input in the iteration process has radius . As a result, the algorithm must terminate by the induction on the radius. Before the later complexity analysis, we first notice that on the requirement of the theorem, we can find an upper bound of .
Lemma 2.3**.**
We have .
Proof.
∎
By considering the area of a disk with geodesic radius on is the integral of dimensional spheres from radius [math] to radius , we get
[TABLE]
Since from the design of our algorithm, we have
[TABLE]
Take . From the definition of we have if and only if if and only if Notice under our assumption, any two are disjoint. As a result, we have
[TABLE]
. Combine the two inequalities, we get
[TABLE]
. Since and , we have
[TABLE]
[TABLE]
To estimate the , we can use the similar trick as the estimate of the . Finally, we get
[TABLE]
If , then , we have
[TABLE]
So we get
[TABLE]
[TABLE]
From Fubini-Tonelli theorem, we have
[TABLE]
As a result, we have shown that the complexity is bounded by
Remark 2.2**.**
In fact the above algorithm can be generalised to a certain compact Riemannian manifold. We can generalise the initial notations in this section to any compact Riemannian manifold M and change the appeared in the algorithm and lemmas to , which gives the algorithm and the correctness proof.
The complexity analysis can be generalised to a certain compact Riemannian manifold, through the Bishop-Gnther inequality in[8] which give the volume estimates of geodesic balls by curvature. The method is to use the Bishop-Gnther inequalities to give a new estimate of and follow the other part of the complexity analysis in the sphere. Notice we need to add some conditions on the compact Reimannian manifold to satisfy the requirement of this inequaltiy.
∎
3 Application to the homology of real semialgebraic set by homotopy equivalence
Notice we have designed an adaptive grid algorithm on the sphere. We will prove that is a function. As a result, finding the maximum of is a case on how to find a minimum of a Lipschitz continuous function. Actually, we can assume that is positive, which will hold if there is no singular point. Then we will give a reformulation of the Niyogi-Smale-Weinberger theorem in a unit sphere. Finally we would like to apply our grid algorithm to generate a finite open balls whose union is homotopical to . As a result, the calculation of the homology group of semialgebraic set is equivalent to the calculation on the abstract simple set generated by these open balls since the homopoty equivalence implies the isomorphism of homology groups.
3.1 Basic notions
To a degree tuple we associate it a linear space of polynomial systems where is homogeneous of degree . There is a Euclidean inner product called Weyl inner product, defined as follows. We have in , where . for homogeneous polynomials , we have the definition.
Definition 3.1**.**
* where denotes the multinomial coefficient.*
For any -tuples of homogeneous polynomials where and , we have
[TABLE]
In other words, the Weyl inner product is a dot product with respect to a specially weighted monominal basis. In particular, it is invariant under orthogonal transformations of the homogeneous variables . That is, for any orthogonal transformation and any , we have . In all the later texts , all normes in spaces refer to the norm induced by the Weyl inner product.
For a point and a system at has been well studied. We define it as ∞ when the derivative of at is not surjective, otherwise as
[TABLE]
, where the norm is the spectral norm. We also define the following variant of , more specific to homogeneous systems,
[TABLE]
where and . (The number is well-defined after identifying with .)
The numbers and measure the sensitivity of the zero of when is slightly perturbed. They are consequently useful at a zero, or near a zero, of the system . To deal with points in Sn far away from the zeros of , in particular to understand how much needs to be perturbed to make such a point a zero, a more global notion of conditioning is needed.
Definition 3.2**.**
The real homogeneous condition number of at is , where we use the conventions , and . We further define .
If (that is, if the system is overdetermined) then cannot be surjective and for all Thus, if and only if has no zeros in . The special case is worth highlighting.
Lemma 3.1**.**
([1] Lemma 4.3.) For any and , if , then
We will introduce the following two propositions frequently since it makes the statement that take a positive continuous function on the algorithms in the reasonable.
Theorem 3.1**.**
([1] Corollary 4.5.) For any and any .
Theorem 3.2**.**
([1] Proposition 4.7.) For , the map is continuous with respect to the Euclidean metric and sphere metric on .
Notice we are doing research on the semialgebraic set. As a result, we have to generalise the above definitions to the semialgebraic set.
We consider (closed) homogeneous semialgebraic systems, i.e., systems of the form and where the and the are homogeneous polynomials in . The system is a element . The set of solutions of system , which we will denote by , is a spherical basic semialgebraic set. Needless to say, we do allow for the possibility of having or . These correspond with systems having only inequalities (resp. only equalities.)
To a homogeneous semialgebraic system we associate a condition number and as follows. For a subtuple of , let denote the system obtained from F by appending the polynimials from L, that is, (where now d denotes the appropriate degree pattern in ). Abusing this notation, we will frequently use set notations or to denote subtuples or coefficients of .
Definition 3.3**.**
Let , . The condition number of the homogeneous semialgebraic system is defined as
[TABLE]
[TABLE]
In addition, we need to generalise the D-Lipschitz condition from to the .
Theorem 3.3**.**
For , the map is continuous with respect to the Euclidean metric and sphere metric on .
Proof.
Take two points x,y ∈ Sn and suppose . From the definition of , there is a tuple such that We have
[TABLE]
[TABLE]
∎
For a nonempty subset , let the distance from to .
Definition 3.4**.**
The medial axis of is defined as the closure of the set
[TABLE]
. The reach or local feature size of W at a point is defined as. The (global) reach of is defined as . We also set
In addition, is given by . That is a start point of our generalisation. Notice that we can also characterize as the maximum of all such that for every with , there exists a unique point with . We will denote this unique point by . The [1] defines and shows that
Theorem 3.4**.**
([1] Proposition 2.2.) if , then is continuous and the map
[TABLE]
is a deformation retract of onto .
There is a more general version of this theorem.
Definition 3.5**.**
Given a compact set . Now we define .
Notice that is open in since is closed. Now we define a map from to as the following way.
Definition 3.6**.**
Since is not in , , there is a unique point such that .Define as
Theorem 3.5**.**
If , then is continuous and the map
[TABLE]
is a deformation retract of onto .
The proof of this general version is quite similar to the [1] Proposition 2.2 .
Proof.
Concerning the continuity of , let be a sequence in converging to some . We have
[TABLE]
, where we used the Lipschitz continuity of for then last inequality. Hence the sequence is bounded. Let be a limit point of . The above inequality implies that , hence . Thus is the only limit point of the sequence and therefore, .
The other statement is easy to be seen from the definition of the deformation retract. ∎
In addition, we introduce another kind of reach, which will be helpful in the following proofs. Let be a closed subset and . Moreover, consider with . It is easy to see that is an interval containing [math]. We are interested in those directions , where this interval has positive length and define the reach of at along the direction as the length of this interval, that is, . We note that for any . And we have the following lemma.
Lemma 3.2**.**
([1] Lemma 2.5.) Let be a closed subset, , and be a unit vector such that is positive. Then we have .
Now we will give a more detail analysis about the neighbourhoods of spherical basic semialgebraic sets. There are two kinds of neighbourhoods in our discussions. For a subset we denote by the open r−neighborhood of with respect to the geodesic distance on the sphere . Also, for a homogeneous system and , we define the of :
[TABLE]
3.2 An extension of the Niyogi-Smale-Weinberger theorem
In the [1], the authors observed an extension of the Niyogi-Smale-Weinberger theorem on any compact subset , provided has positive reach . By defining Hausdorff distance between two nonempty closed subsets as
[TABLE]
the theorem can be stated as
Theorem 3.6**.**
([1] Theorem 2.8.) Let and be nonempty compact subsets of . The set is a deformation retract of for any such that
However, for the purpose of a more adaptive algorithm, we would like a local version of this theorem. If we get the local version, we can design an recursion algorithm by subdividing a set to small open covers. Fortunately, we can remove the Hausdorff distance and give a local version of Niyogi-Smale-Weinberger theorem.
Theorem 3.7**.**
Let and be two nonempty compact subsets of . Given a function . Suppose
[TABLE]
,
[TABLE]
[TABLE]
and
[TABLE]
we get that the set is a deformation retract of .
Proof.
At first, we prove the main theorem. For the convenience of proof, we let for each coefficient in the above equalities. Take , such that
[TABLE]
. So which implies that is well defined on .
As a result, we can see that the map
[TABLE]
is well defined. The map is also continuous by the above theorem. It remains to prove that its image is included in . Let and . If , then the line segment is entirely included in the ball of radius around , which is a part of , and we are done. So we assume that . let be the unique point in such that . The line segment being included in the ball , it only remains to check that is also included in . Let . Also, let be the open half line starting from and passing through and be the unique point in such that .
At first, we want to show that . Notice that
[TABLE]
and
[TABLE]
. Also, as , we have . By [1] lemma 2.5, we obtain and therefore . This implies that and . Let . Since ,
[TABLE]
By our assumption, we can find such that . Now we want to show . implies that . Notice
[TABLE]
[TABLE]
Now we get
[TABLE]
By our assumption, we can get
[TABLE]
[TABLE]
As a result, we get
[TABLE]
Finally, we get
[TABLE]
∎
3.3 Refoumulation of the Niyogi-Smale-Weinberger theorem in sphere
Now we will establish two theorems to get a reformulation of the Niyogi-Smale-Weinberger theorem in a unit sphere, which will be a basis for our main algorithm.
3.3.1 Local versions of the [1] theorem 4.12 and [1] Proposition 4.17
At first, let us recall the [1] Theorem 4.12 and [1] Proposition 4.17 which are important in the proof of [1] Proposition 5.1.
Theorem 3.8**.**
(Theorem 4.12 in [1]) For any homogeneous semialgebraic system defining a semialgebraic set , if , then
[TABLE]
Theorem 3.9**.**
(Proposition 4.19 in [1]) Let . For any positive number we have
[TABLE]
Notice the two main theorems are based on the global condition numbers of a set. Actually, we can get local versions of the two main theorem by changing with . Notice we have gotten a local version of the Niyogi-Smale-Weinberger theorem. We will show combining the above theorems leads to a more adaptive local version of NiyogiSmale-Weinberger theorem in a unit sphere.
Now I will give a local version of Theorem 3.16. We begin by two lemmas, which are local versions of Theorem 2.4 and Corollary 2.6 in [1].
Theorem 3.10**.**
For closed subsets of we have .
Proof.
Since and , we have and . Now we finish the proof by the definition of . ∎
Corollary 3.1**.**
For closed subsets and of we have
Proof.
The case is covered by the above theorem. In general, we argue by induction on .
[TABLE]
[TABLE]
where we have applied the above theorem and twice the induction hypothesis. ∎
Now we can get a local version of theorem 3.16. Although in the theorem 3.16 we need to take , we can get a general inequality when .
Theorem 3.11**.**
For any semialgebraic system defining a semialgebraic set, if , then we have
[TABLE]
What is more, we have
[TABLE]
Proof.
From the proof of [1] Theorem 4.12, we get for any homogeneous algebraic system defining a semialgebraic set , if , then
[TABLE]
We turn to the general case and we assume For we define and so that . We claim that for any ,
[TABLE]
. The left to right inclusion is clear since is contained in the zero set of . Conversely, let (in particular, , by [1]). The derivative is surjective, because . In particular, for any , and since it follows that the sign of changes around . Thus and the above equation follows.
The above theorem implies that
[TABLE]
It suffices to take the minimum over the such that because for larger . We obtain from the case above,
[TABLE]
Now take such that . Then
[TABLE]
[TABLE]
from the Lipchitz continuity of . ∎
Let us recall the [1] Theorem 4.19 which related two neighbourhoods of a set in an Euclidian space.
Theorem 3.12**.**
([1] Theorem 4.19.) Let . For any positive number we have .
Actually, there is local version of the above theorem, which will be introduced after the following lemma, which is a local version of [1] Lemma 4.18.
Lemma 3.3**.**
Let H ⊂ L ⊂ G be such that —H— = n−q + 1. Suppose that κ(FH) ¡ ∞ and 0 ¡ r ¡ 1 κ(FH,p), p ∈Sn. Then p / ∈ Approx(FL,GŁ,r).
Proof.
Since we have , by Lemma 4.11in [1]. Assume . Then as we have that . for all and it follow s that
[TABLE]
. This contradicts with the hypothesis on and hence . ∎
Now we can give the proof of the local version of 3.12.
Theorem 3.13**.**
Define . Assume that . Let . For any positive number we have
[TABLE]
Proof.
We will abbreviate and . The proof is by induction on which is the number of polynomials in .
We use to denote the difference between the number of variables and the number of equations. If , then and because of our hypothesis, . We deduce from the lemma 3.22 with . Now we assume , i.e. , and consider a point . It is enough to show that .
To do so, we focus on the set By construction, we have , and moreover for all . We further note that , otherwise there would exist with and we would use again lemma 3.22 to deduce that , in contradiction with the fact that . We next divide by cases.
Case 1 : . As we may apply the induction hypothesis to the larger set of equations and the smaller set of inequalities. Note that so the hypothesis on is still true for . The inclusion hypothesis yields
[TABLE]
Hence we obtain the theorem in this case.
Case 2 : . We put . Then since . Moreover, by the assumption. By definition, The minimal euqals since . So we get where denotes the restriction of to the affine space . It follows that
[TABLE]
[TABLE]
.
From the assumption on , we get which makes possible the application of Theorem 3.1. We also note that . As in section 3.2 of [1], we define in the affine space by the system of differential equations
[TABLE]
. Note that for all as for all . We define . By theorem 3.1, there is a limit point , which is a zero of which satisfies . In particular, is a zero of and If for all , then and hence we are done.
Notice we have proved that for any positive number , if , then . So we prove the initial case of the induction when .
So suppose that for some and let be the smallest real number such that for some . By construction, the set is nonempty and element of is positive at . Also, for every ,
[TABLE]
where the second equality is due to Theorem3.1.(i) in [1]. Therefore, . Using again the 3.3 we deduce that . We can therefore apply the induction hypothesis to the larger set of equations and the smaller set of inequalities. Thus we obtain
[TABLE]
the latter because and . Also, by theorem 3.1(ii) in [1],
[TABLE]
We finally deduce that
[TABLE]
[TABLE]
∎
3.3.2 Main theorem
Notice the fourth condition in our extension of the Niyogi-Smale-Weinberger theorem (3.7) is a Lipschitz continuity condition about the radius function. Since is -Lipschitz continuous on sphere (3.3) , it is nature to consider the for certain constant . In this case, we can simplify the requirements of our Niyogi-Smale-Weinberger theorem.
Corollary 3.2**.**
Let and be two nonempty compact subsets of . Given a function . Suppose . If
[TABLE]
then
[TABLE]
and
[TABLE]
are enough to show that the set is a deformation retract of .
Now we give a proof of our corollary.
Proof.
Let in this corollary. Notice that since . Take such that
[TABLE]
Then and by the assumption. Hence by the theorem 3.23,
[TABLE]
Now by the above theorem, we get
[TABLE]
Notice that it is easy to find that the second condition in our corollary implies the fourth assumption in our main theorem. Notice
[TABLE]
since .
∎
3.4 Algorithm for the computation of homology on a semialgebraic set.
Now let us design a more adaptive algorithms than the main algorithm in the proposition 5.1 of [1]. We will use those notations of §2.3.
Theorem 3.14**.**
For any semialgebraic set where , there is an algorithm to generate a finite set of balls such that is homotopical to . The complexity is where is the area of a dimension unit sphere.
Proof.
Since and tends to [math], we see that this algorithm will terminate. So the main problem is the correctness. Suppose is the final output of our algorithm. Notice satisfies the requirement of the radius function in the 3.2.
At first, let . Then and . By combining the above two inequalities, we obtain the condition of our Corollary 3.24..
Finally, let us prove that it satisfies the condition of Corollary 3.24. By theorem 4.17 in [1], for any , there is a ball such that and . Because , and , we get .
Now, by the Theorem 2.6, we get the complexity is bounded by if we omit the computation of . Notice the Lipchitz constant of the function is . As a result, .
In [4] 2.5 the author can show that the complexity of computing can be approximated within a factor 2 in operations. In addition, in each calculation of , we should calculate within times . As a result, we get that the complexity of the algorithm in the last corollary is less than from Theorem 2.6. ∎
Once in the possession of a pair such that is a deformation retract of , the computation of the homology groups of is a known process. One can compute the nerve of the covering (this is the simplicial complex whose elements are the subsets of such that is not empty) and from it, its homology groups . Since the intersections of any collection of balls is convex, the Nerve Theorem (Corollary 4G.3 of [4]) ensures that
[TABLE]
The last is because that is a deformation retract of .
The process is described in detail in [5] §4 where the proof of the following result can be found. In [6] and [7] there are improved algorithms for computing the nerve of a covering.
Theorem 3.15**.**
([1] Proposition 5.2 ) Given finite set and a positive real number , one can compute the homology of with operations.
Now we can give a more adaptive homology group calculation algorithm and give a conjectured complexity.
Theorem 3.16**.**
If the above conjecture is true and for any k, every two balls satisfies , we can get that the complexity of the algorithm is about
Proof.
By theorem 3.25, the cost of computing is bounded by . In particular, where and from Theorem 2.6. By conjecture 3.27, the complexity of computing the nerve and homology group is bounded by . As a result, the total complexity is bounded by ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Peter B u ¨ ¨ 𝑢 \ddot{u} rgisser, Felipe Cucker, and Pierre Lairez. Computing the homology of basic semialgebraic sets in weak exponential time. 2017. URL https://arxiv.org/abs/ 1706.07473.
- 2[2] S. Smale P. Niyogi and S. Weinberger. Finding the homology of submanifolds with high confidence from random samples. Discrete Comput. Geom., (39):419441, 2008.
- 3[3] Andr Lieutier Frdric Chazal, David Cohen-Steiner. A sampling theory for compact sets in euclidean space. Discrete & Computational Geometry, 41:pp 461479, April 2009.
- 4[4] P. Lairez. A deterministic algorithm to compute approximate roots of polynomial systems in polynomial average time. Found. Comput. Math., 2017.
- 5[5] T. Krick F. Cucker and M. Shub. Computing the homology of real projective sets. To appear at Found. Comput. Math., 2017.
- 6[6] H. Edelsbrunner. The union of balls and its dual shape. Discrete and Computational Geometry, 13:415440, 1995.
- 7[7] H. Edelsbrunner and N. R. Shah. Incremental topological flipping works for regular triangulations. ACM Press, page 4352, 1992.
- 8[8] Alfred Gray. Tubes. second edition:45–46, 2004.
