Data.Histogram.Bin.LogBinD:$cbinSizeN from histogram-fill-0.8.4.1

Time bar (total: 3.2s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample728.0ms (23.1%)

Memory
6.6MiB live, 557.4MiB allocated
Samples
487.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 105.0ms
ival-mult: 62.0ms (58.9% of total)
ival-sub: 35.0ms (33.3% of total)
ival-true: 6.0ms (5.7% of total)
ival-assert: 3.0ms (2.9% of total)
Bogosity

explain63.0ms (2%)

Memory
-21.1MiB live, 93.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(-.f64 (*.f64 x y) x)
00-0-(*.f64 x y)
00-0-x
Confusion
Predicted +Predicted -
+00
-0256
Precision
0/0
Recall
0/0
Confusion?
Predicted +Predicted MaybePredicted -
+000
-00256
Precision?
0/0
Recall?
0/0
Freqs
test
numberfreq
0256
Total Confusion?
Predicted +Predicted MaybePredicted -
+000
-001
Precision?
0/0
Recall?
0/0
Samples
18.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 4.0ms (60.7% of total)
ival-sub: 2.0ms (30.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess32.0ms (1%)

Memory
4.1MiB live, 47.0MiB allocated
Algorithm
egg-herbie
Rules
176×lower-fma.f64
176×lower-fma.f32
112×lower-*.f32
110×lower-*.f64
88×unsub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01233
13331
29226
325525
449025
559825
661925
045
065
195
2145
3245
4385
5605
61265
72245
82725
92775
02775
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) x)
Outputs
(-.f64 (*.f64 x y) x)
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
Symmetry

(negabs x)

Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x y) x)
Compiler

Compiled 5 to 4 computations (20% saved)

simplify9.0ms (0.3%)

Memory
16.1MiB live, 16.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(-.f64 (*.f64 x y) x)
Rules
176×lower-fma.f64
176×lower-fma.f32
112×lower-*.f32
110×lower-*.f64
56×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0410
0610
1910
21410
32410
43810
56010
612610
722410
827210
927710
027710
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) x)
(*.f64 x y)
x
y
Outputs
(-.f64 (*.f64 x y) x)
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(*.f64 x y)
(*.f64 y x)
x
y

localize14.0ms (0.4%)

Memory
-12.0MiB live, 26.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x y)
accuracy0.01171875
(-.f64 (*.f64 x y) x)
Samples
9.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-mult: 3.0ms (68.8% of total)
ival-sub: 1.0ms (22.9% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
8.3MiB live, 8.3MiB allocated
Counts
2 → 48
Calls
Call 1
Inputs
#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())
#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())
Outputs
#s(alt (* -1 x) (taylor 0 y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 x y) x) (patch (-.f64 (*.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 x y) (patch (*.f64 x y) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((- (* x y) x) (* x y))
1.0ms
y
@-inf
((- (* x y) x) (* x y))
1.0ms
x
@-inf
((- (* x y) x) (* x y))
0.0ms
y
@inf
((- (* x y) x) (* x y))
0.0ms
y
@0
((- (* x y) x) (* x y))

simplify175.0ms (5.6%)

Memory
10.7MiB live, 129.4MiB allocated
Algorithm
egg-herbie
Rules
3 552×lower-fma.f64
3 552×lower-fma.f32
2 016×lower-*.f64
2 016×lower-*.f32
1 472×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020185
164185
2149185
3276185
4599185
51806185
63066185
73528185
83809185
93979185
104013185
114545185
125815185
136637185
146968185
157046185
167046185
177538185
08070185
Stop Event
iter limit
node limit
Counts
48 → 48
Calls
Call 1
Inputs
(* -1 x)
(- (* x y) x)
(- (* x y) x)
(- (* x y) x)
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* x y)
(* x y)
(* x y)
(* x y)
Outputs
(* -1 x)
(neg.f64 x)
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)

rewrite159.0ms (5%)

Memory
-6.4MiB live, 263.9MiB allocated
Rules
10 182×lower-fma.f64
10 182×lower-fma.f32
4 186×lower-/.f64
4 186×lower-/.f32
4 000×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1228
21558
315798
085908
Stop Event
iter limit
node limit
iter limit
Counts
2 → 243
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) x)
(*.f64 x y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval46.0ms (1.5%)

Memory
5.8MiB live, 94.1MiB allocated
Compiler

Compiled 8 038 to 688 computations (91.4% saved)

prune6.0ms (0.2%)

Memory
-15.6MiB live, 22.8MiB allocated
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2883291
Fresh000
Picked101
Done000
Total2893292
Accuracy
100.0%
Counts
292 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x (neg.f64 x))
55.3%
#s(approx (- (* x y) x) (*.f64 y x))
46.7%
#s(approx (- (* x y) x) (neg.f64 x))
Compiler

