sqrt times

Time bar (total: 2.2s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze1.0ms (0.1%)

Memory
3.6MiB live, 3.6MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%50%0%0%50%0%2
50%25%25%0%0%50%0%3
66.7%25%12.5%0%0%62.5%0%4
80%25%6.2%0%0%68.7%0%5
88.9%25%3.1%0%0%71.8%0%6
94.1%25%1.6%0%0%73.4%0%7
97%25%0.8%0%0%74.2%0%8
98.5%25%0.4%0%0%74.6%0%9
99.2%25%0.2%0%0%74.8%0%10
99.6%25%0.1%0%0%74.9%0%11
99.8%25%0%0%0%74.9%0%12
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample575.0ms (25.9%)

Memory
43.5MiB live, 720.9MiB allocated
Samples
353.0ms8 251×0valid
0.0ms11×0invalid
0.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 224.0ms
ival-sqrt: 105.0ms (46.9% of total)
ival-sub: 59.0ms (26.3% of total)
ival-mult: 48.0ms (21.4% of total)
ival-true: 5.0ms (2.2% of total)
exact: 4.0ms (1.8% of total)
ival-assert: 3.0ms (1.3% of total)
adjust: 0.0ms (0% of total)
Bogosity

explain63.0ms (2.8%)

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

Compiled 47 to 22 computations (53.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
ival-sqrt: 7.0ms (52.9% of total)
ival-sub: 3.0ms (22.7% of total)
ival-mult: 3.0ms (22.7% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess18.0ms (0.8%)

Memory
-9.1MiB live, 28.4MiB allocated
Algorithm
egg-herbie
Rules
36×sub-neg
20×+-commutative
12×associate-+l-
10×*-commutative
10×associate--r+
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
12219
23817
35917
47717
59717
611617
713117
813217
067
0107
1167
2177
0177
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
Outputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 x #s(literal 1 binary64))))
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated
Compiler

Compiled 0 to 1 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.2%
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify3.0ms (0.2%)

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

Found 4 expressions of interest:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0618
01018
11618
21718
01718
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(sqrt.f64 (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(sqrt.f64 x)
Outputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(*.f64 (sqrt.f64 x) (sqrt.f64 (-.f64 x #s(literal 1 binary64))))
(sqrt.f64 (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
(sqrt.f64 x)

localize21.0ms (0.9%)

Memory
-6.1MiB live, 31.2MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x #s(literal 1 binary64))
accuracy0
(sqrt.f64 (-.f64 x #s(literal 1 binary64)))
accuracy0
(sqrt.f64 x)
accuracy0.48828125
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
Samples
11.0ms256×0valid
Compiler

Compiled 20 to 8 computations (60% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-sqrt: 3.0ms (47.3% of total)
ival-sub: 1.0ms (15.8% of total)
ival-mult: 1.0ms (15.8% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.3%)

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

3 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) (sqrt x))
1.0ms
x
@0
((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) (sqrt x))
1.0ms
x
@inf
((* (sqrt (- x 1)) (sqrt x)) (sqrt (- x 1)) (- x 1) (sqrt x))

simplify156.0ms (7%)

Memory
-21.8MiB live, 134.9MiB allocated
Algorithm
egg-herbie
Rules
10 896×lower-fma.f64
10 896×lower-fma.f32
4 646×lower-*.f64
4 646×lower-*.f32
1 844×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0150492
1442431
21561410
34077392
08270368
Stop Event
iter limit
node limit
Counts
48 → 45
Calls
Call 1
Inputs
(* (sqrt x) (sqrt -1))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
(sqrt -1)
(+ (sqrt -1) (* 1/2 (/ x (sqrt -1))))
(+ (sqrt -1) (* x (+ (* -1/8 (/ x (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))
(+ (sqrt -1) (* x (+ (* x (- (* 1/16 (/ x (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))
-1
(- x 1)
(- x 1)
(- x 1)
(sqrt x)
(sqrt x)
(sqrt x)
(sqrt x)
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
(sqrt x)
(* x (+ (sqrt (/ 1 x)) (* -1/2 (sqrt (/ 1 (pow x 3))))))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (* -1/8 (sqrt (/ 1 (pow x 5)))))))
(* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* -1/16 (sqrt (/ 1 (pow x 7))))))))
x
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
(sqrt x)
(sqrt x)
(sqrt x)
(sqrt x)
(* -1 (* x (pow (sqrt -1) 2)))
(* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))
(* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
x
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
(* -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)))
Outputs
(* (sqrt x) (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(fma.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
(fma.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 (fma.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64)))))) (*.f64 x x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(sqrt -1)
(sqrt.f64 #s(literal -1 binary64))
(+ (sqrt -1) (* 1/2 (/ x (sqrt -1))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x (sqrt.f64 #s(literal -1 binary64)))
(+ (sqrt -1) (* x (+ (* -1/8 (/ x (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1))))))
(fma.f64 (fma.f64 #s(literal 1/8 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (sqrt.f64 #s(literal -1 binary64)))
(+ (sqrt -1) (* x (+ (* x (- (* 1/16 (/ x (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1))))))
(fma.f64 (fma.f64 (fma.f64 (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) #s(literal 1/16 binary64) (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) x (sqrt.f64 #s(literal -1 binary64)))
-1
#s(literal -1 binary64)
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.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)
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x)))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
(-.f64 x (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/2 binary64)))
(sqrt x)
(sqrt.f64 x)
(* x (+ (sqrt (/ 1 x)) (* -1/2 (sqrt (/ 1 (pow x 3))))))
(*.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)
(* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (* -1/8 (sqrt (/ 1 (pow x 5)))))))
(*.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 5 binary64)))) #s(literal -1/8 binary64) (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)
(* x (+ (sqrt (/ 1 x)) (+ (* -1/2 (sqrt (/ 1 (pow x 3)))) (+ (* -1/8 (sqrt (/ 1 (pow x 5)))) (* -1/16 (sqrt (/ 1 (pow x 7))))))))
(*.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 #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)
x
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
(* x (- 1 (/ 1 x)))
(-.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)
(* -1 (* x (pow (sqrt -1) 2)))
x
(* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x)))
(* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(-.f64 x (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/2 binary64)))
(* -1 (* (sqrt x) (pow (sqrt -1) 2)))
(sqrt.f64 x)
(* -1 (* x (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (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))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2))))))
(*.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)
(* -1 (* x (+ (* -1/8 (* (sqrt (/ 1 (pow x 5))) (pow (sqrt -1) 2))) (+ (* 1/16 (* (sqrt (/ 1 (pow x 7))) (pow (sqrt -1) 2))) (+ (* 1/2 (* (sqrt (/ 1 (pow x 3))) (pow (sqrt -1) 2))) (* (sqrt (/ 1 x)) (pow (sqrt -1) 2)))))))
(*.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 7 binary64)))) #s(literal 1/16 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
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -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)

rewrite287.0ms (12.9%)

Memory
7.0MiB live, 161.4MiB allocated
Rules
4 558×lower-/.f64
4 558×lower-/.f32
3 416×lower-fma.f64
3 416×lower-fma.f32
3 070×lower-*.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0616
01015
13415
216115
3138815
0839315
Stop Event
iter limit
node limit
iter limit
Counts
4 → 368
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
(sqrt.f64 (-.f64 x #s(literal 1 binary64)))
(-.f64 x #s(literal 1 binary64))
(sqrt.f64 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>

eval131.0ms (5.9%)

Memory
-2.4MiB live, 64.3MiB allocated
Compiler

Compiled 8 893 to 1 545 computations (82.6% saved)

prune9.0ms (0.4%)

Memory
-13.3MiB live, 25.4MiB allocated
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New4094413
Fresh000
Picked101
Done000
Total4104414
Accuracy
100.0%
Counts
414 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
99.8%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))))
99.6%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
98.6%
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Compiler

Compiled 20 to 18 computations (10% saved)

simplify20.0ms (0.9%)

Memory
-7.0MiB live, 29.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
cost-diff0
(-.f64 x #s(literal 1 binary64))
cost-diff0
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
cost-diff0
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
cost-diff0
(/.f64 #s(literal -1/8 binary64) x)
cost-diff0
(-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))
cost-diff0
(-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x)))
cost-diff0
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))))
cost-diff0
(-.f64 x #s(literal 1/2 binary64))
cost-diff0
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
cost-diff0
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Rules
368×lower-fma.f64
368×lower-fma.f32
172×lower-*.f32
170×lower-*.f64
136×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01875
02575
14075
26475
311075
418975
537275
659875
765075
865275
065275
Stop Event
iter limit
saturated
iter limit
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
x
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))))
(-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x)))
x
(-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))
#s(literal 1/2 binary64)
(/.f64 #s(literal -1/8 binary64) x)
#s(literal -1/8 binary64)
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
x
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))))
(-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x)))
x
(-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))
#s(literal 1/2 binary64)
(/.f64 #s(literal -1/8 binary64) x)
#s(literal -1/8 binary64)
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(-.f64 x #s(literal 1 binary64))
x
#s(literal 1 binary64)

localize39.0ms (1.8%)

Memory
-0.2MiB live, 82.6MiB allocated
Localize:

Found 10 expressions of interest:

NewMetricScoreProgram
accuracy0
(-.f64 x #s(literal 1 binary64))
accuracy0
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
accuracy29.822401129680337
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
accuracy0
(/.f64 #s(literal -1/8 binary64) x)
accuracy0
(-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x)))
accuracy0
(-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))
accuracy0.14721037192926098
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))))
accuracy0
(-.f64 x #s(literal 1/2 binary64))
accuracy0.23544698220363464
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
accuracy0.8657631031537936
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Samples
30.0ms256×0valid
Compiler

Compiled 63 to 16 computations (74.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 21.0ms
ival-sqrt: 9.0ms (43.3% of total)
ival-sub: 4.0ms (19.2% of total)
ival-div: 3.0ms (14.4% of total)
ival-mult: 3.0ms (14.4% of total)
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.3%)

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

3 calls:

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

simplify131.0ms (5.9%)

Memory
19.7MiB live, 179.7MiB allocated
Algorithm
egg-herbie
Rules
8 360×lower-fma.f64
8 360×lower-fma.f32
4 412×lower-*.f64
4 412×lower-*.f32
1 264×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0128976
1352919
21176852
34746812
08128785
Stop Event
iter limit
node limit
Counts
120 → 110
Calls
Call 1
Inputs
(* (sqrt x) (sqrt -1))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
(* (sqrt x) (sqrt -1))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
-1/2
(- x 1/2)
(- x 1/2)
(- x 1/2)
(* (sqrt x) (sqrt -1))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
(/ -1/8 x)
(/ (- (* -1/2 x) 1/8) x)
(/ (- (* x (- x 1/2)) 1/8) x)
(/ (- (* x (- x 1/2)) 1/8) x)
(/ 1/8 x)
(/ (+ 1/8 (* 1/2 x)) x)
(/ (+ 1/8 (* 1/2 x)) x)
(/ (+ 1/8 (* 1/2 x)) x)
(/ -1/8 x)
(/ -1/8 x)
(/ -1/8 x)
(/ -1/8 x)
(* (sqrt x) (sqrt -1))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
(* -1 x)
(* x (- x 1))
(* x (- x 1))
(* x (- x 1))
-1
(- x 1)
(- x 1)
(- x 1)
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (- 1 (* 1/2 (/ 1 x))))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
1/2
(+ 1/2 (* 1/8 (/ 1 x)))
(+ 1/2 (* 1/8 (/ 1 x)))
(+ 1/2 (* 1/8 (/ 1 x)))
(/ -1/8 x)
(/ -1/8 x)
(/ -1/8 x)
(/ -1/8 x)
x
(* x (- 1 (* 1/2 (/ 1 x))))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
x
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
(* x (- 1 (/ 1 x)))
(* -1 (* x (pow (sqrt -1) 2)))
(* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))
(* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(* -1 (* x (pow (sqrt -1) 2)))
(* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))
(* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
x
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (pow (sqrt -1) 2)))
(* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))
(* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
x
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(* -1 (* x (- (+ (/ 1/8 (pow x 2)) (* 1/2 (/ 1 x))) 1)))
(* -1 (* x (- (+ (/ 1/8 (pow x 2)) (* 1/2 (/ 1 x))) 1)))
1/2
(+ 1/2 (* 1/8 (/ 1 x)))
(+ 1/2 (* 1/8 (/ 1 x)))
(+ 1/2 (* 1/8 (/ 1 x)))
(/ -1/8 x)
(/ -1/8 x)
(/ -1/8 x)
(/ -1/8 x)
(* -1 x)
(* -1 (* x (- 1 (* 1/2 (/ 1 x)))))
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x)))))
(pow x 2)
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
(* (pow x 2) (- 1 (/ 1 x)))
x
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
(* -1 (* x (- (/ 1 x) 1)))
Outputs
(* (sqrt x) (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(fma.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 (*.f64 x x) (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (*.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))))) (*.f64 x x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(* (sqrt x) (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(fma.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 (*.f64 x x) (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (*.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))))) (*.f64 x x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
-1/2
#s(literal -1/2 binary64)
(- x 1/2)
(-.f64 x #s(literal 1/2 binary64))
(- x 1/2)
(-.f64 x #s(literal 1/2 binary64))
(- x 1/2)
(-.f64 x #s(literal 1/2 binary64))
(* (sqrt x) (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(fma.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 (*.f64 x x) (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (*.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))))) (*.f64 x x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ (- (* -1/2 x) 1/8) x)
(-.f64 (/.f64 #s(literal -1/8 binary64) x) #s(literal 1/2 binary64))
(/ (- (* x (- x 1/2)) 1/8) x)
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(/ (- (* x (- x 1/2)) 1/8) x)
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(/ 1/8 x)
(/.f64 #s(literal 1/8 binary64) x)
(/ (+ 1/8 (* 1/2 x)) x)
(/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/8 binary64)) x)
(/ (+ 1/8 (* 1/2 x)) x)
(/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/8 binary64)) x)
(/ (+ 1/8 (* 1/2 x)) x)
(/.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1/8 binary64)) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(* (sqrt x) (sqrt -1))
(*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))
(+ (* 1/2 (* (sqrt (pow x 3)) (/ 1 (sqrt -1)))) (* (sqrt x) (sqrt -1)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (pow.f64 x #s(literal 3 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* -1/8 (* (sqrt x) (/ 1 (pow (sqrt -1) 3)))) (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))))))
(fma.f64 (fma.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(+ (* (sqrt x) (sqrt -1)) (* (pow x 2) (+ (* 1/2 (* (sqrt (/ 1 x)) (/ 1 (sqrt -1)))) (* (pow x 2) (+ (* -1/8 (* (sqrt (/ 1 (pow x 3))) (/ 1 (pow (sqrt -1) 3)))) (* 1/16 (* (sqrt (/ 1 x)) (/ 1 (pow (sqrt -1) 5)))))))))
(fma.f64 (fma.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 (*.f64 x x) (/.f64 #s(literal 1/16 binary64) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) (*.f64 (*.f64 (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 3 binary64))))) (*.f64 x x))) (*.f64 x x) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))
(* -1 x)
(neg.f64 x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* x (- x 1))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
-1
#s(literal -1 binary64)
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.f64 x #s(literal 1 binary64))
(- x 1)
(-.f64 x #s(literal 1 binary64))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
(-.f64 x (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/2 binary64)))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
(-.f64 x (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/2 binary64)))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
(-.f64 x (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/2 binary64)))
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/8 (/ 1 x)))
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))
(+ 1/2 (* 1/8 (/ 1 x)))
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))
(+ 1/2 (* 1/8 (/ 1 x)))
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
x
(* x (- 1 (* 1/2 (/ 1 x))))
(-.f64 x #s(literal 1/2 binary64))
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x))))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 x))) (pow x 2)))) (* 1/2 (/ 1 x))))
(-.f64 x (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/2 binary64)))
(pow x 2)
(*.f64 x x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
x
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
(* x (- 1 (/ 1 x)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (pow (sqrt -1) 2)))
x
(* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(-.f64 x (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/2 binary64)))
(* -1 (* x (pow (sqrt -1) 2)))
x
(* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(-.f64 x (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/2 binary64)))
x
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (pow (sqrt -1) 2)))
x
(* -1 (* x (+ (* -1/2 (/ (pow (sqrt -1) 2) x)) (pow (sqrt -1) 2))))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (+ (* -1 (/ (+ (* 1/8 (/ (pow (sqrt -1) 2) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(* -1 (* x (+ (* -1 (/ (+ (* -1 (/ (+ (* -1/8 (pow (sqrt -1) 2)) (* -1/16 (/ (pow (sqrt -1) 2) x))) x)) (* 1/2 (pow (sqrt -1) 2))) x)) (pow (sqrt -1) 2))))
(-.f64 x (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) x) #s(literal 1/8 binary64)) x) #s(literal -1/2 binary64)))
x
(* -1 (* x (- (* 1/2 (/ 1 x)) 1)))
(-.f64 x #s(literal 1/2 binary64))
(* -1 (* x (- (+ (/ 1/8 (pow x 2)) (* 1/2 (/ 1 x))) 1)))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
(* -1 (* x (- (+ (/ 1/8 (pow x 2)) (* 1/2 (/ 1 x))) 1)))
(-.f64 (+.f64 (/.f64 #s(literal -1/8 binary64) x) x) #s(literal 1/2 binary64))
1/2
#s(literal 1/2 binary64)
(+ 1/2 (* 1/8 (/ 1 x)))
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))
(+ 1/2 (* 1/8 (/ 1 x)))
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))
(+ 1/2 (* 1/8 (/ 1 x)))
(-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64))
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(/ -1/8 x)
(/.f64 #s(literal -1/8 binary64) x)
(* -1 x)
(neg.f64 x)
(* -1 (* x (- 1 (* 1/2 (/ 1 x)))))
(-.f64 #s(literal 1/2 binary64) x)
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 x))) x)))))
(-.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) x) #s(literal -1/2 binary64)) x)
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (+ (/ 1/16 (pow x 2)) (* 1/8 (/ 1 x)))) x)))))
(-.f64 (-.f64 (/.f64 (+.f64 (/.f64 #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) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(* (pow x 2) (- 1 (/ 1 x)))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
x
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))
(* -1 (* x (- (/ 1 x) 1)))
(-.f64 x #s(literal 1 binary64))

rewrite175.0ms (7.9%)

Memory
-17.4MiB live, 177.7MiB allocated
Rules
5 852×lower-fma.f64
5 852×lower-fma.f32
4 404×lower-*.f32
4 402×lower-*.f64
4 084×lower-/.f32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01867
02564
19564
269464
0847264
Stop Event
iter limit
node limit
iter limit
Counts
10 → 519
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
(-.f64 x #s(literal 1/2 binary64))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))))
(-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x)))
(-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))
(/.f64 #s(literal -1/8 binary64) x)
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
(*.f64 (-.f64 x #s(literal 1 binary64)) x)
(-.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>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>
#<batchref>

eval136.0ms (6.1%)

Memory
12.6MiB live, 170.8MiB allocated
Compiler

Compiled 12 748 to 2 037 computations (84% saved)

prune25.0ms (1.1%)

Memory
-6.7MiB live, 30.0MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New6290629
Fresh000
Picked044
Done000
Total6294633
Accuracy
100.0%
Counts
633 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.4%
(sqrt.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) x))
99.8%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))))
99.6%
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
98.6%
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Compiler

