Cslib.LTS.mem_setImageMultistep
theoremverifiedformalizationimported Lean
Characterisation of setImageMultistep with MTr.
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 =] theorem Cslib.LTS.mem_setImageMultistep {lts : LTS State Label} : s' ∈ lts.setImageMultistep S μs ↔ ∃ s ∈ S, lts.MTr s μs s'
- Formalizes
- CSLib, `Cslib.LTS.mem_setImageMultistep`
- 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.mem_setImageMultistep← Cslib.LTS.mem_setImageMultistep (Cslib/Foundations/Semantics/LTS/Basic.lean:279): adapted
What was changed in
Cslib.LTS.mem_setImageMultistep--- Cslib/Foundations/Semantics/LTS/Basic.lean:279 (Cslib.LTS.mem_setImageMultistep) +++ as compiled here @@ -1,4 +1,8 @@ -/-- Characterisation of `setImageMultistep` with `MTr`. -/ -@[scoped grind =] -theorem mem_setImageMultistep {lts : LTS State Label} : +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 =] +theorem Cslib.LTS.mem_setImageMultistep {lts : LTS State Label} : s' ∈ lts.setImageMultistep S μs ↔ ∃ s ∈ S, lts.MTr s μs s' := by - Verified
- 08 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- Cslib.LTS.setImageMultistepThe
μs-image of a set of statesS, whereμsis a list of labels, is the union of allμs-images of the states inS. - Cslib.LTS.MTrDefinition of a multistep transition. (Implementation note: compared to [Montesi2023], we choose stepL instead of stepR as fundamental…
- Cslib.LTS.MTr.nil_iffCslib.LTS.MTr.nil_iff
- Cslib.LTS.imageMultistepThe
μs-image of a states, whereμsis a list of labels, is the set of allμs-derivatives ofs. - Cslib.LTS.MTr.singleton_iffA 1-sized multistep transition is exactly a single transition with the given label.
- Cslib.LTSA Labelled Transition System (LTS) for a type of states (
State) and a type of transition labels (Label) consists of a labelled…
- Cslib.LTS.setImageMultistepThe
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Cslib Cslib.LTS inuniverse u v invariable {State : Type u} {Label : Type v} (lts : LTS State Label) in/-- Characterisation of `setImageMultistep` with `MTr`. -/@[grind =]theorem Cslib.LTS.mem_setImageMultistep {lts : LTS State Label} : s' ∈ lts.setImageMultistep S μs ↔ ∃ s ∈ S, lts.MTr s μs s' := by simp only [setImageMultistep, Set.mem_iUnion, exists_prop] grind