LeanPool.Monsky.SegmentCounting #
Imported Lean Pool material for LeanPool.Monsky.SegmentCounting.
The set of nondegenerate segments with both endpoints in X.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The segments of segmentSet X whose open hull avoids the set A.
Equations
- LeanPool.Monsky.avoidingSegmentSet X A = {L ∈ LeanPool.Monsky.segmentSet X | Disjoint (LeanPool.Monsky.closedHull L) A}
Instances For
The avoiding segments of X that are basic, i.e. contain no point of X in their interior.
Equations
- LeanPool.Monsky.basicAvoidingSegmentSet X A = {L ∈ LeanPool.Monsky.avoidingSegmentSet X A | ∀ x ∈ X, x ∉ LeanPool.Monsky.openHull L}
Instances For
An inductively defined chain of collinear segments between two points.
- basic {u v : EuclideanSpace ℝ (Fin 2)} : Chain u v
- join {u v w : EuclideanSpace ℝ (Fin 2)} (hCollineair : colin u v w) (C : Chain v w) : Chain u w
Instances For
The finite set of basic segments making up a chain.
Equations
Instances For
Concatenates two chains sharing an endpoint into a single chain.
Equations
- LeanPool.Monsky.glueChains hCollinear LeanPool.Monsky.Chain.basic x✝ = LeanPool.Monsky.Chain.join hCollinear x✝
- LeanPool.Monsky.glueChains hCollinear (LeanPool.Monsky.Chain.join h C') x✝ = LeanPool.Monsky.Chain.join ⋯ (LeanPool.Monsky.glueChains ⋯ C' x✝)
Instances For
Reverses the direction of a chain.
Equations
Instances For
The single segment from the start to the end of a chain.
Equations
Instances For
A function on segments that is additive modulo 2 along collinear splits.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A function on segments invariant under reversing the segment.
Equations
- LeanPool.Monsky.symmFun f = ∀ (S : Fin 2 → EuclideanSpace ℝ (Fin 2)), f (LeanPool.Monsky.reverseSegment S) = f S
Instances For
Indicator (0 or 1) of whether a segment is purple, i.e. red-blue colored.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Indicator (0 or 1) of whether a triangle is rainbow.
Equations
- LeanPool.Monsky.isRainbow v T = if Function.Surjective (LeanPool.Monsky.coloring v ∘ T) then 1 else 0
Instances For
The finite set of all vertices appearing in a triangulation.
Equations
Instances For
The set of triangulation vertices, viewed as a set of points of the plane.
Equations
- LeanPool.Monsky.triangulationPoints₂ Δ = Δ.biUnion fun (T : Fin 3 → EuclideanSpace ℝ (Fin 2)) => Finset.image (fun (i : Fin 3) => T i) Finset.univ
Instances For
The union of triangle interiors that basic segments of the triangulation must avoid.
Equations
Instances For
The basic avoiding segments of a triangulation.
Equations
Instances For
The basic segments lying on the boundary of the unit square.
Equations
Instances For
The basic segments lying in the interior of the unit square.
Equations
Instances For
isTriangulation Δ states that Δ is a disjoint cover of the unit square by triangles.
Equations
Instances For
Every vertex of a triangulation lies in the closed unit square.
All basic segments of a triangulation, both boundary and interior.
Equations
Instances For
The total number of purple segments in a triangulation.
Equations
Instances For
The total number of rainbow triangles in a triangulation.
Equations
- LeanPool.Monsky.rainbowSum v Δ = ∑ T ∈ Δ, LeanPool.Monsky.isRainbow v T
Instances For
The finite set of rainbow triangles of a triangulation.
Equations
- LeanPool.Monsky.rainbowTriangles v Δ = {T ∈ Δ | LeanPool.Monsky.isRainbow v T = 1}
Instances For
The basic segments of a segment family contained in a given side.
Equations
- LeanPool.Monsky.basicSegmentSegments X S = {L ∈ X | LeanPool.Monsky.openHull L ⊆ LeanPool.Monsky.openHull S}
Instances For
Auxiliary index function used in the square boundary decomposition.
Equations
- LeanPool.Monsky.p x y = !₂[x, y]
Instances For
The basic boundary segments of the unit square lying on side i.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The basic segments of a triangulation lying on the boundary of triangle T.
Equations
Instances For
The three sides of a triangle T, as a set of segments.
Equations
- LeanPool.Monsky.triangleBoundary T = ⊤.biUnion fun (i : Fin 3) => {LeanPool.Monsky.Tside T i}
Instances For
The number (0, 1 or 2) of purple edges among the edges with two given colors.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The open hulls of the interior basic segments of a triangulation.
Equations
Instances For
Indicator of whether a segment lies on the boundary of the unit square.