OAI/Combinatorics/CompleteCrossing/Drawing.lean
58 declarations, 0 contain sorry, 0 declared as axioms
Continuous graph drawings, proper spatial crossings, incidence, and endpoint properties.
- abbrev
OAI.Paper170.Planeline 27Also declared: ComparatorChallenges/CompleteCrossing.lean:13 (same declaration text).
- def
OAI.Paper170.squaredLengthline 29 - def
OAI.Paper170.det2line 31 - def
OAI.Paper170.segmentPointline 33 - structure
OAI.Paper170.Graphline 36Source documentation
One chosen orientation of each edge of a finite simple graph.
Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:15 (different declaration text). Qualify references as OAI.Paper170.Graph@path.
structure Graph (V E : Type) where …
- abbrev
OAI.Paper170.CompleteEdgeline 43Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:22 (different declaration text). Qualify references as OAI.Paper170.CompleteEdge@path.
- instance
OAI.Paper170.(instance at line 45)line 45 - def
OAI.Paper170.completeGraphline 47Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:24 (different declaration text). Qualify references as OAI.Paper170.completeGraph@path.
- abbrev
OAI.Paper170.Graph.IncidentEdgeline 63 - structure
OAI.Paper170.ContinuousDrawingline 68Source documentation
Actual injective continuous edge arcs, with unrestricted routing.
Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:38 (different declaration text). Qualify references as OAI.Paper170.ContinuousDrawing@path.
structure ContinuousDrawing where …
- def
OAI.Paper170.edgeInteriorline 78Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:48 (different declaration text). Qualify references as OAI.Paper170.edgeInterior@path.
- structure
OAI.Paper170.ProperCrossingline 82Source documentation
A proper double crossing is locally homeomorphic to two coordinate axes.
Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:51 (different declaration text). Qualify references as OAI.Paper170.ProperCrossing@path.
structure ProperCrossing (A B : Set Plane) (x : Plane) : Prop where …
Mentions: OAI.Paper170.Plane
- def
OAI.Paper170.crossingPointsline 89Source documentation
Spatial intersection points. Different meetings of the same pair remain distinct.
Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:57 (different declaration text). Qualify references as OAI.Paper170.crossingPoints@path.
def crossingPoints (D : ContinuousDrawing G) : Set Plane := …
Mentions: OAI.Paper170.Plane
- structure
OAI.Paper170.AdmissibleDrawingline 92Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:61 (different declaration text). Qualify references as OAI.Paper170.AdmissibleDrawing@path.
- def
OAI.Paper170.crossingCountline 101Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:72 (different declaration text). Qualify references as OAI.Paper170.crossingCount@path.
- def
OAI.Paper170.ordinaryCrossingNumberline 104Source documentation
The minimum spatial crossing count over admissible drawings.
Distinct definitions of this name: ComparatorChallenges/CompleteCrossing.lean:75 (different declaration text). Qualify references as OAI.Paper170.ordinaryCrossingNumber@path.
def ordinaryCrossingNumber (G : Graph V E) : ℕ := sInf (range (@crossingCount V E G))
- structure
OAI.Paper170.PolygonalParametrizationline 107Source documentation
A finite affine parametrization of the actual path.
structure PolygonalParametrization {a b : Plane} (γ : Path a b) where …Mentions: OAI.Paper170.Plane
- def
OAI.Paper170.PolygonalParametrization.verticesline 119 - structure
OAI.Paper170.NormalizedDrawingline 125Source documentation
A convenient subdivision of a normalized drawing. Avoiding subdivision knots at crossings is additional presentation data, obtained by the normalization theorem.
structure NormalizedDrawing (G : Graph V E) extends AdmissibleDrawing G where …
- def
OAI.Paper170.segmentIntersectionline 134Source documentation
Directed open-segment intersection, with the ordinary determinant sign.
def segmentIntersection (a b c d : Plane) : ℝ := …
Mentions: OAI.Paper170.Plane
- def
OAI.Paper170.interiorIntersectionline 141 - def
OAI.Paper170.outwardSpokeline 148 - def
OAI.Paper170.spokeAngleline 153 - structure
OAI.Paper170.SpokeOrdersline 158Source documentation
The linear local orders are witnessed by the actual counterclockwise angles, with a cut in a gap. No intersection identity is part of this data.
structure SpokeOrders (N : NormalizedDrawing G) where …
Mentions: OAI.Paper170.NormalizedDrawing
- def
OAI.Paper170.endpointSignline 167 - def
OAI.Paper170.spokeComparisonline 170 - def
OAI.Paper170.cycleIntersectionline 178 - def
OAI.Paper170.edgePairingline 182 - def
OAI.Paper170.boundaryline 185 - def
OAI.Paper170.completeEdgeVectorline 188 - def
OAI.Paper170.rawCycleIntersectionline 192 - structure
OAI.Paper170.SimpleCycleline 197Source documentation
A simple combinatorial cycle with a chosen direction of traversal.
structure SimpleCycle (G : Graph V E) where …
- def
OAI.Paper170.SimpleCycle.edgeChainline 209 - def
OAI.Paper170.polygonIntersectionline 212 - structure
OAI.Paper170.TransversePolygonsline 217Source documentation
Only proper interior meetings between the two polygonal walks.
structure TransversePolygons (v w : ℕ → Plane) (n m : ℕ) : Prop where …
Mentions: OAI.Paper170.Plane
- def
OAI.Paper170.circleComparisonline 227 - def
OAI.Paper170.inversionline 231 - theorem
OAI.Paper170Geometry.edgeInterior_subset_rangeline 246 - theorem
OAI.Paper170Geometry.edgeInterior_of_range_not_verticesline 251 - theorem
OAI.Paper170Geometry.edgeInterior_not_vertexline 266 - theorem
OAI.Paper170Geometry.crossing_of_ranges_not_verticesline 271 - theorem
OAI.Paper170Geometry.drawing_edge_vertex_parameterline 286 - structure
OAI.Paper170Geometry.FiniteIntersectionDrawingline 312 - abbrev
OAI.Paper170Geometry.toFiniteIntersectionDrawingline 318 - instance
OAI.Paper170Geometry.admissibleToFiniteIntersectionDrawingline 324 - def
OAI.Paper170Geometry.finiteCrossingCountline 328 - theorem
OAI.Paper170Geometry.finiteCrossingCount_of_admissibleline 331 - theorem
OAI.Paper170Geometry.finiteCrossingCount_eq_ncardline 334 - abbrev
OAI.Paper170.AdmissibleDrawing.toFiniteIntersectionDrawingline 342 - theorem
OAI.Paper170Geometry.crossingCount_attainmentline 361Source documentation
A minimum exists once an actual admissible drawing has been constructed. This is the well-ordering step; construction of a drawing remains a separate obligation.
theorem crossingCount_attainment (D₀ : Paper170.AdmissibleDrawing graph) : ∃ D : Paper170.AdmissibleDrawing graph, Paper170.crossingCount D = Paper170.ordinaryCrossingNumber graph := by … - theorem
OAI.Paper170Geometry.ordinaryCrossingNumber_le_countline 366 - theorem
OAI.Paper170Geometry.crossing_incident_iffline 370 - theorem
OAI.Paper170Geometry.crossing_two_edgesline 388Source documentation
Every spatial crossing has exactly two incident edges; no bound is imposed on the number of points common to that edge pair.
theorem crossing_two_edges (D : Paper170.AdmissibleDrawing graph) (x : Plane) (hx : x ∈ Paper170.crossingPoints D.toContinuousDrawing) : ∃ e f : Edge, e ≠ f ∧ ∀ g, x ∈ Paper170.edgeInterior D.toContinuousDrawing g ↔ g = e ∨ g = f := by … - def
OAI.Paper170Geometry.pairCrossingsline 396Source documentation
The actual finite set of crossing points for a specified ordered edge pair.
def pairCrossings (D : Paper170.AdmissibleDrawing graph) (e f : Edge) : Finset Plane := …
- theorem
OAI.Paper170Geometry.pairCrossings_selfline 400 - theorem
OAI.Paper170Geometry.pairCrossings_commline 404 - theorem
OAI.Paper170Geometry.crossing_ordered_incidenceline 413Source documentation
Each crossing point contributes two ordered edge pairs.
theorem crossing_ordered_incidence (D : Paper170.AdmissibleDrawing graph) (x : Plane) (hx : x ∈ Paper170.crossingPoints D.toContinuousDrawing) : (∑ e : Edge, ∑ f : Edge, if e ≠ f ∧ x ∈ Paper170.edgeInterior D.toContinuousDrawing e ∧ x ∈ Paper170.edgeInterior D.toContinuousDrawing f then (1 : ℕ) else 0) = 2 := by … - theorem
OAI.Paper170Geometry.sum_pairCrossings_cardline 438Source documentation
Sum over ordered edge pairs equals twice the number of spatial crossing points.
theorem sum_pairCrossings_card (D : Paper170.AdmissibleDrawing graph) : (∑ e : Edge, ∑ f : Edge, (pairCrossings D e f).card) = 2 * Paper170.crossingCount D := by …Mentions: OAI.Paper170Geometry.pairCrossings