Exercise · Volume 1 · 2.3-18
Exercise 2.3-18
not stated yet in Lean solution written
| Rating | 08 |
|---|---|
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 2.3 of Volume 1 |
The task
In the List find and .
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
Take elements one index at a time. is the th element of , and is the th element of .
Solution
Show the solution
is the fifth element, . Then is its first element, , and is the first element of that, namely .
is the third element, the empty List . It has no first element, so does not exist.
Answer: , and is undefined.
Check
Python3 encoded as a nested list and indexed it: the element at the path is [2], and the path raises an index error.
Remarks
The atom would be .
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
not stated yet The exercise is not stated in Lean yet.
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.