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

Time bar (total: 4.8s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze1.0ms (0%)

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

sample743.0ms (15.4%)

Memory
9.8MiB live, 1 440.8MiB allocated
Samples
446.0ms8 255×0valid
0.0ms2valid
0.0ms0invalid
Precisions
Click to see histograms. Total time spent on operations: 263.0ms
ival-sqrt: 107.0ms (40.7% of total)
ival-add: 87.0ms (33.1% of total)
ival-div: 56.0ms (21.3% of total)
ival-true: 6.0ms (2.3% of total)
exact: 4.0ms (1.5% of total)
ival-assert: 3.0ms (1.1% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain93.0ms (1.9%)

Memory
7.7MiB live, 209.2MiB 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
48.0ms512×0valid
Compiler

Compiled 58 to 22 computations (62.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 36.0ms
ival-add: 28.0ms (77.5% of total)
ival-sqrt: 4.0ms (11.1% of total)
ival-div: 3.0ms (8.3% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess33.0ms (0.7%)

Memory
-1.6MiB live, 40.5MiB 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.4MiB live, 0.4MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 8 to 6 computations (25% saved)

simplify3.0ms (0.1%)

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

localize20.0ms (0.4%)

Memory
13.8MiB live, 51.5MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 x #s(literal 1 binary64))
accuracy0.0078125
(+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))
accuracy0.015625
(sqrt.f64 (+.f64 x #s(literal 1 binary64)))
accuracy0.1796875
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Samples
15.0ms256×0valid
Compiler

Compiled 25 to 8 computations (68% saved)

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

series7.0ms (0.1%)

Memory
-22.0MiB live, 16.8MiB 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
@0
((/ 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))

simplify171.0ms (3.5%)

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

rewrite174.0ms (3.6%)

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

eval114.0ms (2.4%)

Memory
6.9MiB live, 167.9MiB allocated
Compiler

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

prune17.0ms (0.3%)

Memory
-33.7MiB live, 45.0MiB allocated
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New5137520
Fresh000
Picked011
Done000
Total5138521
Accuracy
100.0%
Counts
521 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
69.7%
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
37.8%
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
32.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
69.1%
#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))
67.7%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
68.8%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
33.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
Compiler

Compiled 94 to 82 computations (12.8% saved)

simplify5.0ms (0.1%)

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

Found 13 expressions of interest:

NewMetricScoreProgram
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)))
cost-diff0
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
cost-diff0
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))
cost-diff0
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
Rules
24×lower-+.f64
24×lower-+.f32
22×lower-*.f32
20×lower-fma.f32
18×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021111
029111
141111
248111
351111
051111
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
x
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#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)
Outputs
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 #s(literal 1/2 binary64) x #s(literal 2 binary64))))
x
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 #s(literal 1/2 binary64) x #s(literal 2 binary64)))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
(fma.f64 #s(literal 1/2 binary64) x #s(literal 2 binary64))
#s(literal 1/2 binary64)
#s(literal 2 binary64)
#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)

localize45.0ms (0.9%)

Memory
2.9MiB live, 80.9MiB allocated
Localize:

Found 13 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 (sqrt.f64 x) #s(literal 1 binary64))
accuracy0
(sqrt.f64 x)
accuracy17.66132146643238
#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.0078125
(*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x)
accuracy20.456054548508178
#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)
accuracy17.18322418989367
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
accuracy0
(*.f64 x #s(literal 1/2 binary64))
accuracy19.585525105387877
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
accuracy0
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
accuracy0.17578125
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
accuracy19.204855215684645
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))
Samples
16.0ms154×0valid
12.0ms102×0invalid
Compiler

