Skip to content

Commit 1588b10

Browse files
committed
Add remaining rewrite rules for saturated arithmetic
For #1609
1 parent 69a1b5f commit 1588b10

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/Rewriter/Rules.v

+7
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,13 @@ Definition nbe_rewrite_rulesT : list (bool * Prop)
183183
end)
184184
('n)
185185
xs)
186+
; typeof! @unfold1_nat_rect_fbb_b
187+
; typeof! @unfold1_nat_rect_fbb_b_b
188+
; typeof! @unfold1_list_rect_fbb_b
189+
; typeof! @unfold1_list_rect_fbb_b_b
190+
; typeof! @unfold1_list_rect_fbb_b_b_b
191+
; typeof! @unfold1_list_rect_fbb_b_b_b_b
192+
; typeof! @unfold1_list_rect_fbb_b_b_b_b_b
186193
]
187194
].
188195

src/Rewriter/RulesProofs.v

+7
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ Local Hint Resolve
9090
eq_firstn_nat_rect
9191
eq_skipn_nat_rect
9292
eq_update_nth_nat_rect
93+
unfold1_nat_rect_fbb_b
94+
unfold1_nat_rect_fbb_b_b
95+
unfold1_list_rect_fbb_b
96+
unfold1_list_rect_fbb_b_b
97+
unfold1_list_rect_fbb_b_b_b
98+
unfold1_list_rect_fbb_b_b_b_b
99+
unfold1_list_rect_fbb_b_b_b_b_b
93100
: core.
94101

95102
(* to catch [prod_rect] and not just [prod_rect_nodep] *)

0 commit comments

Comments
 (0)