Details

Time bar (total: 2.4s)

sample46.0ms

Algorithm
intervals
Results
12.0ms527×body80nan
11.0ms231×body160nan
7.0ms256×body80valid

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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.4b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×sqrt-prod
*-un-lft-identity
difference-of-squares
add-log-exp
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube distribute-lft-out--
+-commutative rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 swap-sqr associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out unswap-sqr
Counts
2 → 34
Calls
2 calls:
11.0ms
(+ x (sqrt (- (* x x) 1.0)))
12.0ms
(sqrt (- (* x x) 1.0))

series131.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0228257
1748245
22972239
35002236

prune75.0ms

Filtered
40 candidates to 30 candidates (25.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New39140
Fresh000
Picked101
Done000
Total40141

Merged error: 0b

Counts
41 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (- x (sqrt 1.0)))
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))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×sqrt-prod
18×*-un-lft-identity
14×sqrt-div
associate-*r*
pow1 add-cube-cbrt associate-*l*
add-exp-log add-cbrt-cube add-log-exp
frac-times flip3-- flip3-+ flip-- flip-+ difference-of-squares unswap-sqr
sqrt-pow1 pow1/2 pow-prod-down distribute-lft-out
associate-*r/ associate-*l/ distribute-lft-out--
+-commutative rem-sqrt-square sqrt-unprod prod-exp sum-log *-commutative cbrt-unprod
Counts
3 → 73
Calls
3 calls:
4.0ms
(sqrt (- x (sqrt 1.0)))
15.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series454.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(sqrt (- x (sqrt 1.0)))
159.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
217.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify46.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0407833
11418779
25002761

prune181.0ms

Filtered
82 candidates to 59 candidates (28.0%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done000
Total82183

Merged error: 0b

Counts
83 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample1.3s

Algorithm
intervals
Results
362.0ms16048×body80nan
357.0ms7698×body160nan
230.0ms8000×body80valid