Numeric.Log:$clog1p from log-domain-0.10.2.1, B

Time bar (total: 5.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze1.0ms (0%)

Memory
2.7MiB live, 2.7MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
50%50%50%0%0%0%0%2
66.7%50%25%0%0%25%0%3
83.3%62.5%12.5%0%0%25%0%4
91.7%68.7%6.2%0%0%25%0%5
95.8%71.8%3.1%0%0%25%0%6
97.9%73.4%1.6%0%0%25%0%7
99%74.2%0.8%0%0%25%0%8
99.5%74.6%0.4%0%0%25%0%9
99.7%74.8%0.2%0%0%25%0%10
99.9%74.9%0.1%0%0%25%0%11
99.9%74.9%0%0%0%25%0%12
Compiler

Compiled 10 to 8 computations (20% saved)

sample986.0ms (19.5%)

Memory
-121.8MiB live, 1 154.0MiB allocated
Samples
535.0ms8 254×0valid
0.0ms2valid
Precisions
Click to see histograms. Total time spent on operations: 348.0ms
ival-add: 132.0ms (38% of total)
ival-sqrt: 111.0ms (31.9% of total)
ival-div: 92.0ms (26.5% of total)
ival-true: 6.0ms (1.7% of total)
exact: 4.0ms (1.2% of total)
ival-assert: 3.0ms (0.9% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain72.0ms (1.4%)

Memory
15.5MiB live, 179.8MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))
00-0-(+.f64 x #s(literal 1 binary64))
00-0-(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
00-0-#s(literal 1 binary64)
00-0-(sqrt.f64 (+.f64 x #s(literal 1 binary64)))
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
30.0ms512×0valid
Compiler

Compiled 58 to 22 computations (62.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 18.0ms
ival-add: 7.0ms (40% of total)
ival-div: 6.0ms (34.3% of total)
ival-sqrt: 4.0ms (22.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess55.0ms (1.1%)

Memory
-21.8MiB live, 27.2MiB allocated
Algorithm
egg-herbie
Rules
44×associate-*l*
42×distribute-lft-neg-in
42×times-frac
38×unsub-neg
36×sub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0821
12317
25116
311016
422116
533316
636116
737716
839016
068
0108
1148
0148
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Outputs
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
(/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
Compiler

Compiled 8 to 6 computations (25% saved)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.8%
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify4.0ms (0.1%)

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

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 x #s(literal 1 binary64))
cost-diff0
(sqrt.f64 (+.f64 x #s(literal 1 binary64)))
cost-diff0
(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))
cost-diff0
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Rules
lower-+.f32
lift-+.f64
lower-+.f64
+-commutative
lift-sqrt.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0623
01023
11423
01423
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
x
(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))
#s(literal 1 binary64)
(sqrt.f64 (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
Outputs
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
(/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
x
(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))
(+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
#s(literal 1 binary64)
(sqrt.f64 (+.f64 x #s(literal 1 binary64)))
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
(+.f64 x #s(literal 1 binary64))
(+.f64 #s(literal 1 binary64) x)

localize19.0ms (0.4%)

Memory
-4.3MiB live, 34.2MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x #s(literal 1 binary64))
accuracy0.00390625
(sqrt.f64 (+.f64 x #s(literal 1 binary64)))
accuracy0.0078125
(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))
accuracy0.13671875
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Samples
14.0ms256×0valid
Compiler

Compiled 25 to 8 computations (68% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-add: 3.0ms (47.6% of total)
ival-div: 2.0ms (31.7% of total)
ival-sqrt: 2.0ms (31.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.1%)

Memory
11.6MiB live, 11.6MiB allocated
Counts
4 → 48
Calls
Call 1
Inputs
#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())
#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())
#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())
#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt 2 (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (+ 2 (* 1/2 x)) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (+ 2 (* x (+ 1/2 (* -1/8 x)))) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (+ 2 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* 1/2 x)) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 1/2 (* -1/8 x)))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x))))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) (patch (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 (/ (+ 1 (* -1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 (/ (+ 1 (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) (patch (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 x #s(literal 1 binary64))) (patch (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 x #s(literal 1 binary64)) (patch (+.f64 x #s(literal 1 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (sqrt (+ x 1)) (+ x 1))
2.0ms
x
@inf
((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (sqrt (+ x 1)) (+ x 1))
0.0ms
x
@0
((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (sqrt (+ x 1)) (+ x 1))

simplify225.0ms (4.5%)

Memory
1.7MiB live, 280.3MiB allocated
Algorithm
egg-herbie
Rules
18 662×lower-fma.f64
18 662×lower-fma.f32
3 776×lower-*.f64
3 776×lower-*.f32
2 642×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0161600
1485505
21630483
35408474
08354430
Stop Event
iter limit
node limit
Counts
48 → 46
Calls
Call 1
Inputs
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
2
(+ 2 (* 1/2 x))
(+ 2 (* x (+ 1/2 (* -1/8 x))))
(+ 2 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))
1
(+ 1 (* 1/2 x))
(+ 1 (* x (+ 1/2 (* -1/8 x))))
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(sqrt x)
(- (sqrt x) 1)
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(sqrt x)
(* x (+ (sqrt (/ 1 x)) (/ 1 x)))
(* x (+ (sqrt (/ 1 x)) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x))))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)))))
(sqrt x)
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* -1 (sqrt x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
2
#s(literal 2 binary64)
(+ 2 (* 1/2 x))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
(+ 2 (* x (+ 1/2 (* -1/8 x))))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 2 binary64))
(+ 2 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 2 binary64))
1
#s(literal 1 binary64)
(+ 1 (* 1/2 x))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 1/2 (* -1/8 x))))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(sqrt x)
(sqrt.f64 x)
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))))
(sqrt x)
(sqrt.f64 x)
(* x (+ (sqrt (/ 1 x)) (/ 1 x)))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal 1 binary64))
(* x (+ (sqrt (/ 1 x)) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x))))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x #s(literal 1 binary64))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)))))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x #s(literal 1 binary64))
(sqrt x)
(sqrt.f64 x)
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x)
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x)
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* -1 (sqrt x))
(neg.f64 (sqrt.f64 x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(-.f64 #s(literal -1 binary64) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(-.f64 (/.f64 (+.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal -1/2 binary64))) x) x) (neg.f64 x)) (sqrt.f64 x))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* x (- (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal 1 binary64))
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(-.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal -1 binary64)))
(* -1 (* x (+ (* -1 (/ (+ 1 (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x (-.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/8 binary64) (*.f64 (sqrt.f64 x) #s(literal 1/2 binary64))) x)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x)
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))
(*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x)
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
(*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)

rewrite183.0ms (3.6%)

Memory
11.5MiB live, 242.8MiB allocated
Rules
3 950×lower-fma.f64
3 950×lower-fma.f32
3 308×lower-/.f32
3 306×lower-/.f64
2 908×lower-*.f64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0621
01021
14621
231520
3340020
0827820
Stop Event
iter limit
node limit
iter limit
Counts
4 → 474
Calls
Call 1
Inputs
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))
(sqrt.f64 (+.f64 x #s(literal 1 binary64)))
(+.f64 x #s(literal 1 binary64))
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>

eval102.0ms (2%)

Memory
-2.6MiB live, 204.0MiB allocated
Compiler

Compiled 9 770 to 2 141 computations (78.1% saved)

prune14.0ms (0.3%)

Memory
1.5MiB live, 45.2MiB allocated
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New5137520
Fresh000
Picked101
Done000
Total5147521
Accuracy
100.0%
Counts
521 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.8%
(/.f64 (*.f64 x (neg.f64 x)) (*.f64 (neg.f64 x) (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))))
35.4%
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
30.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
70.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
69.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
70.9%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
31.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
Compiler

Compiled 100 to 82 computations (18% saved)

simplify9.0ms (0.2%)

Memory
-25.1MiB live, 12.7MiB allocated
Algorithm
egg-herbie
Localize:

Found 14 expressions of interest:

NewMetricScoreProgram
cost-diff0
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
cost-diff0
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
cost-diff0
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
cost-diff0
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
cost-diff0
(sqrt.f64 x)
cost-diff0
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
cost-diff0
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
cost-diff0
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
cost-diff0
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
cost-diff0
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
cost-diff0
(sqrt.f64 x)
cost-diff0
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
cost-diff0
(*.f64 x #s(literal 1/2 binary64))
cost-diff0
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
Rules
132×lower-fma.f32
126×lower-fma.f64
70×lower-*.f32
64×lower-*.f64
64×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022122
033122
149122
268122
3103122
4137122
5140122
0140122
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
(sqrt.f64 x)
x
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
#s(literal -1/8 binary64)
x
#s(literal 1/2 binary64)
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(sqrt.f64 x)
x
#s(literal 1 binary64)
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
#s(literal 1/16 binary64)
x
#s(literal -1/8 binary64)
#s(literal 1/2 binary64)
Outputs
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 x #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) x)
x
#s(literal 1/2 binary64)
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
(sqrt.f64 x)
x
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
#s(literal -1/8 binary64)
x
#s(literal 1/2 binary64)
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(sqrt.f64 x)
x
#s(literal 1 binary64)
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
#s(literal 1/16 binary64)
x
#s(literal -1/8 binary64)
#s(literal 1/2 binary64)

localize47.0ms (0.9%)

Memory
23.8MiB live, 98.5MiB allocated
Localize:

Found 14 expressions of interest:

NewMetricScoreProgram
accuracy0
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
accuracy0
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
accuracy0.0234375
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
accuracy18.833484867636702
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
accuracy0
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
accuracy0
(sqrt.f64 x)
accuracy22.66831373105315
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
accuracy0
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
accuracy0.00390625
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
accuracy19.66135356232386
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
accuracy0
(sqrt.f64 x)
accuracy22.00799933530091
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
accuracy0
(*.f64 x #s(literal 1/2 binary64))
accuracy18.632036516832155
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
Samples
24.0ms169×0valid
11.0ms87×0invalid
Compiler

Compiled 102 to 22 computations (78.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 21.0ms
ival-mult: 8.0ms (38% of total)
ival-add: 6.0ms (28.5% of total)
ival-sqrt: 3.0ms (14.3% of total)
ival-div: 2.0ms (9.5% of total)
ival-sub: 1.0ms (4.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series17.0ms (0.3%)

Memory
-14.2MiB live, 26.5MiB allocated
Counts
13 → 156
Calls
Call 1
Inputs
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())
#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())
#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())
#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())
#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())
#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())
#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())
#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())
#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt 1/2 (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/8 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/8 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/8 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt 1/2 (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* -1/8 x)) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* x (- (* 1/16 x) 1/8))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (+ 1/2 (* x (- (* 1/16 x) 1/8))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt -1/8 (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 1/16 x) 1/8) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 1/16 x) 1/8) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (- (* 1/16 x) 1/8) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* -1/8 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1/8 x) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* 1/16 (pow x 3)) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 1/16 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/16 x) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- 1/16 (* 1/8 (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 1/2 binary64)) (patch (*.f64 x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ())
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* -1/8 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1/8 x) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- 1/8 (* 1/2 (/ 1 x))))) (taylor -inf x) (#s(alt (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) (patch (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) #<representation binary64>) () ())) ())
#s(alt (* 1/16 (pow x 3)) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (pow x 3) (- (* 1/8 (/ 1 x)) 1/16))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16))) (taylor -inf x) (#s(alt (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) (patch (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x) #<representation binary64>) () ())) ())
#s(alt (* 1/16 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- 1/16 (* 1/8 (/ 1 x)))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x)))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) (patch (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) #<representation binary64>) () ())) ())
#s(alt (* 1/16 x) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* 1/8 (/ 1 x)) 1/16))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (patch (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
9.0ms
x
@-inf
((/ x (+ 1 (sqrt (+ x 1)))) (* x 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (sqrt x) (/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* -1/8 x) 1/2) x) (+ (* -1/8 x) 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (- (sqrt x) 1) (/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* (+ (* 1/16 x) -1/8) x) 1/2) x) (+ (* (+ (* 1/16 x) -1/8) x) 1/2) (+ (* 1/16 x) -1/8))
2.0ms
x
@inf
((/ x (+ 1 (sqrt (+ x 1)))) (* x 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (sqrt x) (/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* -1/8 x) 1/2) x) (+ (* -1/8 x) 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (- (sqrt x) 1) (/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* (+ (* 1/16 x) -1/8) x) 1/2) x) (+ (* (+ (* 1/16 x) -1/8) x) 1/2) (+ (* 1/16 x) -1/8))
2.0ms
x
@0
((/ x (+ 1 (sqrt (+ x 1)))) (* x 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (sqrt x) (/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* -1/8 x) 1/2) x) (+ (* -1/8 x) 1/2) (/ x (+ 1 (sqrt (+ x 1)))) (- (sqrt x) 1) (/ x (+ 1 (sqrt (+ x 1)))) (* (+ (* (+ (* 1/16 x) -1/8) x) 1/2) x) (+ (* (+ (* 1/16 x) -1/8) x) 1/2) (+ (* 1/16 x) -1/8))

simplify179.0ms (3.5%)

Memory
35.7MiB live, 259.3MiB allocated
Algorithm
egg-herbie
Rules
22 598×lower-fma.f64
22 598×lower-fma.f32
3 778×lower-*.f64
3 778×lower-*.f32
3 642×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01271477
13751262
212581181
341331171
083631053
Stop Event
iter limit
node limit
Counts
156 → 156
Calls
Call 1
Inputs
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(sqrt x)
(sqrt x)
(sqrt x)
(sqrt x)
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* -1/8 x)))
1/2
(+ 1/2 (* -1/8 x))
(+ 1/2 (* -1/8 x))
(+ 1/2 (* -1/8 x))
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(- (sqrt x) 1)
(- (sqrt x) 1)
(- (sqrt x) 1)
(- (sqrt x) 1)
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
1/2
(+ 1/2 (* -1/8 x))
(+ 1/2 (* x (- (* 1/16 x) 1/8)))
(+ 1/2 (* x (- (* 1/16 x) 1/8)))
-1/8
(- (* 1/16 x) 1/8)
(- (* 1/16 x) 1/8)
(- (* 1/16 x) 1/8)
(sqrt x)
(- (sqrt x) 1)
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(sqrt x)
(- (sqrt x) 1)
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(sqrt x)
(sqrt x)
(sqrt x)
(sqrt x)
(sqrt x)
(- (sqrt x) 1)
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(* -1/8 (pow x 2))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* -1/8 x)
(* x (- (* 1/2 (/ 1 x)) 1/8))
(* x (- (* 1/2 (/ 1 x)) 1/8))
(* x (- (* 1/2 (/ 1 x)) 1/8))
(sqrt x)
(- (sqrt x) 1)
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(sqrt x)
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(sqrt x)
(- (sqrt x) 1)
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(* 1/16 (pow x 3))
(* (pow x 3) (- 1/16 (* 1/8 (/ 1 x))))
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(* 1/16 (pow x 2))
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x))))
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(* 1/16 x)
(* x (- 1/16 (* 1/8 (/ 1 x))))
(* x (- 1/16 (* 1/8 (/ 1 x))))
(* x (- 1/16 (* 1/8 (/ 1 x))))
(* -1 (sqrt x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* -1 (sqrt x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (sqrt x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(* -1/8 (pow x 2))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* -1/8 x)
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x)))))
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x)))))
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x)))))
(* -1 (sqrt x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(* -1 (sqrt x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(* 1/16 (pow x 3))
(* -1 (* (pow x 3) (- (* 1/8 (/ 1 x)) 1/16)))
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16)))
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16)))
(* 1/16 (pow x 2))
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x))))
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x))))
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x))))
(* 1/16 x)
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16)))
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16)))
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16)))
Outputs
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(sqrt x)
(sqrt.f64 x)
(sqrt x)
(sqrt.f64 x)
(sqrt x)
(sqrt.f64 x)
(sqrt x)
(sqrt.f64 x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* -1/8 x))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(+ 1/2 (* -1/8 x))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(+ 1/2 (* -1/8 x))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* -1/8 x))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(+ 1/2 (* x (- (* 1/16 x) 1/8)))
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
(+ 1/2 (* x (- (* 1/16 x) 1/8)))
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
-1/8
#s(literal -1/8 binary64)
(- (* 1/16 x) 1/8)
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
(- (* 1/16 x) 1/8)
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
(- (* 1/16 x) 1/8)
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
(sqrt x)
(sqrt.f64 x)
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(-.f64 (-.f64 (sqrt.f64 x) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))) (/.f64 #s(literal -1/2 binary64) x))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(sqrt x)
(sqrt.f64 x)
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(-.f64 (-.f64 (sqrt.f64 x) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))) (/.f64 #s(literal -1/2 binary64) x))
(sqrt x)
(sqrt.f64 x)
(sqrt x)
(sqrt.f64 x)
(sqrt x)
(sqrt.f64 x)
(sqrt x)
(sqrt.f64 x)
(sqrt x)
(sqrt.f64 x)
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(-.f64 (-.f64 (sqrt.f64 x) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))) (/.f64 #s(literal -1/2 binary64) x))
(* -1/8 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -1/8 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* -1/8 x)
(*.f64 #s(literal -1/8 binary64) x)
(* x (- (* 1/2 (/ 1 x)) 1/8))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(* x (- (* 1/2 (/ 1 x)) 1/8))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(* x (- (* 1/2 (/ 1 x)) 1/8))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(sqrt x)
(sqrt.f64 x)
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(-.f64 (-.f64 (sqrt.f64 x) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))) (/.f64 #s(literal -1/2 binary64) x))
(sqrt x)
(sqrt.f64 x)
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(sqrt x)
(sqrt.f64 x)
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(fma.f64 (/.f64 (/.f64 #s(literal 1/2 binary64) x) x) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(-.f64 (-.f64 (sqrt.f64 x) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))) (/.f64 #s(literal -1/2 binary64) x))
(* 1/16 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/16 binary64))
(* (pow x 3) (- 1/16 (* 1/8 (/ 1 x))))
(*.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (*.f64 x x))
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* 1/16 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/16 binary64))
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x))))
(*.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x)
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
(* 1/16 x)
(*.f64 #s(literal 1/16 binary64) x)
(* x (- 1/16 (* 1/8 (/ 1 x))))
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
(* x (- 1/16 (* 1/8 (/ 1 x))))
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
(* x (- 1/16 (* 1/8 (/ 1 x))))
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
(* -1 (sqrt x))
(neg.f64 (sqrt.f64 x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(-.f64 #s(literal -1 binary64) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(-.f64 (-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal -1/2 binary64))) x) x)) (sqrt.f64 x))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* -1 (sqrt x))
(neg.f64 (sqrt.f64 x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(-.f64 #s(literal -1 binary64) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(-.f64 (-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal -1/2 binary64))) x) x)) (sqrt.f64 x))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (sqrt x))
(neg.f64 (sqrt.f64 x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(-.f64 #s(literal -1 binary64) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(-.f64 (-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal -1/2 binary64))) x) x)) (sqrt.f64 x))
(* -1/8 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -1/8 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* -1/8 x)
(*.f64 #s(literal -1/8 binary64) x)
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x)))))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x)))))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(* -1 (* x (- 1/8 (* 1/2 (/ 1 x)))))
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
(* -1 (sqrt x))
(neg.f64 (sqrt.f64 x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(-.f64 #s(literal -1 binary64) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(-.f64 (-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal -1/2 binary64))) x) x)) (sqrt.f64 x))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(* -1 (sqrt x))
(neg.f64 (sqrt.f64 x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(-.f64 #s(literal -1 binary64) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(-.f64 (-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal -1/2 binary64))) x) x)) (sqrt.f64 x))
(* 1/16 (pow x 3))
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/16 binary64))
(* -1 (* (pow x 3) (- (* 1/8 (/ 1 x)) 1/16)))
(*.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) (*.f64 x x))
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16)))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16)))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* 1/16 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/16 binary64))
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x))))
(*.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x)
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x))))
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x))))
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
(* 1/16 x)
(*.f64 #s(literal 1/16 binary64) x)
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16)))
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16)))
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16)))
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))

