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

Time bar (total: 3.6s)

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)

sample732.0ms (20.4%)

Memory
26.0MiB live, 466.6MiB allocated
Samples
505.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 247.0ms
ival-mult: 124.0ms (50.2% of total)
ival-sub: 113.0ms (45.8% of total)
ival-true: 6.0ms (2.4% of total)
ival-assert: 3.0ms (1.2% of total)
Bogosity

explain90.0ms (2.5%)

Memory
5.1MiB live, 79.7MiB 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
41.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 30.0ms
ival-mult: 27.0ms (90.1% of total)
ival-sub: 2.0ms (6.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess30.0ms (0.8%)

Memory
-13.8MiB live, 25.5MiB 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.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.7MiB live, 0.7MiB 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.2%)

Memory
6.1MiB live, 6.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

localize12.0ms (0.3%)

Memory
12.0MiB live, 12.0MiB 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: 3.0ms
ival-mult: 2.0ms (59.8% of total)
ival-sub: 1.0ms (29.9% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series4.0ms (0.1%)

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

simplify180.0ms (5%)

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

rewrite322.0ms (9%)

Memory
23.8MiB live, 253.7MiB 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>

eval41.0ms (1.1%)

Memory
-7.5MiB live, 111.0MiB allocated
Compiler

Compiled 8 038 to 688 computations (91.4% saved)

prune6.0ms (0.2%)

Memory
-10.2MiB live, 28.7MiB 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))
51.3%
#s(approx (- (* x y) x) (*.f64 y x))
51.6%
#s(approx (- (* x y) x) (neg.f64 x))
Compiler

Compiled 12 to 12 computations (0% saved)

simplify44.0ms (1.2%)

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

localize26.0ms (0.7%)

Memory
15.6MiB live, 54.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)
accuracy31.137429098281867
#s(approx (- (* x y) x) (*.f64 y x))
accuracy0
(neg.f64 x)
accuracy30.953849889974272
#s(approx (- (* x y) x) (neg.f64 x))
Samples
20.0ms256×0valid
Compiler

Compiled 30 to 9 computations (70% saved)

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

series4.0ms (0.1%)

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

simplify171.0ms (4.8%)

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

rewrite125.0ms (3.5%)

Memory
3.7MiB live, 238.7MiB 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>

eval71.0ms (2%)

Memory
-7.6MiB live, 151.7MiB allocated
Compiler

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

prune67.0ms (1.9%)

Memory
-5.9MiB 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))
51.3%
#s(approx (- (* x y) x) (*.f64 y x))
51.6%
#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)

simplify32.0ms (0.9%)

Memory
-28.4MiB live, 11.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

localize12.0ms (0.3%)

Memory
17.7MiB live, 17.7MiB allocated
Localize:

Found 1 expressions of interest:

NewMetricScoreProgram
accuracy62.034740390316486
#s(approx (- (* x y) x) x)
Samples
8.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 (61% of total)
ival-sub: 1.0ms (30.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

Memory
3.1MiB live, 3.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
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))

simplify185.0ms (5.2%)

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

rewrite256.0ms (7.1%)

Memory
26.3MiB live, 179.2MiB 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
5.3MiB live, 5.3MiB allocated
Compiler

Compiled 139 to 9 computations (93.5% saved)

prune74.0ms (2.1%)

Memory
-18.4MiB live, 31.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))
51.3%
#s(approx (- (* x y) x) (*.f64 y x))
51.6%
#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)

regimes58.0ms (1.6%)

Memory
-16.4MiB live, 22.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:

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

regimes7.0ms (0.2%)

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

2.0ms
y
2.0ms
x
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)

regimes26.0ms (0.7%)

Memory
-21.9MiB live, 17.6MiB 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:

22.0ms
y
2.0ms
x
2.0ms
(-.f64 (*.f64 x y) x)
Results
AccuracySegmentsBranch
61.2%3x
98.9%3y
82.9%3(-.f64 (*.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes5.0ms (0.1%)

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

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

Compiled 7 to 8 computations (-14.3% saved)

regimes33.0ms (0.9%)

Memory
-25.5MiB live, 14.2MiB 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:

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

Compiled 7 to 8 computations (-14.3% saved)

bsearch96.0ms (2.7%)

Memory
22.0MiB live, 64.2MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
82.0ms
0.0012289513178321808
29957029.924406834
12.0ms
-478776.70834929217
-9.866802582825397e-20
Samples
11.0ms336×0valid
Compiler

Compiled 155 to 219 computations (-41.3% saved)

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

simplify26.0ms (0.7%)

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

soundness798.0ms (22.2%)

Memory
13.9MiB live, 414.4MiB 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
0927
01227
14927
230522
3354622
0835722
048
068
1228
21558
315798
085908
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)

preprocess38.0ms (1%)

Memory
-12.5MiB live, 104.4MiB 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...