quest0 edited once more
This commit is contained in:
parent
61614ee400
commit
400a5ddd1e
@ -18,14 +18,14 @@ Flip true = false
|
||||
-- notice we used `refl` instead of `λ i → false`,
|
||||
-- more on `refl` in Quest1
|
||||
flipIso : Bool ≅ Bool
|
||||
flipIso = iso Flip Flip s r where
|
||||
s : section Flip Flip
|
||||
s false = refl
|
||||
s true = refl
|
||||
flipIso = iso Flip Flip rightInv leftInv where
|
||||
rightInv : section Flip Flip
|
||||
rightInv false = refl
|
||||
rightInv true = refl
|
||||
|
||||
r : retract Flip Flip
|
||||
r false = refl
|
||||
r true = refl
|
||||
leftInv : retract Flip Flip
|
||||
leftInv false = refl
|
||||
leftInv true = refl
|
||||
|
||||
flipPath : Bool ≡ Bool
|
||||
flipPath = isoToPath flipIso
|
||||
|
@ -35,10 +35,10 @@
|
||||
[x] overall : need to be clearer that `Type` is space of spaces,
|
||||
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.
|
||||
[] say you can check def of `Iso` by using `SPC c d`
|
||||
[] say "just write `s` and `r` and write the rest then load".
|
||||
[] emphasize agda is indentation sensitive.
|
||||
[] subject unexpectedly extracts lemma `true ≡ true`.
|
||||
[x] For the `iso` bit, change to just `C-c C-r` cuz `Iso` only has one constructor.
|
||||
[x] say you can check def of `Iso` by using `SPC c d`
|
||||
[x] say "just write `s` and `r` and write the rest then load".
|
||||
[x] emphasize agda is indentation sensitive.
|
||||
[x] subject unexpectedly extracts lemma `true ≡ true`.
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user