aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2018-06-18 22:49:36 -0400
committerGravatar Jason Gross <jgross@mit.edu>2018-06-18 22:49:36 -0400
commit6e7a51d51daa3927500857aedb19faddd35b6d10 (patch)
tree59ec531479092977fc7de81cddb4feb2df6b2f61 /src
parentce61fb1c6ca8b1e021a56c97e497fdd4f24f68da (diff)
Add a comment about sub
Diffstat (limited to 'src')
-rw-r--r--src/Experiments/NewPipeline/Arithmetic.v6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Experiments/NewPipeline/Arithmetic.v b/src/Experiments/NewPipeline/Arithmetic.v
index d7fdf0306..a69248a49 100644
--- a/src/Experiments/NewPipeline/Arithmetic.v
+++ b/src/Experiments/NewPipeline/Arithmetic.v
@@ -1615,8 +1615,10 @@ Module Rows.
(* TODO: Although cleaner, using Positional.negate snd inserts
dlets which prevent add-opp=>sub transformation in partial
evaluation. Should probably either make partial evaluation
- handle that or remove the dlet in
- Positional.from_associational. *)
+ handle that or remove the dlet in Positional.from_associational.
+
+ NOTE(from jgross): I think partial evaluation now handles that
+ fine; we should check this. *)
Definition sub n p q := flatten n [p; map (fun x => dlet y := x in Z.opp y) q].
Hint Rewrite eval_cons eval_nil using solve [auto] : push_eval.