Merge pull request #548 from crisoagf/EqReasoningTrans

Create an exercise to reflect the fact that proving trans using ≡-Reasoning is circular
This commit is contained in:
Philip Wadler 2020-12-04 11:45:00 +00:00 committed by GitHub
commit a360530a42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -268,6 +268,14 @@ simplifies to a chain of applications of `trans` that ends in `trans e
refl`, where `e` is a term that proves some equality, even though `e`
alone would do.
#### Exercise `trans` and `≡-Reasoning` (practice)
Sadly, we cannot use the definition of trans' using ≡-Reasoning as the definition
for trans. Can you see why? (Hint: look at the definition of `_≡⟨_⟩_`)
```
-- Your code goes here
```
## Chains of equations, another example