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

Time bar (total: 2.6s)

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)

sample853.0ms (32.4%)

Memory
-5.4MiB live, 818.7MiB allocated
Samples
643.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 146.0ms
ival-add: 138.0ms (94.3% of total)
ival-true: 5.0ms (3.4% of total)
ival-assert: 3.0ms (2.1% of total)
Bogosity

explain45.0ms (1.7%)

Memory
8.8MiB live, 129.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
17.0ms512×0valid
Compiler

Compiled 29 to 16 computations (44.8% saved)

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

preprocess22.0ms (0.8%)

Memory
9.6MiB live, 47.8MiB 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.3MiB 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
8.0MiB live, 8.0MiB 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

localize19.0ms (0.7%)

Memory
-28.6MiB live, 24.7MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x y)
accuracy0.03125
(+.f64 (+.f64 x y) x)
Samples
15.0ms256×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

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

series3.0ms (0.1%)

Memory
4.9MiB live, 4.9MiB allocated
Counts
2 → 48
Calls
Call 1
Inputs
#s(alt (+.f64 (+.f64 x y) x) (patch (+.f64 (+.f64 x y) x) #<representation binary64>) () ())
#s(alt (+.f64 x y) (patch (+.f64 x y) #<representation binary64>) () ())
Outputs
#s(alt (* 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
@0
((+ (+ x y) x) (+ x y))
0.0ms
x
@inf
((+ (+ x y) x) (+ x y))
0.0ms
x
@-inf
((+ (+ x y) x) (+ x y))
0.0ms
y
@-inf
((+ (+ x y) x) (+ x y))

simplify153.0ms (5.8%)

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

rewrite143.0ms (5.4%)

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

eval48.0ms (1.8%)

Memory
12.1MiB live, 58.6MiB allocated
Compiler

Compiled 4 545 to 615 computations (86.5% saved)

prune52.0ms (2%)

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

Compiled 8 to 9 computations (-12.5% saved)

simplify4.0ms (0.2%)

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

Memory
5.9MiB live, 44.1MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 #s(literal 2 binary64) x y)
accuracy0
(*.f64 #s(literal 2 binary64) x)
accuracy32.11503504986352
#s(approx (+ (+ x y) x) (*.f64 #s(literal 2 binary64) x))
Samples
14.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.1% of total)
ival-mult: 2.0ms (34.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.2%)

Memory
-28.6MiB live, 9.6MiB 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
y
@0
((+ (+ 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))

simplify184.0ms (7%)

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

rewrite152.0ms (5.8%)

Memory
8.9MiB live, 243.0MiB 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
-12.4MiB live, 64.7MiB allocated
Compiler

Compiled 3 495 to 443 computations (87.3% saved)

prune8.0ms (0.3%)

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

Compiled 8 to 8 computations (0% saved)

simplify4.0ms (0.1%)

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

localize14.0ms (0.5%)

Memory
-10.0MiB live, 33.0MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x x)
accuracy32.11503504986352
#s(approx (+ (+ x y) x) (+.f64 x x))
Samples
10.0ms256×0valid
Compiler

Compiled 11 to 7 computations (36.4% saved)

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

series2.0ms (0.1%)

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

simplify164.0ms (6.2%)

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

rewrite68.0ms (2.6%)

Memory
-23.2MiB live, 106.9MiB 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
13.3MiB live, 13.3MiB allocated
Compiler

Compiled 256 to 42 computations (83.6% saved)

prune3.0ms (0.1%)

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

Compiled 25 to 18 computations (28% saved)

regimes8.0ms (0.3%)

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

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

Compiled 7 to 8 computations (-14.3% saved)

regimes6.0ms (0.2%)

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

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)

regimes8.0ms (0.3%)

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

5.0ms
y
2.0ms
(+.f64 (+.f64 x y) x)
1.0ms
x
Results
AccuracySegmentsBranch
49.8%1x
49.8%1y
49.8%1(+.f64 (+.f64 x y) x)
Compiler

Compiled 7 to 8 computations (-14.3% saved)

simplify23.0ms (0.9%)

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

soundness543.0ms (20.6%)

Memory
4.0MiB live, 318.6MiB 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
0816
01016
14816
240415
3602915
0803315
048
068
1328
22798
346218
081147
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)

preprocess51.0ms (1.9%)

Memory
-9.6MiB live, 109.7MiB allocated
Compiler

Compiled 46 to 34 computations (26.1% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...