Compiled 87 to 18 computations (79.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-add: 5.0ms (29.4% of total)
ival-mult: 4.0ms (23.5% of total)
ival-sqrt: 4.0ms (23.5% of total)
ival-div: 2.0ms (11.8% of total)
ival-sub: 1.0ms (5.9% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series9.0ms (0.2%)

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

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (+ (* x 1/2) 2) (/ 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))
1.0ms
x
@inf
((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (+ (* x 1/2) 2) (/ 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))
1.0ms
x
@0
((/ x (+ 1 (sqrt (+ x 1)))) (+ 1 (sqrt (+ x 1))) (+ (* x 1/2) 2) (/ 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))

simplify220.0ms (4.6%)

Memory
3.7MiB live, 277.1MiB allocated
Algorithm
egg-herbie
Rules
23 318×lower-fma.f64
23 318×lower-fma.f32
3 980×lower-*.f64
3 980×lower-*.f32
3 700×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01411447
14201208
213711125
340991101
086721002
Stop Event
iter limit
node limit
Counts
144 → 144
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)))))
2
(+ 2 (* 1/2 x))
(+ 2 (* 1/2 x))
(+ 2 (* 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)
(* 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)
(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)))))
(* 1/2 x)
(* x (+ 1/2 (* 2 (/ 1 x))))
(* x (+ 1/2 (* 2 (/ 1 x))))
(* x (+ 1/2 (* 2 (/ 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/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)))
(* -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/2 x)
(* x (+ 1/2 (* 2 (/ 1 x))))
(* x (+ 1/2 (* 2 (/ 1 x))))
(* x (+ 1/2 (* 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/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))))
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))
2
#s(literal 2 binary64)
(+ 2 (* 1/2 x))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
(+ 2 (* 1/2 x))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
(+ 2 (* 1/2 x))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 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 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))
(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)))))))
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 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 3 binary64)))) #s(literal 1/2 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 #s(literal 1 binary64))
(* 1/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
(* x (+ 1/2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
(* x (+ 1/2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 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)))))))
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) #s(literal 1 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))
(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)))))))
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) #s(literal 1 binary64)))
(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)))))))
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 x)) #s(literal 1 binary64)))
(* -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)))))))
(fma.f64 #s(literal -1/2 binary64) (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (neg.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (-.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (sqrt.f64 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 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))
(* -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 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 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))
(* -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/2 x)
(*.f64 x #s(literal 1/2 binary64))
(* x (+ 1/2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
(* x (+ 1/2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
(* x (+ 1/2 (* 2 (/ 1 x))))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 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 (-.f64 (/.f64 (fma.f64 (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/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))
(* 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 (-.f64 (/.f64 (fma.f64 (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/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))
(* -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 (-.f64 (/.f64 (fma.f64 (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/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))
(* -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 (-.f64 (/.f64 (fma.f64 (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/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))
(* -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))

rewrite172.0ms (3.6%)

Memory
21.2MiB live, 208.9MiB allocated
Rules
8 384×lower-fma.f32
8 380×lower-fma.f64
4 582×lower-*.f32
4 578×lower-*.f64
3 514×lower-/.f32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02198
02998
111798
276194
3753294
0827594
Stop Event
iter limit
node limit
iter limit
Counts
12 → 387
Calls
Call 1
Inputs
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
#s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64)))
(fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))
#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))
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>

eval89.0ms (1.9%)

Memory
-0.0MiB live, 152.6MiB allocated
Compiler

Compiled 7 890 to 1 506 computations (80.9% saved)

prune63.0ms (1.3%)

Memory
-42.6MiB live, 97.8MiB allocated
Pruning

9 alts after pruning (3 fresh and 6 done)

PrunedKeptTotal
New5631564
Fresh022
Picked055
Done011
Total5639572
Accuracy
100.0%
Counts
572 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
69.7%
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
37.8%
(neg.f64 (-.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
67.7%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
32.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
69.1%
#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))
67.7%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
68.8%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
33.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
Compiler

Compiled 60 to 51 computations (15% saved)

simplify85.0ms (1.8%)

Memory
19.4MiB live, 93.6MiB allocated
Algorithm
egg-herbie
Localize:

Found 12 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))
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))
Rules
1 608×lower-fma.f32
1 602×lower-fma.f64
680×lower-*.f32
674×lower-*.f64
416×distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02198
03498
15495
29295
314195
420895
523095
625195
727195
830195
936195
1061495
11154395
12205895
13276595
14276995
15276995
16277095
0277093
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#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)
#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)))) (*.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)
#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

localize186.0ms (3.9%)

Memory
-10.5MiB live, 187.1MiB allocated
Localize:

Found 12 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.015625
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
accuracy39.79578374849219
(-.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))
accuracy20.640431429107906
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
accuracy0
(fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64))
accuracy0.00390625
(fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64))
accuracy0.05078125
(*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) x #s(literal -1/8 binary64)) x #s(literal 1/2 binary64)) x)
accuracy19.766786553519292
#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))
Samples
28.0ms98×1valid
26.0ms69×2valid
15.0ms89×0valid
Compiler

Compiled 87 to 24 computations (72.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 51.0ms
ival-mult: 13.0ms (25.6% of total)
adjust: 12.0ms (23.6% of total)
ival-add: 12.0ms (23.6% of total)
ival-sqrt: 6.0ms (11.8% of total)
ival-div: 2.0ms (3.9% of total)
ival-sub: 2.0ms (3.9% of total)
ival-neg: 2.0ms (3.9% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series10.0ms (0.2%)

Memory
12.4MiB live, 12.4MiB allocated
Counts
12 → 144
Calls
Call 1
Inputs
#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>) () ())
#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 #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 (* 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 (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/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 (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>) () ())) ())
#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
2.0ms
x
@-inf
((/ 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) (+ (* (* 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))
2.0ms
x
@0
((/ 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) (+ (* (* 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))
2.0ms
x
@inf
((/ 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) (+ (* (* 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))

simplify198.0ms (4.1%)

Memory
19.2MiB live, 170.5MiB allocated
Algorithm
egg-herbie
Rules
11 834×lower-fma.f64
11 834×lower-fma.f32
3 516×lower-+.f64
3 516×lower-+.f32
3 088×lower--.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02301429
16901258
223411208
365381199
083671122
Stop Event
iter limit
node limit
Counts
144 → 142
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)
(* 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)
(* 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)
(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/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 (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)))
(* -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 (* 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))
(* 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)
(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 (/.f64 #s(literal 1/2 binary64) 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))))
(* 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 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* (pow x 3) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* 1/16 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/16 binary64))
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x))))
(*.f64 (*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) x)
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (*.f64 x x))
(* (pow x 2) (- (+ 1/16 (/ 1/2 (pow x 2))) (* 1/8 (/ 1 x))))
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (*.f64 x x))
(* 1/16 x)
(*.f64 #s(literal 1/16 binary64) x)
(* x (- 1/16 (* 1/8 (/ 1 x))))
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x)
(* x (- 1/16 (* 1/8 (/ 1 x))))
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x)
(* x (- 1/16 (* 1/8 (/ 1 x))))
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) 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 (/.f64 #s(literal 1/2 binary64) 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 (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 #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 (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))
(* 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 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) (pow.f64 x #s(literal 3 binary64)))
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16)))
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* -1 (* (pow x 3) (- (* -1 (/ (- (* 1/2 (/ 1 x)) 1/8) x)) 1/16)))
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (pow.f64 x #s(literal 3 binary64)))
(* 1/16 (pow x 2))
(*.f64 (*.f64 x x) #s(literal 1/16 binary64))
(* (pow x 2) (- 1/16 (* 1/8 (/ 1 x))))
(*.f64 (*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x) x)
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x))))
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (*.f64 x x))
(* (pow x 2) (+ 1/16 (* -1 (/ (- 1/8 (* 1/2 (/ 1 x))) x))))
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/16 binary64)) (*.f64 x x))
(* 1/16 x)
(*.f64 #s(literal 1/16 binary64) x)
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16)))
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x)
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16)))
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) x)
(* -1 (* x (- (* 1/8 (/ 1 x)) 1/16)))
(*.f64 (-.f64 #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) x)) 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)))))
(fma.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64) #s(literal -1 binary64)) x) x (*.f64 (sqrt.f64 (/.f64 #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)))))
(*.f64 (-.f64 (/.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 1/2 binary64) #s(literal 1 binary64)) x) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) 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 (-.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))) (fma.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 4 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 7 binary64)))) (*.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/8 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)

rewrite199.0ms (4.1%)

Memory
-38.0MiB live, 257.2MiB allocated
Rules
5 516×lower-fma.f32
5 510×lower-fma.f64
4 498×lower-*.f32
4 492×lower-*.f64
4 226×lower-/.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02189
03489
115086
2100186
0860184
Stop Event
iter limit
node limit
iter limit
Counts
12 → 423
Calls
Call 1
Inputs
#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))
(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>

eval72.0ms (1.5%)

Memory
43.2MiB live, 153.4MiB allocated
Compiler

Compiled 11 320 to 2 086 computations (81.6% saved)

prune17.0ms (0.3%)

Memory
0.1MiB live, 41.9MiB allocated
Pruning

9 alts after pruning (1 fresh and 8 done)

PrunedKeptTotal
New5641565
Fresh000
Picked123
Done066
Total5659574
Accuracy
100.0%
Counts
574 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
69.7%
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
37.8%
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
67.7%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
32.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
69.1%
#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))
67.7%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
68.8%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
33.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
Compiler

Compiled 59 to 51 computations (13.6% saved)

simplify5.0ms (0.1%)

Memory
-32.8MiB live, 5.7MiB 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 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
Rules
lower-+.f32
lift-+.f64
lower-+.f64
+-commutative
lift-sqrt.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0616
0916
11316
01316
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(+.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)
#s(literal 1 binary64)
x
Outputs
(+.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))
#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

localize29.0ms (0.6%)

Memory
14.5MiB live, 51.7MiB allocated
Localize:

Found 3 expressions of interest:

NewMetricScoreProgram
accuracy0
(+.f64 #s(literal 1 binary64) x)
accuracy0.015625
(sqrt.f64 (+.f64 #s(literal 1 binary64) x))
accuracy39.79578374849219
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
Samples
10.0ms95×1valid
9.0ms72×2valid
4.0ms89×0valid
Compiler

Compiled 18 to 8 computations (55.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-add: 5.0ms (40.2% of total)
ival-sqrt: 4.0ms (32.2% of total)
adjust: 3.0ms (24.1% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)

series2.0ms (0%)

Memory
3.0MiB live, 3.0MiB allocated
Counts
3 → 36
Calls
Call 1
Inputs
#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 (+.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 (* -1/8 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/2 (* x (- (* 1/16 x) 1/8)))) (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/2 (* x (- (* x (+ 1/16 (* -5/128 x))) 1/8)))) (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 (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 (- (sqrt (/ 1 x)) (/ 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 (- (+ (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 #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)) (+ (* -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 #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 (* (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 (* -1 (* 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/2 (sqrt (/ 1 x))) 1) 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/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 #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
0.0ms
x
@inf
((+ -1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x))
0.0ms
x
@-inf
((+ -1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x))
0.0ms
x
@0
((+ -1 (sqrt (+ 1 x))) (sqrt (+ 1 x)) (+ 1 x))

simplify175.0ms (3.6%)

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

rewrite196.0ms (4.1%)

Memory
21.9MiB live, 231.1MiB allocated
Rules
4 752×lower-fma.f64
4 752×lower-fma.f32
3 448×lower-/.f64
3 448×lower-/.f32
2 796×lower-*.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
0913
14013
226113
3258513
0937613
Stop Event
iter limit
node limit
iter limit
Counts
3 → 605
Calls
Call 1
Inputs
(+.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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval129.0ms (2.7%)

Memory
-3.2MiB live, 149.0MiB allocated
Compiler

Compiled 11 637 to 2 188 computations (81.2% saved)

prune46.0ms (1%)

Memory
3.9MiB live, 41.8MiB allocated
Pruning

12 alts after pruning (3 fresh and 9 done)

PrunedKeptTotal
New6363639
Fresh000
Picked011
Done088
Total63612648
Accuracy
100.0%
Counts
648 → 12
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
69.7%
(/.f64 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
37.8%
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
5.7%
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64))))
7.4%
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64))))
4.5%
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
67.7%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (fma.f64 (*.f64 x x) #s(literal -1/8 binary64) (*.f64 #s(literal 1/2 binary64) x)))
32.6%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (-.f64 (sqrt.f64 x) #s(literal 1 binary64)))
69.1%
#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))
67.7%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) x))
68.8%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
33.3%
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (sqrt.f64 x))
Compiler

