AFTD Auto-Formalizing Theoretical Domains

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.
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
Used by 1

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
See it in the graphDiscuss this resultChallenge it