English
For any x, lower' of the empty list is empty.
Русский
Для любой x, нижний список пустого списка пуст.
LaTeX
$$$\\text{lower'}(\\text{List.nil}, x) = \\text{List.nil}$$$
Lean4
/-- Outputs the list of partial sums plus one of the input list, that is
`raise [a₁, a₂, a₃, ...] n = [n + a₁, n + a₁ + a₂ + 1, n + a₁ + a₂ + a₃ + 2, ...]`. Adding one each
time ensures the elements are distinct. -/
def raise' : List ℕ → ℕ → List ℕ
| [], _ => []
| m :: l, n => (m + n) :: raise' l (m + n + 1)