Compiled 47 to 35 computations (25.5% saved)

regimes5.0ms (0.2%)

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

2 calls:

2.0ms
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
2.0ms
x
Results
AccuracySegmentsBranch
99.8%1x
99.8%1(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
Compiler

Compiled 8 to 7 computations (12.5% saved)

regimes3.0ms (0.1%)

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

2 calls:

2.0ms
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
1.0ms
x
Results
AccuracySegmentsBranch
99.6%1x
99.6%1(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
Compiler

Compiled 8 to 7 computations (12.5% saved)

regimes3.0ms (0.1%)

Memory
4.5MiB live, 4.5MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Calls

2 calls:

1.0ms
(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
1.0ms
x
Results
AccuracySegmentsBranch
98.6%1x
98.6%1(*.f64 (sqrt.f64 (-.f64 x #s(literal 1 binary64))) (sqrt.f64 x))
Compiler

Compiled 8 to 7 computations (12.5% saved)

simplify74.0ms (3.3%)

Memory
-33.5MiB live, 49.8MiB allocated
Algorithm
egg-herbie
Rules
168×unsub-neg-binary64--.f64-neg.f64-+.f64
84×neg-mul-1-binary64-*.f64-neg.f64
60×distribute-neg-out-binary64-neg.f64-+.f64
48×distribute-lft-neg-in-binary64-*.f64-neg.f64
40×neg-sub0-binary64--.f64-neg.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01535
12435
24035
36235
49235
512635
616335
723535
833735
935735
1035935
Stop Event
saturated
Calls
Call 1
Inputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)
Outputs
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/8 binary64) x))))
#s(approx (* (sqrt (- x 1)) (sqrt x)) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (* (sqrt (- x 1)) (sqrt x)) x)

soundness298.0ms (13.4%)

Memory
6.9MiB live, 164.0MiB allocated
Rules
10 896×lower-fma.f64
10 896×lower-fma.f32
4 646×lower-*.f64
4 646×lower-*.f32
1 844×lower-+.f64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0150492
1442431
21561410
34077392
08270368
Stop Event
done
iter limit
node limit
Compiler

Compiled 15 to 12 computations (20% saved)

preprocess37.0ms (1.6%)

Memory
12.2MiB live, 49.0MiB allocated
Compiler

Compiled 42 to 32 computations (23.8% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...