Details

Time bar (total: 10.1s)

sample274.0ms

Algorithm
intervals
Results
79.0ms128×body1280valid
51.0ms42×body1280nan
26.0ms53×body640valid
24.0ms151×body80overflowed
22.0ms31×body640nan
12.0ms231×body80nan
12.0ms110×body80valid
8.0ms23×body320valid
5.0ms13×body320nan
3.0ms14×body160valid
2.0ms10×body160nan

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.4b

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.4b
(- (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)))

series70.0ms

Counts
3 → 9
Calls
3 calls:
17.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)))

simplify46.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0552688
11885669
25002641

prune183.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New83588
Fresh000
Picked101
Done000
Total84589

Merged error: 23.7b

Counts
89 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

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

series165.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(pow (sqrt x) (/ 1.0 n))
26.0ms
(pow (sqrt x) (/ 1.0 n))
40.0ms
(* (pow (sqrt x) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
76.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))

simplify70.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05741380
124131293
250011283

prune264.0ms

Filtered
103 candidates to 163 candidates (-58.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1621163
Fresh044
Picked101
Done000
Total1635168

Merged error: 23.7b

Counts
168 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* (log (sqrt x)) (/ 1.0 n)))
0.0b
(* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n))))
0.3b
(* (log (sqrt x)) (/ 1.0 n))
5.6b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
11×add-exp-log add-cbrt-cube
10×times-frac
pow1 unpow-prod-down
add-log-exp
unswap-sqr
prod-exp
exp-to-pow sqrt-prod
pow-prod-down log-pow cbrt-unprod
exp-prod *-commutative sqr-pow
cbrt-undiv pow-to-exp sub-neg flip3-- sqrt-pow1 pow1/2 diff-log associate-*r/ div-exp pow-exp pow-sqr pow-prod-up flip-- div-inv rem-exp-log
Counts
4 → 90
Calls
4 calls:
2.0ms
(exp (* (log (sqrt x)) (/ 1.0 n)))
7.0ms
(* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n))))
8.0ms
(* (log (sqrt x)) (/ 1.0 n))
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))

series187.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(exp (* (log (sqrt x)) (/ 1.0 n)))
55.0ms
(* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n))))
15.0ms
(* (log (sqrt x)) (/ 1.0 n))
93.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt x) (/ 1.0 n)) (exp (* (log (sqrt x)) (/ 1.0 n)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0649990
12656814
25001795

prune198.0ms

Filtered
78 candidates to 102 candidates (-30.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1011102
Fresh044
Picked101
Done000
Total1025107

Merged error: 23.7b

Counts
107 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* (log (sqrt x)) (/ 1.0 n)))
0.0b
(pow (sqrt (pow (sqrt x) (/ 1.0 n))) 3)
0.3b
(* (log (sqrt x)) (/ 1.0 n))
5.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt (pow (sqrt x) (/ 1.0 n))) 3) (sqrt (exp (* (log (sqrt x)) (/ 1.0 n))))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt sqrt-prod
25×unpow-prod-down
21×add-cube-cbrt *-un-lft-identity
13×cube-prod associate-*r*
10×add-exp-log times-frac add-cbrt-cube
pow1
add-log-exp
associate-*l*
pow-unpow pow-pow log-pow sqr-pow
sqrt-pow1 pow1/2 prod-exp cbrt-unprod unswap-sqr
cbrt-undiv cube-mult pow-to-exp sub-neg exp-prod flip3-- exp-to-pow diff-log unpow3 associate-*r/ div-exp pow-prod-down pow-exp *-commutative sqrt-pow2 flip-- div-inv rem-exp-log rem-cube-cbrt
Counts
4 → 103
Calls
4 calls:
2.0ms
(exp (* (log (sqrt x)) (/ 1.0 n)))
7.0ms
(pow (sqrt (pow (sqrt x) (/ 1.0 n))) 3)
7.0ms
(* (log (sqrt x)) (/ 1.0 n))
6.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt (pow (sqrt x) (/ 1.0 n))) 3) (sqrt (exp (* (log (sqrt x)) (/ 1.0 n))))))

series246.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(exp (* (log (sqrt x)) (/ 1.0 n)))
67.0ms
(pow (sqrt (pow (sqrt x) (/ 1.0 n))) 3)
15.0ms
(* (log (sqrt x)) (/ 1.0 n))
139.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (* (pow (sqrt (pow (sqrt x) (/ 1.0 n))) 3) (sqrt (exp (* (log (sqrt x)) (/ 1.0 n))))))

simplify92.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07751148
133101007
25002980

prune230.0ms

Filtered
74 candidates to 115 candidates (-55.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1141115
Fresh044
Picked101
Done000
Total1155120

Merged error: 23.7b

Counts
120 → 5

regimes272.0ms

Accuracy

81% (2.0b remaining)

Error of 24.5b against oracle of 22.5b and baseline of 33.0b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06857
17057
27057

end0.0ms

sample7.6s

Algorithm
intervals
Results
2.2s3825×body1280valid
1.2s1083×body1280nan
871.0ms1813×body640valid
670.0ms943×body640nan
625.0ms4056×body80overflowed
332.0ms6180×body80nan
320.0ms3080×body80valid
305.0ms929×body320valid
197.0ms461×body320nan
101.0ms472×body160valid
48.0ms212×body160nan

Profiling

Loading profile data...