SLIDE 1 KTH ROYAL INSTITUTE OF TECHNOLOGY
Lecture II. The reach of a manifold
Algebraic Geometry with a view towards applications Sandra Di Rocco, ICTP Trieste
SLIDE 2
Plan for this course
◮ Lecture I: Algebraic modelling (Kinematics) ◮ Lecture II: Sampling algebraic varieties: the reach. ◮ Lecture III: Projective embeddings and Polar classes
(classical theory)
◮ Lecture IV: The Euclidian Distance Degree
(closest point)
◮ Lecture V: Bottle Neck degree from classical geometry
(back to sampling)
2/24
SLIDE 3
Main goals
◮ Definition of reach. ◮ Sampling. ◮ Recovering the topological signature.
3/24
SLIDE 4 The reach of a manifold References:
◮ Estimating the reach of a Manifold. E. Aamari, J. Kim,
F . Chazal, B. Michel, A. Rinaldo, et al.. Electronic journal of Statistics, Vol. 13, 2019 1359-1399.
◮ Computing the homology of basic semialgebraic sets
in weak exponential time P . Bürgisser, F . Cucker and P .
- Lairez. Journal of the ACM 66(1), 2019.
◮ Learning algebraic varieties from samples. P
. Breiding, S. Kalisnik, B. Sturmfels and M. Weinstein. Revista Matemática Complutense. Vol. 31, 3, 2018, pp 545-593.
◮ Sampling Algebraic Varieties. DR, D. Eklund, O.
Gävfert. In progress.
4/24
SLIDE 5
(Real) Sampling
5/24
SLIDE 6
(Real) Sampling
5/24
SLIDE 7
(Real) Sampling X ⊂ RN, IX ⇒ Cloud data on X ⇒ (CW) Complex ⇒ Invariants of X
5/24
SLIDE 8
(Real) Sampling X ⊂ RN, IX ⇒ Cloud data on X ⇒ (CW) Complex ⇒ Invariants of X Two important steps
5/24
SLIDE 9
(Real) Sampling X ⊂ RN, IX ⇒ Cloud data on X ⇒ (CW) Complex ⇒ Invariants of X Two important steps
◮ density
5/24
SLIDE 10
(Real) Sampling X ⊂ RN, IX ⇒ Cloud data on X ⇒ (CW) Complex ⇒ Invariants of X Two important steps
◮ density ◮ complex
5/24
SLIDE 11
Application: Variety Sampling
◮ Consider a compact
submanifold M ⊆ Rn.
6/24
SLIDE 12
Application: Variety Sampling
◮ Consider a compact
submanifold M ⊆ Rn.
◮ And a point cloud
E ⊂ M.
6/24
SLIDE 13
Application: Variety Sampling
◮ Consider a compact
submanifold M ⊆ Rn.
◮ And a point cloud
E ⊂ M.
◮ Put growing balls
around the points E.
6/24
SLIDE 14
Application: Variety Sampling
◮ Consider a compact
submanifold M ⊆ Rn.
◮ And a point cloud
E ⊂ M.
◮ Put growing balls
around the points E.
6/24
SLIDE 15
Application: Variety Sampling
◮ Consider a compact
submanifold M ⊆ Rn.
◮ And a point cloud
E ⊂ M.
◮ Put growing balls
around the points E.
◮ Geometry of M
captured by union of balls for ball sizes in certain interval.
6/24
SLIDE 16
Application: Variety Sampling
◮ Consider a compact
submanifold M ⊆ Rn.
◮ And a point cloud
E ⊂ M.
◮ Put growing balls
around the points E.
◮ Geometry of M
captured by union of balls for ball sizes in certain interval.
6/24
SLIDE 17
Application: Variety Sampling
◮ Consider a compact
submanifold M ⊆ Rn.
◮ And a point cloud
E ⊂ M.
◮ Put growing balls
around the points E.
◮ Geometry of M
captured by union of balls for ball sizes in certain interval.
6/24
SLIDE 18
Application: Variety Sampling
◮ Consider a compact
submanifold M ⊆ Rn.
◮ And a point cloud
E ⊂ M.
◮ Put growing balls
around the points E.
◮ Geometry of M
captured by union of balls for ball sizes in certain interval.
6/24
SLIDE 19
Application: Variety Sampling
7/24
SLIDE 20 Application: Variety Sampling
◮ Consider a growing
tubular neighborhood
7/24
SLIDE 21 Application: Variety Sampling
◮ Consider a growing
tubular neighborhood
◮ At some point it
becomes singular (M = {p}).
7/24
SLIDE 22 Application: Variety Sampling
◮ Consider a growing
tubular neighborhood
◮ At some point it
becomes singular (M = {p}).
◮ Half the black distance
is called the reach of M.
◮ And the line is a
bottleneck.
7/24
SLIDE 23
Set up Consider Rn , endowed with the euclidean inner product < x, y >= xiyi. Let X ⊂ RN be a smooth compact algebraic variety defined by an ideal I = (f1, ..., fk) ⊂ R[x1, ..., xn]. Let p ∈ X and consider the Jacobian matrix J(f1, ..., fk) = ( ∂fi ∂xj )i,j evaluated at p.
8/24
SLIDE 24 ◮ Since X is smooth, the rows of the Jacobian matrix
span an (n − d)-dimensional linear subspace of Rn, where d is the local dimension of X at p.
◮ This subspace translated to the point p is called the
normal space of X at p, and is denoted Np(X) (fibers
9/24
SLIDE 25
10/24
SLIDE 26
For p ∈ Rn, Consider the distance function dX(p) = minx∈X||x − p|| and πX(p) = {x ∈ X | ||x − p|| = dX(p)} 10/24
SLIDE 27
For p ∈ Rn, Consider the distance function dX(p) = minx∈X||x − p|| and πX(p) = {x ∈ X | ||x − p|| = dX(p)} For r 0 let Xr the tubular neighborhood of X of radius r Xr = {p ∈ Rn | dX(p) < r} 10/24
SLIDE 28
For p ∈ Rn, Consider the distance function dX(p) = minx∈X||x − p|| and πX(p) = {x ∈ X | ||x − p|| = dX(p)} For r 0 let Xr the tubular neighborhood of X of radius r Xr = {p ∈ Rn | dX(p) < r} ∆X = {p ∈ Rn : πX(p) > 1} , the medial axis MX = ∆X 10/24
SLIDE 29
11/24
SLIDE 30
∆X = {p ∈ Rn : πX(p) > 1} , the medial axis MX = ∆X
Picture: International Conference on Cyberworlds (CW’07). Henning Naß, Franz-Erich Wolter and Hannes Thielhelm.DOI:10.1109/CW.2007.55
11/24
SLIDE 31
The Reach
12/24
SLIDE 32
The Reach Define the reach of X as: τX = infx∈X,y∈∆X {d(x, y)}
12/24
SLIDE 33
The Reach Define the reach of X as: τX = infx∈X,y∈∆X {d(x, y)} Notice that for each point x ∈ Xr where r < τ |πX(p)| = 1. This point is called the closest point of p on X.
12/24
SLIDE 34
The Reach Define the reach of X as: τX = infx∈X,y∈∆X {d(x, y)} Notice that for each point x ∈ Xr where r < τ |πX(p)| = 1. This point is called the closest point of p on X. Facts:
◮ X is compact, thus τX > 0. ◮ dim X > 0 (not convex) τX < ∞. ◮ τX is a combination of local and global estimates:
12/24
SLIDE 35
13/24
SLIDE 36
◮ Locally: ρX is the minimal radius of curvature on X (
radius of curvature at x ∈ X is the reciprocal of the maximal curvature of a geodesic passing through x.) 13/24
SLIDE 37
◮ Locally: ρX is the minimal radius of curvature on X (
radius of curvature at x ∈ X is the reciprocal of the maximal curvature of a geodesic passing through x.)
◮ Globally: bottlenecks:
ηX = 1 2 inf{||x−y|| : (x, y) ∈ X×X, x = y, y ∈ NxX, x ∈ NyX}. 13/24
SLIDE 38
◮ Locally: ρX is the minimal radius of curvature on X (
radius of curvature at x ∈ X is the reciprocal of the maximal curvature of a geodesic passing through x.)
◮ Globally: bottlenecks:
ηX = 1 2 inf{||x−y|| : (x, y) ∈ X×X, x = y, y ∈ NxX, x ∈ NyX}.
τX = min{ρX, ηX}
13/24
SLIDE 39
From:Estimating the reach of a Manifold
14/24
SLIDE 40
From:Estimating the reach of a Manifold
Picture: Estimating the reach of a Manifold. E. Aamari, J. Kim, F . Chazal, B. Michel, A. Rinaldo, et al.
14/24
SLIDE 41
Sample
15/24
SLIDE 42 Sample X ⊂ RN smooth, compact variety. Definition Let ε > 0. A finite set of points E ⊂ X is called an ε-sample
- f X if for every x ∈ X there is a point e ∈ E such that
IIx − eII < ε.
15/24
SLIDE 43 Sample X ⊂ RN smooth, compact variety. Definition Let ε > 0. A finite set of points E ⊂ X is called an ε-sample
- f X if for every x ∈ X there is a point e ∈ E such that
IIx − eII < ε. Definition
◮ Let q ∈ RN and let c(q, ε) ⊂ RN denote the closed ball
centered at q and of radius ε.
◮ Consider
C(ε, E) =
c(q, ε).
15/24
SLIDE 44
Sample gives homology
16/24
SLIDE 45
Sample gives homology Theorem Let ε > 0 and consider E an ε
2 sample of X. If ε < 1 2τ for all
p ∈ E then X ֒ → C(E, ε) is a homotopy equivalence.
16/24
SLIDE 46
Sample gives homology Theorem Let ε > 0 and consider E an ε
2 sample of X. If ε < 1 2τ for all
p ∈ E then X ֒ → C(E, ε) is a homotopy equivalence. proof:
◮ πX : C(E, ε) → X is continuous. ◮ C(E, ε) × [0, 1] → C(E, ε) defines as
(x, t) → tπX(x) + (1 − t)x is a deformation retract. To prove: tπX(x) + (1 − t)x ∈ C(E, ε).
16/24
SLIDE 47
One way to sample via Numerical AG
17/24
SLIDE 48 One way to sample via Numerical AG Let X ∈ RN be a variety of dimension d. Let Td ⊂ {1, 2, . . . , N} be the set of unordered d-tuples. Let e1, . . . , eN be the standard basis. For t = (t1, . . . , td) ∈ Td we let Vt = Span(eti, . . . , etd). For δ > 0 consider the grid Gt(δ) = δZ ∩ Vt and the projection πt : RN → Vt. Then Eδ =
X ∩ π−1
t
(g) is a finite sample (up to random perturbation).
17/24
SLIDE 49
One way to sample via Numerical AG
18/24
SLIDE 50
One way to sample via Numerical AG Theorem If 0 < δ <
ε √ N and Eδ = ∅, then Eδ is ε sample of X.
18/24
SLIDE 51
One way to sample via Numerical AG Theorem If 0 < δ <
ε √ N and Eδ = ∅, then Eδ is ε sample of X.
Use numerical methods to construct sample:
18/24
SLIDE 52
One way to sample via Numerical AG Theorem If 0 < δ <
ε √ N and Eδ = ∅, then Eδ is ε sample of X.
Use numerical methods to construct sample:
◮ Bertini: Bates-Hauenstein-Sommese-Wampler ◮ HomotopyContinuation.jl: Paul Breiding and Sascha
Timme
18/24
SLIDE 53
Simplicial Complex A simplicial complex on X is a collection K of subsets of X such that if σ ∈ K and τ ⊆ σ, then τ ∈ K.
Figure: Geometric realization of a simplicial complex. Photo credit: Wikipedia 19/24
SLIDE 54 From Data to Simplicial Complexes Consider a finite metric space (X, d). The Vietoris-Rips complex on X at scale ε, VR(X)ε consists of :
◮ singletons {x}, for all x ∈ X. ◮ sets {x0, . . . , xn} ⊆ X, such that d(xi, xj) ε for all
0 i, j n.
Figure: VR(X)ε, Photo credit: R. Ghrist, 2008, Barcodes: The Persistent
Topology of Data.
20/24
SLIDE 55
From Data to Simplicial Complexes If ε ε′, VR(X)ε is a sub-complex of VR(X)ε′. Therefore by considering increasing values of ε, we obtain a filtration of simplicial complexes.
21/24
SLIDE 56 Persistent Homology Given a filtration of simplicial complexes: X0
i0
֒ → X1
i1
֒ → . . .
ik−1
֒ → Xk ֒ → . . .
fixed n ∈ N and a field K, we compute the n-th homology, with coefficients in K,
- f the filtration to obtain a parametrized vector space.
Hn(X0)
Hn(i0)
→ Hn(X1)
Hn(i1)
→ . . .
Hn(ik−1)
→ Hn(Xk) → . . .
22/24
SLIDE 57 Barcode
A parametrized vector space is completely described by a multi-set of half open intervals, commonly visualized as a barcode.
H0 H1 H2
- Figure: A filtration of simplicial complexes and associated barcode, Photo
credit: R. Ghrist, 2008, Barcodes: The Persistent Topology of Data.
23/24
SLIDE 58
Summary
24/24
SLIDE 59 Summary
◮ Sampling provides data clouds to analyse ◮ The sampling recovers the underline topology if it is
sufficiently fine
◮ Reach ◮ Complex
◮ Persistence may be applied in algebraic settings.
24/24