AFTD Auto-Formalizing Theoretical Domains

Cslib.LTS.toFLTS

defimported Lean

Converts an LTS into an FLTS using the subset construction.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Cslib Cslib.LTS in
variable {State Label : Type*} in
@[grind =]
def Cslib.LTS.toFLTS (lts : LTS State Label) : FLTS (Set State) Label
Defined in
CSLib, `Cslib.LTS.toFLTS`
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.toFLTS
--- Cslib/Foundations/Semantics/FLTS/LTSToFLTS.lean:22 (Cslib.LTS.toFLTS)
+++ as compiled here
@@ -1,4 +1,7 @@
-/-- Converts an `LTS` into an `FLTS` using the subset construction. -/
-@[scoped grind =]
-def toFLTS (lts : LTS State Label) : FLTS (Set State) Label where
+set_option autoImplicit true in
+set_option relaxedAutoImplicit true in
+open Cslib Cslib.LTS in
+variable {State Label : Type*} in
+@[grind =]
+def Cslib.LTS.toFLTS (lts : LTS State Label) : FLTS (Set State) Label where
   tr := lts.setImage
Verified
08 Oct 2026
Axioms
none listed
Built on 5
  • Cslib.LTS.setImageThe μ-image of a set of states S is the union of all μ-images of the states in S.
  • Cslib.LTSA Labelled Transition System (LTS) for a type of states (State) and a type of transition labels (Label) consists of a labelled…
  • Cslib.FLTSA Functional Labelled Transition System (FLTS) for a type of states (State) and a type of transition labels (Label) consists of a…
  • Cslib.FLTS.mtr_nil_eqCslib.FLTS.mtr_nil_eq
  • Cslib.FLTS.mtr_concat_eqCslib.FLTS.mtr_concat_eq
Used by 1

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Cslib Cslib.LTS in
variable {State Label : Type*} in
/-- Converts an `LTS` into an `FLTS` using the subset construction. -/
@[grind =]
def Cslib.LTS.toFLTS (lts : LTS State Label) : FLTS (Set State) Label where
  tr := lts.setImage
See it in the graphDiscuss this resultChallenge it