diff --git a/courses/tspl/2018/Assignment1.lagda.md b/courses/tspl/2018/Assignment1.lagda.md index 2b48c6a5..0252aff1 100644 --- a/courses/tspl/2018/Assignment1.lagda.md +++ b/courses/tspl/2018/Assignment1.lagda.md @@ -125,7 +125,7 @@ Give an example of an operator that has an identity and is associative but is not commutative. -#### Exercise `finite-|-assoc` (stretch) {#finite-plus-assoc} +#### Exercise `finite-+-assoc` (stretch) {#finite-plus-assoc} Write out what is known about associativity of addition on each of the first four days using a finite story of creation, as @@ -179,7 +179,7 @@ Show for all naturals `n`. Did your proof require induction? -#### Exercise `∸-|-assoc` {#monus-plus-assoc} +#### Exercise `∸-+-assoc` {#monus-plus-assoc} Show that monus associates with addition, that is, diff --git a/courses/tspl/2019/Assignment1.lagda.md b/courses/tspl/2019/Assignment1.lagda.md index 2b48c6a5..56888514 100644 --- a/courses/tspl/2019/Assignment1.lagda.md +++ b/courses/tspl/2019/Assignment1.lagda.md @@ -1,7 +1,7 @@ --- title : "Assignment1: TSPL Assignment 1" layout : page -permalink : /TSPL/2018/Assignment1/ +permalink : /TSPL/2019/Assignment1/ --- ``` @@ -12,15 +12,12 @@ module Assignment1 where ## Introduction - - You must do _all_ the exercises labelled "(recommended)". Exercises labelled "(stretch)" are there to provide an extra challenge. You don't need to do all of these, but should attempt at least a few. -Exercises without a label are optional, and may be done if you want -some extra practice. +Exercises labelled "(practice)" are included for those who want extra practice. Please ensure your files execute correctly under Agda! @@ -39,17 +36,17 @@ open import plfa.part1.Relations using (_<_; z