Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Earlier prefix of a polygonal arc

Definition
ArcCrossingEarlierPrefix

by xuanji · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

crossing-consequencespolygonal-geometry

The union of all polygonal-arc segments strictly preceding a specified segment index. This records the part of the arc before the first crossing segment.

Definition code
import Mathlib.Tactic
import Definitions.Def_PolygonalArc

open Classical
noncomputable section

-- [TABLET NODE: ArcCrossingEarlierPrefix]
-- Source: https://github.com/wpegden/crossing-consequences/blob/8769d142033fce042f502bf2857afb6b1375b5c3/Tablet/ArcCrossingEarlierPrefix.lean#L1-L14
def ArcCrossingEarlierPrefix (δ : PolygonalArc) (j : ℕ)
    (hj : j + 1 < δ.vertices.length) :
    Set (EuclideanSpace ℝ (Fin 2)) :=
  ⋃ i : {i : ℕ // i < j},
    segment ℝ
      (δ.vertices[i.1]'(by omega))
      (δ.vertices[i.1 + 1]'(by omega))
Source
https://github.com/wpegden/crossing-consequences/blob/8769d142033fce042f502bf2857afb6b1375b5c3/Tablet/ArcCrossingEarlierPrefix.lean

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me