diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2017-07-16 12:34:12 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2018-04-24 13:11:59 +0200 |
commit | 38fbc6e523bb45aa18761dbb027bc1ae479632cd (patch) | |
tree | 7561cabb1146c0ff65a4706f4dfdba96d83ebb2a /.circleci | |
parent | 5c34cfa54ec1959758baa3dd283e2e30853380db (diff) |
Improving error message for clear tactic (and indirect uses of it).
- Be more precise when trying to clear an hypothesis which
occurs implicitly in a global constant.
- Warns if destruct/induction cannot clear an hypothesis occurring
implicitly in a global.
In the first case, the change in situation
Section A. Variable a:nat. Definition b:=a=a. Goal b=b. clear a.
is:
- before: "a is used in conclusion"
- after: "a is used implicitly in b in conclusion"
In the second case:
Section A. Variable a:nat. Definition b:=a=a. Goal b=b. destruct a.
produces a warning: "Cannot remove a, it is used implicitly in b".
Diffstat (limited to '.circleci')
0 files changed, 0 insertions, 0 deletions