Equations
- Array.instMembership = { mem := Array.Mem }
This tactic, added to the decreasing_trivial
toolbox, proves that
sizeOf arr[i] < sizeOf arr
, which is useful for well founded recursions
over a nested inductive like inductive T | mk : Array T → T
.
Equations
- Array.tacticArray_get_dec = Lean.ParserDescr.node `Array.tacticArray_get_dec 1024 (Lean.ParserDescr.nonReservedSymbol "array_get_dec" false)
Instances For
This tactic, added to the decreasing_trivial
toolbox, proves that sizeOf a < sizeOf arr
provided that a ∈ arr
which is useful for well founded recursions over a nested inductive like
inductive T | mk : Array T → T
.
Equations
- Array.tacticArray_mem_dec = Lean.ParserDescr.node `Array.tacticArray_mem_dec 1024 (Lean.ParserDescr.nonReservedSymbol "array_mem_dec" false)