Details

Time bar (total: 4.6s)

sample41.0ms

Algorithm
intervals
Results
10.0ms213×body160nan
10.0ms438×body80nan
7.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0115
1125
2125

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: 28.1b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

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

series329.0ms

Counts
3 → 9
Calls
3 calls:
206.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
70.0ms
(+ x (sqrt (- (* x x) 1.0)))
52.0ms
(sqrt (- (* x x) 1.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0357472
11291436
25001427

prune162.0ms

Filtered
67 candidates to 54 candidates (80.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New65267
Fresh000
Picked101
Done000
Total66268

Merged error: 0b

Counts
68 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
25×*-un-lft-identity
22×sqrt-prod
14×sqrt-div
11×add-cube-cbrt
10×pow1
associate-*r* associate-*l*
add-exp-log
add-cbrt-cube add-log-exp
log-prod flip3-+ flip-+ distribute-lft-out
expm1-log1p-u frac-times flip3-- flip-- log1p-expm1-u difference-of-squares unswap-sqr
fma-def sqrt-pow1 pow1/2 pow-prod-down
log-div associate-*r/ associate-*l/ distribute-lft-out--
+-commutative rem-sqrt-square sqrt-unprod rem-log-exp prod-exp sum-log log-pow *-commutative cbrt-unprod
Counts
4 → 100
Calls
4 calls:
9.0ms
(sqrt (- x (sqrt 1.0)))
15.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (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))))

series719.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(sqrt (- x (sqrt 1.0)))
296.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
149.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
198.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify54.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05271217
118621096
250011079

prune310.0ms

Filtered
112 candidates to 87 candidates (77.7%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1111112
Fresh101
Picked101
Done000
Total1131114

Merged error: 0b

Counts
114 → 1

localize14.0ms

Local error

Found 4 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))))
0.5b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))
0.5b
(* (sqrt (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))) (sqrt (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
68×sqrt-prod
57×add-sqr-sqrt
36×sqrt-div
31×associate-*l*
27×pow1
26×associate-*r*
21×add-cube-cbrt
20×distribute-lft-out
16×swap-sqr
13×flip3-+ flip-+
12×frac-times sqrt-pow1 pow1/2 unswap-sqr
10×add-exp-log add-cbrt-cube
pow-prod-down
flip3-- associate-*r/ associate-*l/ flip-- add-log-exp
pow-prod-up
expm1-log1p-u log1p-expm1-u difference-of-squares
fma-def sqrt-unprod prod-exp pow-sqr *-commutative cbrt-unprod
distribute-lft-out--
+-commutative pow2 pow-plus sum-log rem-square-sqrt
Counts
4 → 177
Calls
4 calls:
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))))
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))
39.0ms
(* (sqrt (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))) (sqrt (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))))

series725.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
206.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))
212.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))
151.0ms
(* (sqrt (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))) (sqrt (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))))

simplify72.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04722310
118762072
250012025

prune546.0ms

Filtered
189 candidates to 117 candidates (61.9%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1890189
Fresh000
Picked011
Done000
Total1891190

Merged error: 0b

Counts
190 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01520
11520

end0.0ms

sample1.4s

Algorithm
intervals
Results
388.0ms17075×body80nan
359.0ms7816×body160nan
233.0ms8000×body80valid