Details

Time bar (total: 12.8s)

sample231.0ms

Algorithm
intervals
Results
62.0ms120×body1280valid
37.0ms33×body1280nan
30.0ms55×body640valid
18.0ms118×body80overflowed
17.0ms26×body640nan
10.0ms100×body80valid
9.0ms32×body320valid
8.0ms162×body80nan
6.0ms15×body320nan
3.0ms17×body160valid
2.0msbody160nan

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune4.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: 30.6b

Counts
2 → 1

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

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

series73.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0552688
11885669
25002641

prune457.0ms

Filtered
88 candidates to 71 candidates (19.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New84488
Fresh000
Picked101
Done000
Total85489

Merged error: 20.8b

Counts
89 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
26×pow-unpow
24×*-un-lft-identity
23×sqrt-prod
22×add-cube-cbrt unpow-prod-down
18×times-frac
16×difference-of-squares
12×sqr-pow
pow1 add-exp-log add-log-exp
add-cbrt-cube
rem-sqrt-square
pow-to-exp pow-pow pow-exp div-inv
sub-neg flip3-- sqrt-pow1 pow1/2 diff-log flip-- distribute-lft-out--
Counts
4 → 102
Calls
4 calls:
2.0ms
(sqrt (pow x (/ 1.0 n)))
3.0ms
(pow x (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
15.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series104.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(sqrt (pow x (/ 1.0 n)))
15.0ms
(pow x (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
60.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify53.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05721081
120071049
250021000

prune833.0ms

Filtered
114 candidates to 88 candidates (22.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1131114
Fresh033
Picked101
Done000
Total1144118

Merged error: 20.8b

Counts
118 → 4

localize18.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
(* (cbrt (pow x (/ 1.0 n))) (cbrt (pow x (/ 1.0 n))))
3.3b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt
52×cbrt-prod
38×unpow-prod-down
34×*-un-lft-identity
32×add-cube-cbrt
26×pow-unpow
22×sqr-pow
18×times-frac
16×sqrt-prod difference-of-squares unswap-sqr
13×pow1
10×swap-sqr associate-*r* associate-*l*
add-exp-log
pow1/3 add-log-exp
add-cbrt-cube
pow-to-exp pow-pow pow-prod-down pow-exp pow-sqr pow-prod-up div-inv
pow2 sub-neg flip3-- pow-plus diff-log prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out--
Counts
4 → 147
Calls
4 calls:
4.0ms
(pow x (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
9.0ms
(* (cbrt (pow x (/ 1.0 n))) (cbrt (pow x (/ 1.0 n))))
14.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series115.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
07191670
126881609
250011544

prune2.1s

Filtered
159 candidates to 113 candidates (28.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1590159
Fresh033
Picked011
Done000
Total1594163

Merged error: 20.8b

Counts
163 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (neg 0.5) (* (pow x 2) n))
2.3b
(+ (* (/ 1.0 x) (+ (/ 1 n) 0)) (/ (* (log x) 1.0) (* x (pow n 2))))
8.5b
(* x (pow n 2))
10.3b
(* (pow x 2) n)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×add-exp-log
16×add-cube-cbrt *-un-lft-identity
13×add-cbrt-cube
11×associate-*r* associate-*l*
10×times-frac associate-/l*
prod-exp
unpow-prod-down unswap-sqr
distribute-lft-neg-in distribute-rgt-neg-in add-log-exp
frac-add
pow1 div-exp unpow2 sqr-pow
pow-to-exp flip3-+ pow-exp cbrt-unprod flip-+
cbrt-undiv frac-times neg-mul-1 associate-+l+ associate-*r/ *-commutative
+-commutative neg-sub0 distribute-rgt-in frac-2neg distribute-lft-in div-sub distribute-frac-neg associate-*l/ clear-num associate-/r* sum-log div-inv
Counts
4 → 111
Calls
4 calls:
6.0ms
(/ (neg 0.5) (* (pow x 2) n))
13.0ms
(+ (* (/ 1.0 x) (+ (/ 1 n) 0)) (/ (* (log x) 1.0) (* x (pow n 2))))
7.0ms
(* x (pow n 2))
5.0ms
(* (pow x 2) n)

series39.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ (neg 0.5) (* (pow x 2) n))
24.0ms
(+ (* (/ 1.0 x) (+ (/ 1 n) 0)) (/ (* (log x) 1.0) (* x (pow n 2))))
7.0ms
(* x (pow n 2))
4.0ms
(* (pow x 2) n)

simplify216.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (206.0ms)

IterNodesCost
0667781
13718677
25002674

prune711.0ms

Filtered
123 candidates to 87 candidates (29.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1167123
Fresh022
Picked101
Done011
Total11710127

Merged error: 20.7b

Counts
127 → 10

regimes347.0ms

Accuracy

83.6% (1.7b remaining)

Error of 23.3b against oracle of 21.5b and baseline of 32.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06045
16245
26245

end0.0ms

sample7.2s

Algorithm
intervals
Results
2.1s3900×body1280valid
1.2s1064×body1280nan
838.0ms1820×body640valid
636.0ms916×body640nan
591.0ms3987×body80overflowed
318.0ms3110×body80valid
294.0ms6379×body80nan
280.0ms894×body320valid
180.0ms444×body320nan
82.0ms434×body160valid
39.0ms182×body160nan

Profiling

Loading profile data...