Details

Time bar (total: 2.4s)

sample52.0ms

Algorithm
intervals
Results
15.0ms254×body160nan
10.0ms493×body80nan
7.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: 36.6b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.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:
17.0ms
(+ x (sqrt (- (* x x) 1.0)))
11.0ms
(sqrt (- (* x x) 1.0))

series127.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0217221
1657211
22555205
35001204

prune91.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite61.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:
5.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
53.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series343.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0360656
11271612
25002600

prune166.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
345.0ms7582×body160nan
334.0ms16063×body80nan
232.0ms8000×body80valid