Compiled 12 to 12 computations (0% saved)

simplify12.0ms (0.4%)

Memory
-10.7MiB live, 28.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
cost-diff0
(neg.f64 x)
cost-diff0
(fma.f64 y x (neg.f64 x))
cost-diff0
(*.f64 y x)
cost-diff0
#s(approx (- (* x y) x) (*.f64 y x))
cost-diff0
(neg.f64 x)
cost-diff0
#s(approx (- (* x y) x) (neg.f64 x))
Rules
176×lower-fma.f32
174×lower-fma.f64
112×lower-*.f32
110×lower-*.f64
56×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0934
01234
11934
22934
34434
46634
513234
622934
727734
828234
028234
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (- (* x y) x) (neg.f64 x))
(neg.f64 x)
x
#s(approx (- (* x y) x) (*.f64 y x))
(*.f64 y x)
y
x
(fma.f64 y x (neg.f64 x))
y
x
(neg.f64 x)
Outputs
#s(approx (- (* x y) x) (neg.f64 x))
(neg.f64 x)
x
#s(approx (- (* x y) x) (*.f64 y x))
(*.f64 y x)
y
x
(fma.f64 y x (neg.f64 x))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
y
x
(neg.f64 x)

localize22.0ms (0.7%)

Memory
15.6MiB live, 58.9MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y x (neg.f64 x))
accuracy0
(neg.f64 x)
accuracy0
(*.f64 y x)
accuracy28.59600039243815
#s(approx (- (* x y) x) (*.f64 y x))
accuracy0
(neg.f64 x)
accuracy34.087272216739606
#s(approx (- (* x y) x) (neg.f64 x))
Samples
16.0ms256×0valid
Compiler

Compiled 30 to 9 computations (70% saved)

Precisions
Click to see histograms. Total time spent on operations: 7.0ms
ival-mult: 3.0ms (43.5% of total)
ival-sub: 1.0ms (14.5% of total)
ival-add: 1.0ms (14.5% of total)
ival-neg: 1.0ms (14.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
11.6MiB live, 11.6MiB allocated
Counts
5 → 108
Calls
Call 1
Inputs
#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())
#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())
#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())
#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())
#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())
Outputs
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor 0 x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (neg.f64 x)) (patch #s(approx (- (* x y) x) (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) (*.f64 y x)) (patch #s(approx (- (* x y) x) (*.f64 y x)) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf x) (#s(alt (*.f64 y x) (patch (*.f64 y x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt (fma.f64 y x (neg.f64 x)) (patch (fma.f64 y x (neg.f64 x)) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x)))
0.0ms
x
@inf
((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x)))
0.0ms
y
@-inf
((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x)))
0.0ms
y
@inf
((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x)))
0.0ms
y
@0
((- (* x y) x) (neg x) (- (* x y) x) (* y x) (+ (* y x) (neg x)))

simplify164.0ms (5.2%)

Memory
-7.8MiB live, 108.9MiB allocated
Algorithm
egg-herbie
Rules
3 552×lower-fma.f64
3 552×lower-fma.f32
2 016×lower-*.f64
2 016×lower-*.f32
1 472×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020435
164435
2149435
3276435
4599435
51806435
63066435
73528435
83809435
93979435
104013435
114545435
125815435
136637435
146968435
157046435
167046435
177538435
08070435
Stop Event
iter limit
node limit
Counts
108 → 108
Calls
Call 1
Inputs
(* -1 x)
(- (* x y) x)
(- (* x y) x)
(- (* x y) x)
(* -1 x)
(- (* x y) x)
(- (* x y) x)
(- (* x y) x)
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 x)
(- (* x y) x)
(- (* x y) x)
(- (* x y) x)
(* x y)
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* x y)
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* x y)
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* x y)
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* x y)
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x y)
(* x y)
(* x y)
(* x y)
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 x)
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* x y)
(* x y)
(* x y)
(* x y)
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
Outputs
(* -1 x)
(neg.f64 x)
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(* -1 x)
(neg.f64 x)
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 x)
(neg.f64 x)
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* x y)
(*.f64 y x)
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))

rewrite139.0ms (4.4%)

Memory
12.9MiB live, 250.8MiB allocated
Rules
4 590×lower-fma.f32
4 588×lower-fma.f64
3 718×lower-*.f32
3 716×lower-*.f64
2 822×lower-/.f64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0927
01227
14927
230522
3354622
0835722
Stop Event
iter limit
node limit
iter limit
Counts
5 → 430
Calls
Call 1
Inputs
#s(approx (- (* x y) x) (neg.f64 x))
(neg.f64 x)
#s(approx (- (* x y) x) (*.f64 y x))
(*.f64 y x)
(fma.f64 y x (neg.f64 x))
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval78.0ms (2.5%)

Memory
-0.3MiB live, 201.5MiB allocated
Compiler

