From 699c7964f388e0ec232f4b71096294250cd6e4cd Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Sat, 8 Jul 2017 19:03:05 -0400 Subject: Add cbv_runtime in Arithmetic/Core This way, files importing Core don't have to keep track of the list of runtime operations, for unfoling. --- src/Arithmetic/Core.v | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Arithmetic') diff --git a/src/Arithmetic/Core.v b/src/Arithmetic/Core.v index 457a85a98..854b912df 100644 --- a/src/Arithmetic/Core.v +++ b/src/Arithmetic/Core.v @@ -310,6 +310,8 @@ Global Notation "a >> b" := (runtime_shr a%RT b%RT) : runtime_scope. Definition runtime_lor := Z.lor. Global Arguments runtime_lor (_ _)%RT. +Ltac cbv_runtime := cbv beta delta [runtime_add runtime_and runtime_lor runtime_mul runtime_opp runtime_shr]. + Module B. Definition limb := (Z*Z)%type. (* position coefficient and run-time value *) Module Associational. -- cgit v1.2.3