quest0 edited once more

This commit is contained in:
Jlh18 2021-09-23 16:34:37 +01:00
parent 61614ee400
commit 400a5ddd1e
3 changed files with 13 additions and 13 deletions

View File

@ -18,14 +18,14 @@ Flip true = false
-- notice we used `refl` instead of `λ i → false`, -- notice we used `refl` instead of `λ i → false`,
-- more on `refl` in Quest1 -- more on `refl` in Quest1
flipIso : Bool Bool flipIso : Bool Bool
flipIso = iso Flip Flip s r where flipIso = iso Flip Flip rightInv leftInv where
s : section Flip Flip rightInv : section Flip Flip
s false = refl rightInv false = refl
s true = refl rightInv true = refl
r : retract Flip Flip leftInv : retract Flip Flip
r false = refl leftInv false = refl
r true = refl leftInv true = refl
flipPath : Bool Bool flipPath : Bool Bool
flipPath = isoToPath flipIso flipPath = isoToPath flipIso

View File

@ -35,10 +35,10 @@
[x] overall : need to be clearer that `Type` is space of spaces, [x] overall : need to be clearer that `Type` is space of spaces,
and paths in `Type` are saying which spaces are the same. and paths in `Type` are saying which spaces are the same.
## Quesst0/Part2 ## Quest0/Part2
[] For the `iso` bit, change to just `C-c C-r` cuz `Iso` only has one constructor. [x] For the `iso` bit, change to just `C-c C-r` cuz `Iso` only has one constructor.
[] say you can check def of `Iso` by using `SPC c d` [x] say you can check def of `Iso` by using `SPC c d`
[] say "just write `s` and `r` and write the rest then load". [x] say "just write `s` and `r` and write the rest then load".
[] emphasize agda is indentation sensitive. [x] emphasize agda is indentation sensitive.
[] subject unexpectedly extracts lemma `true ≡ true`. [x] subject unexpectedly extracts lemma `true ≡ true`.