Lax314295.KTypesRefinement
k-types refine each other
concepts/Lax314295/KTypesRefinement.lean · lax-314295
No public endorsements yet.
Loading review…
Sign in with ORCIDConcept map
In the paper
- page 133 of the paper of lax-157538, Transducers
Theorem
Strings with the same -type have the same -type (Lemma C.4.15 of Transducers, refinement): the -type of a string is determined by its -type.
Lean source view on GitHub
| 1 | import Lax314295.KTypes |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: k-types refine each other |
| 6 | type: theorem |
| 7 | --- |
| 8 | Strings with the same -type have the same -type (Lemma C.4.15 of |
| 9 | *Transducers*, refinement): the -type of a string is determined by its |
| 10 | -type. |
| 11 | |
| 12 | # Formalization notes |
| 13 | |
| 14 | Stated over any alphabet; no finiteness is needed. |
| 15 | -/ |
| 16 | |
| 17 | namespace Lax314295.KTypesRefinement |
| 18 | |
| 19 | open Lax314295.KTypes |
| 20 | |
| 21 | /-- Equal `(k+1)`-types have equal `k`-types. -/ |
| 22 | axiom tp_eq_of_tp_succ_eq {A : Type} (k : ℕ) (w v : List A) (h : tp (k + 1) w = tp (k + 1) v) : |
| 23 | tp k w = tp k v |
| 24 | |
| 25 | end Lax314295.KTypesRefinement |
| 26 |
Formalization notes
Stated over any alphabet; no finiteness is needed.
Community review
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.
0 comments