Skip to content

Commit e83fc06

Browse files
committed
adapt even more
1 parent 6cc7a28 commit e83fc06

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

erasure/theories/Typed/OptimizeCorrectness.v

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ Import ExAst.
2626
Import Kernames.
2727
Import ListNotations.
2828

29+
(* MCPrelude.len gets overwritten by PCUICToTemplateCorrectness
30+
then in Rocq < 9.1 it gets reset to its original value, which is the one below
31+
for compat we do the reset explicitly
32+
*)
33+
Local Ltac len ::= autorewrite with len; cbn.
34+
2935
Unset SsrRewrite.
3036

3137
Local Set Firstorder Solver auto.

template-pcuic/theories/PCUICToTemplateCorrectness.v

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Set Default Proof Using "Type*".
2727
From Equations.Prop Require Import DepElim.
2828
From Equations Require Import Equations.
2929

30+
(* MCPrelude.len gets overwritten by PCUICToTemplateCorrectness
31+
then in Rocq < 9.1 it gets reset to its original value, which is the one below
32+
for compat we do the reset explicitly
33+
*)
34+
Local Ltac len ::= autorewrite with len; cbn.
35+
3036
(** Translation from PCUIC back to template-coq terms.
3137
3238
This translation is not direct due to two peculiarities of template-coq's syntax:

0 commit comments

Comments
 (0)