Details

Time bar (total: 11.0s)

sample171.0ms

Algorithm
intervals
Results
54.0ms107×body1280valid
21.0ms52×body10240exit
20.0ms52×body640valid
13.0ms153×body80valid
12.0ms196×body80nan
10.0ms21×body1280nan
9.0ms15×body640nan
7.0ms27×body320valid
2.0ms13×body160valid
2.0msbody320nan
1.0msbody160nan

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.8b
(pow x (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
2.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite52.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:
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
39.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series476.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(pow x (/ 1.0 n))
140.0ms
(pow (+ x 1.0) (/ 1.0 n))
275.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify44.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0476639
11600623
25001609

prune236.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 24.9b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (pow (+ x 1.0) (/ 1.0 n)) 3)
0.8b
(pow x (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
2.5b
(- (cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3)) (pow x (/ 1.0 n)))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
47×unpow-prod-down
33×*-un-lft-identity
29×pow-unpow
27×difference-of-squares
25×add-cube-cbrt
24×cbrt-prod
23×sqr-pow
18×times-frac
17×cube-prod
add-exp-log
pow1 pow-exp add-log-exp
add-cbrt-cube
pow-to-exp
pow-pow distribute-lft-out
div-inv
cube-mult sub-neg flip3-- diff-log unpow3 flip-- distribute-lft-out-- rem-cube-cbrt
Counts
4 → 130
Calls
4 calls:
9.0ms
(pow (pow (+ x 1.0) (/ 1.0 n)) 3)
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
102.0ms
(- (cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3)) (pow x (/ 1.0 n)))

series844.0ms

Counts
4 → 12
Calls
4 calls:
371.0ms
(pow (pow (+ x 1.0) (/ 1.0 n)) 3)
55.0ms
(pow x (/ 1.0 n))
146.0ms
(pow (+ x 1.0) (/ 1.0 n))
271.0ms
(- (cbrt (pow (pow (+ x 1.0) (/ 1.0 n)) 3)) (pow x (/ 1.0 n)))

simplify66.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06551232
123771182
250011171

prune340.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 24.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.8b
(pow x (/ 1.0 n))
1.5b
(pow (+ x 1.0) (/ 1.0 n))
2.5b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
2.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×*-un-lft-identity
27×unpow-prod-down
26×pow-unpow
22×add-cube-cbrt
18×times-frac difference-of-squares
16×log-pow
15×exp-prod
14×sqr-pow
pow1
add-exp-log distribute-lft-out-- add-log-exp
log-prod
add-cbrt-cube
distribute-lft-out
pow-to-exp sub-neg pow-pow exp-sum pow-exp div-inv
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 109
Calls
4 calls:
2.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
92.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
42.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series753.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(pow x (/ 1.0 n))
148.0ms
(pow (+ x 1.0) (/ 1.0 n))
274.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
269.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify49.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0541922
11758884
25002863

prune363.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 24.8b

localize15.0ms

Local error

Found 4 expressions with local error:

2.3b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
2.3b
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
2.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
22×*-un-lft-identity
20×unpow-prod-down
18×difference-of-squares
16×log-prod
12×sqr-pow
10×cbrt-prod
add-cube-cbrt add-log-exp
pow1 add-exp-log distribute-lft-out--
sub-neg exp-sum log-pow add-cbrt-cube
log-div cbrt-div flip3-- exp-diff pow1/3 diff-log rem-log-exp flip-- distribute-lft-out
Counts
4 → 86
Calls
4 calls:
35.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
37.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
42.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
39.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.5s

Counts
4 → 12
Calls
4 calls:
451.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
456.0ms
(log (cbrt (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))))
278.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
275.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify107.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
03001278
18051194
237131170
350011170

prune431.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 24.7b

regimes268.0ms

Accuracy

81.9% (1.6b remaining)

Error of 22.8b against oracle of 21.2b and baseline of 30.1b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03622
13622

end0.0ms

sample4.9s

Algorithm
intervals
Results
1.6s3185×body1280valid
614.0ms1597×body640valid
531.0ms1118×body10240exit
411.0ms4708×body80valid
329.0ms640×body1280nan
313.0ms5176×body80nan
254.0ms639×body640nan
225.0ms863×body320valid
85.0ms350×body320nan
85.0ms473×body160valid
26.0ms169×body160nan