Versions in this module Expand all Collapse all v0 v0.13.0 Nov 25, 2026 Changes in this version type Flow + Ends [][2]Node + type Node struct + Graph *lower.ActionGraph + ID program.NodeID v0.12.1 Nov 6, 2026 v0.12.0 Nov 4, 2026 Changes in this version type Output + Sequence bool v0.11.0 Oct 24, 2026 v0.10.1 Oct 16, 2026 v0.10.0 Oct 11, 2026 Changes in this version + const Pending type Flow + Crosses map[ast.Node]bool + RepeatText map[ast.Node]string + Repeated bool + Repeats map[ast.Node]int64 v0.9.2 Oct 5, 2026 v0.9.0 Sep 25, 2026 Changes in this version + const Absent + const CopyPrefix + const DefaultMoves + const DefaultUnroll + const EngineName + const MarkVar + const MaxSlots + const NoEdge + const NoInitialState + const NoSensitivityWithin + const NoSignal + const Stutter + var CopyNames = [2]string + var ErrMalformedFlow = errors.New("smt: malformed action flow") + var ErrNoWitness = errors.New("the result carries no model to decode") + var ErrNotEncoded = errors.New("smt: not encoded") + var ErrScheduleFixed = errors.New("smt decides every schedule, not one") + var ErrSlotOverflow = errors.New("smt: token slots exceeded") + type AcceptSite struct + Accept lower.Accept + Label string + Node ast.Node + type BodyLoop struct + Label string + Loop lower.Loop + Node ast.Node + type BusSlot struct + Payload *solve.Var + PostedAt *solve.Var + Present *solve.Var + Signal *solve.Var + type Cut struct + Moves bool + Slots bool + Unroll bool + type Diverging struct + Feature string + Runs [2]*Witness + Values [2]string + func (d *Diverging) Parting() (step int, a, b string) + func (d *Diverging) String() string + type Encoding struct + Assumptions []string + Choices []*Move + Choosable [][]*solve.Term + Completed []*solve.Term + Features []*solve.Var + Flow *Flow + Inputs []Input + Moves int + Query *solve.Query + Sorts Sorts + States []*State + Unroll int + func Encode(ctx *runtime.Context, action *symbols.Symbol, graph *lower.ActionGraph, ...) (*Encoding, error) + func (e *Encoding) Assume(ctx *runtime.Context, sym *symbols.Symbol, scope *symbols.Scope) error + func (e *Encoding) Completion() *solve.Query + func (e *Encoding) Conditions(ctx *runtime.Context, syms []*symbols.Symbol, scope *symbols.Scope) (*Property, error) + func (e *Encoding) Consistency() *solve.Query + func (e *Encoding) Cuts(result *solve.Result) (Cut, error) + func (e *Encoding) Deadlock() *Property + func (e *Encoding) Decode(result *solve.Result) (*Witness, error) + func (e *Encoding) DecodeOutputs(values []solve.Assignment) (map[string]string, error) + func (e *Encoding) DecodePair(result *solve.Result, out Output) (*Diverging, error) + func (e *Encoding) Failure(p *Property) *solve.Query + func (e *Encoding) Fix(q *solve.Query, values []solve.Assignment) (*solve.Query, error) + func (e *Encoding) LiveSchedule(result *solve.Result) (*Witness, error) + func (e *Encoding) OutputVars() []*solve.Var + func (e *Encoding) Outputs() []Output + func (e *Encoding) Pair() (*Pair, error) + func (e *Encoding) Sensitivity(out Output) (*solve.Query, error) + func (e *Encoding) Uncertainty() *solve.Query + func (e *Encoding) Violation(p *Property) *solve.Query + type Engine struct + func New(discover func() (*solve.Solver, error)) *Engine + func (*Engine) Describe() analysis.Description + func (*Engine) Name() string + func (e *Engine) Covers(_ *analysis.Model, q analysis.Question) analysis.Coverage + func (e *Engine) Process() (string, error) + func (e *Engine) Run(ctx context.Context, model *analysis.Model, q analysis.Question, ...) (analysis.Result, error) + type Flow struct + Accepts []AcceptSite + Bus int + Cyclic bool + Delivers bool + EdgeIndex map[lower.ActionEdge]int + Edges []lower.ActionEdge + FrameOf map[ast.Node]*Frame + Frames []*Frame + Graph *lower.ActionGraph + Incoming map[ast.Node][]int + Index map[ast.Node]int + Labels []string + Loops []BodyLoop + Nodes []ast.Node + Outgoing map[ast.Node][]int + Sends []SendSite + Slots int + Timed bool + func Analyze(graph *lower.ActionGraph, k int) (*Flow, error) + func (f *Flow) Nested() bool + type FlowError struct + Node string + Reason string + func (e *FlowError) Error() string + func (e *FlowError) Is(target error) bool + type Frame struct + Graph *lower.ActionGraph + Index int + Node ast.Node + Nodes []ast.Node + Parent *Frame + Slots int + type Input struct + Domain string + Free bool + Name string + Optional bool + Released bool + Type string + Value runtime.Value + Var *solve.Var + type Move struct + Choice *solve.Var + Held []*solve.Var + Index int + Travel *solve.Var + type Named struct + Name string + Var *solve.Var + type Output struct + Has *solve.Var + Name string + Var *solve.Var + type Pair struct + Query *solve.Query + Renamed map[string]*solve.Var + type Property struct + Conditions []*symbols.Symbol + Kind PropertyKind + Name string + Undefined []*solve.Term + Violated []*solve.Term + type PropertyKind int + const PropertyConditions + const PropertyConstraint + const PropertyDeadlock + const PropertyRequirement + func (k PropertyKind) String() string + type ScheduleError struct + Engine string + Schedule runtime.SchedulePolicy + func (e *ScheduleError) Error() string + func (e *ScheduleError) Is(target error) bool + type SendSite struct + Label string + Node ast.Node + Send lower.Send + type Slot struct + Able *solve.Var + At *solve.Var + Due *solve.Var + ID *solve.Var + Parked *solve.Var + Via *solve.Var + type Sorts struct + Choice solve.Sort + Edge solve.Sort + Node solve.Sort + Signal solve.Sort + type State struct + Bus []BusSlot + BusOverflow *solve.Var + Failed *solve.Var + Loop []*solve.Var + Move int + NextID *solve.Var + Now *solve.Var + Overflow *solve.Var + Slots []Slot + Values map[string]*solve.Var + func (s *State) Vector(features []*solve.Var, flagged map[string]bool) []Named + type UnsupportedError struct + Construct string + Node string + Reason string + func (e *UnsupportedError) Error() string + func (e *UnsupportedError) Is(target error) bool + type Witness struct + Choices []runtime.ChoiceTaken + Inputs []runtime.InputTaken + Mark int + Steps int + type WitnessError struct + Reason string + Var string + func (e *WitnessError) Error() string