AFTD Auto-Formalizing Theoretical Domains

Cslib.LTS.FinitelyBranching

classimported Lean

An LTS is finitely branching if it is image-finite and all states have finite sets of outgoing labels.

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.FinitelyBranching
Defined in
CSLib, `Cslib.LTS.FinitelyBranching`
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.
Verified
08 Oct 2026
Axioms
none listed
Built on 3
  • Cslib.LTS.outgoingLabelsThe set of outgoing labels of a state.
  • Cslib.LTS.ImageFiniteAn lts is image-finite if all images of its states are finite.
  • Cslib.LTSA Labelled Transition System (LTS) for a type of states (State) and a type of transition labels (Label) consists of a labelled…
Used by 1

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 finitely branching if it is image-finite and all states have finite sets of outgoing labels. -/
class Cslib.LTS.FinitelyBranching where
  [image_finite : lts.ImageFinite]
  [finite_state : ∀ s, Finite (lts.outgoingLabels s)]

attribute [instance] Cslib.LTS.FinitelyBranching.image_finite Cslib.LTS.FinitelyBranching.finite_state
See it in the graphDiscuss this resultChallenge it