Cslib.LTS.instTotalOptionTotalize
instanceimported Lean
The LTS constructed by totalize is indeed total.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Cslib Cslib.LTS in variable {State Label : Type*} {lts : LTS State Label} in instance Cslib.LTS.instTotalOptionTotalize (lts : LTS State Label) : lts.totalize.Total
- Defined in
- CSLib, `Cslib.LTS.instTotalOptionTotalize`
- Lean proof
- By Ching-Tsun Chou, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2026 Ching-Tsun Chou. 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.instTotalOptionTotalize← @Cslib/Foundations/Semantics/LTS/Total.lean:72 (Cslib/Foundations/Semantics/LTS/Total.lean:71): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 3
- Cslib.LTS.TotalAn LTS is total iff every state has a
μ-derivative for every labelμ. - Cslib.LTS.totalize
totalizeconstructs a total LTS from any given LTS by adding a sink state. - 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.TotalAn LTS is total iff every state has a
- Used by 4
- Cslib.LTS.totalize.nonsink_tr_iffIn
totalize, the transitions between non-sink states correspond exactly to the transitions in the original LTS. - Cslib.Automata.NA.totalize
NA.totalizemakes the original NA total by replacing its LTS withLTS.totalizeand its starting states with their lifted non-sink… - Cslib.LTS.totalize.nonsink_mtr_iffIn
totalize, the multistep transitions between non-sink states correspond exactly to the multistep transitions in the original LTS. - Cslib.LTS.totalize.no_sink_to_nonsinkIn
totalize, there is no finite execution from the sink state to any non-sink state.
- Cslib.LTS.totalize.nonsink_tr_iffIn
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*} {lts : LTS State Label} in /-- The LTS constructed by `totalize` is indeed total. -/ instance Cslib.LTS.instTotalOptionTotalize (lts : LTS State Label) : lts.totalize.Total where total _ _ := by use none simp [totalize]