lambdapi icon indicating copy to clipboard operation
lambdapi copied to clipboard

rewrite tactic fails when the equation contains several metavariables

Open fblanqui opened this issue 1 year ago • 0 comments

In Stdlib.List:

opaque symbol rot_size [a] (l:𝕃 a) : π (rot (size l) l = l) ≔
begin
  assume a l; simplify; rewrite take_size l;
flag "print_implicits" on;
rewrite drop_size;
  reflexivity;
end;

fails with

No subterm of [@= (list a) (@++ a (@drop a (@size a l) l) l) l] matches [@drop ?11 (@size ?11 l) l]

fblanqui avatar Nov 19 '24 12:11 fblanqui