Details

Time bar (total: 9.1s)

sample224.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1356
2856
32496
49116
550016

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

localize9.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-- fma-neg prod-diff flip-- div-inv difference-of-squares
Counts
2 → 10
Calls
2 calls:
2.0ms
(pow x (/ 1.0 n))
4.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series339.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
0267192
1864170
24257158
35001152

prune57.0ms

Filtered
16 candidates to 14 candidates (87.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New13316
Fresh000
Picked011
Done000
Total13417

Merged error: 25.2b

Counts
17 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (* (log x) 1.0) (* x (pow n 2)))
0.5b
(/ 0.5 (pow x 2))
7.9b
(fma (/ 1 n) (- (/ 1.0 x) (/ 0.5 (pow x 2))) (/ (* (log x) 1.0) (* x (pow n 2))))
9.6b
(* x (pow n 2))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
times-frac associate-*r*
associate-/r*
unpow2 sqr-pow
frac-2neg clear-num div-inv associate-/l*
fma-udef
Counts
4 → 26
Calls
4 calls:
5.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
2.0ms
(/ 0.5 (pow x 2))
1.0ms
(fma (/ 1 n) (- (/ 1.0 x) (/ 0.5 (pow x 2))) (/ (* (log x) 1.0) (* x (pow n 2))))
3.0ms
(* x (pow n 2))

series208.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
28.0ms
(/ 0.5 (pow x 2))
63.0ms
(fma (/ 1 n) (- (/ 1.0 x) (/ 0.5 (pow x 2))) (/ (* (log x) 1.0) (* x (pow n 2))))
32.0ms
(* x (pow n 2))

simplify128.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0204165
1753163
24664156
35001154

prune119.0ms

Filtered
38 candidates to 30 candidates (78.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New36238
Fresh022
Picked101
Done011
Total37542

Merged error: 25.1b

Counts
42 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-/l/
15×frac-sub
13×associate-/r*
11×frac-2neg clear-num
*-commutative unpow2
times-frac associate-*r* sqr-pow
div-inv
associate-/l*
flip3-- div-sub flip-- sub-div
Counts
4 → 47
Calls
4 calls:
5.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
2.0ms
(/ 0.5 (pow x 2))
8.0ms
(/ (- (/ 1.0 x) (/ 0.5 (pow x 2))) n)
3.0ms
(* x (pow n 2))

series186.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
24.0ms
(/ 0.5 (pow x 2))
51.0ms
(/ (- (/ 1.0 x) (/ 0.5 (pow x 2))) n)
29.0ms
(* x (pow n 2))

simplify32.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0294225
11155210
25002207

prune196.0ms

Filtered
59 candidates to 49 candidates (83.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New56359
Fresh033
Picked011
Done011
Total56864

Merged error: 25.1b

Counts
64 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (log (/ 1 x)) (pow n 2))
0.4b
(/ (- 0.5) (* (pow x 2) n))
2.7b
(fma (/ 1.0 x) (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2))) (/ (- 0.5) (* (pow x 2) n)))
10.0b
(* (pow x 2) n)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
times-frac associate-*l* associate-/r*
neg-mul-1 unpow2 sqr-pow
div-sub clear-num
log-div frac-2neg distribute-frac-neg log-pow *-commutative inv-pow
log-rec div-inv associate-/l*
neg-sub0 fma-udef
Counts
4 → 31
Calls
4 calls:
4.0ms
(/ (log (/ 1 x)) (pow n 2))
4.0ms
(/ (- 0.5) (* (pow x 2) n))
1.0ms
(fma (/ 1.0 x) (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2))) (/ (- 0.5) (* (pow x 2) n)))
4.0ms
(* (pow x 2) n)

series188.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(/ (log (/ 1 x)) (pow n 2))
22.0ms
(/ (- 0.5) (* (pow x 2) n))
82.0ms
(fma (/ 1.0 x) (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2))) (/ (- 0.5) (* (pow x 2) n)))
18.0ms
(* (pow x 2) n)

simplify158.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0194178
1731169
24563160
35001160

prune115.0ms

Filtered
43 candidates to 32 candidates (74.4%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New42143
Fresh145
Picked011
Done022
Total43851

Merged error: 25.1b

Counts
51 → 8

regimes246.0ms

Accuracy

85.4% (1.5b remaining)

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

bsearch174.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
04229
14229

end0.0ms

sample6.5s

Algorithm
intervals
Results
1.8s3903×body1280valid
1.3s2214×body1280nan
743.0ms1838×body640nan
615.0ms1815×body640valid
559.0ms1424×body10240exit
270.0ms6454×body80nan
230.0ms891×body320nan
194.0ms882×body320valid
157.0ms3121×body80valid
75.0ms502×body160valid
63.0ms448×body160nan