Cslib.LTS.TrInv
defimported Lean
Single-step invariant.
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 =] def Cslib.LTS.TrInv (p : State → Prop) : Prop
- Defined in
- CSLib, `Cslib.LTS.TrInv`
- 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.TrInv← Cslib.LTS.TrInv (Cslib/Foundations/Semantics/LTS/Basic.lean:184): adapted
What was changed in
Cslib.LTS.TrInv--- Cslib/Foundations/Semantics/LTS/Basic.lean:184 (Cslib.LTS.TrInv) +++ as compiled here @@ -1,4 +1,8 @@ -/-- Single-step invariant. -/ -@[scoped grind =] -def TrInv (p : State → Prop) : Prop := +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 =] +def Cslib.LTS.TrInv (p : State → Prop) : Prop := ∀ s1 μ s2, lts.Tr s1 μ s2 → p s1 → p s2 - 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 1
- Cslib.LTS.mtrInv_of_trInvAny single-step invariant is also a multistep invariant.
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 /-- Single-step invariant. -/ @[grind =] def Cslib.LTS.TrInv (p : State → Prop) : Prop := ∀ s1 μ s2, lts.Tr s1 μ s2 → p s1 → p s2