StackTape
📁 Source: Cslib/Foundations/Data/StackTape.lean
Statistics
| Metric | Count |
|---|---|
DefinitionsStackTape, cons, head, instEmptyCollection, instInhabited, length, map_some, nil, tail, toList | 10 |
| 15 | |
| Total | 25 |
Turing
Definitions
| Name | Category | Theorems |
|---|---|---|
StackTape 📖 | CompData |
Turing.StackTape
Definitions
| Name | Category | Theorems |
|---|---|---|
cons 📖 | CompOp | |
head 📖 | CompOp | |
instEmptyCollection 📖 | CompOp | |
instInhabited 📖 | CompOp | — |
length 📖 | CompOp | 6 mathmath:length_tail_le, length_cons_some, length_cons_none, length_map_some, length_cons_le, length_nil |
map_some 📖 | CompOp | |
nil 📖 | CompOp | |
tail 📖 | CompOp | |
toList 📖 | CompOp |
Theorems
| Name | Kind | Assumes | Proves | Validates | Depends On |
|---|---|---|---|---|---|
cons_head_tail 📖 | mathematical | — | consheadtail | — | eq_iffhead_constail_cons |
cons_none_nil_toList 📖 | mathematical | — | toListconsnil | — | — |
cons_some_toList 📖 | mathematical | — | toListcons | — | — |
empty_eq_nil 📖 | mathematical | — | Turing.StackTapeinstEmptyCollectionnil | — | — |
eq_iff 📖 | mathematical | — | headtail | — | — |
head_cons 📖 | mathematical | — | headcons | — | — |
length_cons_le 📖 | mathematical | — | lengthcons | — | — |
length_cons_none 📖 | mathematical | — | lengthcons | — | — |
length_cons_some 📖 | mathematical | — | lengthcons | — | — |
length_map_some 📖 | mathematical | — | lengthmap_some | — | — |
length_nil 📖 | mathematical | — | lengthnil | — | — |
length_tail_le 📖 | mathematical | — | lengthtail | — | — |
nil_toList 📖 | mathematical | — | toListnil | — | — |
tail_cons 📖 | mathematical | — | tailcons | — | — |
toList_getLast?_ne_some_none 📖 | — | — | — | — | — |
---