AFTD Auto-Formalizing Theoretical Domains

Cslib.StatefulProcesses.Process.Tr

inductiveimported Lean

Symbolic transition relation for processes. Do not use this directly, use Process.lts instead.

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.Process.Tr :
    Process Pid Var Val FunId SelLabel ProcName → Act Pid Var Val FunId SelLabel →
    Process Pid Var Val FunId SelLabel ProcName → Prop
Defined in
CSLib, `Cslib.StatefulProcesses.Process.Tr`
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.Process.Tr
--- Cslib/Languages/StatefulProcesses/Basic.lean:168 (Cslib.StatefulProcesses.Process.Tr)
+++ as compiled here
@@ -1,7 +1,10 @@
-/-- Symbolic transition relation for processes.
-Do not use this directly, use `Process.lts` instead. -/
-inductive Process.Tr :
+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.Process.Tr :
     Process Pid Var Val FunId SelLabel ProcName → Act Pid Var Val FunId SelLabel →
-    Process Pid Var Val FunId SelLabel ProcName → Prop
-  | pre : Tr (pre prf pr) prf.toAct (pr)
+    Process Pid Var Val FunId SelLabel ProcName → Prop | pre : Tr (pre prf pr) prf.toAct (pr)
   | condThen : Tr (cond e pr₁ pr₂) (.condThen e) pr₁
Verified
08 Oct 2026
Axioms
none listed
Built on 8
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
/-- Symbolic transition relation for processes. Do not use this directly, use `Process.lts` instead. -/
inductive Cslib.StatefulProcesses.Process.Tr :
    Process Pid Var Val FunId SelLabel ProcName → Act Pid Var Val FunId SelLabel →
    Process Pid Var Val FunId SelLabel ProcName → Prop | pre : Tr (pre prf pr) prf.toAct (pr)
  | condThen : Tr (cond e pr₁ pr₂) (.condThen e) pr₁
  | condElse : Tr (cond e pr₁ pr₂) (.condElse e) pr₂
  | recvLabel (h : (l, pr) ∈ branches): Tr (recvLabel p branches) (.recvLabel p l) pr
See it in the graphDiscuss this resultChallenge it