Details

Time bar (total: 10.5s)

sample290.0ms

Algorithm
intervals
Results
81.0ms120×body1280valid
51.0ms33×body1280nan
34.0ms55×body640valid
23.0ms26×body640nan
23.0ms118×body80overflowed
13.0ms100×body80valid
12.0ms32×body320valid
11.0ms162×body80nan
8.0ms15×body320nan
4.0ms17×body160valid
3.0msbody160nan

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

Counts
2 → 1

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

series71.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0552688
11885669
25002641

prune177.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:
4.0ms
(sqrt (pow x (/ 1.0 n)))
4.0ms
(pow x (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series117.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05721081
120071049
250021000

prune466.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

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

rewrite36.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))
4.0ms
(pow x (/ 1.0 n))
10.0ms
(* (cbrt (pow x (/ 1.0 n))) (cbrt (pow x (/ 1.0 n))))
13.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series117.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
07191670
126881609
250011544

prune734.0ms

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

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

rewrite33.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))))
5.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)

simplify254.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (241.0ms)

IterNodesCost
0667764
13837668
25001665

prune202.0ms

Filtered
123 candidates to 87 candidates (29.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1176123
Fresh022
Picked101
Done011
Total1189127

Merged error: 20.7b

Counts
127 → 9

regimes278.0ms

Accuracy

83.6% (1.7b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06045
16245
26245

end0.0ms

sample7.3s

Algorithm
intervals
Results
2.2s3900×body1280valid
1.2s1064×body1280nan
859.0ms1820×body640valid
636.0ms916×body640nan
593.0ms3987×body80overflowed
335.0ms6379×body80nan
321.0ms3110×body80valid
285.0ms894×body320valid
187.0ms444×body320nan
85.0ms434×body160valid
40.0ms182×body160nan

Profiling

Loading profile data...