Details

Time bar (total: 1.3s)

analyze4.0ms

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

sample23.0ms

Algorithm
intervals
Results
10.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1126

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 30.0b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

29.0b
(sqrt (* x (+ x x)))

rewrite5.0ms

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:
4.0ms
(sqrt (* x (+ x x)))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(sqrt (* x (+ x x)))

simplify52.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0481891
1481891

prune38.0ms

Filtered
13 candidates to 16 candidates (-23.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New10616
Fresh000
Picked011
Done000
Total10717

Merged error: 0.2b

Counts
17 → 7

localize7.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (sqrt (* x (+ x x))))
0.5b
(* (sqrt (sqrt (* x (+ x x)))) (sqrt (sqrt (* x (+ x x)))))
29.0b
(sqrt (* x (+ x x)))
29.0b
(sqrt (* x (+ x x)))

rewrite36.0ms

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:
5.0ms
(sqrt (sqrt (* x (+ x x))))
16.0ms
(* (sqrt (sqrt (* x (+ x x)))) (sqrt (sqrt (* x (+ x x)))))
4.0ms
(sqrt (* x (+ x x)))
5.0ms
(sqrt (* x (+ x x)))

series17.0ms

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)))

simplify78.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
04895929
14895929

prune102.0ms

Filtered
69 candidates to 136 candidates (-97.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1351136
Fresh055
Picked011
Done011
Total1358143

Merged error: 0.2b

Counts
143 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sqrt (sqrt (* x (+ x x)))))
1.0b
(pow (cbrt (sqrt (sqrt (* x (+ x x))))) 5)
29.0b
(sqrt (* x (+ x x)))
29.0b
(sqrt (* x (+ x x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
12×sqrt-prod
11×pow1
10×add-sqr-sqrt add-cube-cbrt unpow-prod-down *-un-lft-identity
sqrt-div
associate-*r/
add-exp-log
sqrt-pow1 add-cbrt-cube add-log-exp
pow-unpow flip3-+ flip-+
cbrt-div pow-pow pow1/2 pow1/3 pow-prod-down
pow-to-exp pow-exp sqr-pow
Counts
4 → 68
Calls
4 calls:
6.0ms
(cbrt (sqrt (sqrt (* x (+ x x)))))
5.0ms
(pow (cbrt (sqrt (sqrt (* x (+ x x))))) 5)
5.0ms
(sqrt (* x (+ x x)))
5.0ms
(sqrt (* x (+ x x)))

series67.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(cbrt (sqrt (sqrt (* x (+ x x)))))
34.0ms
(pow (cbrt (sqrt (sqrt (* x (+ x x))))) 5)
6.0ms
(sqrt (* x (+ x x)))
4.0ms
(sqrt (* x (+ x x)))

simplify60.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04907783
14907783

prune114.0ms

Filtered
61 candidates to 80 candidates (-31.1%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New79180
Fresh055
Picked011
Done022
Total79988

Merged error: 0.2b

Counts
88 → 9

localize4.0ms

Local error

Found 1 expressions with local error:

0.4b
(* x (neg (sqrt 2)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-*r*
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
distribute-lft-neg-in distribute-rgt-neg-in sqrt-prod
pow1 add-exp-log associate-*l* add-cbrt-cube
neg-mul-1 pow-prod-down prod-exp *-commutative distribute-rgt-neg-out cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 32
Calls
1 calls:
6.0ms
(* x (neg (sqrt 2)))

series4.0ms

Counts
1 → 3
Calls
1 calls:
4.0ms
(* x (neg (sqrt 2)))

simplify41.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
04872196
14872196

prune41.0ms

Filtered
21 candidates to 35 candidates (-66.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New32335
Fresh235
Picked011
Done123
Total35944

Merged error: 0.1b

Counts
44 → 9

regimes52.0ms

Accuracy

98.9% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 30.4b

bsearch18.0ms

Steps
ItersRangePoint
10
-2.0759527004041864e-306
9.234809046513385e-299
3.7411531250967e-310

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05622
15622

end0.0ms

sample506.0ms

Algorithm
intervals
Results
167.0ms8000×body80valid

Profiling

Loading profile data...