Cslib.StatefulProcesses.Act.isInternal
defimported Lean
An action is internal if it is not meant to interact with another process.
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 def Cslib.StatefulProcesses.Act.isInternal : Act Pid Var Val FunId SelLabel → Bool
- Defined in
- CSLib, `Cslib.StatefulProcesses.Act.isInternal`
- 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.Act.isInternal← Cslib.StatefulProcesses.Act.isInternal (Cslib/Languages/StatefulProcesses/Basic.lean:155): adapted
What was changed in
Cslib.StatefulProcesses.Act.isInternal--- Cslib/Languages/StatefulProcesses/Basic.lean:155 (Cslib.StatefulProcesses.Act.isInternal) +++ as compiled here @@ -1,4 +1,8 @@ -/-- An action is internal if it is not meant to interact with another process. -/ -def Act.isInternal : Act Pid Var Val FunId SelLabel → Bool - | assign _ _ | condThen _ | condElse _ => true +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 +def Cslib.StatefulProcesses.Act.isInternal : Act Pid Var Val FunId SelLabel → Bool | assign _ _ | condThen _ | condElse _ => true | _ => false
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 4
- 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.
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 /-- An action is internal if it is not meant to interact with another process. -/ def Cslib.StatefulProcesses.Act.isInternal : Act Pid Var Val FunId SelLabel → Bool | assign _ _ | condThen _ | condElse _ => true | _ => false