Coq-Equations icon indicating copy to clipboard operation
Coq-Equations copied to clipboard

Deeplim inverses some equalities when sections are involved

Open thomas-lamiaux opened this issue 4 months ago • 1 comments

I found a weird behavior with depelim. In the code below, depelim keeps inverting the equality

Section Foo.
  Context (x y : vec nat 2).

Definition foo (H : x = y) : x = y.
  depelim H.
  depelim H.
  depelim H.

but with this code, the equality gets deleted

Definition foo (x y : vec nat 2) (H : x = y) : x = y.
  depelim H.

thomas-lamiaux avatar Oct 08 '24 13:10 thomas-lamiaux