Details

Time bar (total: 10.5s)

sample260.0ms

Algorithm
intervals
Results
70.0ms126×body1280valid
52.0ms43×body1280nan
28.0ms57×body640valid
20.0ms135×body80overflowed
19.0ms25×body640nan
12.0ms109×body80valid
11.0ms202×body80nan
9.0ms30×body320valid
7.0ms17×body320nan
3.0ms17×body160valid
2.0ms10×body160nan

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.7b

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))
2.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite25.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))
13.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series72.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0552688
11885669
25002641

prune195.0ms

Filtered
88 candidates to 71 candidates (19.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New81788
Fresh000
Picked101
Done000
Total82789

Merged error: 23.2b

Counts
89 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
39×pow-unpow
35×*-un-lft-identity
29×add-cube-cbrt
27×times-frac
26×unpow-prod-down
19×sqrt-prod
16×difference-of-squares
11×sqr-pow
pow1
add-exp-log
add-log-exp
pow-pow
add-cbrt-cube
pow-to-exp pow-exp div-inv
distribute-lft-out
sub-neg flip3-- sqrt-pow1 pow1/2 diff-log sqrt-pow2 flip-- distribute-lft-out--
Counts
4 → 118
Calls
4 calls:
4.0ms
(pow (sqrt x) (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
15.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

series134.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (sqrt x) (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
75.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

simplify51.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05881118
119561081
250021061

prune373.0ms

Filtered
130 candidates to 96 candidates (26.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1282130
Fresh066
Picked101
Done000
Total1298137

Merged error: 23.2b

Counts
137 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
39×pow-unpow
35×*-un-lft-identity
29×add-cube-cbrt
27×times-frac
26×unpow-prod-down
19×sqrt-prod
16×difference-of-squares
11×sqr-pow
pow1
add-exp-log
add-log-exp
pow-pow
add-cbrt-cube
pow-to-exp pow-exp div-inv
distribute-lft-out
sub-neg flip3-- sqrt-pow1 pow1/2 diff-log sqrt-pow2 flip-- distribute-lft-out--
Counts
4 → 118
Calls
4 calls:
4.0ms
(pow (sqrt x) (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
13.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

series135.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(pow (sqrt x) (/ 1.0 n))
20.0ms
(pow (+ x 1.0) (/ 1.0 n))
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
73.0ms
(- (sqrt (pow (+ x 1.0) (/ 1.0 n))) (pow (sqrt x) (/ 1.0 n)))

simplify55.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05881118
119561081
250021061

prune422.0ms

Filtered
130 candidates to 96 candidates (26.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1291130
Fresh077
Picked101
Done000
Total1308138

Merged error: 23.2b

Counts
138 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.0b
(pow x (/ 1.0 n))
2.8b
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
2.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite36.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:
6.0ms
(pow (+ x 1.0) (/ 1.0 n))
4.0ms
(pow x (/ 1.0 n))
13.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series110.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (+ x 1.0) (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
41.0ms
(log (exp (- (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)))

simplify52.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0617997
12043954
25002926

prune266.0ms

Filtered
121 candidates to 96 candidates (20.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1201121
Fresh077
Picked011
Done000
Total1209129

Merged error: 23.2b

Counts
129 → 9

regimes376.0ms

Accuracy

80.2% (2.2b remaining)

Error of 24.0b against oracle of 21.9b and baseline of 32.9b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05641
15841
25841

end0.0ms

sample7.7s

Algorithm
intervals
Results
2.2s3883×body1280valid
1.3s1145×body1280nan
845.0ms1791×body640valid
662.0ms920×body640nan
624.0ms4157×body80overflowed
346.0ms6456×body80nan
329.0ms3128×body80valid
306.0ms933×body320valid
188.0ms440×body320nan
96.0ms459×body160valid
50.0ms225×body160nan

Profiling

Loading profile data...