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

Time bar (total: 3.4s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze0.0ms (0%)

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

sample933.0ms (27.6%)

Memory
-8.2MiB live, 845.5MiB allocated
Samples
505.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 192.0ms
ival-mult: 143.0ms (74.5% of total)
ival-sub: 39.0ms (20.3% of total)
ival-true: 6.0ms (3.1% of total)
ival-assert: 4.0ms (2.1% of total)
Bogosity

explain102.0ms (3%)

Memory
-13.2MiB live, 24.0MiB 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
74.0ms512×0valid
Compiler

Compiled 39 to 20 computations (48.7% saved)

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

preprocess31.0ms (0.9%)

Memory
7.0MiB live, 7.0MiB 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.2MiB live, 0.2MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.5MiB live, 0.5MiB 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
1.0MiB live, 1.0MiB 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

localize13.0ms (0.4%)

Memory
5.4MiB live, 5.4MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 22 to 10 computations (54.5% saved)

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

series4.0ms (0.1%)

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

simplify291.0ms (8.6%)

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

rewrite261.0ms (7.7%)

Memory
8.1MiB live, 122.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>

eval47.0ms (1.4%)

Memory
2.8MiB live, 40.5MiB allocated
Compiler

Compiled 8 038 to 688 computations (91.4% saved)

prune5.0ms (0.2%)

Memory
14.0MiB live, 14.0MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2892291
Fresh000
Picked011
Done000
Total2893292
Accuracy
100.0%
Counts
292 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x y) x)
53.1%
#s(approx (- (* x y) x) (*.f64 y x))
49.4%
#s(approx (- (* x y) x) (neg.f64 x))
Compiler

Compiled 12 to 12 computations (0% saved)

simplify11.0ms (0.3%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
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
0825
01025
11625
22325
33325
44725
57125
614625
722725
827025
927525
027525
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
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

localize64.0ms (1.9%)

Memory
-21.4MiB live, 18.2MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 y x)
accuracy29.992369673927474
#s(approx (- (* x y) x) (*.f64 y x))
accuracy0
(neg.f64 x)
accuracy32.38066565748116
#s(approx (- (* x y) x) (neg.f64 x))
Samples
57.0ms256×0valid
Compiler

Compiled 35 to 14 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 51.0ms
ival-mult: 48.0ms (94.6% of total)
ival-sub: 1.0ms (2% of total)
ival-neg: 1.0ms (2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
4.2MiB live, 4.2MiB allocated
Counts
4 → 84
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>) () ())
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 (* 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 #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 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 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 (* -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>) () ())) ())
Calls

6 calls:

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

simplify209.0ms (6.2%)

Memory
8.7MiB live, 99.4MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020322
164322
2149322
3276322
4599322
51806322
63066322
73528322
83809322
93979322
104013322
114545322
125815322
136637322
146968322
157046322
167046322
177538322
08070322
Stop Event
iter limit
node limit
Counts
84 → 84
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)
(* 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)
(* -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))
(* 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 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)
(* -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)
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)
(* 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)
(* -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 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)
(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)
(* -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)

rewrite159.0ms (4.7%)

Memory
-10.4MiB live, 263.3MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
01022
12922
217322
3179120
0960318
Stop Event
iter limit
node limit
iter limit
Counts
4 → 67
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)
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>

eval16.0ms (0.5%)

Memory
9.4MiB live, 47.5MiB allocated
Compiler

Compiled 1 101 to 203 computations (81.6% saved)

prune6.0ms (0.2%)

Memory
-18.9MiB live, 20.5MiB allocated
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1501151
Fresh000
Picked022
Done011
Total1504154
Accuracy
100.0%
Counts
154 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(-.f64 (*.f64 x y) x)
53.1%
#s(approx (- (* x y) x) (*.f64 y x))
49.4%
#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
23.5MiB live, 23.5MiB 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

localize14.0ms (0.4%)

Memory
-5.5MiB live, 34.1MiB allocated
Localize:

Found 1 expressions of interest:

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

Compiled 11 to 9 computations (18.2% saved)

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

series2.0ms (0.1%)

Memory
6.1MiB live, 6.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
y
@inf
((- (* x y) x))
0.0ms
x
@0
((- (* x y) x))

simplify166.0ms (4.9%)

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

rewrite177.0ms (5.2%)

Memory
-8.8MiB live, 270.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
6.0MiB live, 6.0MiB allocated
Compiler

Compiled 139 to 9 computations (93.5% saved)

prune3.0ms (0.1%)

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

Compiled 28 to 24 computations (14.3% saved)

regimes8.0ms (0.2%)

Memory
-21.0MiB live, 18.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:

3.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)

regimes6.0ms (0.2%)

Memory
17.1MiB live, 17.1MiB 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%4x
98.8%3y
81.6%3(-.f64 (*.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes7.0ms (0.2%)

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

3 calls:

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

Compiled 7 to 8 computations (-14.3% saved)

regimes4.0ms (0.1%)

Memory
11.8MiB live, 11.8MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

3 calls:

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

Compiled 7 to 8 computations (-14.3% saved)

bsearch27.0ms (0.8%)

Memory
13.5MiB live, 56.3MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
1.6645872044763987e-6
134197869.89470096
14.0ms
-141.6233856330805
-2.8714191193615486e-12
Samples
11.0ms320×0valid
Compiler

Compiled 148 to 209 computations (-41.2% saved)

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

simplify27.0ms (0.8%)

Memory
-15.1MiB live, 61.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01754
12454
22754
32854
Stop Event
saturated
Calls
Call 1
Inputs
(-.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
(-.f64 (*.f64 x y) x)
(-.f64 (*.f64 y x) 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)

soundness720.0ms (21.3%)

Memory
-5.1MiB live, 317.8MiB 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
0822
01022
12922
217322
3179120
0960318
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 41 to 30 computations (26.8% saved)

preprocess47.0ms (1.4%)

Memory
-6.1MiB live, 152.8MiB allocated
Remove

(negabs x)

Compiler

Compiled 88 to 52 computations (40.9% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...