Details

Time bar (total: 14.4s)

sample402.0ms

Algorithm
intervals
Results
95.0ms49×body5120exit
84.0ms74×body1280nan
76.0ms142×body1280valid
44.0ms60×body640nan
23.0ms47×body640valid
20.0ms39×body320nan
10.0ms95×body80valid
10.0ms173×body80nan
7.0ms22×body320valid
4.0ms15×body160nan
2.0ms10×body160valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0497813
1497813

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.5b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
1.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×*-un-lft-identity
26×pow-unpow
19×add-cube-cbrt
18×times-frac
17×unpow-prod-down
difference-of-squares
sqr-pow
pow1 add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
3 → 79
Calls
3 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series71.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(pow (+ x 1.0) (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
43.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify42.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049801256
149801256

prune201.0ms

Filtered
71 candidates to 88 candidates (-23.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New81788
Fresh000
Picked101
Done000
Total82789

Merged error: 20.9b

Counts
89 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n))))
0.0b
(pow x (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
3.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n)))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
54×sqrt-prod
32×add-cube-cbrt *-un-lft-identity
27×unpow-prod-down
26×pow-unpow
18×times-frac
16×unswap-sqr
15×sqr-pow
13×pow1
12×swap-sqr
10×associate-*r* associate-*l*
add-exp-log
sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up difference-of-squares
pow-to-exp pow-pow pow-exp div-inv
pow2 sub-neg flip3-- pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative flip-- cbrt-unprod
Counts
4 → 140
Calls
4 calls:
9.0ms
(* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n))))
3.0ms
(pow x (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n)))))

series77.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n))))
12.0ms
(pow x (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
41.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (sqrt (pow x (/ 1.0 n))) (sqrt (pow x (/ 1.0 n)))))

simplify51.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
061661867

prune300.0ms

Filtered
96 candidates to 152 candidates (-58.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1493152
Fresh156
Picked011
Done000
Total1509159

Merged error: 20.6b

Counts
159 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
1.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (* (sqrt (pow x (/ 1.0 n))) (fabs (cbrt (pow x (/ 1.0 n))))) (sqrt (cbrt (pow x (/ 1.0 n))))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
39×pow-unpow
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
27×times-frac
unpow-prod-down
pow1 add-exp-log
add-log-exp
add-cbrt-cube
pow-to-exp pow-pow pow-exp div-inv sqr-pow
sub-neg flip3-- diff-log flip--
Counts
4 → 93
Calls
4 calls:
3.0ms
(pow x (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (* (sqrt (pow x (/ 1.0 n))) (fabs (cbrt (pow x (/ 1.0 n))))) (sqrt (cbrt (pow x (/ 1.0 n))))))

series90.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(pow x (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
14.0ms
(pow x (/ 1.0 n))
53.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (* (sqrt (pow x (/ 1.0 n))) (fabs (cbrt (pow x (/ 1.0 n))))) (sqrt (cbrt (pow x (/ 1.0 n))))))

simplify41.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049821501
149821501

prune398.0ms

Filtered
85 candidates to 105 candidates (-23.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1023105
Fresh167
Picked101
Done011
Total10410114

Merged error: 20.6b

Counts
114 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
0.1b
(pow (pow x (/ 1.0 n)) 2/3)
2.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (* (sqrt (* (pow (pow x (/ 1.0 n)) 2/3) (cbrt (pow x (/ 1.0 n))))) (fabs (cbrt (pow x (/ 1.0 n))))) (sqrt (cbrt (pow x (/ 1.0 n))))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
29×pow-unpow
23×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
16×unpow-prod-down
add-exp-log
pow1 pow-exp add-log-exp
pow-to-exp add-cbrt-cube sqr-pow
pow-pow
div-inv
sub-neg flip3-- diff-log flip--
Counts
4 → 89
Calls
4 calls:
3.0ms
(pow x (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
4.0ms
(pow (pow x (/ 1.0 n)) 2/3)
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (* (sqrt (* (pow (pow x (/ 1.0 n)) 2/3) (cbrt (pow x (/ 1.0 n))))) (fabs (cbrt (pow x (/ 1.0 n))))) (sqrt (cbrt (pow x (/ 1.0 n))))))

series113.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(pow x (/ 1.0 n))
21.0ms
(pow x (/ 1.0 n))
17.0ms
(pow (pow x (/ 1.0 n)) 2/3)
54.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (* (sqrt (* (pow (pow x (/ 1.0 n)) 2/3) (cbrt (pow x (/ 1.0 n))))) (fabs (cbrt (pow x (/ 1.0 n))))) (sqrt (cbrt (pow x (/ 1.0 n))))))

simplify43.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
049791519
149791519

prune413.0ms

Filtered
80 candidates to 101 candidates (-26.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1001101
Fresh088
Picked101
Done011
Total10110111

Merged error: 20.6b

Counts
111 → 10

regimes424.0ms

Accuracy

89.2% (1.1b remaining)

Error of 22.4b against oracle of 21.2b and baseline of 31.9b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03886
13886

end0.0ms

sample11.6s

Algorithm
intervals
Results
2.4s2194×body1280nan
2.3s3976×body1280valid
2.3s1455×body5120exit
1.4s1756×body640nan
825.0ms1686×body640valid
398.0ms899×body320nan
341.0ms3215×body80valid
331.0ms6124×body80nan
289.0ms847×body320valid
104.0ms437×body160nan
98.0ms446×body160valid

Profiling

Loading profile data...