aboutsummaryrefslogtreecommitdiff
path: root/src/Experiments
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2018-02-18 18:22:51 -0500
committerGravatar Jason Gross <jasongross9@gmail.com>2018-02-18 19:25:23 -0500
commite4f485bb7a8a3438f852edc267b50f28b0c84a09 (patch)
tree1643e53ee420452204720f239f849320cc506e7d /src/Experiments
parent60c71fbe944dbbb9d2632332533cee6c8eb3416e (diff)
Rename AutoReify
Diffstat (limited to 'src/Experiments')
-rw-r--r--src/Experiments/SimplyTypedArithmetic.v24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Experiments/SimplyTypedArithmetic.v b/src/Experiments/SimplyTypedArithmetic.v
index b143d2e4e..baafee3e9 100644
--- a/src/Experiments/SimplyTypedArithmetic.v
+++ b/src/Experiments/SimplyTypedArithmetic.v
@@ -1591,12 +1591,12 @@ Module Compilers.
end.
End reify.
- Definition Reify {t : type} (v : forall var, value var t) : Expr t
+ Definition Reify_as (t : type) (v : forall var, value var t) : Expr t
:= fun var => reify (v _).
- (** [AutoReify] does Ltac type inference to get the type *)
- Notation AutoReify v
- := (Reify (t:=type.reify_type_of v) (fun _ => v)) (only parsing).
+ (** [Reify] does Ltac type inference to get the type *)
+ Notation Reify v
+ := (Reify_as (type.reify_type_of v) (fun _ => v)) (only parsing).
End GallinaReify.
Module CPS.
@@ -4138,8 +4138,8 @@ Proof.
let E := constr:(app_and_maybe_cancel
(app_and_maybe_cancel
(canonicalize_list_recursion E)
- (GallinaReify.AutoReify n))
- (GallinaReify.AutoReify dz)) in
+ (GallinaReify.Reify n))
+ (GallinaReify.Reify dz)) in
let E := (eval vm_compute in E) in
transitivity (Interp E i);
[
@@ -4166,12 +4166,12 @@ Section rcarry_mul.
Local Arguments relax_zrange_of_machine_wordsize / .
Let rw := rweight limbwidth.
- Let rs := GallinaReify.AutoReify s.
- Let rc := GallinaReify.AutoReify c.
- Let rn := GallinaReify.AutoReify n.
- Let ridxs := GallinaReify.AutoReify idxs.
- Let rlen_c := GallinaReify.AutoReify (List.length c).
- Let rlen_idxs := GallinaReify.AutoReify (List.length idxs).
+ Let rs := GallinaReify.Reify s.
+ Let rc := GallinaReify.Reify c.
+ Let rn := GallinaReify.Reify n.
+ Let ridxs := GallinaReify.Reify idxs.
+ Let rlen_c := GallinaReify.Reify (List.length c).
+ Let rlen_idxs := GallinaReify.Reify (List.length idxs).
Let relax_zrange := relax_zrange_of_machine_wordsize.
Let arg_bounds : BoundsAnalysis.Indexed.Range.range (BoundsAnalysis.Indexed.OfPHOAS.type.compile (type.list type.Z * type.list type.Z))
:= (f_bounds, f_bounds).