Spheres #
This file defines and proves basic results about spheres and cospherical sets of points in Euclidean affine spaces.
Main definitions #
EuclideanGeometry.Sphere
bundles acenter
and aradius
.EuclideanGeometry.Cospherical
is the property of a set of points being equidistant from some point.EuclideanGeometry.Concyclic
is the property of a set of points being cospherical and coplanar.
Equations
- EuclideanGeometry.instCoeSphereSet = { coe := fun (s : EuclideanGeometry.Sphere P) => Metric.sphere s.center s.radius }
Equations
- EuclideanGeometry.instMembershipSphere = { mem := fun (s : EuclideanGeometry.Sphere P) (p : P) => p ∈ Metric.sphere s.center s.radius }
A set of points is cospherical if they are equidistant from some point. In two dimensions, this is the same thing as being concyclic.
Equations
- EuclideanGeometry.Cospherical ps = ∃ (center : P) (radius : ℝ), ∀ p ∈ ps, dist p center = radius
Instances For
The definition of Cospherical
.
A set of points is cospherical if and only if they lie in some sphere.
The set of points in a sphere is cospherical.
A subset of a cospherical set is cospherical.
The empty set is cospherical.
A single point is cospherical.
Two points are cospherical.
A set of points is concyclic if it is cospherical and coplanar. (Most results are stated
directly in terms of Cospherical
instead of using Concyclic
.)
- Cospherical : EuclideanGeometry.Cospherical ps
Instances For
A subset of a concyclic set is concyclic.
The empty set is concyclic.
A single point is concyclic.
Two points are concyclic.
Any three points in a cospherical set are affinely independent.
Any three points in a cospherical set are affinely independent.
The three points of a cospherical set are affinely independent.
Suppose that p₁
and p₂
lie in spheres s₁
and s₂
. Then the vector between the centers
of those spheres is orthogonal to that between p₁
and p₂
; this is a version of
inner_vsub_vsub_of_dist_eq_of_dist_eq
for bundled spheres. (In two dimensions, this says that
the diagonals of a kite are orthogonal.)
Two spheres intersect in at most two points in a two-dimensional subspace containing their
centers; this is a version of eq_of_dist_eq_of_dist_eq_of_mem_of_finrank_eq_two
for bundled
spheres.
Two spheres intersect in at most two points in two-dimensional space; this is a version of
eq_of_dist_eq_of_dist_eq_of_finrank_eq_two
for bundled spheres.
Given a point on a sphere and a point not outside it, the inner product between the difference of those points and the radius vector is positive unless the points are equal.
Given a point on a sphere and a point not outside it, the inner product between the difference of those points and the radius vector is nonnegative.
Given a point on a sphere and a point inside it, the inner product between the difference of those points and the radius vector is positive.
Given three collinear points, two on a sphere and one not outside it, the one not outside it is weakly between the other two points.
Given three collinear points, two on a sphere and one inside it, the one inside it is strictly between the other two points.