Compiled 10 525 to 1 172 computations (88.9% saved)

prune18.0ms (0.6%)

Memory
-33.8MiB live, 52.2MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New5981599
Fresh000
Picked033
Done000
Total5984602
Accuracy
100.0%
Counts
602 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x (neg.f64 x))
55.3%
#s(approx (- (* x y) x) (*.f64 y x))
46.7%
#s(approx (- (* x y) x) (neg.f64 x))
2.7%
#s(approx (- (* x y) x) x)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

simplify10.0ms (0.3%)

Memory
24.4MiB live, 24.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- (* x y) x) x)
Rules
176×lower-fma.f64
176×lower-fma.f32
112×lower-*.f64
112×lower-*.f32
56×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
058
188
2138
3238
4388
5608
61268
72248
82728
92778
02778
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
#s(approx (- (* x y) x) x)
x
Outputs
#s(approx (- (* x y) x) x)
x

localize14.0ms (0.4%)

Memory
-5.0MiB live, 34.2MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy62.29200161755343
#s(approx (- (* x y) x) x)
Samples
10.0ms256×0valid
Compiler

Compiled 8 to 6 computations (25% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-mult: 2.0ms (64% of total)
ival-sub: 1.0ms (32% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
5.7MiB live, 5.7MiB allocated
Counts
1 → 24
Calls
Call 1
Inputs
#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())
Outputs
#s(alt (* -1 x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (- (* x y) x) (taylor 0 y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ x (* -1 (/ x y)))) (taylor inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x y) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (+ (* -1 x) (/ x y)))) (taylor -inf y) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor 0 x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* x (- y 1)) (taylor inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ 1 (* -1 y)))) (taylor -inf x) (#s(alt #s(approx (- (* x y) x) x) (patch #s(approx (- (* x y) x) x) #<representation binary64>) () ())) ())
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((- (* x y) x))
0.0ms
x
@inf
((- (* x y) x))
0.0ms
y
@-inf
((- (* x y) x))
0.0ms
x
@0
((- (* x y) x))
0.0ms
y
@inf
((- (* x y) x))

simplify169.0ms (5.4%)

Memory
4.0MiB live, 122.7MiB allocated
Algorithm
egg-herbie
Rules
3 552×lower-fma.f64
3 552×lower-fma.f32
2 016×lower-*.f64
2 016×lower-*.f32
1 472×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020113
164113
2149113
3276113
4599113
51806113
63066113
73528113
83809113
93979113
104013113
114545113
125815113
136637113
146968113
157046113
167046113
177538113
08070113
Stop Event
iter limit
node limit
Counts
24 → 24
Calls
Call 1
Inputs
(* -1 x)
(- (* x y) x)
(- (* x y) x)
(- (* x y) x)
(* x y)
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* y (+ x (* -1 (/ x y))))
(* x y)
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* -1 (* y (+ (* -1 x) (/ x y))))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* x (- y 1))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
(* -1 (* x (+ 1 (* -1 y))))
Outputs
(* -1 x)
(neg.f64 x)
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(- (* x y) x)
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* y (+ x (* -1 (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x y)
(*.f64 y x)
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* y (+ (* -1 x) (/ x y))))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* x (- y 1))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))
(* -1 (* x (+ 1 (* -1 y))))
(fma.f64 y x (neg.f64 x))

rewrite201.0ms (6.4%)

Memory
9.2MiB live, 203.1MiB allocated
Rules
10 182×lower-fma.f64
10 182×lower-fma.f32
4 186×lower-/.f64
4 186×lower-/.f32
4 000×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
057
1217
21547
315767
085437
Stop Event
iter limit
node limit
saturated
Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* x y) x) x)
Outputs
#<batchref>

eval9.0ms (0.3%)

Memory
-31.5MiB live, 7.1MiB allocated
Compiler

Compiled 139 to 9 computations (93.5% saved)

prune3.0ms (0.1%)

Memory
9.0MiB live, 9.0MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New25025
Fresh000
Picked011
Done033
Total25429
Accuracy
100.0%
Counts
29 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 y x (neg.f64 x))
55.3%
#s(approx (- (* x y) x) (*.f64 y x))
46.7%
#s(approx (- (* x y) x) (neg.f64 x))
2.7%
#s(approx (- (* x y) x) x)
Compiler

Compiled 33 to 25 computations (24.2% saved)

regimes8.0ms (0.3%)

Memory
22.3MiB live, 22.3MiB allocated
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (- (* x y) x) x)
#s(approx (- (* x y) x) (neg.f64 x))
#s(approx (- (* x y) x) (*.f64 y x))
(-.f64 (*.f64 x y) x)
(fma.f64 y x (neg.f64 x))
Outputs
(fma.f64 y x (neg.f64 x))
Calls

3 calls:

