Cslib.FLP.ProcState
structureimported Lean
The type of a process's local state.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Set Sum Multiset in variable {P M S : Type*} [DecidableEq P] [DecidableEq M] in structure Cslib.FLP.ProcState (S : Type*)
- Defined in
- CSLib, `Cslib.FLP.ProcState`
- Lean proof
- By Ching-Tsun Chou, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2026 Ching-Tsun Chou. 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.FLP.ProcState← Cslib.FLP.ProcState (Cslib/Computability/Distributed/FLP/Algorithm.lean:51): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Used by 3
- Cslib.FLP.StateThe global state of the distributed algorithm.
- Cslib.FLP.AlgorithmThe specification of a distributed algorithm for solving the consensus problem. Note that each field below can depend on a process's…
- Cslib.FLP.ZeroFaultAlg.alg
algis the asynchronous distributed consensus algorithm described above.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Set Sum Multiset in variable {P M S : Type*} [DecidableEq P] [DecidableEq M] in /-- The type of a process's local state. -/ structure Cslib.FLP.ProcState (S : Type*) where /-- The internal state of a process. -/ state : S /-- The state component used by a process to signal the boolean value it decides on. -/ out : Option Bool