Details

Time bar (total: 2.9s)

sample76.0ms

Algorithm
intervals
Results
25.0ms279×body160nan
22.0ms505×body80nan
13.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.9b

localize7.0ms

Local error

Found 1 expressions with local error:

30.6b
(sqrt (- (* x x) 1.0))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square flip3-- sqrt-pow1 pow1/2 add-cbrt-cube flip-- add-log-exp difference-of-squares
Counts
1 → 16
Calls
1 calls:
4.0ms
(sqrt (- (* x x) 1.0))

series52.0ms

Counts
1 → 3
Calls
1 calls:
52.0ms
(sqrt (- (* x x) 1.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0142113
1438111
21809109
35001108

prune48.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 1 expressions with local error:

0.5b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×sqrt-prod
12×sqrt-div
*-un-lft-identity associate-*r*
associate-*l*
pow1 add-cube-cbrt
frac-times unswap-sqr
add-exp-log flip3-- flip3-+ pow-prod-down add-cbrt-cube flip-- flip-+
sqrt-pow1 pow1/2 associate-*r/ associate-*l/ difference-of-squares
sqrt-unprod prod-exp *-commutative cbrt-unprod distribute-lft-out distribute-lft-out-- add-log-exp
Counts
1 → 42
Calls
1 calls:
27.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series191.0ms

Counts
1 → 3
Calls
1 calls:
191.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify118.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0278486
1971465
24731456
35001456

prune109.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
0139
1139

end0.0ms

sample2.2s

Algorithm
intervals
Results
730.0ms16247×body80nan
650.0ms7672×body160nan
403.0ms8000×body80valid