Cslib.LTS.Acyclic
classimported Lean
An LTS is acyclic if its underlying unlabelled transition relation contains no nonempty cycle.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Cslib Cslib.LTS in universe u v in variable {State : Type u} {Label : Type v} (lts : LTS State Label) in class Cslib.LTS.Acyclic (lts : LTS State Label)
- Defined in
- CSLib, `Cslib.LTS.Acyclic`
- 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.Acyclic← Cslib.LTS.Acyclic (Cslib/Foundations/Semantics/LTS/Basic.lean:382): verbatimattribute [instance] Cslib.LTS.Acyclic.acyclic← attribute [instance] Cslib.LTS.Acyclic.acyclic (Cslib/Foundations/Semantics/LTS/Basic.lean:385): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 3
- Cslib.LTSA Labelled Transition System (LTS) for a type of states (
State) and a type of transition labels (Label) consists of a labelled… - Relation.AcyclicA relation is acyclic if its transitive closure is irreflexive, equivalently if it admits no nonempty cycle.
- Cslib.LTS.UnlabelledTrThe unlabelled transition relation underlying an LTS.
- Cslib.LTSA Labelled Transition System (LTS) for a type of states (
- Used by 4
- Cslib.LTS.Acyclic.toBoundedUpToOn a finite state space, an acyclic LTS has execution length strictly less than the number of states.
- Cslib.LTS.Acyclic.toBoundedOn a finite state space, acyclic LTSs are bounded.
- Cslib.LTS.Example.selfLoopLTS_not_acyclicThe self-loop LTS is not acyclic.
- Cslib.LTS.Example.successorLTS_acyclicCslib.LTS.Example.successorLTS_acyclic
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Cslib Cslib.LTS in universe u v in variable {State : Type u} {Label : Type v} (lts : LTS State Label) in /-- An LTS is acyclic if its underlying unlabelled transition relation contains no nonempty cycle. -/ class Cslib.LTS.Acyclic (lts : LTS State Label) where [acyclic : Relation.Acyclic lts.UnlabelledTr] attribute [instance] Cslib.LTS.Acyclic.acyclic