Data.Random.Distribution.Normal:normalTail from random-fu-0.2.6.2

Time bar (total: 2.9s)

start0.0ms (0%)

Memory
0.1MiB live, 0.0MiB allocated

analyze0.0ms (0%)

Memory
0.5MiB live, 0.5MiB 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 9 to 7 computations (22.2% saved)

sample493.0ms (17.2%)

Memory
-9.1MiB live, 1 053.0MiB allocated
Samples
304.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 150.0ms
ival-add: 78.0ms (52% of total)
ival-mult: 64.0ms (42.7% of total)
ival-true: 5.0ms (3.3% of total)
ival-assert: 3.0ms (2% of total)
Bogosity

explain66.0ms (2.3%)

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

Compiled 45 to 19 computations (57.8% saved)

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

preprocess30.0ms (1.1%)

Memory
-20.5MiB live, 61.5MiB allocated
Algorithm
egg-herbie
Rules
118×sub-neg
108×unsub-neg
72×associate-+l-
64×distribute-rgt-in
58×associate--r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01537
15036
215135
335835
452935
566335
668735
057
087
1127
2157
3167
0166
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x x) y) y)
Outputs
(+.f64 (+.f64 (*.f64 x x) y) y)
(fma.f64 #s(literal 2 binary64) y (*.f64 x x))
Symmetry

(abs x)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 7 to 5 computations (28.6% saved)

simplify3.0ms (0.1%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff-128
(+.f64 (+.f64 (*.f64 x x) y) y)
cost-diff0
(*.f64 x x)
cost-diff128
(+.f64 (*.f64 x x) y)
Rules
14×lower-+.f32
10×lower-+.f64
lower-fma.f64
lower-fma.f32
lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0517
0817
11217
21517
31617
01615
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(+.f64 (+.f64 (*.f64 x x) y) y)
(+.f64 (*.f64 x x) y)
(*.f64 x x)
x
y
Outputs
(+.f64 (+.f64 (*.f64 x x) y) y)
(fma.f64 #s(literal 2 binary64) y (*.f64 x x))
(+.f64 (*.f64 x x) y)
(fma.f64 x x y)
(*.f64 x x)
x
y

localize15.0ms (0.5%)

Memory
-1.5MiB live, 37.5MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(*.f64 x x)
accuracy0.00390625
(+.f64 (+.f64 (*.f64 x x) y) y)
accuracy0.00390625
(+.f64 (*.f64 x x) y)
Samples
11.0ms256×0valid
Compiler

Compiled 19 to 7 computations (63.2% saved)

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

series4.0ms (0.1%)

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

6 calls:

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

simplify107.0ms (3.7%)

Memory
-37.6MiB live, 129.3MiB allocated
Algorithm
egg-herbie
Rules
4 690×lower-fma.f64
4 690×lower-fma.f32
3 340×lower-*.f64
3 340×lower-*.f32
1 326×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027282
180282
2193282
3649282
41930282
53616282
66722282
08178246
Stop Event
iter limit
node limit
Counts
60 → 57
Calls
Call 1
Inputs
(pow x 2)
(+ y (pow x 2))
(+ y (pow x 2))
(+ y (pow x 2))
(pow x 2)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
y
(* y (+ 1 (/ (pow x 2) y)))
(* y (+ 1 (/ (pow x 2) y)))
(* y (+ 1 (/ (pow x 2) y)))
(* 2 y)
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
y
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(* 2 y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
y
(+ y (pow x 2))
(+ y (pow x 2))
(+ y (pow x 2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 2 y)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(pow x 2)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
Outputs
(pow x 2)
(*.f64 x x)
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
y
(* y (+ 1 (/ (pow x 2) y)))
(fma.f64 x x y)
(* y (+ 1 (/ (pow x 2) y)))
(fma.f64 x x y)
(* y (+ 1 (/ (pow x 2) y)))
(fma.f64 x x y)
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
y
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(fma.f64 x x y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(fma.f64 x x y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(fma.f64 x x y)
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
y
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))

rewrite249.0ms (8.7%)

Memory
8.7MiB live, 204.9MiB allocated
Rules
7 306×lower-fma.f64
7 306×lower-fma.f32
4 782×lower-*.f32
4 780×lower-*.f64
2 300×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
13715
231615
3498715
0810313
Stop Event
iter limit
node limit
iter limit
Counts
3 → 251
Calls
Call 1
Inputs
(+.f64 (*.f64 x x) y)
(*.f64 x x)
(+.f64 (+.f64 (*.f64 x x) y) y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval37.0ms (1.3%)

Memory
-11.8MiB live, 72.0MiB allocated
Compiler

Compiled 5 874 to 711 computations (87.9% saved)

prune7.0ms (0.3%)

Memory
22.5MiB live, 22.5MiB allocated
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3035308
Fresh000
Picked101
Done000
Total3045309
Accuracy
100.0%
Counts
309 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x (*.f64 #s(literal 2 binary64) y))
100.0%
(+.f64 (fma.f64 x x y) y)
59.6%
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)
49.6%
#s(approx (+ (+ (* x x) y) y) (*.f64 y #s(literal 2 binary64)))
52.2%
#s(approx (+ (+ (* x x) y) y) (*.f64 x x))
Compiler

Compiled 52 to 46 computations (11.5% saved)

simplify5.0ms (0.2%)

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

Found 11 expressions of interest:

NewMetricScoreProgram
cost-diff-128
(+.f64 (fma.f64 x x y) y)
cost-diff0
(fma.f64 x x y)
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (+ (* x x) y) (*.f64 x x))
cost-diff0
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)
cost-diff0
(*.f64 y #s(literal 2 binary64))
cost-diff0
#s(approx (+ (+ (* x x) y) y) (*.f64 y #s(literal 2 binary64)))
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (+ (+ (* x x) y) y) (*.f64 x x))
cost-diff0
(*.f64 #s(literal 2 binary64) y)
cost-diff0
(fma.f64 x x (*.f64 #s(literal 2 binary64) y))
Rules
18×lower-+.f32
14×lower-+.f64
lower-fma.f32
+-commutative
lift-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01676
02376
13076
23076
03076
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(fma.f64 x x (*.f64 #s(literal 2 binary64) y))
x
(*.f64 #s(literal 2 binary64) y)
#s(literal 2 binary64)
y
#s(approx (+ (+ (* x x) y) y) (*.f64 x x))
(*.f64 x x)
x
#s(approx (+ (+ (* x x) y) y) (*.f64 y #s(literal 2 binary64)))
(*.f64 y #s(literal 2 binary64))
y
#s(literal 2 binary64)
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)
#s(approx (+ (* x x) y) (*.f64 x x))
(*.f64 x x)
x
y
(+.f64 (fma.f64 x x y) y)
(fma.f64 x x y)
x
y
Outputs
(fma.f64 x x (*.f64 #s(literal 2 binary64) y))
(fma.f64 x x (*.f64 y #s(literal 2 binary64)))
x
(*.f64 #s(literal 2 binary64) y)
(*.f64 y #s(literal 2 binary64))
#s(literal 2 binary64)
y
#s(approx (+ (+ (* x x) y) y) (*.f64 x x))
(*.f64 x x)
x
#s(approx (+ (+ (* x x) y) y) (*.f64 y #s(literal 2 binary64)))
(*.f64 y #s(literal 2 binary64))
y
#s(literal 2 binary64)
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)
#s(approx (+ (* x x) y) (*.f64 x x))
(*.f64 x x)
x
y
(+.f64 (fma.f64 x x y) y)
(fma.f64 x x (*.f64 y #s(literal 2 binary64)))
(fma.f64 x x y)
x
y

localize50.0ms (1.7%)

Memory
-21.9MiB live, 54.4MiB allocated
Localize:

Found 11 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 x x y)
accuracy0.00390625
(+.f64 (fma.f64 x x y) y)
accuracy0
(*.f64 x x)
accuracy0.00390625
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)
accuracy30.598073442205408
#s(approx (+ (* x x) y) (*.f64 x x))
accuracy0
(*.f64 y #s(literal 2 binary64))
accuracy32.250534727900884
#s(approx (+ (+ (* x x) y) y) (*.f64 y #s(literal 2 binary64)))
accuracy0
(*.f64 x x)
accuracy30.61959930209789
#s(approx (+ (+ (* x x) y) y) (*.f64 x x))
accuracy0
(fma.f64 x x (*.f64 #s(literal 2 binary64) y))
accuracy0
(*.f64 #s(literal 2 binary64) y)
Samples
40.0ms256×0valid
Compiler

Compiled 69 to 11 computations (84.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 8.0ms
ival-mult: 5.0ms (59.3% of total)
ival-add: 3.0ms (35.6% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.2%)

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

6 calls:

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

simplify155.0ms (5.4%)

Memory
16.3MiB live, 137.1MiB allocated
Algorithm
egg-herbie
Rules
4 690×lower-fma.f64
4 690×lower-fma.f32
3 340×lower-*.f64
3 340×lower-*.f32
1 326×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0271032
1801032
21931032
36511032
419231032
536311032
667291032
08179906
Stop Event
iter limit
node limit
Counts
204 → 198
Calls
Call 1
Inputs
(pow x 2)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(pow x 2)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(pow x 2)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(pow x 2)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(pow x 2)
(+ y (pow x 2))
(+ y (pow x 2))
(+ y (pow x 2))
(pow x 2)
(+ y (pow x 2))
(+ y (pow x 2))
(+ y (pow x 2))
(pow x 2)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(* 2 y)
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* 2 y)
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
y
(* y (+ 1 (/ (pow x 2) y)))
(* y (+ 1 (/ (pow x 2) y)))
(* y (+ 1 (/ (pow x 2) y)))
y
(* y (+ 1 (/ (pow x 2) y)))
(* y (+ 1 (/ (pow x 2) y)))
(* y (+ 1 (/ (pow x 2) y)))
(* 2 y)
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* 2 y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* 2 y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
y
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
y
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(* 2 y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* 2 y)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(* 2 y)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 2 y)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(* 2 y)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
y
(+ y (pow x 2))
(+ y (pow x 2))
(+ y (pow x 2))
y
(+ y (pow x 2))
(+ y (pow x 2))
(+ y (pow x 2))
(* 2 y)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
Outputs
(pow x 2)
(*.f64 x x)
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
y
(* y (+ 1 (/ (pow x 2) y)))
(fma.f64 x x y)
(* y (+ 1 (/ (pow x 2) y)))
(fma.f64 x x y)
(* y (+ 1 (/ (pow x 2) y)))
(fma.f64 x x y)
y
(* y (+ 1 (/ (pow x 2) y)))
(fma.f64 x x y)
(* y (+ 1 (/ (pow x 2) y)))
(fma.f64 x x y)
(* y (+ 1 (/ (pow x 2) y)))
(fma.f64 x x y)
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
y
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(fma.f64 x x y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(fma.f64 x x y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(fma.f64 x x y)
y
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(fma.f64 x x y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(fma.f64 x x y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 1)))
(fma.f64 x x y)
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
y
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
y
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(+ y (pow x 2))
(fma.f64 x x y)
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(* (pow x 2) (+ 1 (/ y (pow x 2))))
(fma.f64 x x y)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))

rewrite239.0ms (8.3%)

Memory
-26.7MiB live, 268.2MiB allocated
Rules
9 020×lower-fma.f32
9 016×lower-fma.f64
4 666×lower-*.f32
4 660×lower-*.f64
3 510×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01663
02363
17463
256663
0815663
Stop Event
iter limit
node limit
iter limit
Counts
10 → 850
Calls
Call 1
Inputs
(fma.f64 x x (*.f64 #s(literal 2 binary64) y))
(*.f64 #s(literal 2 binary64) y)
#s(approx (+ (+ (* x x) y) y) (*.f64 x x))
(*.f64 x x)
#s(approx (+ (+ (* x x) y) y) (*.f64 y #s(literal 2 binary64)))
(*.f64 y #s(literal 2 binary64))
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)
#s(approx (+ (* x x) y) (*.f64 x x))
(fma.f64 x x y)
(+.f64 (fma.f64 x x y) y)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval128.0ms (4.5%)

Memory
11.6MiB live, 230.4MiB allocated
Compiler

Compiled 16 016 to 1 351 computations (91.6% saved)

prune21.0ms (0.7%)

Memory
26.8MiB live, 64.2MiB allocated
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1 06421 066
Fresh000
Picked325
Done000
Total1 06741 071
Accuracy
100.0%
Counts
1 071 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x (+.f64 y y))
59.6%
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)
49.6%
#s(approx (+ (+ (* x x) y) y) (+.f64 y y))
52.2%
#s(approx (+ (+ (* x x) y) y) (*.f64 x x))
Compiler

Compiled 20 to 17 computations (15% saved)

simplify10.0ms (0.3%)

Memory
-40.7MiB live, 12.4MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff-128
(+.f64 y y)
cost-diff0
(fma.f64 x x (+.f64 y y))
cost-diff-128
(+.f64 y y)
cost-diff0
#s(approx (+ (+ (* x x) y) y) (+.f64 y y))
Rules
14×lower-+.f32
12×lower-+.f64
lower-fma.f32
lower-*.f64
lower-fma.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0826
01025
11525
21625
01625
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (+ (+ (* x x) y) y) (+.f64 y y))
(+.f64 y y)
y
(fma.f64 x x (+.f64 y y))
x
(+.f64 y y)
y
Outputs
#s(approx (+ (+ (* x x) y) y) (+.f64 y y))
#s(approx (+ (+ (* x x) y) y) (*.f64 #s(literal 2 binary64) y))
(+.f64 y y)
(*.f64 #s(literal 2 binary64) y)
y
(fma.f64 x x (+.f64 y y))
(fma.f64 #s(literal 2 binary64) y (*.f64 x x))
x
(+.f64 y y)
(*.f64 #s(literal 2 binary64) y)
y

localize19.0ms (0.7%)

Memory
20.2MiB live, 59.0MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 x x (+.f64 y y))
accuracy0
(+.f64 y y)
accuracy0
(+.f64 y y)
accuracy32.250534727900884
#s(approx (+ (+ (* x x) y) y) (+.f64 y y))
Samples
14.0ms256×0valid
Compiler

Compiled 25 to 9 computations (64% saved)

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

series3.0ms (0.1%)

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

6 calls:

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

simplify94.0ms (3.3%)

Memory
0.2MiB live, 75.4MiB allocated
Algorithm
egg-herbie
Rules
3 234×lower-fma.f64
3 234×lower-fma.f32
3 064×lower-*.f64
3 064×lower-*.f32
1 974×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019324
153324
2130324
3426324
41329324
53258324
66178324
08055288
Stop Event
iter limit
node limit
Counts
60 → 60
Calls
Call 1
Inputs
(pow x 2)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(pow x 2)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(* 2 y)
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* y (+ 2 (/ (pow x 2) y)))
(* 2 y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* 2 y)
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(* 2 y)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(* 2 y)
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(+ (* 2 y) (pow x 2))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(pow x 2)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
Outputs
(pow x 2)
(*.f64 x x)
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(pow x 2)
(*.f64 x x)
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* y (+ 2 (/ (pow x 2) y)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* -1 (* y (- (* -1 (/ (pow x 2) y)) 2)))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* 2 y)
(*.f64 y #s(literal 2 binary64))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(+ (* 2 y) (pow x 2))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))
(* (pow x 2) (+ 1 (* 2 (/ y (pow x 2)))))
(fma.f64 y #s(literal 2 binary64) (*.f64 x x))

rewrite68.0ms (2.4%)

Memory
-9.8MiB live, 41.9MiB allocated
Rules
392×lower-fma.f32
390×lower-fma.f64
248×lower-*.f64
248×lower-*.f32
212×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0820
01019
15519
054919
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
3 → 72
Calls
Call 1
Inputs
#s(approx (+ (+ (* x x) y) y) (+.f64 y y))
(+.f64 y y)
(fma.f64 x x (+.f64 y 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>

eval21.0ms (0.7%)

Memory
-4.9MiB live, 32.0MiB allocated
Compiler

Compiled 1 747 to 232 computations (86.7% saved)

prune5.0ms (0.2%)

Memory
14.9MiB live, 14.9MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1750175
Fresh000
Picked022
Done022
Total1754179
Accuracy
100.0%
Counts
179 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(fma.f64 x x (+.f64 y y))
59.6%
(+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y)
49.6%
#s(approx (+ (+ (* x x) y) y) (+.f64 y y))
52.2%
#s(approx (+ (+ (* x x) y) y) (*.f64 x x))
Compiler

Compiled 63 to 35 computations (44.4% saved)

regimes15.0ms (0.5%)

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

4 calls:

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

Compiled 12 to 12 computations (0% saved)

regimes14.0ms (0.5%)

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

4 calls:

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

Compiled 12 to 12 computations (0% saved)

regimes9.0ms (0.3%)

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

4 calls:

2.0ms
y
2.0ms
(+.f64 (+.f64 (*.f64 x x) y) y)
2.0ms
x
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
88.7%2x
69.0%3y
84.1%2(+.f64 (+.f64 (*.f64 x x) y) y)
88.7%2(*.f64 x x)
Compiler

Compiled 12 to 12 computations (0% saved)

regimes4.0ms (0.1%)

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

2 calls:

2.0ms
x
2.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
87.2%2x
87.2%2(*.f64 x x)
Compiler

Compiled 4 to 5 computations (-25% saved)

regimes5.0ms (0.2%)

Memory
9.2MiB live, 9.2MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

4 calls:

1.0ms
y
1.0ms
x
1.0ms
(+.f64 (+.f64 (*.f64 x x) y) y)
1.0ms
(*.f64 x x)
Results
AccuracySegmentsBranch
49.6%1y
49.6%1(+.f64 (+.f64 (*.f64 x x) y) y)
49.6%1x
49.6%1(*.f64 x x)
Compiler

Compiled 12 to 12 computations (0% saved)

bsearch28.0ms (1%)

Memory
-31.9MiB live, 11.7MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
27.0ms
1.0160866268597826e-68
2.7976897190024486e-62
Samples
22.0ms144×0valid
Compiler

Compiled 82 to 100 computations (-22% saved)

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

bsearch7.0ms (0.2%)

Memory
7.2MiB live, 7.2MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
6.0ms
1.0160866268597826e-68
2.7976897190024486e-62
Samples
3.0ms96×0valid
Compiler

Compiled 64 to 91 computations (-42.2% saved)

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

simplify42.0ms (1.5%)

Memory
-1.9MiB live, 36.2MiB allocated
Algorithm
egg-herbie
Rules
+-commutative-binary64-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02079
12279
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 x x (+.f64 y y))
(+.f64 (fma.f64 x x y) y)
(if (<=.f64 (*.f64 x x) #s(literal 2466278867083445/948568795032094272909893509191171341133987714380927500611236528192824358010355712 binary64)) #s(approx (+ (+ (* x x) y) y) (+.f64 y y)) (+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y))
(if (<=.f64 (*.f64 x x) #s(literal 3912846279507389/237142198758023568227473377297792835283496928595231875152809132048206089502588928 binary64)) #s(approx (+ (+ (* x x) y) y) (+.f64 y y)) #s(approx (+ (+ (* x x) y) y) (*.f64 x x)))
#s(approx (+ (+ (* x x) y) y) (+.f64 y y))
Outputs
(fma.f64 x x (+.f64 y y))
(+.f64 (fma.f64 x x y) y)
(if (<=.f64 (*.f64 x x) #s(literal 2466278867083445/948568795032094272909893509191171341133987714380927500611236528192824358010355712 binary64)) #s(approx (+ (+ (* x x) y) y) (+.f64 y y)) (+.f64 #s(approx (+ (* x x) y) (*.f64 x x)) y))
(if (<=.f64 (*.f64 x x) #s(literal 3912846279507389/237142198758023568227473377297792835283496928595231875152809132048206089502588928 binary64)) #s(approx (+ (+ (* x x) y) y) (+.f64 y y)) #s(approx (+ (+ (* x x) y) y) (*.f64 x x)))
#s(approx (+ (+ (* x x) y) y) (+.f64 y y))

soundness598.0ms (20.8%)

Memory
16.1MiB live, 404.7MiB allocated
Rules
9 020×lower-fma.f32
9 016×lower-fma.f64
7 306×lower-fma.f64
7 306×lower-fma.f32
4 782×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
027282
180282
2193282
3649282
41930282
53616282
66722282
08178246
01663
02363
17463
256663
0815663
0515
0815
13715
231615
3498715
0810313
Stop Event
done
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
Compiler

Compiled 113 to 73 computations (35.4% saved)

preprocess312.0ms (10.9%)

Memory
3.9MiB live, 134.1MiB allocated
Remove

(abs x)

Compiler

Compiled 132 to 62 computations (53% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...