rewrite199.0ms (3.9%)

Memory
-18.6MiB live, 330.4MiB allocated
Rules
8 160×lower-fma.f32
8 154×lower-fma.f64
5 282×lower-*.f32
5 276×lower-*.f64
4 152×lower-/.f64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
022108
033108
1129108
2867103
08371103
Stop Event
iter limit
node limit
iter limit
Counts
13 → 397
Calls
Call 1
Inputs
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(*.f64 x #s(literal 1/2 binary64))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
(sqrt.f64 x)
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
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>

eval114.0ms (2.3%)

Memory
10.5MiB live, 123.6MiB allocated
Compiler

Compiled 9 477 to 1 667 computations (82.4% saved)

prune22.0ms (0.4%)

Memory
9.4MiB live, 47.1MiB allocated
Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New5791580
Fresh112
Picked055
Done000
Total5807587
Accuracy
100.0%
Counts
587 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
35.4%
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
69.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
30.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
70.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
69.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
70.9%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
31.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
Compiler

Compiled 45 to 39 computations (13.3% saved)

simplify36.0ms (0.7%)

Memory
-12.3MiB live, 34.5MiB allocated
Algorithm
egg-herbie
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 #s(literal 1 binary64) x)
cost-diff0
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
cost-diff0
(-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
cost-diff128
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
cost-diff0
(*.f64 #s(literal 1/2 binary64) x)
cost-diff0
(*.f64 x x)
cost-diff0
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
cost-diff320
(fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))
Rules
472×lower-fma.f32
470×lower-fma.f64
312×lower-*.f32
308×lower-*.f64
162×associate-*r*
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01656
02456
13953
26353
38353
411653
513753
615853
717853
820853
925853
1040253
1171853
1287853
1390853
1491253
091251
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
(fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 x x)
x
#s(literal -1/8 binary64)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
(-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
#s(literal 1 binary64)
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
(+.f64 #s(literal 1 binary64) x)
x
Outputs
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
(fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(*.f64 x x)
x
#s(literal -1/8 binary64)
(*.f64 #s(literal 1/2 binary64) x)
#s(literal 1/2 binary64)
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
(-.f64 (sqrt.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))
(-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
(-.f64 #s(literal 1 binary64) (sqrt.f64 (-.f64 x #s(literal -1 binary64))))
#s(literal 1 binary64)
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
(sqrt.f64 (-.f64 x #s(literal -1 binary64)))
(+.f64 #s(literal 1 binary64) x)
(-.f64 x #s(literal -1 binary64))
x

localize63.0ms (1.2%)

Memory
22.6MiB live, 98.1MiB allocated
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 #s(literal 1 binary64) x)
accuracy0
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
accuracy0.00390625
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
accuracy41.35795819968506
(-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
accuracy0
(*.f64 x x)
accuracy0
(*.f64 #s(literal 1/2 binary64) x)
accuracy0.00390625
(fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))
accuracy19.66135356232386
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
Samples
25.0ms106×1valid
17.0ms68×2valid
10.0ms82×0valid
Compiler

Compiled 50 to 18 computations (64% saved)

Precisions
Click to see histograms. Total time spent on operations: 40.0ms
ival-add: 9.0ms (22.6% of total)
adjust: 8.0ms (20.1% of total)
ival-sub: 8.0ms (20.1% of total)
ival-sqrt: 6.0ms (15.1% of total)
ival-mult: 4.0ms (10% of total)
ival-div: 2.0ms (5% of total)
ival-neg: 2.0ms (5% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series6.0ms (0.1%)

Memory
8.6MiB live, 8.6MiB allocated
Counts
8 → 96
Calls
Call 1
Inputs
#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())
#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())
#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())
#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())
#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())
#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())
#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) 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 (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* -1/2 x) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (* 1/8 x) 1/2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (* x (+ 1/8 (* -1/16 x))) 1/2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (* x (+ 1/8 (* x (- (* 5/128 x) 1/16)))) 1/2)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* 1/2 x)) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 1/2 (* -1/8 x)))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/8 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (- (sqrt x) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x))))))) (taylor inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) 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 (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x))) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x))) (taylor inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (sqrt x)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (/ 1 x) (sqrt (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)) (sqrt (/ 1 x)))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (* 1/8 (sqrt (/ 1 (pow x 5)))) (/ 1 x)) (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1/8 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) (patch (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (sqrt x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x))) (taylor -inf x) (#s(alt #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) 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 (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) (patch (neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))) #<representation binary64>) () ())) ())
#s(alt (* (sqrt x) (pow (sqrt -1) 2)) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ (+ 1 (* 1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (- (* -1 (/ (+ 1 (* -1 (/ (- (* 1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) (patch (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((+ (* (* x x) -1/8) (* 1/2 x)) (/ x (+ 1 (sqrt (+ x 1)))) (* x x) (* 1/2 x) (neg (- 1 (sqrt (+ 1 x)))) (- 1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x))
1.0ms
x
@inf
((+ (* (* x x) -1/8) (* 1/2 x)) (/ x (+ 1 (sqrt (+ x 1)))) (* x x) (* 1/2 x) (neg (- 1 (sqrt (+ 1 x)))) (- 1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x))
1.0ms
x
@0
((+ (* (* x x) -1/8) (* 1/2 x)) (/ x (+ 1 (sqrt (+ x 1)))) (* x x) (* 1/2 x) (neg (- 1 (sqrt (+ 1 x)))) (- 1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x))

simplify248.0ms (4.9%)

Memory
-19.6MiB live, 244.5MiB allocated
Algorithm
egg-herbie
Rules
17 352×lower-fma.f64
17 352×lower-fma.f32
3 952×lower-*.f64
3 952×lower-*.f32
3 144×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0203940
1605828
22046790
36749787
08172730
Stop Event
iter limit
node limit
Counts
96 → 94
Calls
Call 1
Inputs
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* -1/8 x)))
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(* -1/2 x)
(* x (- (* 1/8 x) 1/2))
(* x (- (* x (+ 1/8 (* -1/16 x))) 1/2))
(* x (- (* x (+ 1/8 (* x (- (* 5/128 x) 1/16)))) 1/2))
1
(+ 1 (* 1/2 x))
(+ 1 (* x (+ 1/2 (* -1/8 x))))
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(* -1/8 (pow x 2))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(sqrt x)
(- (sqrt x) 1)
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(sqrt x)
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x)))
(* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x)))
(* -1 (sqrt x))
(* x (- (/ 1 x) (sqrt (/ 1 x))))
(* x (- (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)) (sqrt (/ 1 x))))
(* x (- (+ (* 1/8 (sqrt (/ 1 (pow x 5)))) (/ 1 x)) (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))))
(sqrt x)
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* -1/8 (pow x 2))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(* -1 (sqrt x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(pow x 2)
(pow x 2)
(pow x 2)
(pow x 2)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* 1/2 x)
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* (sqrt x) (pow (sqrt -1) 2))
(* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))
(* -1 (* x (- (* -1 (/ (+ 1 (* 1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* x (- (* -1 (/ (+ 1 (* -1 (/ (- (* 1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) 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)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* -1/2 x)
(*.f64 #s(literal -1/2 binary64) x)
(* x (- (* 1/8 x) 1/2))
(*.f64 (fma.f64 #s(literal 1/8 binary64) x #s(literal -1/2 binary64)) x)
(* x (- (* x (+ 1/8 (* -1/16 x))) 1/2))
(*.f64 (fma.f64 (fma.f64 #s(literal -1/16 binary64) x #s(literal 1/8 binary64)) x #s(literal -1/2 binary64)) x)
(* x (- (* x (+ 1/8 (* x (- (* 5/128 x) 1/16)))) 1/2))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 5/128 binary64) x #s(literal -1/16 binary64)) x #s(literal 1/8 binary64)) x #s(literal -1/2 binary64)) x)
1
#s(literal 1 binary64)
(+ 1 (* 1/2 x))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 1/2 (* -1/8 x))))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(* -1/8 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -1/8 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x)
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x)
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x)
(sqrt x)
(sqrt.f64 x)
(- (sqrt x) 1)
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
(- (+ (sqrt x) (* -1 (/ (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))) (pow x 2)))) 1)
(fma.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
(- (+ (sqrt x) (* 1/2 (/ 1 x))) (+ 1 (+ (* -1 (sqrt (/ 1 x))) (+ (* -1 (* (sqrt (/ 1 (pow x 5))) (+ (* -1 (sqrt (pow x 3))) (* 1/2 (sqrt (pow x 3)))))) (* 1/2 (sqrt (/ 1 x)))))))
(-.f64 (+.f64 (sqrt.f64 x) (/.f64 #s(literal 1/2 binary64) x)) (fma.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64) #s(literal 1 binary64))))
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(pow x 2)
(*.f64 x x)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(sqrt x)
(sqrt.f64 x)
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x)))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x #s(literal -1 binary64))
(* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x)))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x #s(literal -1 binary64))
(* -1 (sqrt x))
(neg.f64 (sqrt.f64 x))
(* x (- (/ 1 x) (sqrt (/ 1 x))))
(fma.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
(* x (- (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (/ 1 x)) (sqrt (/ 1 x))))
(fma.f64 (neg.f64 x) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) #s(literal 1 binary64))
(* x (- (+ (* 1/8 (sqrt (/ 1 (pow x 5)))) (/ 1 x)) (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))))
(+.f64 #s(literal 1 binary64) (*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal -1/2 binary64) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x))
(sqrt x)
(sqrt.f64 x)
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x)
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x)
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* -1/8 (pow x 2))
(*.f64 (*.f64 x x) #s(literal -1/8 binary64))
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x)
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x)
(* (pow x 2) (- (* 1/2 (/ 1 x)) 1/8))
(*.f64 (*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) x)
(* -1 (sqrt x))
(neg.f64 (sqrt.f64 x))
(+ (* -1 (sqrt x)) (/ 1 (pow (sqrt -1) 2)))
(-.f64 #s(literal -1 binary64) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (+ (* -1/2 (* (sqrt x) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt x) (/ 1 (pow (sqrt -1) 2))))) x)))
(-.f64 (/.f64 (fma.f64 (sqrt.f64 x) #s(literal 1/2 binary64) (neg.f64 x)) x) (sqrt.f64 x))
(+ (* -1 (sqrt x)) (* -1 (/ (+ (* -1 (/ x (pow (sqrt -1) 2))) (* -1 (/ (- (+ (* -1 (* (sqrt (/ 1 x)) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))))) (* 1/2 (/ x (pow (sqrt -1) 4)))) (+ (* -1/2 (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2)))) (* (sqrt (pow x 3)) (/ 1 (pow (sqrt -1) 2))))) x))) x)))
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (-.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64)) (*.f64 (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) #s(literal 1/2 binary64)) (*.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal 1/2 binary64))) x) x) x) (sqrt.f64 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)
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(*.f64 (-.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) x)) x)
(* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x (-.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/8 binary64) (*.f64 (sqrt.f64 x) #s(literal -1/2 binary64))) x) #s(literal 1 binary64)))
(* (sqrt x) (pow (sqrt -1) 2))
(neg.f64 (sqrt.f64 x))
(* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))
(fma.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
(* -1 (* x (- (* -1 (/ (+ 1 (* 1/2 (sqrt (/ 1 x)))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) #s(literal 1 binary64) (*.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))
(* -1 (* x (- (* -1 (/ (+ 1 (* -1 (/ (- (* 1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x))) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(fma.f64 (neg.f64 x) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (-.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/8 binary64) (*.f64 (sqrt.f64 x) #s(literal 1/2 binary64))) x) #s(literal -1 binary64)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x)
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))
(*.f64 (-.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/8 binary64)))) x)
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
(*.f64 (neg.f64 x) (fma.f64 (/.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/8 binary64) (-.f64 (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)

rewrite181.0ms (3.6%)

Memory
-10.1MiB live, 183.6MiB allocated
Rules
7 120×lower-fma.f32
7 118×lower-fma.f64
5 016×lower-*.f32
5 012×lower-*.f64
3 846×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01651
02451
110748
271346
0860542
Stop Event
iter limit
node limit
iter limit
Counts
8 → 513
Calls
Call 1
Inputs
(fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
(*.f64 x x)
(*.f64 #s(literal 1/2 binary64) x)
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
(-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
(+.f64 #s(literal 1 binary64) x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval80.0ms (1.6%)

Memory
25.5MiB live, 176.9MiB allocated
Compiler

Compiled 11 234 to 2 013 computations (82.1% saved)

prune15.0ms (0.3%)

Memory
-28.7MiB live, 44.9MiB allocated
Pruning

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New6061607
Fresh000
Picked112
Done055
Total6077614
Accuracy
100.0%
Counts
614 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
35.4%
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
69.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
30.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
70.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
69.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
70.9%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
31.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
Compiler

Compiled 44 to 38 computations (13.6% saved)

simplify4.0ms (0.1%)

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

Found 3 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 #s(literal 1 binary64) x)
cost-diff0
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
cost-diff0
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
Rules
lower-+.f32
lower-+.f64
+-commutative
lift-sqrt.f64
lift-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0515
0815
11415
21515
01515
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
(+.f64 #s(literal 1 binary64) x)
#s(literal 1 binary64)
x
Outputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
(-.f64 (sqrt.f64 (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64))
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
(sqrt.f64 (+.f64 x #s(literal 1 binary64)))
(+.f64 #s(literal 1 binary64) x)
(+.f64 x #s(literal 1 binary64))
#s(literal 1 binary64)
x

localize72.0ms (1.4%)

Memory
-11.2MiB live, 114.4MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 #s(literal 1 binary64) x)
accuracy0.00390625
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
accuracy41.35795819968506
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
Samples
44.0ms70×2valid
18.0ms105×1valid
3.0ms81×0valid
Compiler

Compiled 17 to 7 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 48.0ms
adjust: 39.0ms (81% of total)
ival-sqrt: 4.0ms (8.3% of total)
ival-add: 3.0ms (6.2% of total)
ival-sub: 2.0ms (4.2% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series1.0ms (0%)

Memory
4.0MiB live, 4.0MiB allocated
Counts
3 → 36
Calls
Call 1
Inputs
#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())
#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())
#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())
Outputs
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* -1/8 x))) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (taylor 0 x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* 1/2 x)) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 1/2 (* -1/8 x)))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))) (taylor 0 x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (sqrt (/ 1 x)) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))) (taylor inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt x (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) (patch (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt (* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))) (taylor -inf x) (#s(alt (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) (patch (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ())
#s(alt x (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
#s(alt (* x (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (+.f64 #s(literal 1 binary64) x) (patch (+.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ())
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
((- (sqrt (+ 1 x)) 1) (sqrt (+ 1 x)) (+ 1 x))
0.0ms
x
@inf
((- (sqrt (+ 1 x)) 1) (sqrt (+ 1 x)) (+ 1 x))
0.0ms
x
@0
((- (sqrt (+ 1 x)) 1) (sqrt (+ 1 x)) (+ 1 x))

simplify181.0ms (3.6%)

Memory
23.2MiB live, 177.9MiB allocated
Algorithm
egg-herbie
Rules
16 374×lower-fma.f64
16 374×lower-fma.f32
3 902×lower-*.f64
3 902×lower-*.f32
2 204×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0110415
1312375
2912358
32749347
46280347
08165312
Stop Event
iter limit
node limit
Counts
36 → 34
Calls
Call 1
Inputs
(* 1/2 x)
(* x (+ 1/2 (* -1/8 x)))
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
1
(+ 1 (* 1/2 x))
(+ 1 (* x (+ 1/2 (* -1/8 x))))
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
(sqrt x)
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x)))
(* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x)))
(sqrt x)
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* -1/8 x)))
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* 1/16 x) 1/8))))
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
(* x (+ 1/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8))))
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal -5/128 binary64) x #s(literal 1/16 binary64)) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
1
#s(literal 1 binary64)
(+ 1 (* 1/2 x))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64))
(+ 1 (* x (+ 1/2 (* -1/8 x))))
(fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
(+ 1 (* x (+ 1/2 (* x (- (* 1/16 x) 1/8)))))
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(sqrt x)
(sqrt.f64 x)
(* x (- (sqrt (/ 1 x)) (/ 1 x)))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(* x (- (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))) (/ 1 x)))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x #s(literal -1 binary64))
(* x (- (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))) (/ 1 x)))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x #s(literal -1 binary64))
(sqrt x)
(sqrt.f64 x)
(* x (+ (sqrt (/ 1 x)) (* 1/2 (sqrt (/ 1 (pow x 3))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x)
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* 1/2 (sqrt (/ 1 (pow x 3)))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x)
(* x (+ (sqrt (/ 1 x)) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (+ (* 1/16 (sqrt (/ 1 (pow x 7)))) (* 1/2 (sqrt (/ 1 (pow x 3))))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) #s(literal 1/16 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) #s(literal 1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* x (+ (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)) (/ 1 x))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x #s(literal -1 binary64))
(* -1 (* x (+ (* -1 (/ (- (* -1/2 (sqrt (/ 1 x))) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64)))
(* -1 (* x (+ (* -1 (/ (- (* -1 (/ (+ (* -1/8 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 2)))) (* 1/2 (sqrt x))) x)) 1) x)) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) x (-.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/8 binary64) (*.f64 #s(literal -1/2 binary64) (sqrt.f64 x))) x) #s(literal 1 binary64)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* x (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) x)
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))
(*.f64 (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) x)
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (/ 1 (pow (sqrt -1) 2)))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (/ 1 (pow (sqrt -1) 4)))) (+ (* 1/2 (sqrt (/ 1 (pow x 3)))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
(*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (fma.f64 #s(literal -1/2 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)

rewrite215.0ms (4.3%)

Memory
-6.6MiB live, 238.2MiB allocated
Rules
5 796×lower-fma.f64
5 796×lower-fma.f32
3 390×lower-*.f64
3 390×lower-*.f32
2 998×lower-pow.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0513
0813
13913
226513
3329113
0834412
Stop Event
iter limit
node limit
iter limit
Counts
3 → 428
Calls
Call 1
Inputs
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
(+.f64 #s(literal 1 binary64) x)
Outputs
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval82.0ms (1.6%)

Memory
7.9MiB live, 121.1MiB allocated
Compiler

Compiled 8 675 to 1 648 computations (81% saved)

prune103.0ms (2%)

Memory
-47.5MiB live, 26.7MiB allocated
Pruning

8 alts after pruning (1 fresh and 7 done)

PrunedKeptTotal
New4611462
Fresh000
Picked011
Done066
Total4618469
Accuracy
100.0%
Counts
469 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
35.4%
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
4.6%
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64))
69.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
30.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
70.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
69.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
70.9%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
31.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
Compiler

Compiled 125 to 80 computations (36% saved)

regimes9.0ms (0.2%)

Memory
6.4MiB live, 6.4MiB allocated
Counts
11 → 1
Calls
Call 1
Inputs
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
(/.f64 (*.f64 x (neg.f64 x)) (*.f64 (neg.f64 x) (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))))
Outputs
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Calls

2 calls:

4.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
4.0ms
x
Results
AccuracySegmentsBranch
99.8%1x
99.8%1(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes8.0ms (0.1%)

Memory
11.1MiB live, 11.1MiB allocated
Counts
9 → 2
Calls
Call 1
Inputs
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
Outputs
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x))
(-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
Calls

2 calls:

4.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
3.0ms
x
Results
AccuracySegmentsBranch
100.0%2x
100.0%2(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes6.0ms (0.1%)

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

2 calls:

3.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
3.0ms
x
Results
AccuracySegmentsBranch
99.9%2x
99.9%2(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes28.0ms (0.6%)

Memory
-27.3MiB live, 10.6MiB allocated
Counts
6 → 2
Calls
Call 1
Inputs
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
Outputs
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
Calls

2 calls:

25.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
3.0ms
x
Results
AccuracySegmentsBranch
98.9%2x
98.9%2(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes6.0ms (0.1%)

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

2 calls:

3.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
2.0ms
x
Results
AccuracySegmentsBranch
98.9%2x
98.9%2(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes5.0ms (0.1%)

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

2 calls:

2.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
2.0ms
x
Results
AccuracySegmentsBranch
98.2%2x
98.2%2(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes4.0ms (0.1%)

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

2 calls:

2.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
2.0ms
x
Results
AccuracySegmentsBranch
97.8%2x
97.8%2(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes12.0ms (0.2%)

Memory
-28.6MiB live, 6.9MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
Outputs
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
Calls

2 calls:

10.0ms
x
2.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Results
AccuracySegmentsBranch
70.9%1x
70.9%1(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

regimes3.0ms (0.1%)

Memory
9.3MiB live, 9.2MiB allocated
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
Calls
Call 1
Inputs
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64))
Outputs
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64))
Calls

2 calls:

1.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
1.0ms
x
Results
AccuracySegmentsBranch
4.6%1x
4.6%1(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Compiler

Compiled 9 to 7 computations (22.2% saved)

bsearch0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.7000240343618558e-6
4.200023016066642
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.7000240343618558e-6
4.200023016066642
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.7000240343618558e-6
4.200023016066642
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.7000240343618558e-6
4.200023016066642
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.7000240343618558e-6
4.200023016066642
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
1.7000240343618558e-6
4.200023016066642
Compiler

Compiled 11 to 10 computations (9.1% saved)

simplify52.0ms (1%)

Memory
-22.9MiB live, 64.3MiB allocated
Algorithm
egg-herbie
Rules
12×+-commutative-binary64-+.f64
*-commutative-binary64-*.f64
unsub-neg-binary64--.f64-neg.f64-+.f64
sub-neg-binary64-neg.f64-+.f64--.f64
neg-mul-1-binary64-*.f64-neg.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045248
158248
264248
367248
470248
575248
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64))
Outputs
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
(/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)) (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) (-.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64))))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)))
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64))) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)))
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 4722366482869645/2361183241434822606848 binary64)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 #s(literal 1/2 binary64) x)) #s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 #s(literal 1/2 binary64) x))
(-.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal 1 binary64))

soundness1.2s (23.6%)

Memory
32.7MiB live, 620.0MiB allocated
Rules
18 662×lower-fma.f64
18 662×lower-fma.f32
16 374×lower-fma.f64
16 374×lower-fma.f32
8 160×lower-fma.f32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01651
02451
110748
271346
0860542
0161600
1485505
21630483
35408474
08354430
022108
033108
1129108
2867103
08371103
0621
01021
14621
231520
3340020
0827820
0110415
1312375
2912358
32749347
46280347
08165312
Stop Event
fuel
iter limit
node limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
iter limit
node limit
iter limit
node limit
iter limit
Compiler

Compiled 329 to 153 computations (53.5% saved)

preprocess184.0ms (3.6%)

Memory
-9.0MiB live, 77.8MiB allocated
Compiler

Compiled 328 to 84 computations (74.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...