Details

Time bar (total: 1.3s)

analyze3.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0.1%14

sample11.0ms (0.8%)

Algorithm
intervals
Results
6.0ms256×body80valid

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1126

prune7.0ms (0.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.9b

Counts
2 → 2

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

27.1b
(sqrt (* x (+ x x)))

rewrite5.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-+ add-log-exp
Counts
1 → 13
Calls

1 calls:

5.0ms
(sqrt (* x (+ x x)))

series4.0ms (0.3%)

Counts
1 → 3
Calls

1 calls:

4.0ms
(sqrt (* x (+ x x)))

simplify60.0ms (4.5%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
0481891
1481891

prune41.0ms (3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New11516
Fresh011
Picked101
Done000
Total12618

Merged error: 0.1b

Counts
18 → 6

localize4.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* x x))
27.1b
(sqrt (+ (* x x) (* x x)))

rewrite9.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
sqrt-prod
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log distribute-rgt-out flip3-+ count-2 sqrt-div add-cbrt-cube flip-+ distribute-lft-out
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 32
Calls

2 calls:

4.0ms
(+ (* x x) (* x x))
4.0ms
(sqrt (+ (* x x) (* x x)))

series7.0ms (0.6%)

Counts
2 → 6
Calls

2 calls:

4.0ms
(sqrt (+ (* x x) (* x x)))
3.0ms
(+ (* x x) (* x x))

simplify77.0ms (5.7%)

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
04793222
14793222

prune53.0ms (4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh145
Picked011
Done000
Total38644

Merged error: 0.1b

Counts
44 → 6

localize6.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (* x (+ x x))))
0.5b
(* (sqrt (sqrt (* x (+ x x)))) (sqrt (sqrt (* x (+ x x)))))
27.1b
(sqrt (* x (+ x x)))
27.1b
(sqrt (* x (+ x x)))

rewrite39.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
84×sqrt-pow1
71×pow1
33×sqrt-prod
32×sqrt-div
26×add-sqr-sqrt
25×pow-prod-down
22×pow1/2
20×associate-*r/
14×pow-prod-up
13×add-cube-cbrt *-un-lft-identity
flip3-+ swap-sqr flip-+
pow-sqr
associate-*r* associate-*l*
add-exp-log add-cbrt-cube
frac-times add-log-exp unswap-sqr
associate-*l/
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 124
Calls

4 calls:

17.0ms
(* (sqrt (sqrt (* x (+ x x)))) (sqrt (sqrt (* x (+ x x)))))
8.0ms
(sqrt (sqrt (* x (+ x x))))
5.0ms
(sqrt (* x (+ x x)))
4.0ms
(sqrt (* x (+ x x)))

series17.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

6.0ms
(sqrt (sqrt (* x (+ x x))))
4.0ms
(* (sqrt (sqrt (* x (+ x x)))) (sqrt (sqrt (* x (+ x x)))))
4.0ms
(sqrt (* x (+ x x)))
4.0ms
(sqrt (* x (+ x x)))

simplify81.0ms (6%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
04895929
14895929

prune166.0ms (12.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1351136
Fresh044
Picked011
Done011
Total1357142

Merged error: 0.1b

Counts
142 → 7

localize8.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.2b
(sqrt (cbrt (* x (+ x x))))
0.3b
(* (fabs (cbrt (* x (+ x x)))) (sqrt (cbrt (* x (+ x x)))))
28.0b
(cbrt (* x (+ x x)))
28.0b
(cbrt (* x (+ x x)))

rewrite19.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×associate-*r/
sqrt-prod
add-cube-cbrt cbrt-div *-un-lft-identity
pow1 associate-*r*
add-exp-log add-cbrt-cube
cbrt-prod flip3-+ sqrt-div flip-+ add-log-exp
pow1/3 associate-*l*
sqrt-pow1 unswap-sqr
rem-sqrt-square pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 64
Calls

4 calls:

6.0ms
(* (fabs (cbrt (* x (+ x x)))) (sqrt (cbrt (* x (+ x x)))))
5.0ms
(cbrt (* x (+ x x)))
4.0ms
(cbrt (* x (+ x x)))
2.0ms
(sqrt (cbrt (* x (+ x x))))

series120.0ms (8.9%)

Counts
4 → 12
Calls

4 calls:

36.0ms
(* (fabs (cbrt (* x (+ x x)))) (sqrt (cbrt (* x (+ x x)))))
29.0ms
(cbrt (* x (+ x x)))
27.0ms
(cbrt (* x (+ x x)))
27.0ms
(sqrt (cbrt (* x (+ x x))))

simplify53.0ms (3.9%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04774795
14774795

prune90.0ms (6.6%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New76076
Fresh044
Picked011
Done022
Total76783

Merged error: 0.1b

Counts
83 → 7

regimes176.0ms (13.1%)

Accuracy

Total 0.2b remaining (57.9%)

Threshold costs 0.2b (57.9%)

bsearch12.0ms (0.9%)

Steps
ItersRangePoint
9
-4.0303509276913107e-308
1.978313196859493e-301
-3.9001145064361e-310

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03716
13716

end0.0ms (0%)

sample272.0ms (20.2%)

Algorithm
intervals
Results
182.0ms8000×body80valid

Profiling

Loading profile data...