Cslib.FLP.State
structureimported Lean
The global state of the distributed algorithm.
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.State (P M S : Type*)
- Defined in
- CSLib, `Cslib.FLP.State`
- 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.State← Cslib.FLP.State (Cslib/Computability/Distributed/FLP/Algorithm.lean:58): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 2
- Cslib.FLP.MessageThe type of messages that processes send to each other.
- Cslib.FLP.ProcStateThe type of a process's local state.
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 global state of the distributed algorithm. -/ structure Cslib.FLP.State (P M S : Type*) where /-- A multiset containing all messages that are in-flight (namely, they have been sent but not yet received). Note that being a multiset implies that the messages are not ordered. -/ msgs : Multiset (Message P M) /-- A map giving the local states of all processes. -/ proc : P → ProcState S