3.0ms
x
2.0ms
y
2.0ms
(-.f64 (*.f64 x y) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(-.f64 (*.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes10.0ms (0.3%)

Memory
-18.3MiB live, 19.1MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (- (* x y) x) x)
#s(approx (- (* x y) x) (neg.f64 x))
#s(approx (- (* x y) x) (*.f64 y x))
(-.f64 (*.f64 x y) x)
Outputs
(-.f64 (*.f64 x y) x)
Calls

3 calls:

5.0ms
(-.f64 (*.f64 x y) x)
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(-.f64 (*.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes6.0ms (0.2%)

Memory
18.2MiB live, 18.2MiB allocated
Counts
3 → 3
Calls
Call 1
Inputs
#s(approx (- (* x y) x) x)
#s(approx (- (* x y) x) (neg.f64 x))
#s(approx (- (* x y) x) (*.f64 y x))
Outputs
#s(approx (- (* x y) x) (*.f64 y x))
#s(approx (- (* x y) x) (neg.f64 x))
#s(approx (- (* x y) x) (*.f64 y x))
Calls

3 calls:

2.0ms
x
2.0ms
y
2.0ms
(-.f64 (*.f64 x y) x)
Results
AccuracySegmentsBranch
61.7%4x
97.9%3y
76.7%3(-.f64 (*.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes68.0ms (2.1%)

Memory
-39.4MiB live, 50.0MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (- (* x y) x) x)
#s(approx (- (* x y) x) (neg.f64 x))
Outputs
#s(approx (- (* x y) x) (neg.f64 x))
Calls

3 calls:

33.0ms
x
32.0ms
(-.f64 (*.f64 x y) x)
2.0ms
y
Results
AccuracySegmentsBranch
46.7%1x
46.7%1(-.f64 (*.f64 x y) x)
46.7%1y
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes4.0ms (0.1%)

Memory
10.7MiB live, 10.7MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (- (* x y) x) x)
Outputs
#s(approx (- (* x y) x) x)
Calls

3 calls:

1.0ms
x
1.0ms
(-.f64 (*.f64 x y) x)
1.0ms
y
Results
AccuracySegmentsBranch
2.7%1y
2.7%1(-.f64 (*.f64 x y) x)
2.7%1x
Compiler

Compiled 7 to 8 computations (-14.3% saved)

bsearch39.0ms (1.2%)

Memory
-0.6MiB live, 38.4MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
29.0ms
6.6340401203512855e-9
544002132263516.1
7.0ms
-13.83870583734105
-0.3885235123626797
Samples
9.0ms288×0valid
Compiler

Compiled 134 to 189 computations (-41% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-mult: 2.0ms (55.5% of total)
ival-sub: 1.0ms (27.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify25.0ms (0.8%)

Memory
24.3MiB live, 61.7MiB allocated
Algorithm
egg-herbie
Rules
*-commutative-binary64-*.f64
+-commutative-binary64-+.f64
sub-neg-binary64-neg.f64-+.f64--.f64
1-exp-binary32-exp.f32
1-exp-binary64-exp.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01859
12559
22859
32959
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 y x (neg.f64 x))
(-.f64 (*.f64 x y) x)
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* x y) x) (*.f64 y x)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* x y) x) (neg.f64 x)) #s(approx (- (* x y) x) (*.f64 y x))))
#s(approx (- (* x y) x) (neg.f64 x))
#s(approx (- (* x y) x) x)
Outputs
(fma.f64 y x (neg.f64 x))
(-.f64 (*.f64 x y) x)
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* x y) x) (*.f64 y x)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* x y) x) (neg.f64 x)) #s(approx (- (* x y) x) (*.f64 y x))))
(if (<=.f64 y #s(literal -1 binary64)) #s(approx (- (* x y) x) (*.f64 x y)) (if (<=.f64 y #s(literal 1 binary64)) #s(approx (- (* x y) x) (neg.f64 x)) #s(approx (- (* x y) x) (*.f64 x y))))
#s(approx (- (* x y) x) (neg.f64 x))
#s(approx (- (* x y) x) x)

soundness835.0ms (26.5%)

Memory
4.7MiB live, 441.8MiB allocated
Rules
10 182×lower-fma.f64
10 182×lower-fma.f32
4 590×lower-fma.f32
4 588×lower-fma.f64
4 186×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020185
164185
2149185
3276185
4599185
51806185
63066185
73528185
83809185
93979185
104013185
114545185
125815185
136637185
146968185
157046185
167046185
177538185
08070185
048
068
1228
21558
315798
085908
0927
01227
14927
230522
3354622
0835722
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 56 to 37 computations (33.9% saved)

preprocess78.0ms (2.5%)

Memory
-29.2MiB live, 96.5MiB allocated
Remove

(negabs x)

Compiler

Compiled 98 to 54 computations (44.9% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...