AFTD Auto-Formalizing Theoretical Domains

Cslib.LTS.setImage

defimported Lean

The μ-image of a set of states S is the union of all μ-images of the states in S.

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 =]
def Cslib.LTS.setImage (S : Set State) (μ : Label) : Set State
Defined in
CSLib, `Cslib.LTS.setImage`
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.setImage
--- Cslib/Foundations/Semantics/LTS/Basic.lean:258 (Cslib.LTS.setImage)
+++ as compiled here
@@ -1,4 +1,8 @@
-/-- The `μ`-image of a set of states `S` is the union of all `μ`-images of the states in `S`. -/
-@[scoped grind =]
-def setImage (S : Set State) (μ : Label) : Set State :=
+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 =]
+def Cslib.LTS.setImage (S : Set State) (μ : Label) : Set State :=
   ⋃ s ∈ S, lts.image s μ
Verified
08 Oct 2026
Axioms
none listed
Built on 2
  • 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 3

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
/-- The `μ`-image of a set of states `S` is the union of all `μ`-images of the states in `S`. -/
@[grind =]
def Cslib.LTS.setImage (S : Set State) (μ : Label) : Set State :=
  ⋃ s ∈ S, lts.image s μ
See it in the graphDiscuss this resultChallenge it