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

Hang / unlimited memory use with `simp` on trivial function not occurring in Goal

Open MSoegtropIMC opened this issue 2 years ago • 1 comments
trafficstars

The following Coq file:

Require Import Equations.Prop.Equations.

Equations Test (a : bool) : bool :=
  Test false := true;
  Test true := false.

Goal (False->False) -> False.
simp Test.

requires time proportional memory (on my laptop about 5GB/s) and does not stop (at least before memory usage is 100 GB).

MSoegtropIMC avatar Feb 14 '23 12:02 MSoegtropIMC

P.S.: This is with Coq 8.16.1.

MSoegtropIMC avatar Feb 14 '23 13:02 MSoegtropIMC