List.dropTaus
defimported Lean
Removes all τs from a list.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Cslib in @[grind =] def List.dropTaus [HasTau α] [DecidableEqTau α] (l : List α) : List α
- Defined in
- CSLib, `List.dropTaus`
- Lean proof
- By Fabrizio Montesi, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2026 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.List.dropTaus← List.dropTaus (Cslib/Computability/Automata/NA/EpsilonTransducer.lean:31): adapted
What was changed in
List.dropTaus--- Cslib/Computability/Automata/NA/EpsilonTransducer.lean:31 (List.dropTaus) +++ as compiled here @@ -1,4 +1,6 @@ -/-- Removes all `τ`s from a list. -/ -@[scoped grind =] -def _root_.List.dropTaus [HasTau α] [DecidableEqTau α] (l : List α) : List α := +set_option autoImplicit true in +set_option relaxedAutoImplicit true in +open Cslib in +@[grind =] +def List.dropTaus [HasTau α] [DecidableEqTau α] (l : List α) : List α := l.filter (· ≠ HasTau.τ)
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 2
- Cslib.HasTauA type of transition labels that includes a special 'internal' transition
τ. - Cslib.DecidableEqTauChecking whether an element is
τis decidable.
- Cslib.HasTauA type of transition labels that includes a special 'internal' transition
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Cslib in /-- Removes all `τ`s from a list. -/ @[grind =] def List.dropTaus [HasTau α] [DecidableEqTau α] (l : List α) : List α := l.filter (· ≠ HasTau.τ)