Details

Time bar (total: 11.6s)

sample225.0ms

Algorithm
intervals
Results
61.0ms125×body1280valid
47.0ms78×body1280nan
25.0ms59×body640nan
19.0ms55×body640valid
16.0ms52×body10240exit
10.0ms242×body80nan
8.0ms31×body320nan
8.0ms33×body320valid
5.0ms94×body80valid
3.0ms21×body160valid
2.0ms15×body160nan

simplify150.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
549966
650016

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.6b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow x (/ 1.0 n))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
sqr-pow
pow-to-exp sub-neg pow-unpow flip3-- flip-- div-inv difference-of-squares
Counts
2 → 8
Calls
2 calls:
2.0ms
(pow x (/ 1.0 n))
4.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series342.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(pow x (/ 1.0 n))
281.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify96.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0248158
1788157
23833145
35001145

prune48.0ms

Filtered
14 candidates to 12 candidates (85.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New12214
Fresh000
Picked011
Done000
Total12315

Merged error: 25.1b

Counts
15 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (* (log x) 1.0) (* x (pow n 2)))
1.5b
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
9.6b
(* x (pow n 2))
9.9b
(/ (/ 0.5 n) (pow x 2))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
1156×frac-sub
445×associate-/l/
402×associate-/r*
360×frac-2neg clear-num
276×associate-/l*
152×div-inv
143×*-commutative
142×unpow2
135×associate-*r*
132×sqr-pow
10×times-frac sub-div
flip3-- flip--
sub-neg associate--r+
associate--r-
Counts
4 → 628
Calls
4 calls:
5.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
49.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
3.0ms
(* x (pow n 2))
4.0ms
(/ (/ 0.5 n) (pow x 2))

series213.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
66.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
35.0ms
(* x (pow n 2))
27.0ms
(/ (/ 0.5 n) (pow x 2))

simplify188.0ms

Algorithm
egg-herbie
Counts
640 → 640
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
0500216740

prune2.1s

Filtered
640 candidates to 503 candidates (78.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New6355640
Fresh011
Picked011
Done011
Total6358643

Merged error: 25.0b

Counts
643 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (- 1.0 (- (* (/ (/ 0.5 n) x) n) (* x (/ (* (log x) 1.0) (* x n))))) (* x n))
0.9b
(/ (* (log x) 1.0) (* x n))
10.9b
(* x (/ (* (log x) 1.0) (* x n)))
11.1b
(* (/ (/ 0.5 n) x) n)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
15×*-commutative
times-frac
associate-*r/ associate-*l/
clear-num associate-/r*
frac-2neg associate-*r* div-inv associate-/l/ associate-/l*
div-sub
associate--r+
sub-neg flip3-- associate-*l* un-div-inv flip--
Counts
4 → 44
Calls
4 calls:
4.0ms
(/ (- 1.0 (- (* (/ (/ 0.5 n) x) n) (* x (/ (* (log x) 1.0) (* x n))))) (* x n))
4.0ms
(/ (* (log x) 1.0) (* x n))
6.0ms
(* x (/ (* (log x) 1.0) (* x n)))
5.0ms
(* (/ (/ 0.5 n) x) n)

series244.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(/ (- 1.0 (- (* (/ (/ 0.5 n) x) n) (* x (/ (* (log x) 1.0) (* x n))))) (* x n))
95.0ms
(/ (* (log x) 1.0) (* x n))
64.0ms
(* x (/ (* (log x) 1.0) (* x n)))
12.0ms
(* (/ (/ 0.5 n) x) n)

simplify46.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0313283
11564281
25002261

prune172.0ms

Filtered
56 candidates to 47 candidates (83.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New54256
Fresh055
Picked101
Done112
Total56864

Merged error: 25.0b

Counts
64 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ (* (log x) 1.0) (* x n))
7.9b
(/ (/ (- 1.0 (- (* (/ (/ 0.5 n) x) n) (* x (/ (* (log x) 1.0) (* x n))))) x) n)
10.9b
(* x (/ (* (log x) 1.0) (* x n)))
11.1b
(* (/ (/ 0.5 n) x) n)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
14×*-commutative
10×associate-/l/
times-frac
associate-*r/ associate-*l/ clear-num
frac-2neg div-sub div-inv associate-/l*
associate-*r*
associate-/r*
associate--r+
sub-neg flip3-- associate-*l* un-div-inv flip--
Counts
4 → 46
Calls
4 calls:
4.0ms
(/ (* (log x) 1.0) (* x n))
5.0ms
(/ (/ (- 1.0 (- (* (/ (/ 0.5 n) x) n) (* x (/ (* (log x) 1.0) (* x n))))) x) n)
6.0ms
(* x (/ (* (log x) 1.0) (* x n)))
5.0ms
(* (/ (/ 0.5 n) x) n)

series245.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (* (log x) 1.0) (* x n))
73.0ms
(/ (/ (- 1.0 (- (* (/ (/ 0.5 n) x) n) (* x (/ (* (log x) 1.0) (* x n))))) x) n)
64.0ms
(* x (/ (* (log x) 1.0) (* x n)))
12.0ms
(* (/ (/ 0.5 n) x) n)

simplify47.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0323277
11659274
25001257

prune158.0ms

Filtered
58 candidates to 48 candidates (82.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New56258
Fresh246
Picked011
Done011
Total58866

Merged error: 25.0b

Counts
66 → 8

regimes258.0ms

Accuracy

84.7% (1.6b remaining)

Error of 24.0b against oracle of 22.4b and baseline of 33.0b

bsearch177.0ms

Steps
ItersRangePoint
10
1.3631296947685654e-08
15668503.59854612
604142.6566243569
8
-2026836488009.5793
-630460809.4077591
-35447295026.760864

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03518
13518

end0.0ms

sample6.7s

Algorithm
intervals
Results
1.9s3903×body1280valid
1.3s2214×body1280nan
761.0ms1838×body640nan
637.0ms1815×body640valid
581.0ms1424×body10240exit
289.0ms6454×body80nan
221.0ms891×body320nan
205.0ms882×body320valid
162.0ms3121×body80valid
77.0ms502×body160valid
65.0ms448×body160nan