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

Time bar (total: 3.3s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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)

sample725.0ms (22.1%)

Memory
8.4MiB live, 396.8MiB allocated
Samples
488.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 200.0ms
ival-mult: 154.0ms (77% of total)
ival-sub: 37.0ms (18.5% of total)
ival-true: 6.0ms (3% of total)
ival-assert: 3.0ms (1.5% of total)
Bogosity

explain111.0ms (3.4%)

Memory
-35.4MiB live, 53.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
82.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 (57.9% of total)
ival-sub: 2.0ms (28.9% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess74.0ms (2.3%)

Memory
8.9MiB live, 46.3MiB allocated
Algorithm
egg-herbie
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.7MiB live, 0.7MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
2.1MiB live, 2.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
24.1MiB live, 24.1MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(*.f64 x y)
cost-diff0
(-.f64 (*.f64 x y) x)
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

localize16.0ms (0.5%)

Memory
-2.1MiB live, 36.3MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 12 to 6 computations (50% saved)

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

series9.0ms (0.3%)

Memory
-33.0MiB live, 9.8MiB 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))

simplify171.0ms (5.2%)

Memory
19.2MiB live, 134.3MiB allocated
Algorithm
egg-herbie
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)

rewrite215.0ms (6.5%)

Memory
8.9MiB live, 241.9MiB allocated
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>

eval32.0ms (1%)

Memory
1.6MiB live, 76.0MiB allocated
Compiler

Compiled 8 038 to 688 computations (91.4% saved)

prune5.0ms (0.1%)

Memory
21.2MiB live, 21.2MiB 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))
52.8%
#s(approx (- (* x y) x) (*.f64 y x))
50.5%
#s(approx (- (* x y) x) (neg.f64 x))
Compiler

Compiled 12 to 12 computations (0% saved)

simplify41.0ms (1.3%)

Memory
-40.1MiB live, 12.1MiB 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))
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)

localize21.0ms (0.6%)

Memory
28.6MiB live, 28.6MiB allocated
Localize:

Found 6 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 y x (neg.f64 x))
accuracy0
(neg.f64 x)
accuracy0
(*.f64 y x)
accuracy30.18348076203608
#s(approx (- (* x y) x) (*.f64 y x))
accuracy0
(neg.f64 x)
accuracy31.658304021784907
#s(approx (- (* x y) x) (neg.f64 x))
Samples
15.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 (41.8% of total)
ival-sub: 1.0ms (13.9% of total)
ival-add: 1.0ms (13.9% of total)
ival-neg: 1.0ms (13.9% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series21.0ms (0.6%)

Memory
-31.2MiB live, 8.1MiB 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
@0
((- (* 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)))

simplify186.0ms (5.7%)

Memory
27.4MiB live, 145.9MiB allocated
Algorithm
egg-herbie
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))

rewrite121.0ms (3.7%)

Memory
-14.0MiB live, 217.1MiB allocated
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>

eval74.0ms (2.2%)

Memory
22.1MiB live, 210.0MiB allocated
Compiler

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

prune39.0ms (1.2%)

Memory
-6.0MiB live, 77.6MiB 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))
52.8%
#s(approx (- (* x y) x) (*.f64 y x))
50.5%
#s(approx (- (* x y) x) (neg.f64 x))
3.1%
#s(approx (- (* x y) x) x)
Compiler

Compiled 14 to 15 computations (-7.1% saved)

simplify9.0ms (0.3%)

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

Found 1 expressions of interest:

NewMetricScoreProgram
cost-diff0
#s(approx (- (* x y) x) x)
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

localize15.0ms (0.5%)

Memory
1.8MiB live, 39.4MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy61.98443177477551
#s(approx (- (* x y) x) x)
Samples
11.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 (59.2% of total)
ival-sub: 1.0ms (29.6% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

Memory
-30.2MiB live, 7.1MiB 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
2.0ms
x
@inf
((- (* x y) x))
1.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))

simplify181.0ms (5.5%)

Memory
21.8MiB live, 168.5MiB allocated
Algorithm
egg-herbie
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))

rewrite186.0ms (5.7%)

Memory
10.5MiB live, 325.1MiB allocated
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>

eval2.0ms (0.1%)

Memory
4.5MiB live, 4.5MiB allocated
Compiler

Compiled 139 to 9 computations (93.5% saved)

prune3.0ms (0.1%)

Memory
6.4MiB live, 6.4MiB 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))
52.8%
#s(approx (- (* x y) x) (*.f64 y x))
50.5%
#s(approx (- (* x y) x) (neg.f64 x))
3.1%
#s(approx (- (* x y) x) x)
Compiler

Compiled 33 to 25 computations (24.2% saved)

regimes76.0ms (2.3%)

Memory
-33.6MiB live, 48.4MiB 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:

70.0ms
x
2.0ms
(-.f64 (*.f64 x y) 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)

regimes10.0ms (0.3%)

Memory
-18.7MiB live, 19.2MiB 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
17.3MiB live, 17.3MiB 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
62.1%6x
99.1%3y
81.0%3(-.f64 (*.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes8.0ms (0.2%)

Memory
-22.9MiB live, 15.2MiB 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:

4.0ms
(-.f64 (*.f64 x y) x)
2.0ms
y
2.0ms
x
Results
AccuracySegmentsBranch
50.5%1x
50.5%1(-.f64 (*.f64 x y) x)
50.5%1y
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes4.0ms (0.1%)

Memory
11.5MiB live, 11.5MiB 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
y
1.0ms
x
1.0ms
(-.f64 (*.f64 x y) x)
Results
AccuracySegmentsBranch
3.1%1y
3.1%1(-.f64 (*.f64 x y) x)
3.1%1x
Compiler

Compiled 7 to 8 computations (-14.3% saved)

bsearch30.0ms (0.9%)

Memory
-20.4MiB live, 61.5MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
12.0ms
1.2590986254807234e-14
14109216.368278045
13.0ms
-1359196966.4939013
-1.2142033629107915e-8
Samples
13.0ms336×0valid
Compiler

Compiled 155 to 219 computations (-41.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult: 5.0ms (77.1% of total)
ival-sub: 1.0ms (15.4% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify28.0ms (0.9%)

Memory
8.7MiB live, 47.0MiB allocated
Algorithm
egg-herbie
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)

soundness793.0ms (24.2%)

Memory
12.0MiB live, 408.3MiB allocated
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)

preprocess55.0ms (1.7%)

Memory
-4.7MiB live, 120.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...