AFTD Auto-Formalizing Theoretical Domains

Cslib.LTS.finiteState_imageFinite

instanceimported Lean

Every finite-state LTS is also image-finite.

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
@[grind .]
instance Cslib.LTS.finiteState_imageFinite [Finite State] : lts.ImageFinite
Defined in
CSLib, `Cslib.LTS.finiteState_imageFinite`
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.
What was changed in Cslib.LTS.finiteState_imageFinite
--- Cslib/Foundations/Semantics/LTS/Basic.lean:347 (Cslib.LTS.finiteState_imageFinite)
+++ as compiled here
@@ -1,3 +1,7 @@
-/-- Every finite-state LTS is also image-finite. -/
-@[scoped grind .]
-instance finiteState_imageFinite [Finite State] : lts.ImageFinite := inferInstance
+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
+@[grind .]
+instance Cslib.LTS.finiteState_imageFinite [Finite State] : lts.ImageFinite := inferInstance
Verified
08 Oct 2026
Axioms
none listed
Built on 3
  • Cslib.LTS.ImageFiniteAn lts is image-finite if all images of its states are finite.
  • Cslib.LTS.imageThe μ-image of a state s is the set of all μ-derivatives of s.
  • 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
/-- Every finite-state LTS is also image-finite. -/
@[grind .]
instance Cslib.LTS.finiteState_imageFinite [Finite State] : lts.ImageFinite := inferInstance
See it in the graphDiscuss this resultChallenge it