Details

Time bar (total: 2.8s)

sample66.0ms

Algorithm
intervals
Results
20.0ms502×body80nan
17.0ms203×body160nan
13.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1125
2125

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.4b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (sqrt (- (* x x) 1.0)))
31.1b
(sqrt (- (* x x) 1.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt sqrt-prod add-log-exp
pow1 fma-def
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
+-commutative rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 sum-log flip-- flip-+ distribute-lft-out difference-of-squares
Counts
2 → 35
Calls
2 calls:
9.0ms
(+ x (sqrt (- (* x x) 1.0)))
6.0ms
(sqrt (- (* x x) 1.0))

series126.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(+ x (sqrt (- (* x x) 1.0)))
53.0ms
(sqrt (- (* x x) 1.0))

simplify82.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0235239
1739223
22858218
35001216

prune106.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 0.5 (/ 1 x) (* 0.125 (/ 1 (pow x 3))))
0.7b
(/ 1 (pow x 3))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
27×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×unpow-prod-down cube-prod associate-/r*
11×add-exp-log
div-exp
cube-mult unpow3 add-cbrt-cube sqr-pow
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv pow-flip frac-2neg clear-num fma-udef div-inv inv-pow
Counts
2 → 85
Calls
2 calls:
0.0ms
(fma 0.5 (/ 1 x) (* 0.125 (/ 1 (pow x 3))))
5.0ms
(/ 1 (pow x 3))

series120.0ms

Counts
2 → 6
Calls
2 calls:
87.0ms
(fma 0.5 (/ 1 x) (* 0.125 (/ 1 (pow x 3))))
32.0ms
(/ 1 (pow x 3))

simplify30.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0195397
1897304
25001304

prune144.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0178
1178

end0.0ms

sample2.1s

Algorithm
intervals
Results
665.0ms16160×body80nan
620.0ms7429×body160nan
405.0ms8000×body80valid