Details

Time bar (total: 2.2s)

sample53.0ms

Algorithm
intervals
Results
12.0ms611×body80nan
12.0ms274×body160nan
8.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: 29.1b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite17.0ms

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

series50.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0152121
1479117
21970116
35001115

prune58.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))))

rewrite56.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
expm1-log1p-u sqrt-unprod prod-exp *-commutative cbrt-unprod log1p-expm1-u distribute-lft-out distribute-lft-out-- add-log-exp
Counts
1 → 44
Calls
1 calls:
54.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series199.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0292512
11019480
24968468
35001468

prune122.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

sample1.4s

Algorithm
intervals
Results
363.0ms7987×body160nan
344.0ms16720×body80nan
237.0ms8000×body80valid