Cslib.StatefulProcesses.Prefix
inductiveimported Lean
Prefixes.
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 inductive Cslib.StatefulProcesses.Prefix (Pid Var Val FunId SelLabel : Type*)
- Defined in
- CSLib, `Cslib.StatefulProcesses.Prefix`
- 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← Cslib.StatefulProcesses.Prefix (Cslib/Languages/StatefulProcesses/Basic.lean:54): adapted
What was changed in
Cslib.StatefulProcesses.Prefix--- Cslib/Languages/StatefulProcesses/Basic.lean:54 (Cslib.StatefulProcesses.Prefix) +++ as compiled here @@ -1,3 +1,8 @@ -/-- Prefixes. -/ -inductive Prefix (Pid Var Val FunId SelLabel : Type*) where +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 +inductive Cslib.StatefulProcesses.Prefix (Pid Var Val FunId SelLabel : Type*) where /-- Assign to `x` the result of evaluating `e`. -/
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 3
- Cslib.Mech.ExprExpressions for local computation.
- Cslib.Mech.instCoeExprUtility instance to write variables directly as expressions.
- Cslib.Mech.instCoeExpr_1Utility instance to write values directly as expressions.
- Used by 3
- Cslib.StatefulProcesses.Process.TrSymbolic transition relation for processes. Do not use this directly, use
Process.ltsinstead. - Cslib.StatefulProcesses.Prefix.toActTransforms a
Prefixinto anAct. - Cslib.StatefulProcesses.ProcessProcesses.
- 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 /-- Prefixes. -/ inductive Cslib.StatefulProcesses.Prefix (Pid Var Val FunId SelLabel : Type*) where /-- Assign to `x` the result of evaluating `e`. -/ | assign (x : Var) (e : Expr Var Val FunId) /-- Send to `p` the result of evaluating `e`. -/ | sendValue (p : Pid) (e : Expr Var Val FunId) /-- Receive a value from `p` and store it in `x`. -/ | recvValue (p : Pid) (x : Var) /-- Send to `p` the label `l`. -/ | sendLabel (p : Pid) (l : SelLabel)