Compiled 167 to 116 computations (30.5% saved)

regimes10.0ms (0.2%)

Memory
16.9MiB live, 16.9MiB allocated
Counts
13 → 1
Calls
Call 1
Inputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 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)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) 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 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
#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 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
(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)))))
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.7%1x
99.7%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)

regimes26.0ms (0.5%)

Memory
-16.4MiB live, 20.2MiB allocated
Counts
12 → 2
Calls
Call 1
Inputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 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)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) 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 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
#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 x #s(approx (+ 1 (sqrt (+ x 1))) (fma.f64 x #s(literal 1/2 binary64) #s(literal 2 binary64))))
(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 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
Calls

2 calls:

21.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
4.0ms
x
Results
AccuracySegmentsBranch
99.7%2x
99.7%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)

regimes8.0ms (0.2%)

Memory
18.7MiB live, 18.7MiB allocated
Counts
9 → 2
Calls
Call 1
Inputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 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)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) 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 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 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)))
(+.f64 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x)))
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.6%2x
99.6%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)

regimes10.0ms (0.2%)

Memory
-15.3MiB live, 20.2MiB allocated
Counts
8 → 2
Calls
Call 1
Inputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 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)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) 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:

6.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
3.0ms
x
Results
AccuracySegmentsBranch
99.5%2x
99.5%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
14.5MiB live, 14.5MiB allocated
Counts
7 → 2
Calls
Call 1
Inputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 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)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 (fma.f64 #s(literal -1/8 binary64) x #s(literal 1/2 binary64)) 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)))))
3.0ms
x
Results
AccuracySegmentsBranch
99.4%2x
99.4%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)

