Cslib.StatefulProcesses.Prefix.toAct
abbrevimported Lean
Transforms a Prefix into an Act.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in set_option linter.style.header false in set_option linter.style.longLine false in @[expose] public section in open Cslib.Mech in abbrev Cslib.StatefulProcesses.Prefix.toAct : Prefix Pid Var Val FunId SelLabel → Act Pid Var Val FunId SelLabel
- Defined in
- CSLib, `Cslib.StatefulProcesses.Prefix.toAct`
- Lean proof
- By Fabrizio Montesi, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2026 Fabrizio Montesi. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.33.0.Cslib.StatefulProcesses.Prefix.toAct← Cslib.StatefulProcesses.Prefix.toAct (Cslib/Languages/StatefulProcesses/Basic.lean:160): adapted
What was changed in
Cslib.StatefulProcesses.Prefix.toAct--- Cslib/Languages/StatefulProcesses/Basic.lean:160 (Cslib.StatefulProcesses.Prefix.toAct) +++ as compiled here @@ -1,4 +1,8 @@ -/-- Transforms a `Prefix` into an `Act`. -/ -abbrev Prefix.toAct : Prefix Pid Var Val FunId SelLabel → Act Pid Var Val FunId SelLabel - | assign x e => .assign x e +set_option autoImplicit true in +set_option relaxedAutoImplicit true in +set_option linter.style.header false in +set_option linter.style.longLine false in +@[expose] public section in +open Cslib.Mech in +abbrev Cslib.StatefulProcesses.Prefix.toAct : Prefix Pid Var Val FunId SelLabel → Act Pid Var Val FunId SelLabel | assign x e => .assign x e | sendValue p e => .sendValue p e
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 5
- Cslib.StatefulProcesses.PrefixPrefixes.
- Cslib.Mech.ExprExpressions for local computation.
- Cslib.Mech.instCoeExprUtility instance to write variables directly as expressions.
- Cslib.StatefulProcesses.ActActions.
- Cslib.Mech.instCoeExpr_1Utility instance to write values directly as expressions.
- Used by 1
- Cslib.StatefulProcesses.Process.TrSymbolic transition relation for processes. Do not use this directly, use
Process.ltsinstead.
- Cslib.StatefulProcesses.Process.TrSymbolic transition relation for processes. Do not use this directly, use
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in set_option linter.style.header false in set_option linter.style.longLine false in @[expose] public section in open Cslib.Mech in /-- Transforms a `Prefix` into an `Act`. -/ abbrev Cslib.StatefulProcesses.Prefix.toAct : Prefix Pid Var Val FunId SelLabel → Act Pid Var Val FunId SelLabel | assign x e => .assign x e | sendValue p e => .sendValue p e | recvValue p x => .recvValue p x | sendLabel p l => .sendLabel p l