Details

Time bar (total: 3.1s)

sample73.0ms

Algorithm
intervals
Results
17.0ms93×body2560nan
15.0ms456×body80nan
10.0ms256×body80valid
9.0ms60×body1280nan
6.0ms46×body640nan
2.0ms23×body320nan
1.0msbody160nan

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.9b

Counts
2 → 1

localize10.0ms

Local error

Found 1 expressions with local error:

29.7b
(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))

series49.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0142113
1438111
21809109
35001108

prune45.0ms

Filtered
19 candidates to 16 candidates (84.2%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New18119
Fresh000
Picked101
Done000
Total19120

Merged error: 0b

Counts
20 → 1

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite14.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:
12.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series221.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0258477
1965461
24426456
35002456

prune96.0ms

Filtered
45 candidates to 31 candidates (68.9%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New45045
Fresh000
Picked011
Done000
Total45146

Merged error: 0b

Counts
46 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample2.4s

Algorithm
intervals
Results
571.0ms3040×body2560nan
527.0ms16392×body80nan
386.0ms2574×body1280nan
311.0ms8000×body80valid
160.0ms1305×body640nan
65.0ms651×body320nan
21.0ms333×body160nan

Profiling

Loading profile data...