add file where we keep track of bugs and other undesirable behavior of Lean
This commit is contained in:
parent
91931ca338
commit
27bd4bc72a
1 changed files with 27 additions and 0 deletions
27
known_bugs.txt
Normal file
27
known_bugs.txt
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
- When using the "have" or "assert" tactic, no coercion is applied to the type. So you have to write for example
|
||||||
|
`have g : Group.carrier G, from _,`
|
||||||
|
instead of
|
||||||
|
`have g : G, from _,`
|
||||||
|
|
||||||
|
|
||||||
|
- When using the calc mode for homotopies, you have to give the proofs using a tactic (e.g. `by exact foo` instead of `foo`)
|
||||||
|
|
||||||
|
|
||||||
|
Issues which are not bugs, but still good to know
|
||||||
|
|
||||||
|
- once you start tactic mode, you cannot specify universe levels anymore
|
||||||
|
|
||||||
|
- esimp is slow, and runs out of memory easily. It is good behavior to split up definitions. So instead of
|
||||||
|
```
|
||||||
|
equiv.MK (* big function *)
|
||||||
|
(* big inverse *)
|
||||||
|
(* long proof *)
|
||||||
|
(* long proof *)
|
||||||
|
```
|
||||||
|
first write the functions f and g and then write
|
||||||
|
```
|
||||||
|
equiv.MK f
|
||||||
|
g
|
||||||
|
abstract (* long proof *) end
|
||||||
|
abstract (* long proof *) end
|
||||||
|
```
|
Loading…
Add table
Reference in a new issue