<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Automatic Synthesis ofSmooth Infinite Horizon Paths Satisfying Linear Temporal Logic Specifications</title></titleStmt>
			<publicationStmt>
				<publisher>Computer Aided Verification. CAV 2025. Lecture Notes in Computer Science, vol 15934.</publisher>
				<date>01/01/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10698699</idno>
					<idno type="doi">10.1007/978-3-031-98685-7_12</idno>
					
					<author>Samuel Williams</author><author>Jyotirmoy Deshmukh</author><author>R Piskac</author><author>Z Rakamarić</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<title>Abstract</title> <p>Automatically constructing smooth paths that satisfy a formal specification is a challenging problem. Existing methods struggle to scale to long horizon specifications and challenging environments. We present a method that uses abstraction, model checking, and convex optimization to solve for a smooth Bézier spline that is guaranteed to satisfy a Linear Temporal Logic specification. Our approach uses a coarse abstraction to avoid the state explosion of other abstraction based methods, and successfully avoids the computational challenges of directly optimizing the non-convex temporal logic semantics. We prove our method is sound and complete and demonstrate a significant computational advantage relative to state of the art approaches. Generating such smooth paths has natural applications in path planning for autonomous robots, and we demonstrate the applicability of our method on path planning for a quadrotor.</p>]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Path planning for robotic systems is an important and challenging problem <ref type="bibr">[24]</ref>. Typically, a planner is provided with the description of the robot's workspace including an initial configuration, a desired goal configuration, obstacles, and a transition relation encoding the effect of robot actions on its configurations. Most autonomous robots perform planning in a layered manner: a high-level planner first identifies a (possibly dense) sequence of way-points for the robot to follow that achieves a collision-free path through the workspace that satisfies the robot's goal. The path is then handed off to a lower-level controller that ensures that the robot's actual trajectory follows the path with minimal tracking error. While there are many planning algorithms for robots that help identify paths over finite planning horizons, specification of infinite horizon objectives and path planning for such objectives remains a significant challenge. A popular formalism to describe infinite horizon behavior of the system, such as invariance or persistence, is Linear Temporal Logic <ref type="bibr">[42]</ref>. For most autonomous robots, a feasible lower-level control scheme often imposes constraints on the high-level pathstoensuredynamicfeasibility.Followingpathsthatrequireabruptchanges mayimposeunrealisticdemandsonthelow-levelcontrolthatviolateactuation constraints. Thus, producing paths that are sufficiently smooth usually makes thelow-levelcontrolproblemeasier.</p><p>Inthispaper,wetackletwochallenges:(1)generatingsmoothpathsthrough therobot'sworkspace,(2)ensuringthatthesepathscansatisfyarbitraryinfinite horizonplanningobjectivesspecifiedinLTL.Akeyobservationthatweusein ourapproachisthatforanylabeledtransitionsystemthatsatisfiesanLTL(or anyother .&#969;-regular)specification:ifasatisfyingpathexists,thenalasso-shaped satisfying path exists in the system. These lassos describe an infinite sequence ofsystemstatesasafiniteprefixfollowedbyaninfinitelyrepeatingfinitesuffix.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>RelatedWorkonAbstraction-BasedControlSynthesis.</head><p>Thereissignificantworkonconstructingcontrollersfordynamicalsystemsthatguaranteethat theresultingclosed-loopsystemsatisfiesLinearTemporalLogic(LTL)specificationsusingapproachesfromreactivesynthesis <ref type="bibr">[ 5,</ref><ref type="bibr">18,</ref><ref type="bibr">21]</ref>andabstraction-guided control <ref type="bibr">[ 46,</ref><ref type="bibr">48,</ref><ref type="bibr">52]</ref>. Our approach falls under the broad category of automata based methods that model a finite state abstraction of the control system as a finite transition system <ref type="bibr">[ 4,</ref><ref type="bibr">7,</ref><ref type="bibr">12,</ref><ref type="bibr">20,</ref><ref type="bibr">32,</ref><ref type="bibr">37,</ref><ref type="bibr">41,</ref><ref type="bibr">53,</ref><ref type="bibr">55,</ref><ref type="bibr">59]</ref>. These approaches use model checking <ref type="bibr">[ 2,</ref><ref type="bibr">8]</ref> or other algorithms on automata to produce a satisfying lasso through the abstract transition system. However, it is challenging to map the abstract lasso to a controller of the robotic system. Additionally, it iscomputationally challenging to usethesemethods onlarge abstract systems asalgorithmsoperateontheproductoftheabstractsystemwithatranslated B&#252;chiautomatonforthespecification,whichisexponentiallylargeinthesizeof theformula <ref type="bibr">[ 2]</ref>.Samplingbasedplannersaddressthisproblembyeitherincrementallybuildingasparseabstractsystemthroughsamplingsystemdynamics <ref type="bibr">[4,</ref><ref type="bibr">19,</ref><ref type="bibr">35,</ref><ref type="bibr">57]</ref> or avoiding the construction of an abstract system altogether by simultaneouslyexploringthestatespaceandtranslatedB&#252;chiautomaton <ref type="bibr">[ 31]</ref>.</p><p>Our Approach: Path Synthesis. Ourmethodaddressesthecomputational challengesofrelatedmethodsbysynthesizingpathsinsteadofacontroller.Relativetootherabstraction-basedmethods,wecanleverageamorecoarseabstrac-tionasinterpolatingdiscretetransitionswithaB&#233;ziersplinereducestheneedfor afine-grainedabstraction.Thiscanbeseenasanalternativetosampling-based abstract planning as both approaches seek to reduce the size of the abstract system, though our method is control-agnostic. Additionally, our method handlesinfinitehorizonpaths.Wetheoreticallyguaranteethediscretetraceofthe synthesizedpathsatisfiesanLTLspecificationandthatourmethodwillalways constructoneifsuchapathexists.However,theseguaranteesareonthesynthesized paths and extending guarantees to a controller is a challenging problem.</p><p>For thespecialcaseof differentially flat systems,wedemonstrate howexisting trajectorytrackingcontrollerscanbeusedtotracktheplannedspline.</p><p>KurtzandLin <ref type="bibr">[ 23]</ref>presentthemostsimilarmethod.TheysolveforaB&#233;zier splinethatsatisfiesanLTLspecificationbyformulatingtheproblemasashortest pathprobleminagraphofconvexsets <ref type="bibr">[ 33,</ref><ref type="bibr">34]</ref>,whichisNP-hardbuthasatight convex relaxation. They give soundness and completeness guarantees for the synthesizedtrajectoryfortheco-safefragmentofLTLformulas,butareunable togiveacompletenessguaranteeforfullLTL.AB&#233;ziersplinethatsatisfiesthe formulamayexistwhentheirmethodfails.Wepresentanalternativemethodthat uses model checking tools to achieve soundness and completeness for full LTL. Sun et al. <ref type="bibr">[ 50]</ref> present another similar method that solves for piecewise linear pathsthatsatisfyanSTLformulabyencodingthesatisfactionoftheformulaas anMILP.Althoughtheyconsidersatisfactionofadifferenttemporallogic,the B&#233;ziersplinesusedinourmethodgeneralizepiecewiselinearpaths,andunder some conditions we can translate the same problem instance into our setting. IncontrasttosolvinganNP-hardMILP,ourmethodsplitstheproblemintoa modelcheckingstepandaconvexoptimizationstep.Thissharesanexponential worst-case complexity but we demonstrate a computational advantage relative tobothofthesealternativemethods.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Contributions and Organization. Summarizingourmaincontributions:</head><p>1. Wepresentanabstraction-basedmethodthatusesmodelcheckingandconvex optimizationtoautomaticallysynthesizeaB&#233;ziersplinethatsatisfiesanLTL specification. 2. Weproveourmethodissoundandcomplete.Ourmethodwillreturnaspline thatsatisfiesthespecificationifandonlyifoneexists. 3. Wecompareourmethodagainstrecentapproachestopathsynthesis <ref type="bibr">[ 23,</ref><ref type="bibr">50]</ref> and find a 5x to 1255x times computational speedup in simulated experimentsofvaryingsize. 4. Wedemonstratehowsynthesizedsplinescanbeusedinconjunctionwithtrajectorytrackingcontrollersfordifferentiallyflatsystemstosolvethecontrol synthesisproblem.</p><p>WecoverpreliminarymaterialonLTLandB&#233;ziersplinesinSect. 2.InSect. 3, we formally define our problem and describe our approach to use model checking and optimization to synthesize a B&#233;zier spline. Section 4 presents a simulated experimental comparison with related work. In Sect.</p><p>5, we review abstractions of control systems and demonstrate how our method can be combined with trajectorytrackingcontrollersfordifferentiallyflatsystems.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Preliminaries</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Linear Temporal Logic</head><p>Foramorecompletetreatment,see <ref type="bibr">[ 2]</ref>.LinearTemporalLogic(LTL)isaformalismthatextendspropositionallogicwithmodalitiestoexpressrequirements ontheinfinitediscretebehaviorofasystem.Defineasetofatomicpropositions .AP whichrepresentBooleanpropertiesofasystem.</p><p>Definition 1 (Syntax of LTL).ThesyntaxofLTLisasfollows.</p><p>where . T denotes "true", .a &#8712; AP , . &#172; is the negation operator, . &#8743; is the conjunction operator, .X is the "next" temporal operator, and</p><p>.U is the "until" temporal operator.</p><p>Othertypicalbooleanconnectors( .&#8744;, &#8658;)andtemporaloperators( .G for"globally" and .F for "eventually") are derived from the above rules.</p><p>.</p><p>and for all 0 &#8804; i &lt; j : &#963;[i . . .] &#981; 1 .</p><p>Thesemanticsofthederivedtemporaloperators .G and . F follow.</p><p>. &#963; G &#981; &#8660; for all j &#8805; 0 : &#963;[j . . .] &#981;, &#963; F &#981; &#8660; exists j &#8805; 0 : &#963;[j . . .] &#981;</p><p>The statement .&#963; &#981; is read as . &#963; "satisfies" . &#981;. Denote the set of words that satisfy . &#981; as .Words(&#981;) = {&#963; &#8712; (2 AP ) &#969; | &#963; &#981;}.Finally,recallanyLTLformula canbetranslatedintoanon-deterministicB&#252;chiautomaton.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 3 (B&#252;chi automaton). A non-deterministic B&#252;chi automaton</head><p>a transition relation, and .F &#8838; Q is the acceptance set. The language .L &#969; (M ) is the set of infinitewordsin .(2 AP ) &#969; thathaveatleastoneinfiniterun .q 0 q 1 q 2 . . . in .M where .q i &#8712; F forinfinitelymanyindices . i. The construction of an NBA .M &#981; where .&#963; &#8712; Words(&#981;) iff .&#963; &#8712; L &#969; (M &#981; ) takes .2 O(|&#981;|) timeandspace,yethasbeensuccessfullyappliedinmodelcheckingtools thatarecapableofhandlingmodestlysizedformulas. Definition 4 (Kripke Structure). A Kripke structure over a set of atomic propositions .AP is defined as a tuple .K = (S, I, R, h S ) where . S is a finite set of states, .I &#8838; S is a set of initial states, .R &#8838; S &#215; S is a transition relation satisfying .&#8704;s &#8712; S, &#8707;s &#8712; S s.t. .(s, s ) &#8712; R. The function .h S : S &#8594; 2 AP is called theoutputfunctionandlabelsasetofatomicpropositionsthatholdin . S. A path through .K is an infinite sequence of states .&#961; = s 1 s 2 s 3 . . . where .s 1 &#8712; I and each .s i &#8712; S such that for each .i &#8805; 1, .(s i , s i+1 ) &#8712; R. Denote .Trace(&#961;) astheworddefinedbythesequenceoflabelsofeachstate</p><p>. Trace(&#961;) = h S (s 1 )h S (s 2 )h S (s 3 ) . . . &#8712; (2 AP ) &#969; . Themodel checking <ref type="bibr">[ 2,</ref><ref type="bibr">8]</ref> problem decides whetherallwordsgeneratedbyaKripkestructure .K satisfyanLTLformula . &#981;. Todoso,thestandardalgorithmtakestheproductautomaton</p><p>. A := K &#8855; M &#172;&#981; where .M &#172;&#981; istheNBAconstructedfrom .&#172;&#981; andcheckswhether . A acceptsany words.Iffthelanguage .L &#969; (A) isempty, .K &#981;.Modelcheckersproduceawitness(orcounterexample)when .K &#981; whichisoftheform .&#961; = &#961; 1 (&#961; 2 ) &#969; where .&#961; 1 = s 1 . . . s n isafiniteprefixand .&#961; 2 = s n+1 . . . s m isaninfinitelyrepeatedfinite suffix.Each . s i isastateintheproductautomaton</p><p>.K &#8855; M &#172;&#981; whichcanbeprojectedonto . S toproduceapathof .K wheretheassociatedword .Trace(&#961;) &#981;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">B&#233;zier Splines</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>WeuseB&#233;ziersplinestomapdiscretewitnesses</head><p>. &#961; tosmoothpaths.B&#233;ziersplines <ref type="bibr">[40]</ref>areamethodofinterpolationthathavebeenusedextensivelyinthemotion planningliterature(e.g. <ref type="bibr">[ 25,</ref><ref type="bibr">43,</ref><ref type="bibr">56,</ref><ref type="bibr">60]</ref>).AB&#233;ziersplineofdegree .k &#8712; N isdefined bytheconcatenationofseveralcurves(orsegments)whichareeachdefinedusing aparticularsetofpolynomialbasisfunctions,theBernsteinbasispolynomials. Forsplinedegree . k, thereare .k + 1 Bernsteinbasispolynomials.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 5 (Bernstein Basis Polynomial). For</head><p>.i &#8712; {0, . . . , k}, the Bernsteinbasispolynomial .B i,k : [0, &#916; t ] &#8594; R isdefinedby:</p><p>Where .&#916; t &#8712; R ++ is a strictly positive real number. Typically .&#916; t = 1 but we allowtheparametertorangetoenablegreaterflexibilityonthetimingofplanned curves.WelaterrefertothefollowingpropertiesofBernsteinbasispolynomials:</p><p>Where .&#948; i,j istheKroneckerdeltafunctioni.e.</p><p>.&#948; i,j = 1 if .i = j and . 0 otherwise.A B&#233;ziercurveisdefinedusingtheBernsteinbasispolynomialsasthecoefficients ofaconvexcombinationof .k + 1 chosencontrolpoints .(p 0 , . . . , p k ) whereeach .&#916; t and non-uniform otherwise. For non-uniform splines, denote the sequence of time deltas as .&#916; := (&#916; 1 t , . . . , &#916; m t ). As each B&#233;zier curve is a polynomial function, ensuring the spline is .C d , or .d-times continuously differentiable, amounts to checking equivalence of the first . d derivatives at the knot points. Knot points arepointswhereonecurveendsandthenextbegins.FromLemma 2,thecontrol points of the .d-th derivative are a linear function of the control points .(p 0 , . . . , p k ), so this amounts to a set of linear constraints. Corollary 1 is usefultoprovetheseconstraintsaresatisfiable.Ifthesplineisnon-uniform,these constraints are instead quadratic as the .(&#916; t ) d expression is multiplied by the control points. For example, .C 1 continuity requires between the curves . j and .j + 1:</p><p>. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Path Synthesis</head><p>In this Section, we first present a formal definition of our problem, then present an algorithm that solves our problem along with formal soundness and completeness guarantees. Finally, we analyze the worst-case time complexity of our algorithm.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Problem Definition</head><p>Define the workspace .X &#8834; R n . We are given a partition .P = (P 1 , . . . , P r ) of . X into . r convex regions i.e. .P i &#8745; P j = &#8709; for .i = j and . i=1,...,r P i = X. Let . int(P ) and .P denote the interior and closure of the set .P respectively. We assume</p><p>.int(P ) = &#8709; for each .P &#8712; P. Denote the absorbing region .P * = R n \ X. We are given a set of atomic propositions</p><p>.AP and a labeling function .L : P &#8746;P * &#8594; 2 AP . Define .Regions(B) = P 0 P 1 . . . to be the sequence of regions . B enters where for each .i = 0, 1, . . . each .P i &#8712; P and there exists a strictly increasing non-Zeno time sequence .(t 0 , t 1 , . . .) where .B(t i ) &#8712; P i and there exists . i &#8712; (0, t i+1t i ) where either: a. For all .t &#8712; [t i , t i + i ) : B(t) &#8712; P i and . t &#8712; [t i + i , t i+1 ] : B(t) &#8712; P i+1 b. For all .t &#8712; [t i , t i + i ] : B(t) &#8712; P i and . t &#8712; (t i + i , t i+1 ] : B(t) &#8712; P i+1</p><p>We define the trace of . B as the sequence of labels of .Regions(B). . Trace(B) := &#963; &#8712; (2 AP ) &#969; where .&#963; = L(P 0 )L(P 1 ) . . ., .Regions(B) = P 0 P 1 . . .. Figure <ref type="figure">1</ref> displays an example . B. Remark 1. Requiring a convex partition is useful as constraints to require a B&#233;zier curve remains within a convex region are convex. We assume this partition Algorithm 1:PathSynthesisfromLTLObjectives input: Partition . P,Startingstates . I, LTLformula . &#981;,Labelfunction . L 1 . K abs &#8592; ConstructKripke(P, I, L) 2 . M&#981; &#8592; LTLtoNBA(&#981;) 3 . &#961; &#8592; EmptinessCheck(K abs &#8855; M&#981;) 4 . B &#8592; SynthesizeB&#233;zier(&#961;) /* Check if SynthesizeB&#233;zier was feasible */ 5 if . B is not . then 6 return . B 7 return .</p><p>is given, though in practice one could be created by first taking convex overapproximations or under-approximations of labeled regions of interest in the workspace(e.g.obstacles,goalregions,etc.)andsubsequentlypartitioningthe remaining space into unlabeled convex regions. Of course this approach is not generalandprecludessomeenvironmentsfromusingourmethod,thoughweare abletoperformthisprocedureforanumberofinterestingenvironmentsusedin ourexperimentsinSects. 4 and 5.</p><p>Problem Definition. Given convex partition .P of the workspace .X &#8834; R n , labelingfunction .L : P &#8746;P * &#8594; 2 AP ,andanLTLspecification . &#981; over .AP , we aim tofinda .C d lassoB&#233;zierspline . B thatminimizesagivenconvexcostfunction . J suchthat .Trace(B) &#981;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Synthesis Algorithm</head><p>Algorithm 1 details the full algorithm. ConstructKripke() constructs the Kripke structure .K abs = (S, I, R, h s ) where .S = P &#8746;P * , .I &#8838; S is given, .(s i , s j ) &#8712; R if either .i = j or .P i &#8745; P j = &#8709; where .P i and .P j are the associated sets in the partition for</p><p>.s i and . s j . Finally, .h S = L is the given labeling function. We abuse notation and use</p><p>.s &#8712; S to refer both to a specific Kripkestateandtheassociatedregion . P . TheLTLtoNBA() functionconstructs theNBA .M &#981; where .L &#969; (M &#981; ) = Words(&#981;).EmptinessCheck() performsemptiness checking, returning a witness . &#961; that is accepted by .K abs &#8855; M &#981; . Practically,weconstrain . &#961; tonotinclude .P * sothepathavoidstheabsorbingregion.</p><p>1 SynthesizeB&#233;zier() performsaconvexoptimizationproblemdescribedinthe followingsubsectiontoproduceaB&#233;zierspline . B where .Trace(B) = Trace(&#961;). We prove SynthesizeB&#233;zier() will always be feasible if the spline order</p><p>. k is large enough, though since the problem defines constraints based on a specific witness, the resulting spline may be suboptimal as an alternative witness may producealowercostspline. TheSynthesizeB&#233;zier() functioninAlgorithm 1 solvesoneofthefollowing optimizationproblems.Givenpath .&#961; = &#961; 1 (&#961; 2 ) &#969; of .K abs where .&#961; 1 = s 1 . . . s l and</p><p>.&#961; 2 = s l+1 . . . s m anduser-providedcostfunction .J : R k(m+1) &#8594; R, we construct a B&#233;zier spline .B of order . k that is .d-times continuously differentiable using .m + 1 segments.Let .p j i refertothe .i-thcontrolpointofthe .j-thsegment,where .i &#8712; {0, . . . , k}, and .j &#8712; {1, . . . , m + 1}.Thesplineisconstructedbyminimizing:</p><p>The constraints for the .j = 1, .j = m, and .j = m + 1 curves differ slightly from theconstraints for all other curves andare separated for clarity. Aseach</p><p>.P &#8712; P is convex, the constraints ( 10-17) are convex. If we require .B to be uniform,constraint( 18)islinear.Otherwise,( 18)isquadratic.Aslongas . J is a convex function, this problem can be efficiently solved to global optimality. Typical choices of cost functions include minimizing an approximation of the pathlength,orthemagnitudeofhigherorderderivativesof . B.Note . B hasone moresegmentthan .|&#961; 1 &#961; 2 |. Proof. Constraints ( 10-17) ensure for .j &#8712; {1, . . . , m} and .i &#8712; {0, . . . , k} each .p j i &#8712; s j , or, .p j i &#8712; P where .P istheassociatedconvexregionto . s j .Constraints ( <ref type="formula">12</ref>),( <ref type="formula">14</ref>), <ref type="bibr">( 17)</ref>analogouslyensure .p m+1 i &#8712; s l+1 .AstheB&#233;ziercurve .b j defined bycontrolpoints .(p j 0 , . . . , p j k ) iscontainedwithintheconvexhullofthecontrol points, .&#8704;t &#8712; [0, &#916; t ] : b j (t) &#8712; P .Constraints( <ref type="formula">13</ref>) and( <ref type="formula">14</ref>)ensuresforeachspline segment . j,thereexistssome . i where .p j i &#8712; int(P ). Dueto ( 2), .b j (t) for . t &#8712; (0, &#916; t ) is a convex combination with strictly positive weight assigned to .p j i &#8712; int(P ), implying .b j (t) &#8712; int(P ) forall .t &#8712; (0, &#916; t ). As . P isapartition, .b j (t) / &#8712; P forall regions .P &#8712; P, P = P forall .t &#8712; (0, &#916; t ).Thisholdsforall .j &#8712; {1, . . . , m + 1}, therefore .Regions(B) = &#961; and .Trace(B) = Trace(&#961;).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The constraints of</head><p>.(P 1) are sufficient but not necessary to provide a . C d spline . B thatsatisfies .Trace(B) = Trace(&#961;).Forexample,problem .(P 1) maybe infeasiblewhentherecouldexistasplinethateither(a)hasadifferentorder . k, or (b)relaxesconstraint( 13) that forevery .i &#8712; {1, . . . , k -1} wehave .p j i &#8712; int(s j ). For Theorem 1,weonlyusethefactthatoneof .i &#8712; {1, . . . , k -1} satisfies( 13), but encoding that relaxation introduces integer variables which changes . (P 1) from a convex program to a mixed-integer convex program. Instead, simply increasingtheorder . k allowsustorelaxaconstraintandguaranteefeasibility. If .k &#8805; 2d + 1,weconsiderasecondoptimizationproblem: .(P 2) : min p J(p) (20) s.t.p 1 0 &#8712; s 1</p><p>j&#8712; {1, . . . , m}</p><p>The only changes between .(P 1) and .(P 2) is constraint ( <ref type="formula">13</ref>) is relaxed to ( <ref type="formula">24</ref>) and ( <ref type="formula">25</ref>), and constraint ( <ref type="formula">14</ref>) is relaxed to ( <ref type="formula">26</ref>) and( <ref type="formula">27</ref>). This is only sound when .k &#8805; 2d + 1 as .{d, . . . , k -d} isnonempty.</p><p>Theorem 2 (Soundnessof .(P 2)).Givenpath . &#961; of .K abs ,allfeasiblesolutions of .(P 2) produce a spline . B thatsatisfies .Trace(B) = Trace(&#961;).</p><p>Proof. FollowsimmediatelyfromthesameargumentastheproofofTheorem 1.</p><p>Theassumptionsmadeon . P allowustoprove .(P 2) isfeasible.</p><p>Theorem 3 (Feasibility of .(P 2)).Givenpath . &#961; of .K abs , .(P 2) isfeasible. Proof. Givenpath .&#961; = &#961; 1 (&#961; 2 ) &#969; of .K abs ,weconsiderthreedistinctcasesinour construction.</p><p>&#8226; Consideringthefirstsegment .j = 1, for .i &#8712; {0, . . . , k -d} pick .p 1 i tobethe same arbitrary point .x &#8712; int(s 1 ). By assumption .int(P ) = &#8709; for all .P &#8712; P, thispointexists.For .i &#8712; {kd + 1, . . . , k} pick .p 1 i tobethesamearbitrary point &#8226; Consideringthefinalsegments .j = m and .j = m + 1,theinductiveproof above showswe can make .m arbitrarilylarge,butwestillneedtoclosethe loop for the lasso spline. We construct the .m-th segment according to the previouscase,exceptfor .i &#8712; {kd + 1, . . . , k} we pick . p m i = x &#8712; s m &#8745; s l+1 according to constraint ( 29) as .s m+1 does not exist. We pick the first . i &#8712; {0, . . . , d -1} pointsofthe .m + 1 segmenttobethesamepoint .p m+1 i = x, and for .i &#8712; {d, . . . , k -d} we pick .p m+1 i &#8712; int(s l+1 ) to be arbitrary interior points.Fromthepreviouscase, .p l+2 i = x &#8712; s l+1 &#8745; s l+2 for . i &#8712; {0, . . . , d -1} is some already chosen point. We pick Each point exists and has been selected according to the constraints <ref type="bibr">(21)</ref><ref type="bibr">(22)</ref><ref type="bibr">(23)</ref><ref type="bibr">(24)</ref><ref type="bibr">(25)</ref><ref type="bibr">(26)</ref><ref type="bibr">(27)</ref><ref type="bibr">(28)</ref><ref type="bibr">(29)</ref><ref type="bibr">(30)</ref>. As we have proven the first . d derivatives of each spline segment at .t = 0 and .t = &#916; t all equal . 0, the spline is clearly .C d . Therefore, this spline also satisfies constraint <ref type="bibr">( 31)</ref>andisafeasiblesolutionof .(P 2).</p><p>In practice, we expect this construction to be high cost as it likely results inlargefluctuationsinthehigherorderderivatives,whichcanbepenalizedby sensiblechoicesofcostfunctions.However,thisconstructionguaranteeswecan alwayssynthesizea .C d spline . B for . &#961;,solongaswepicklargeenough . k. Theorem 4 (CompletenessofAlgorithm 1 with .(P 2)).Algorithm 1 using .(P 2) for SynthesizeB&#233;zier() returns a B&#233;zier spline .B with . Trace(B) = Trace(&#961;).</p><p>Proof. FollowsfromTheorem 2 andTheorem 3 byselecting .k &#8805; 2d + 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Whiletheconvexformulationallowsustofindtheoptimal</head><p>. B subjecttothe constraintsdefinedfromagivenwitness</p><p>. &#961;,therecouldexistadifferentwitness .&#961; or a different construction that produces a lower cost spline. Enumerating all possible witnesses may be impossible as there can be infinite. In practice, weareinterestedinasmalldiversesetofwitnessestogetanempiricallygood enoughsolutionandsimplyrandomizetheorderoftransitionsin</p><p>.K abs toproduce differentwitnesses. <ref type="foot">2</ref> Thischoicepreventsusfromguaranteeing . B istheoptimal spline that satisfies . &#981;, but we demonstrate in the following section it is very computationallyefficientandproducessplinesofsimilarcosttorelatedmethods.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">Complexity</head><p>Focusing on the case where .(P 1) and .(P 2) admit polynomial time algorithms to minimize . J (e.g. . B is uniform, .P is a set of polyhedra, and</p><p>. J is a linear or convexquadraticfunction),thecomplexityofAlgorithm 1 isdominatedbythe modelcheckingstep,whichis .PSPACE-complete [ 2].</p><p>Proof. AnupperboundforthetimeandspacecomplexityforLTLmodelchecking can be found by translating the LTL formula into a B&#252;chi automaton and searching for an accepting lasso, which is  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Experimental Results</head><p>The following experiments were all performed using a laptop running Ubuntu 20.04 with a 16 core i7-11800H processor at 2.30 GHz, 32 GB ram, and a RTX 2080 GPU. For our method, we use the SPOT model checker <ref type="bibr">[9]</ref> to produce witnesses and Gurobi<ref type="foot">foot_2</ref> for optimization. We compare our method with <ref type="bibr">[23,</ref><ref type="bibr">50]</ref> referred to as GCS for "Graph of Convex Sets" and PWL for "Piecewise Linear" respectively. Implementations of the compared methods on the experiments are provided by the respective authors. All formulas considered in this comparison are syntactically co-safe, and all splines in this section are uniform.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Numerical Comparison</head><p>Example 1 is the simple key-door problem from <ref type="bibr">[23]</ref> where a planar robot must pick up both keys before passing through their associated doors in order to reach a goal. Trajectories are synthesized to satisfy the formula:</p><p>Synthesized trajectories from two different witnesses using our method are shown in Fig. <ref type="figure">2</ref>. We ran our method and GCS for 50 trials and compared setup times, solve times, and spline costs. As both methods formulate a convex optimization problem to solve for their respective trajectories, we separate the time spent in the optimizer and all other time spent in the program into solve time and setup time. For our method, setup time includes the construction of the Kripke structure, translation of the LTL formula into a B&#252;chi automaton, the model checking step, and setup of the convex optimization problem. For GCS, the setup time includes translation of the LTL formula into a DFA, construction of the graph of convex sets, forming a product automaton between the DFA and the graph, and setup of the convex optimization problem. In order to use the same spline parameters as presented in <ref type="bibr">[23]</ref>, both methods compute .C 2 splines of order .k = 3 with .&#916; t = 1 and minimize the same cost function that computes the L2 norm between adjacent control points for the B&#233;zier spline and first and second derivatives. This choice of cost function is convex, so .(P 1) and . (P 2) are convex programs for uniform splines. As .k &lt; 2d + 1 for this experiment, we use .(P 1) for the SynthesizeB&#233;zier() calls and randomize the transition order in the Kripke structure .K abs between trials to produce different counterexamples to get a sense of how frequently .(P 1) is infeasible. Proposed GCS 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 Setup Time (a) Proposed GCS 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 Solve Time (b) Proposed GCS 0 25 50 75 100 125 150 175 200 Spline Cost (c) Fig. 4.</p><p>Comparison with <ref type="bibr">[23]</ref> on Example 1. From 50 trials, our method finds a solution on average 5.1x faster and returns splines with 6.7% increased cost. 12 of the 50 trials were infeasible for .(P 1) to solve.</p><p>On average, our proposed method has significantly faster solve times but producesslightlyhighercostsplinesandhasvarianceinthecostoftheproduced spline.Thisispartiallyexplainedasourmethodalwayssolvesforalassospline whichaddsadditionalconstraintsandsegmentsrelativetothefinitetrajectory fromtheGCSmethod.Ofthesampled50trials,12wereinfeasiblefor</p><p>.(P 1) to solve.Figure <ref type="figure">4</ref> presentsasummaryofthiscomparison.  <ref type="table">1</ref>. The GCS method spends significant time in setup by formulating the graph of convex sets and product automaton, which is not anon-the-flyconstructionlikeweuse.ThePWLmethodencodesthesemantics of the specification directly into the optimization problem which is a NP-hard MILP.Ourmethodavoidsboththesepitfalls.Wefindtheconstructionof</p><p>.K abs , translationof . &#981; to .M &#981; ,andthemodelcheckerrunsinlessthanhalfasecondon averagetofindawitness . &#961;,andweonlyneedtoprovideasimplesetofconvex constraintstotheoptimizerthatarederivedfrom . &#961;.Thisadvantageresultsina 1255xspeedupcomparedtoGCSanda370xspeedupcomparedtoPWLona sampleof50trials.Ofthe50trials,only4wereinfeasiblefor</p><p>.(P 1) tosolve.The costofthePWLmethodisincomparableasthesplineshavedifferentorderand PWL uses a different linear cost function. Compared to GCS, we observe our method on average produced splines with .16.5% higher cost but is capable of findingsplineswithlowercost.Duetothesignificantcomputationaladvantage, itispracticaltorunourmethodforseveraltrialstofindalowercostsplinein fastertime.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Scalability</head><p>To experimentally demonstrate the scalability of our method to splines with high order, we compare the performance of our method using .(P 1) and .(P 2) on Example 2. For this comparison, we solve for .C 2 splines and range the order from .k = 4 to .k = 19, minimizing the same cost function as the previous experiment. We do not run .(P 2) for .k = 4 as the order is insufficiently large for the conditions in Theorem 2 to guarantee soundness. We perform 50 random samples for each order and present the mean solve times and spline costs along with confidence intervals in Fig. <ref type="figure">5</ref>. There is insignificant difference in the mean solve times or spline cost between our two proposed synthesis methods, which is intuitive as .(P 2) lightly relaxes some constraints of .(P 1). As the choice of . k is independent from the model checking step, the only increase in computational time is due to the convex optimization step. We observe a linear trend in the solve time, shown in (a) of Fig. <ref type="figure">5</ref>. Intuitively, increasing . k reduces the cost of the optimal solution. Only 6 problems were infeasible for .(P 1) at .k = 4, all other problems were feasible for both methods, which is guaranteed for .(P 2) due to Theorem 3. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Dynamic Feasibility and Trajectory Tracking</head><p>While our method provides a path that achieves a specification, the path may not be dynamically feasible for a specific control system and it is not trivial to design a controller that tracks the path. Moreover, model uncertainty, disturbances, and state estimation errors introduce additional error where the online execution of a synthesized path may now actually violate the specification. This caveat is important to highlight, our soundness and completeness guarantees are with respect to the path and extending those guarantees to a controller is a significantly challenging problem. These issues motivate the usage of sophisticated trajectory tracking controllers to execute planned splines. convex actuator constraints could map to non-convex regions in the flat output space, including constraints on . u typically requires conservatively bounding derivatives <ref type="bibr">[14]</ref>. This differential flatness approach is popular to plan trajectories for quadrotors (e.g. <ref type="bibr">[10,</ref><ref type="bibr">36,</ref><ref type="bibr">45,</ref><ref type="bibr">49]</ref>). A.C &#957; curve planned in the flat output space is a dynamically feasible trajectory, but to handle model uncertainty, disturbances, and tracking errors, these methods combine with a trajectory tracking controller where many methods have been studied such as model predictive control (MPC) <ref type="bibr">[1,</ref><ref type="bibr">11,</ref><ref type="bibr">51]</ref> and geometric control <ref type="bibr">[26,</ref><ref type="bibr">27]</ref>. In this way, our method can plan reference paths in the flat output space while a trajectory tracking controller for the control system of interest can be used to track the planned path.</p><p>Quadrotor Trajectory Tracking. We use a simple model of quadrotor dynamics without disturbances or drag, the same presented in <ref type="bibr">[36]</ref>. Recall from Sect. 2.2, the constraints to impose velocity and acceleration limits are linear for uniform splines . B. We leverage the controller from <ref type="bibr">[27]</ref> to track the reference paths. We plan the reference B&#233;zier spline . B in the flat output space .z = (x, &#968;) where . x is the 3D position and . &#968; is the yaw angle of the quadrotor. . B is planned to satisfy .&#981; = G F(blue) &#8743; G F(green) &#8743; G(&#172;red). The transformations . &#946; and . &#947; from the flat output space to the state and control spaces of the quadrotor requires . x to be .C 5 and . &#968; to be .C 3 , so we set .d = 5 and .k = 11 and use .(P 2). We constrain the reference spline acceleration to be below 1.5 m/s. 2 and velocity to be below 2.5 m/s. These additional constraints means Theorem 3 does not apply, though empirically we did not encounter any infeasible problems when running this experiment. Planned and executed trajectories that drive the quadrotor twice around the looping section in . B are displayed in Fig. <ref type="figure">6</ref>, along with the trajectory trackingerror.Noteeachregionisunboundedinthe</p><p>. z axisbutpresentedasa 2Dregionforclarity.Theoverallplanningtimeforthisproblemis0.75s.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Related Work</head><p>Apopularmethodtosynthesizecontrollersfordiscretetimesystemsistoformulatesatisfactionofthetemporallogicobjectiveasamixedintegerlinearprogram (MILP) <ref type="bibr">[ 3,</ref><ref type="bibr">6,</ref><ref type="bibr">44,</ref><ref type="bibr">47]</ref>. This approach has been extended for multi-agent systems <ref type="bibr">[50]</ref>.AdrawbackofthisapproachistheNP-hardnessoftheMILP.Additional binaryvariablesareaddedastheproblemhorizonincreases,makingscalingto longhorizonsandmulti-agentsystemsdifficult,andentirelyprohibitinginfinite horizontrajectories.Additionally,MILPapproachesrequirelinearorlinearized dynamics and the MILP often does not encode information about the system trajectory between discrete waypoints. Guaranteeing satisfaction of a continuous time system from a discrete time sampled trajectory requires additional reasoningbye.g.strictification <ref type="bibr">[ 13]</ref>ortrajectoryparameterizations <ref type="bibr">[ 50]</ref>.</p><p>Optimizationandcontrolsmethodshavebeenusedtodirectlyoptimizethe robustness of a Signal Temporal Logic (STL) objective by defining smooth approximationsoftherobustnessmetric <ref type="bibr">[ 16,</ref><ref type="bibr">17,</ref><ref type="bibr">38]</ref>,whichcanbeincorporated into automatic differentiation systems <ref type="bibr">[ 28]</ref>. Methods in this category either directly optimize a parameterized version of the trajectory <ref type="bibr">[ 39]</ref>, or formulate anoptimalcontrolproblemtomaximizeasmoothrobustnessbyadaptingalgorithms like SQP <ref type="bibr">[ 16,</ref><ref type="bibr">38]</ref> and DDP <ref type="bibr">[ 22]</ref>. This approach also requires finite time satisfactionoftheformula,andthesmoothrobustnesssemanticsarenon-convex sothesemethodscanonlyguaranteelocaloptimality.Controlbarrierfunctions (CBF)forafragmentofSTLhavebeenstudiedin <ref type="bibr">[ 29,</ref><ref type="bibr">30]</ref>whichguaranteecontinuous time satisfaction with control actions that can be solved with convex programming.ThismethodalleviatesthecomputationalchallengeoftheMILP andoptimizationbasedapproaches,butmustrelyonexpertknowledgetodesign appropriateCBFsforeachformula,andonlyappliestoarestrictedfragmentof STL.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">Conclusion</head><p>We have presented a sound and complete method that synthesizes a smooth pathwhichautomaticallysatisfiesanLTLformula.Additionally,wehavedemonstrated a significant computational advantage on benchmark problems relative toexistingwork.Inthefuture,weplanonextendingformalguaranteestotrajectory tracking controllers, as well as extending our method to multi-agent systems.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>This can be accomplished by introducing a unique label . a to .AP for .P * and conjuncting . &#981; with .G &#172;a.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_1"><p>The SPOT model checker deterministically produces witnesses based on the order statesandtransitionsareaddedtoaKripkestructure.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_2"><p>[Online]. Available: https://www.gurobi.com/.</p></note>
		</body>
		</text>
</TEI>
