In order to familiarize myself with this code, and so that the next person has an easier time, I * added docstrings explaining what I found out these things to * rewrote the syntax expansion functions using syntax pattern matches, to the extend possible
7 lines
750 B
Text
7 lines
750 B
Text
termination_by2.lean:4:1-4:22: error: invalid 'termination_by' in 'mutual' block, it must be used after the 'end' keyword
|
|
termination_by2.lean:11:15-11:21: error: function 'n' not found in current declaration
|
|
termination_by2.lean:20:2-20:10: error: invalid `termination_by` syntax, unnecessary else-case
|
|
termination_by2.lean:31:3-31:16: error: invalid `termination_by` syntax, missing case for function 'isOdd'
|
|
termination_by2.lean:43:3-43:14: error: function 'isOd' not found in current declaration
|
|
termination_by2.lean:55:3-55:16: error: invalid `termination_by` syntax, `isEven` case has already been provided
|
|
termination_by2.lean:68:3-68:15: error: invalid `termination_by` syntax, the else-case (i.e., `_ ... => ...`) has already been specified
|