AFTD Auto-Formalizing Theoretical Domains

Cslib.LTS.deterministic_not_lto

theoremverifiedformalizationimported Lean

In a deterministic LTS, if a state has a μ-derivative, then it can have no other μ-derivative.

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.deterministic_not_lto [h : lts.Deterministic] :
  ∀ s μ s' s'', s' ≠ s'' → lts.Tr s μ s' → ¬lts.Tr s μ s''
Formalizes
CSLib, `Cslib.LTS.deterministic_not_lto`
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.deterministic_not_lto
--- Cslib/Foundations/Semantics/LTS/Basic.lean:316 (Cslib.LTS.deterministic_not_lto)
+++ as compiled here
@@ -1,5 +1,8 @@
-/-- In a deterministic LTS, if a state has a `μ`-derivative, then it can have no other
-`μ`-derivative. -/
-@[scoped grind .]
-theorem deterministic_not_lto [h : lts.Deterministic] :
+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.deterministic_not_lto [h : lts.Deterministic] :
   ∀ s μ s' s'', s' ≠ s'' → lts.Tr s μ s' → ¬lts.Tr s μ s'' := by grind
Verified
08 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • Cslib.LTS.DeterministicAn lts is deterministic if a state cannot reach different states with the same transition label.
  • Cslib.LTSA Labelled Transition System (LTS) for a type of states (State) and a type of transition labels (Label) consists of a labelled…

Lean source view module on GitHub

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/-- In a deterministic LTS, if a state has a `μ`-derivative, then it can have no other `μ`-derivative. -/@[grind .]theorem Cslib.LTS.deterministic_not_lto [h : lts.Deterministic] :  ∀ s μ s' s'', s' ≠ s'' → lts.Tr s μ s' → ¬lts.Tr s μ s'' := by grind
See it in the graphDiscuss this resultChallenge it