Graphics.Rendering.Plot.Render.Plot.Legend:renderLegendOutside from plot-0.2.3.4, A

Time bar (total: 2.7s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze0.0ms (0%)

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

sample478.0ms (18%)

Memory
0.8MiB live, 978.1MiB allocated
Samples
281.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 100.0ms
ival-add: 91.0ms (91% of total)
ival-true: 6.0ms (6% of total)
ival-assert: 3.0ms (3% of total)
Bogosity

explain87.0ms (3.3%)

Memory
-5.5MiB live, 75.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-y
00-0-(+.f64 x y)
00-0-(+.f64 (+.f64 x y) x)
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
17.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-add: 5.0ms (89.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess19.0ms (0.7%)

Memory
35.6MiB live, 35.6MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01227
13825
29825
325425
443125
550625
651825
045
065
195
2125
3145
4155
0154
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 x y) x)
Outputs
(+.f64 (+.f64 x y) x)
(fma.f64 #s(literal 2 binary64) x y)
Compiler

Compiled 5 to 4 computations (20% saved)

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 5 to 4 computations (20% saved)

simplify6.0ms (0.2%)

Memory
-32.6MiB live, 4.9MiB 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
21210
31410
41510
0159
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)
(fma.f64 #s(literal 2 binary64) x y)
(+.f64 x y)
(+.f64 y x)
x
y

localize13.0ms (0.5%)

Memory
25.5MiB live, 25.5MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x y)
accuracy0.0234375
(+.f64 (+.f64 x y) x)
Samples
9.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-add: 2.0ms (55.6% of total)
ival-true: 1.0ms (27.8% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

Memory
5.6MiB live, 5.6MiB 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 (* 2 x) (taylor 0 y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* 2 x)) (taylor 0 y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt x (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 y (taylor inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (* 2 (/ x y)))) (taylor inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt y (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* y (+ 1 (/ x y))) (taylor inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt y (taylor -inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -2 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt y (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* y (- (* -1 (/ x y)) 1))) (taylor -inf y) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt y (taylor 0 x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (+ y (* 2 x)) (taylor 0 x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt 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 (* 2 x) (taylor inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 2 (/ y x))) (taylor inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ y x))) (taylor inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 2))) (taylor -inf x) (#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ y x)) 1))) (taylor -inf x) (#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())) ())
Calls

6 calls:

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

simplify141.0ms (5.3%)

Memory
0.5MiB live, 119.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035162
1102162
2231162
3684162
41813162
52759162
63836162
74303162
84593162
94688162
106579162
08363144
Stop Event
iter limit
node limit
Counts
48 → 39
Calls
Call 1
Inputs
(* 2 x)
(+ y (* 2 x))
(+ y (* 2 x))
(+ y (* 2 x))
x
(+ x y)
(+ x y)
(+ x y)
y
(* y (+ 1 (* 2 (/ x y))))
(* y (+ 1 (* 2 (/ x y))))
(* y (+ 1 (* 2 (/ x y))))
y
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
(* y (+ 1 (/ x y)))
y
(* -1 (* y (- (* -2 (/ x y)) 1)))
(* -1 (* y (- (* -2 (/ x y)) 1)))
(* -1 (* y (- (* -2 (/ x y)) 1)))
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
(* -1 (* y (- (* -1 (/ x y)) 1)))
y
(+ y (* 2 x))
(+ y (* 2 x))
(+ y (* 2 x))
y
(+ x y)
(+ x y)
(+ x y)
(* 2 x)
(* x (+ 2 (/ y x)))
(* x (+ 2 (/ y x)))
(* x (+ 2 (/ y x)))
x
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* x (+ 1 (/ y x)))
(* 2 x)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 2)))
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
(* -1 (* x (- (* -1 (/ y x)) 1)))
Outputs
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(+ y (* 2 x))
(fma.f64 #s(literal 2 binary64) x y)
(+ y (* 2 x))
(fma.f64 #s(literal 2 binary64) x y)
(+ y (* 2 x))
(fma.f64 #s(literal 2 binary64) x y)
x
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
y
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 #s(literal 2 binary64) x y)
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 #s(literal 2 binary64) x y)
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 #s(literal 2 binary64) x y)
y
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
(* y (+ 1 (/ x y)))
(+.f64 y x)
y
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 #s(literal 2 binary64) x y)
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 #s(literal 2 binary64) x y)
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 #s(literal 2 binary64) x y)
y
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
(* -1 (* y (- (* -1 (/ x y)) 1)))
(+.f64 y x)
y
(+ y (* 2 x))
(fma.f64 #s(literal 2 binary64) x y)
(+ y (* 2 x))
(fma.f64 #s(literal 2 binary64) x y)
(+ y (* 2 x))
(fma.f64 #s(literal 2 binary64) x y)
y
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(+ x y)
(+.f64 y x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* x (+ 2 (/ y x)))
(fma.f64 #s(literal 2 binary64) x y)
(* x (+ 2 (/ y x)))
(fma.f64 #s(literal 2 binary64) x y)
(* x (+ 2 (/ y x)))
(fma.f64 #s(literal 2 binary64) x y)
x
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* x (+ 1 (/ y x)))
(+.f64 y x)
(* 2 x)
(*.f64 #s(literal 2 binary64) x)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 #s(literal 2 binary64) x y)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 #s(literal 2 binary64) x y)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 #s(literal 2 binary64) x y)
x
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)
(* -1 (* x (- (* -1 (/ y x)) 1)))
(+.f64 y x)

rewrite210.0ms (7.9%)

Memory
-26.3MiB live, 175.0MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048
068
1328
22798
346218
081147
Stop Event
iter limit
node limit
iter limit
Counts
2 → 205
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>

eval47.0ms (1.8%)

Memory
3.0MiB live, 38.8MiB allocated
Compiler

Compiled 4 545 to 615 computations (86.5% saved)

prune5.0ms (0.2%)

Memory
14.0MiB live, 14.0MiB allocated
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2422244
Fresh000
Picked101
Done000
Total2432245
Accuracy
100.0%
Counts
245 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 #s(literal 2 binary64) x y)
50.4%
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify3.0ms (0.1%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 #s(literal 2 binary64) x y)
cost-diff0
(*.f64 #s(literal 2 binary64) x)
cost-diff0
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0821
01021
11521
21820
31820
01820
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(fma.f64 #s(literal 2 binary64) x y)
#s(literal 2 binary64)
x
y
Outputs
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
#s(literal 2 binary64)
x
(fma.f64 #s(literal 2 binary64) x y)
#s(literal 2 binary64)
x
y

localize82.0ms (3.1%)

Memory
-23.3MiB live, 26.5MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 #s(literal 2 binary64) x y)
accuracy0
(*.f64 #s(literal 2 binary64) x)
accuracy31.75504593094682
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
Samples
67.0ms256×0valid
Compiler

Compiled 20 to 9 computations (55% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-add: 4.0ms (68% of total)
ival-mult: 2.0ms (34% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series3.0ms (0.1%)

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

6 calls:

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

simplify217.0ms (8.2%)

Memory
13.9MiB live, 84.9MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023240
164240
2141240
3398240
41108240
52539240
63437240
74311240
84789240
94964240
105054240
115752240
126068240
136070240
146070240
156070240
08131204
Stop Event
iter limit
node limit
Counts
60 → 54
Calls
Call 1
Inputs
(* 2 x)
(+ y (* 2 x))
(+ y (* 2 x))
(+ y (* 2 x))
(* 2 x)
(+ y (* 2 x))
(+ y (* 2 x))
(+ y (* 2 x))
y
(* y (+ 1 (* 2 (/ x y))))
(* y (+ 1 (* 2 (/ x y))))
(* y (+ 1 (* 2 (/ x y))))
y
(* y (+ 1 (* 2 (/ x y))))
(* y (+ 1 (* 2 (/ x y))))
(* y (+ 1 (* 2 (/ x y))))
y
(* -1 (* y (- (* -2 (/ x y)) 1)))
(* -1 (* y (- (* -2 (/ x y)) 1)))
(* -1 (* y (- (* -2 (/ x y)) 1)))
y
(* -1 (* y (- (* -2 (/ x y)) 1)))
(* -1 (* y (- (* -2 (/ x y)) 1)))
(* -1 (* y (- (* -2 (/ x y)) 1)))
y
(+ y (* 2 x))
(+ y (* 2 x))
(+ y (* 2 x))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
y
(+ y (* 2 x))
(+ y (* 2 x))
(+ y (* 2 x))
(* 2 x)
(* x (+ 2 (/ y x)))
(* x (+ 2 (/ y x)))
(* x (+ 2 (/ y x)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* x (+ 2 (/ y x)))
(* x (+ 2 (/ y x)))
(* x (+ 2 (/ y x)))
(* 2 x)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 2)))
Outputs
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
y
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 x #s(literal 2 binary64) y)
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 x #s(literal 2 binary64) y)
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 x #s(literal 2 binary64) y)
y
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 x #s(literal 2 binary64) y)
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 x #s(literal 2 binary64) y)
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 x #s(literal 2 binary64) y)
y
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 x #s(literal 2 binary64) y)
y
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 x #s(literal 2 binary64) y)
y
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
y
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 (/ y x)))
(fma.f64 x #s(literal 2 binary64) y)
(* x (+ 2 (/ y x)))
(fma.f64 x #s(literal 2 binary64) y)
(* x (+ 2 (/ y x)))
(fma.f64 x #s(literal 2 binary64) y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 (/ y x)))
(fma.f64 x #s(literal 2 binary64) y)
(* x (+ 2 (/ y x)))
(fma.f64 x #s(literal 2 binary64) y)
(* x (+ 2 (/ y x)))
(fma.f64 x #s(literal 2 binary64) y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 x #s(literal 2 binary64) y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 x #s(literal 2 binary64) y)

rewrite290.0ms (10.9%)

Memory
-5.1MiB live, 145.8MiB allocated
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0816
01016
14816
240415
3602915
0803315
Stop Event
iter limit
node limit
iter limit
Counts
3 → 149
Calls
Call 1
Inputs
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
(*.f64 #s(literal 2 binary64) x)
(fma.f64 #s(literal 2 binary64) 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>

eval22.0ms (0.8%)

Memory
23.0MiB live, 23.0MiB allocated
Compiler

Compiled 3 495 to 443 computations (87.3% saved)

prune24.0ms (0.9%)

Memory
-25.4MiB live, 13.1MiB allocated
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2021203
Fresh000
Picked112
Done000
Total2032205
Accuracy
100.0%
Counts
205 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 #s(literal 2 binary64) x y)
50.4%
#s(approx (+ (+ x y) x) (+.f64 x x))
Compiler

Compiled 8 to 8 computations (0% saved)

simplify3.0ms (0.1%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff-128
(+.f64 x x)
cost-diff0
#s(approx (+ (+ x y) x) (+.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
0713
11213
21513
01512
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (+ (+ x y) x) (+.f64 x x))
(+.f64 x x)
x
Outputs
#s(approx (+ (+ x y) x) (+.f64 x x))
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
(+.f64 x x)
(*.f64 #s(literal 2 binary64) x)
x

localize13.0ms (0.5%)

Memory
16.8MiB live, 16.8MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x x)
accuracy31.75504593094682
#s(approx (+ (+ x y) x) (+.f64 x x))
Samples
9.0ms256×0valid
Compiler

Compiled 11 to 7 computations (36.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-add: 3.0ms (80.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series2.0ms (0.1%)

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

6 calls:

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

simplify224.0ms (8.4%)

Memory
12.1MiB live, 95.0MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
023138
164138
2141138
3398138
41108138
52539138
63437138
74311138
84789138
94964138
105054138
115752138
126068138
136070138
146070138
156070138
08131120
Stop Event
iter limit
node limit
Counts
36 → 33
Calls
Call 1
Inputs
(* 2 x)
(+ y (* 2 x))
(+ y (* 2 x))
(+ y (* 2 x))
y
(* y (+ 1 (* 2 (/ x y))))
(* y (+ 1 (* 2 (/ x y))))
(* y (+ 1 (* 2 (/ x y))))
y
(* -1 (* y (- (* -2 (/ x y)) 1)))
(* -1 (* y (- (* -2 (/ x y)) 1)))
(* -1 (* y (- (* -2 (/ x y)) 1)))
y
(+ y (* 2 x))
(+ y (* 2 x))
(+ y (* 2 x))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* x (+ 2 (/ y x)))
(* x (+ 2 (/ y x)))
(* x (+ 2 (/ y x)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* -1 (* x (- (* -1 (/ y x)) 2)))
(* 2 x)
(* 2 x)
(* 2 x)
(* 2 x)
Outputs
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
y
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 x #s(literal 2 binary64) y)
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 x #s(literal 2 binary64) y)
(* y (+ 1 (* 2 (/ x y))))
(fma.f64 x #s(literal 2 binary64) y)
y
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* y (- (* -2 (/ x y)) 1)))
(fma.f64 x #s(literal 2 binary64) y)
y
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(+ y (* 2 x))
(fma.f64 x #s(literal 2 binary64) y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* x (+ 2 (/ y x)))
(fma.f64 x #s(literal 2 binary64) y)
(* x (+ 2 (/ y x)))
(fma.f64 x #s(literal 2 binary64) y)
(* x (+ 2 (/ y x)))
(fma.f64 x #s(literal 2 binary64) y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 x #s(literal 2 binary64) y)
(* -1 (* x (- (* -1 (/ y x)) 2)))
(fma.f64 x #s(literal 2 binary64) y)
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))
(* 2 x)
(*.f64 x #s(literal 2 binary64))

rewrite84.0ms (3.2%)

Memory
-12.5MiB live, 64.5MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0612
0712
14112
034611
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
2 → 12
Calls
Call 1
Inputs
#s(approx (+ (+ x y) x) (+.f64 x x))
(+.f64 x x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval4.0ms (0.2%)

Memory
9.7MiB live, 9.7MiB allocated
Compiler

Compiled 256 to 42 computations (83.6% saved)

prune31.0ms (1.2%)

Memory
-35.5MiB live, 12.7MiB allocated
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New45045
Fresh000
Picked011
Done011
Total45247
Accuracy
100.0%
Counts
47 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 #s(literal 2 binary64) x y)
50.4%
#s(approx (+ (+ x y) x) (+.f64 x x))
Compiler

Compiled 25 to 18 computations (28% saved)

regimes7.0ms (0.3%)

Memory
11.0MiB live, 11.0MiB allocated
Counts
4 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ x y) x) (+.f64 x x))
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
(+.f64 (+.f64 x y) x)
(fma.f64 #s(literal 2 binary64) x y)
Outputs
(fma.f64 #s(literal 2 binary64) x y)
Calls

3 calls:

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

regimes6.0ms (0.2%)

Memory
10.3MiB live, 10.3MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ x y) x) (+.f64 x x))
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
(+.f64 (+.f64 x y) x)
Outputs
(+.f64 (+.f64 x y) x)
Calls

3 calls:

2.0ms
(+.f64 (+.f64 x y) x)
2.0ms
x
2.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 (+.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes5.0ms (0.2%)

Memory
9.9MiB live, 9.9MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (+ (+ x y) x) (+.f64 x x))
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
Outputs
#s(approx (+ (+ x y) x) (+.f64 x x))
Calls

3 calls:

2.0ms
x
2.0ms
y
2.0ms
(+.f64 (+.f64 x y) x)
Results
AccuracySegmentsBranch
50.4%1x
50.4%1y
50.4%1(+.f64 (+.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

simplify28.0ms (1%)

Memory
-20.1MiB live, 56.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11218
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 #s(literal 2 binary64) x y)
(+.f64 (+.f64 x y) x)
#s(approx (+ (+ x y) x) (+.f64 x x))
Outputs
(fma.f64 #s(literal 2 binary64) x y)
(+.f64 (+.f64 x y) x)
(+.f64 (+.f64 y x) x)
#s(approx (+ (+ x y) x) (+.f64 x x))

soundness546.0ms (20.6%)

Memory
8.6MiB live, 352.7MiB allocated
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
035162
1102162
2231162
3684162
41813162
52759162
63836162
74303162
84593162
94688162
106579162
08363144
048
068
1328
22798
346218
081147
0816
01016
14816
240415
3602915
0803315
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 29 to 23 computations (20.7% saved)

preprocess52.0ms (2%)

Memory
30.3MiB live, 146.9MiB allocated
Compiler

Compiled 46 to 34 computations (26.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...