Details

Time bar (total: 2.6s)

analyze262.0ms

Algorithm
search

sample57.0ms

Algorithm
intervals
Results
20.0ms93×body2560nan
11.0ms77×body1280nan
10.0ms256×body80valid
5.0ms37×body640nan
1.0ms15×body320nan
1.0msbody160nan
0.0msbody80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.6b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series8.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0217221
1657211
22555205
35001204

prune57.0ms

Filtered
29 candidates to 34 candidates (-17.2%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New33134
Fresh000
Picked101
Done000
Total34135

Merged error: 0b

Counts
35 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

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

series19.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0329645
11230609
25001599

prune129.0ms

Filtered
44 candidates to 59 candidates (-34.1%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New59059
Fresh000
Picked011
Done000
Total59160

Merged error: 0b

Counts
60 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

analyze264.0ms

Algorithm
search

sample1.7s

Algorithm
intervals
Results
552.0ms2943×body2560nan
386.0ms2506×body1280nan
318.0ms8000×body80valid
148.0ms1221×body640nan
56.0ms611×body320nan
20.0ms317×body160nan
10.0ms312×body80nan

Profiling

Loading profile data...