HUCTLp / com.github.sybila.huctl.dsl

Package com.github.sybila.huctl.dsl

Defines functions for simple construction of HUCTLp (and related) formulas.

Extensions for External Classes

kotlin.Double
kotlin.String

Functions

AF fun AF(inner: Formula, dir: DirFormula = DirFormula.True): Future

Create an all future formula over future paths with optional dir direction restriction.

AG fun AG(inner: Formula, dir: DirFormula = DirFormula.True): Globally

Create an all weak next formula over future paths with optional dir direction restriction.

AU infix fun Formula.AU(reach: Formula): Until

Create an all until formula over future paths without direction restriction.

fun Formula.AU(reach: Formula, dir: DirFormula = DirFormula.True): Until

Create an all until formula over future paths with optional direction restriction.

AX fun AX(inner: Formula, dir: DirFormula = DirFormula.True): Next

Create an all next formula over future paths with optional dir direction restriction.

At fun At(name: String, inner: Formula): At

Create a hybrid At formula valid at the given name.

AwF fun AwF(inner: Formula, dir: DirFormula = DirFormula.True): WeakFuture

Create an all weak future formula over future paths with optional dir direction restriction.

AwX fun AwX(inner: Formula, dir: DirFormula = DirFormula.True): WeakNext

Create an all weak next formula over future paths with optional dir direction restriction.

Bind fun Bind(name: String, inner: Formula): Bind

Create a hybrid Bind formula, binding the given name.

EF fun EF(inner: Formula, dir: DirFormula = DirFormula.True): Future

Create an exists future formula over future paths with optional dir direction restriction.

EG fun EG(inner: Formula, dir: DirFormula = DirFormula.True): Globally

Create an exists globally formula over future paths with optional dir direction restriction.

EU infix fun Formula.EU(reach: Formula): Until

Create an exists until formula over future paths without direction restriction.

fun Formula.EU(reach: Formula, dir: DirFormula = DirFormula.True): Until

Create an exists until formula over future paths with optional direction restriction.

EX fun EX(inner: Formula, dir: DirFormula = DirFormula.True): Next

Create an exists next formula over future paths with optional dir direction restriction.

EwF fun EwF(inner: Formula, dir: DirFormula = DirFormula.True): WeakFuture

Create an exists weak future formula over future paths with optional dir direction restriction.

EwX fun EwX(inner: Formula, dir: DirFormula = DirFormula.True): WeakNext

Create an exists weak next formula over future paths with optional dir direction restriction.

Exists fun Exists(name: String, bound: Formula = Formula.True, inner: Formula): Exists

Create a first order Exists formula, binding the given name.

ForAll fun ForAll(name: String, bound: Formula = Formula.True, inner: Formula): ForAll

Create a first order ForAll formula, binding the given name.

Not fun Not(inner: DirFormula): Not

Create a negation of target direction formula.

fun Not(inner: Formula): Not

Create a negation of inner formula.

and infix fun DirFormula.and(right: DirFormula): And

Create a conjunction of two direction formulas.

infix fun Formula.and(other: Formula): And

Create a conjunction of two formulas.

div operator infix fun Expression.div(other: Expression): Div

Create division from two expressions.

eq infix fun Expression.eq(other: Expression): Numeric

Create Formula.Numeric proposition by comparing two expressions using the CompareOp.EQ.

equal infix fun DirFormula.equal(right: DirFormula): DirFormula

Create an equality of two direction formulas.

infix fun Formula.equal(other: Formula): Equals

Create an equality of two formulas.

ge infix fun Expression.ge(other: Expression): Numeric

Create Formula.Numeric proposition by comparing two expressions using the CompareOp.GE.

gt infix fun Expression.gt(other: Expression): Numeric

Create Formula.Numeric proposition by comparing two expressions using the CompareOp.GT.

implies infix fun DirFormula.implies(right: DirFormula): DirFormula

Create an implication of two direction formulas.

infix fun Formula.implies(other: Formula): Implies

Create an implication of two formulas.

le infix fun Expression.le(other: Expression): Numeric

Create Formula.Numeric proposition by comparing two expressions using the CompareOp.LE.

lt infix fun Expression.lt(other: Expression): Numeric

Create Formula.Numeric proposition by comparing two expressions using the CompareOp.LT.

minus operator infix fun Expression.minus(other: Expression): Sub

Create subtraction from two expressions.

neq infix fun Expression.neq(other: Expression): Numeric

Create Formula.Numeric proposition by comparing two expressions using the CompareOp.NEQ.

or infix fun DirFormula.or(right: DirFormula): DirFormula

Create a disjunction of two direction formulas.

infix fun Formula.or(other: Formula): Or

Create a disjunction of two formulas.

pAF fun pAF(inner: Formula, dir: DirFormula = DirFormula.True): Future

Create an all future formula over past paths with optional dir direction restriction.

pAG fun pAG(inner: Formula, dir: DirFormula = DirFormula.True): Globally

Create an all weak next formula over past paths with optional dir direction restriction.

pAU infix fun Formula.pAU(reach: Formula): Until

Create an all until formula over past paths without direction restriction.

fun Formula.pAU(reach: Formula, dir: DirFormula = DirFormula.True): Until

Create an all until formula over past paths with optional direction restriction.

pAX fun pAX(inner: Formula, dir: DirFormula = DirFormula.True): Next

Create an all next formula over past paths with optional dir direction restriction.

pAwF fun pAwF(inner: Formula, dir: DirFormula = DirFormula.True): WeakFuture

Create an all weak future formula over past paths with optional dir direction restriction.

pAwX fun pAwX(inner: Formula, dir: DirFormula = DirFormula.True): WeakNext

Create an all weak next formula over past paths with optional dir direction restriction.

pEF fun pEF(inner: Formula, dir: DirFormula = DirFormula.True): Formula

Create an exists future formula over past paths with optional dir direction restriction.

pEG fun pEG(inner: Formula, dir: DirFormula = DirFormula.True): Globally

Create an exists weak next formula over past paths with optional dir direction restriction.

pEU infix fun Formula.pEU(reach: Formula): Until

Create an exists until formula over past paths without direction restriction.

fun Formula.pEU(reach: Formula, dir: DirFormula = DirFormula.True): Until

Create an exists until formula over past paths with optional direction restriction.

pEX fun pEX(inner: Formula, dir: DirFormula = DirFormula.True): Next

Create an exists next formula over past paths with optional dir direction restriction.

pEwF fun pEwF(inner: Formula, dir: DirFormula = DirFormula.True): WeakFuture

Create an exists weak future formula over past paths with optional dir direction restriction.

pEwX fun pEwX(inner: Formula, dir: DirFormula = DirFormula.True): WeakNext

Create an exists weak next formula over past paths with optional dir direction restriction.

plus operator infix fun Expression.plus(other: Expression): Add

Create addition from two expressions.

times operator infix fun Expression.times(other: Expression): Mul

Create multiplication from two expressions.