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

Time bar (total: 2.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)

sample512.0ms (21%)

Memory
36.5MiB live, 987.9MiB allocated
Samples
304.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 146.0ms
ival-add: 136.0ms (93.3% of total)
ival-true: 6.0ms (4.1% of total)
ival-assert: 4.0ms (2.7% of total)
Bogosity

explain106.0ms (4.3%)

Memory
-24.2MiB live, 95.0MiB 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
20.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 (86.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess23.0ms (0.9%)

Memory
4.4MiB live, 41.9MiB allocated
Algorithm
egg-herbie
Rules
82×distribute-rgt-in
72×sub-neg
62×cancel-sign-sub-inv
60×associate-+l-
50×associate--r+
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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

simplify3.0ms (0.1%)

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

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x y)
cost-diff0
(+.f64 (+.f64 x y) x)
Rules
14×lower-+.f32
10×lower-+.f64
associate-+l+
lift-+.f64
lower-*.f64
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

localize16.0ms (0.7%)

Memory
-14.0MiB live, 29.6MiB allocated
Localize:

Found 2 expressions of interest:

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

Compiled 12 to 6 computations (50% saved)

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

series3.0ms (0.1%)

Memory
4.5MiB live, 4.5MiB 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
y
@inf
((+ (+ x y) x) (+ x y))
0.0ms
x
@inf
((+ (+ x y) x) (+ x y))
0.0ms
y
@0
((+ (+ x y) x) (+ x y))
0.0ms
x
@-inf
((+ (+ x y) x) (+ x y))
0.0ms
y
@-inf
((+ (+ x y) x) (+ x y))

simplify139.0ms (5.7%)

Memory
15.7MiB live, 131.1MiB allocated
Algorithm
egg-herbie
Rules
8 404×lower-fma.f64
8 404×lower-fma.f32
2 172×lower-*.f64
2 172×lower-*.f32
1 692×lower-/.f32
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)

rewrite183.0ms (7.5%)

Memory
-13.7MiB live, 262.0MiB allocated
Rules
5 968×lower-fma.f64
5 968×lower-fma.f32
4 498×lower-*.f64
4 498×lower-*.f32
2 178×lower-/.f64
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>

eval33.0ms (1.4%)

Memory
3.9MiB live, 83.4MiB allocated
Compiler

Compiled 4 545 to 615 computations (86.5% saved)

prune5.0ms (0.2%)

Memory
21.0MiB live, 21.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)
56.0%
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
Compiler

Compiled 8 to 9 computations (-12.5% saved)

simplify5.0ms (0.2%)

Memory
-27.4MiB live, 11.1MiB 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))
Rules
14×lower-+.f64
14×lower-+.f32
+-commutative
associate-+l+
lower-fma.f32
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

localize19.0ms (0.8%)

Memory
10.0MiB live, 47.9MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 #s(literal 2 binary64) x y)
accuracy0
(*.f64 #s(literal 2 binary64) x)
accuracy28.19196326450299
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
Samples
13.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 (69.9% of total)
ival-mult: 2.0ms (35% 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
8.8MiB live, 8.8MiB 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
@-inf
((+ (+ x y) x) (* 2 x) (+ (* 2 x) y))

simplify168.0ms (6.9%)

Memory
-4.4MiB live, 150.6MiB allocated
Algorithm
egg-herbie
Rules
4 188×lower-/.f32
4 188×lower-/.f64
3 666×associate-/r*
2 352×lower-fma.f64
2 352×lower-fma.f32
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)

rewrite176.0ms (7.2%)

Memory
-26.8MiB live, 269.1MiB allocated
Rules
4 950×lower-fma.f32
4 948×lower-fma.f64
4 332×lower-*.f32
4 330×lower-*.f64
2 798×lower-/.f64
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>

eval23.0ms (0.9%)

Memory
20.9MiB live, 58.7MiB allocated
Compiler

Compiled 3 495 to 443 computations (87.3% saved)

prune31.0ms (1.3%)

Memory
-19.1MiB live, 20.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)
56.0%
#s(approx (+ (+ x y) x) (+.f64 x x))
Compiler

Compiled 8 to 8 computations (0% saved)

simplify4.0ms (0.2%)

Memory
6.5MiB live, 6.5MiB 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))
Rules
14×lower-+.f32
12×lower-+.f64
associate-+l+
lower-*.f64
lower-fma.f64
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
25.7MiB live, 25.7MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x x)
accuracy28.19196326450299
#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
4.6MiB live, 4.6MiB 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
y
@inf
((+ (+ x y) x) (+ x x))
0.0ms
x
@0
((+ (+ x y) x) (+ x x))
0.0ms
y
@-inf
((+ (+ x y) x) (+ x x))

simplify197.0ms (8.1%)

Memory
4.6MiB live, 157.2MiB allocated
Algorithm
egg-herbie
Rules
4 188×lower-/.f32
4 188×lower-/.f64
3 666×associate-/r*
2 352×lower-fma.f64
2 352×lower-fma.f32
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))

rewrite61.0ms (2.5%)

Memory
-36.5MiB live, 49.8MiB allocated
Rules
148×lower-*.f64
148×lower-*.f32
146×lower-/.f64
146×lower-/.f32
136×lower-fma.f64
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
8.5MiB live, 8.5MiB allocated
Compiler

Compiled 256 to 42 computations (83.6% saved)

prune3.0ms (0.1%)

Memory
6.8MiB live, 6.8MiB 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)
56.0%
#s(approx (+ (+ x y) x) (+.f64 x x))
Compiler

Compiled 25 to 18 computations (28% saved)

regimes7.0ms (0.3%)

Memory
10.5MiB live, 10.5MiB 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
x
2.0ms
(+.f64 (+.f64 x y) x)
2.0ms
y
Results
AccuracySegmentsBranch
100.0%1x
100.0%1y
100.0%1(+.f64 (+.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

regimes48.0ms (2%)

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

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

Compiled 7 to 8 computations (-14.3% saved)

regimes5.0ms (0.2%)

Memory
14.3MiB live, 14.3MiB 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
(+.f64 (+.f64 x y) x)
2.0ms
y
1.0ms
x
Results
AccuracySegmentsBranch
56.0%1x
56.0%1y
56.0%1(+.f64 (+.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

simplify24.0ms (1%)

Memory
25.1MiB live, 61.8MiB allocated
Algorithm
egg-herbie
Rules
+-commutative-binary64-+.f64
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))

soundness575.0ms (23.6%)

Memory
-21.1MiB live, 368.0MiB allocated
Rules
8 404×lower-fma.f64
8 404×lower-fma.f32
5 968×lower-fma.f64
5 968×lower-fma.f32
4 950×lower-fma.f32
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)

preprocess42.0ms (1.7%)

Memory
15.3MiB live, 137.8MiB allocated
Compiler

Compiled 46 to 34 computations (26.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...