Details

Time bar (total: 3.6s)

sample73.0ms

Algorithm
intervals
Results
19.0ms107×body2560nan
12.0ms82×body1280nan
10.0ms256×body80valid
9.0ms263×body80nan
5.0ms46×body640nan
2.0ms18×body320nan
1.0ms13×body160nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.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)))
29.9b
(sqrt (- (* x x) 1.0))

rewrite17.0ms

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

series19.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
5.0ms
(+ x (sqrt (- (* x x) 1.0)))
4.0ms
(sqrt (- (* x x) 1.0))

simplify136.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (130.0ms)

IterNodesCost
0316408
11042379
24663366
35001365

prune86.0ms

Filtered
43 candidates to 52 candidates (-20.9%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New51152
Fresh000
Picked101
Done000
Total52153

Merged error: 0.0b

Counts
53 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.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
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
2.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
12.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series33.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
13.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
11.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify46.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0426932
11622865
25001852

prune173.0ms

Filtered
58 candidates to 76 candidates (-31.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New75176
Fresh000
Picked101
Done000
Total76177

Merged error: 0b

Counts
77 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

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

series82.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))
23.0ms
(cbrt (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
23.0ms
(cbrt (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
23.0ms
(cbrt (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))

simplify55.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04901710
118661625
250021599

prune600.0ms

Filtered
88 candidates to 105 candidates (-19.3%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1050105
Fresh000
Picked011
Done000
Total1051106

Merged error: 0b

Counts
106 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01728
11728

end0.0ms

sample2.1s

Algorithm
intervals
Results
543.0ms2964×body2560nan
360.0ms2432×body1280nan
311.0ms8000×body80valid
283.0ms8269×body80nan
154.0ms1264×body640nan
57.0ms632×body320nan
18.0ms297×body160nan

Profiling

Loading profile data...