regimes8.0ms (0.2%)

Memory
-38.8MiB live, 11.1MiB allocated
Counts
5 → 2
Calls
Call 1
Inputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 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:

5.0ms
x
2.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
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
8.9MiB live, 8.9MiB allocated
Counts
4 → 2
Calls
Call 1
Inputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 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
98.1%2x
98.1%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
10.5MiB live, 10.5MiB allocated
Counts
3 → 1
Calls
Call 1
Inputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) (fma.f64 x #s(literal 1/2 binary64) #s(literal 1 binary64))))
Outputs
#s(approx (/ x (+ 1 (sqrt (+ x 1)))) (*.f64 x #s(literal 1/2 binary64)))
Calls

2 calls:

2.0ms
x
2.0ms
(/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64)))))
Results
AccuracySegmentsBranch
68.8%1x
68.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)

regimes3.0ms (0.1%)

Memory
7.1MiB live, 7.1MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
Outputs
(+.f64 #s(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #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.5%1x
4.5%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
0.4MiB live, 0.4MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
3.245357142862682e-6
994880.9975080277
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
3.245357142862682e-6
994880.9975080277
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
3.245357142862682e-6
994880.9975080277
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
3.245357142862682e-6
994880.9975080277
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
3.245357142862682e-6
994880.9975080277
Compiler

Compiled 11 to 10 computations (9.1% saved)

bsearch0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
3.245357142862682e-6
994880.9975080277
Compiler

Compiled 11 to 10 computations (9.1% saved)

simplify25.0ms (0.5%)

Memory
-4.3MiB live, 35.2MiB allocated
Algorithm
egg-herbie
Rules
12×+-commutative-binary64-+.f64
*-commutative-binary64-*.f64
sub-neg-binary64-neg.f64-+.f64--.f64
*-rgt-identity-binary64-*.f64
1-exp-binary32-exp.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046248
159248
262248
367248
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 5902958103587057/1180591620717411303424 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 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 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 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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(literal -1 binary64) #s(approx (sqrt (+ 1 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)))
(if (<=.f64 (/.f64 x (+.f64 #s(literal 1 binary64) (sqrt.f64 (+.f64 x #s(literal 1 binary64))))) #s(literal 5902958103587057/1180591620717411303424 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 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 #s(literal -1 binary64) (sqrt.f64 (+.f64 #s(literal 1 binary64) x))))
(if (<=.f64 (/.f64 x (+.f64 (sqrt.f64 (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))) #s(literal 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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 5902958103587057/1180591620717411303424 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(literal -1 binary64) #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)))
(+.f64 #s(approx (sqrt (+ 1 x)) #s(literal 1 binary64)) #s(literal -1 binary64))

soundness1.1s (23.4%)

Memory
0.4MiB live, 715.8MiB allocated
Rules
18 662×lower-fma.f64
18 662×lower-fma.f32
16 374×lower-fma.f64
16 374×lower-fma.f32
8 384×lower-fma.f32
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02189
03489
115086
2100186
0860184
0161600
1485505
21630483
35408474
08354430
0621
01021
14621
231520
3340020
0827820
02198
02998
111798
276194
3753294
0827594
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 158 computations (52% saved)

preprocess251.0ms (5.2%)

Memory
-40.7MiB live, 146.0MiB allocated
Compiler

Compiled 328 to 86 computations (73.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...