Details

Time bar (total: 5.5s)

sample46.0ms

Algorithm
intervals
Results
12.0ms260×body160nan
11.0ms533×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: 32.9b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (+ x (sqrt (- (* x x) 1.0))))
0.0b
(- (* x x) 1.0)
0.0b
(+ x (sqrt (- (* x x) 1.0)))
30.6b
(sqrt (- (* x x) 1.0))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-sqr-sqrt
add-log-exp
pow1 add-cube-cbrt
add-exp-log
log-prod sqrt-prod add-cbrt-cube
log-div flip3-- flip3-+ sqrt-div flip-- flip-+ distribute-lft-out difference-of-squares
+-commutative sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log rem-log-exp sum-log log-pow
Counts
4 → 56
Calls
4 calls:
8.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
3.0ms
(- (* x x) 1.0)
8.0ms
(+ x (sqrt (- (* x x) 1.0)))
5.0ms
(sqrt (- (* x x) 1.0))

series371.0ms

Counts
4 → 12
Calls
4 calls:
203.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
40.0ms
(- (* x x) 1.0)
72.0ms
(+ x (sqrt (- (* x x) 1.0)))
56.0ms
(sqrt (- (* x x) 1.0))

simplify141.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0327471
11087435
24892422
35001422

prune172.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.0ms

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

series666.0ms

Counts
3 → 9
Calls
3 calls:
293.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
157.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
216.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify46.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0440941
11553864
25001848

prune223.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (sqrt x) (sqrt (sqrt 1.0))))
0.1b
(sqrt (+ (sqrt x) (sqrt (sqrt 1.0))))
0.3b
(* (* (sqrt (+ x (sqrt 1.0))) (sqrt (+ (sqrt x) (sqrt (sqrt 1.0))))) (sqrt (- (sqrt x) (sqrt (sqrt 1.0)))))
0.3b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (+ (sqrt x) (sqrt (sqrt 1.0)))))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
70×sqrt-div
66×sqrt-prod
46×add-sqr-sqrt
32×frac-times
30×*-un-lft-identity
25×flip3-+ flip-+
22×associate-*r*
18×pow1
16×associate-*l/
12×add-cube-cbrt difference-of-squares
11×add-exp-log add-cbrt-cube
10×flip3-- associate-*r/ pow-prod-down flip--
associate-*l*
sqrt-pow1 pow1/2
distribute-lft-out
prod-exp cbrt-unprod distribute-lft-out-- add-log-exp unswap-sqr
sqrt-unprod
rem-sqrt-square *-commutative
Counts
4 → 139
Calls
4 calls:
12.0ms
(sqrt (- (sqrt x) (sqrt (sqrt 1.0))))
12.0ms
(sqrt (+ (sqrt x) (sqrt (sqrt 1.0))))
73.0ms
(* (* (sqrt (+ x (sqrt 1.0))) (sqrt (+ (sqrt x) (sqrt (sqrt 1.0))))) (sqrt (- (sqrt x) (sqrt (sqrt 1.0)))))
43.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (+ (sqrt x) (sqrt (sqrt 1.0)))))

series1.6s

Counts
4 → 12
Calls
4 calls:
212.0ms
(sqrt (- (sqrt x) (sqrt (sqrt 1.0))))
166.0ms
(sqrt (+ (sqrt x) (sqrt (sqrt 1.0))))
874.0ms
(* (* (sqrt (+ x (sqrt 1.0))) (sqrt (+ (sqrt x) (sqrt (sqrt 1.0))))) (sqrt (- (sqrt x) (sqrt (sqrt 1.0)))))
341.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (+ (sqrt x) (sqrt (sqrt 1.0)))))

simplify108.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
010432977
142162662
250012640

prune585.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
02017
12017

end0.0ms

sample1.3s

Algorithm
intervals
Results
356.0ms7718×body160nan
334.0ms16265×body80nan
227.0ms8000×body80valid