/-
Copyright 2025 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/modulepublicimportFormalConjecturesForMathlib.Geometry.EuclideanpublicimportMathlib.Analysis.InnerProductSpace.PiL2publicimportMathlib.Combinatorics.SimpleGraph.Basic@[expose]publicsectionnamespaceSimpleGraphvariable{α:Type*}[Fintypeα][DecidableEqα]openFinsetList
A unit distance graph in ℝ²:
A graph where the vertices V are a collection of points in ℝ² and there is
an edge between two points if and only if the distance between them is 1.
An integer distance graph in ℝ²:
the same construction with 1 replaced by an arbitrary positive integer, so two distinct
points are adjacent exactly when the distance between them is a positive whole number.
G can be embedded in ℝ^n with every edge a unit line segment if there is an injective map
from the vertices of G to ℝ^n sending any two adjacent vertices to points at distance 1.