Cslib.LTS.Deterministic
classimported Lean
An lts is deterministic if a state cannot reach different states with the same transition label.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Cslib in universe u v in variable {State : Type u} {Label : Type v} (lts : LTS State Label) in @[grind] class Cslib.LTS.Deterministic (lts : LTS State Label)
- Defined in
- CSLib, `Cslib.LTS.Deterministic`
- Lean proof
- By Fabrizio Montesi, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2025 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.LTS.Deterministic← Cslib.LTS.Deterministic (Cslib/Foundations/Semantics/LTS/Basic.lean:227): adapted
What was changed in
Cslib.LTS.Deterministic--- Cslib/Foundations/Semantics/LTS/Basic.lean:227 (Cslib.LTS.Deterministic) +++ as compiled here @@ -1,5 +1,8 @@ -/-- An lts is deterministic if a state cannot reach different states with the same transition -label. -/ -@[scoped grind] -class Deterministic (lts : LTS State Label) where +set_option autoImplicit true in +set_option relaxedAutoImplicit true in +open Cslib in +universe u v in +variable {State : Type u} {Label : Type v} (lts : LTS State Label) in +@[grind] +class Cslib.LTS.Deterministic (lts : LTS State Label) where deterministic (s1 : State) (μ : Label) (s2 s3 : State) : - Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 1
- Cslib.LTSA Labelled Transition System (LTS) for a type of states (
State) and a type of transition labels (Label) consists of a labelled…
- Cslib.LTSA Labelled Transition System (LTS) for a type of states (
- Used by 4
- Cslib.LTS.deterministic_not_ltoIn a deterministic LTS, if a state has a
μ-derivative, then it can have no otherμ-derivative. - Cslib.LTS.deterministic_tr_image_singletonCslib.LTS.deterministic_tr_image_singleton
- Cslib.LTS.Deterministic.eq_of_mTrIn a deterministic lts, multistep transitions with a given start state and trace reach a unique end state.
- Cslib.LTS.Deterministic.eq_of_trCslib.LTS.Deterministic.eq_of_tr
- Cslib.LTS.deterministic_not_ltoIn a deterministic LTS, if a state has a
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Cslib in universe u v in variable {State : Type u} {Label : Type v} (lts : LTS State Label) in /-- An lts is deterministic if a state cannot reach different states with the same transition label. -/ @[grind] class Cslib.LTS.Deterministic (lts : LTS State Label) where deterministic (s1 : State) (μ : Label) (s2 s3 : State) : lts.Tr s1 μ s2 → lts.Tr s1 μ s3 → s2 = s3