Indexing types #
This file introduces IndexType : ℕ → Type such that IndexType 0 = ℕ and
IndexType (N+1) = Fin (N+1). Each IndexType N has a total order and and inductive principle
together with supporting lemmas.
Equations
Instances For
Equations
Instances For
@[implicit_reducible]
Equations
- instOrderBotIndexType 0 = { bot := instOrderBotIndexType._aux_1, bot_le := instOrderBotIndexType._proof_3 }
- instOrderBotIndexType N.succ = { bot := instOrderBotIndexType._aux_4 N, bot_le := ⋯ }
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- instZeroIndexType 0 = { zero := instZeroIndexType._aux_1 }
- instZeroIndexType N.succ = { zero := instZeroIndexType._aux_3 N }
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
- instSuccOrderIndexType N.succ = { succ := instSuccOrderIndexType._aux_6 N, le_succ := ⋯, max_of_succ_le := ⋯, succ_le_of_lt := ⋯ }