Appending a singleton increases the list length
list_append_singleton_length
Submitter: Kim Morrison.
Notes: A simple list problem that exercises notation in generated files.
Source: Internal starter problem.
Informal solution: Compute the length after append.
theorem list_append_singleton_length :
(([1, 2] : List Nat).append [3]).length = 3 := ⊢ ([1, 2].append [3]).length = 3
All goals completed! 🐙