Details

Time bar (total: 5.7s)

sample65.0ms

Algorithm
intervals
Results
28.0ms136×body5120exit
11.0ms207×body80valid
4.0ms122×body80overflowed
2.0ms22×body320valid
2.0ms10×body640valid
1.0ms19×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 10.9b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
0.0b
(/ x (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
4.9b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
115×times-frac
103×*-un-lft-identity
69×add-sqr-sqrt
64×add-cube-cbrt
21×associate-/l*
18×distribute-lft-out
11×add-cbrt-cube add-log-exp
10×associate-/r/
add-exp-log
flip3-+ associate-/r* flip-+
div-inv
pow1 cbrt-undiv div-exp
frac-2neg diff-log clear-num sum-log frac-sub distribute-lft-out-- difference-of-squares
+-commutative sub-neg flip3-- associate--l+ flip-- associate-/l/
Counts
4 → 155
Calls
4 calls:
23.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
5.0ms
(/ x (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
28.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series162.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
21.0ms
(/ x (+ wj 1))
37.0ms
(/ (/ x (+ wj 1)) (exp wj))
56.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify71.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06741485
130581436
250021434

prune510.0ms

Filtered
167 candidates to 124 candidates (74.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1625167
Fresh000
Picked101
Done000
Total1635168

Merged error: 0.4b

Counts
168 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 2 (* wj x))
0.0b
(+ x (pow wj 2))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ distribute-lft-out
Counts
2 → 30
Calls
2 calls:
4.0ms
(* 2 (* wj x))
4.0ms
(+ x (pow wj 2))

series50.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(* 2 (* wj x))
31.0ms
(+ x (pow wj 2))

simplify68.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0149122
1551108
22352107
35001107

prune105.0ms

Filtered
36 candidates to 21 candidates (58.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New32436
Fresh044
Picked011
Done000
Total32941

Merged error: 0.4b

Counts
41 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
14.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))

series1.2s

Counts
4 → 12
Calls
4 calls:
270.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
313.0ms
(cbrt (+ x (pow wj 2)))
305.0ms
(cbrt (+ x (pow wj 2)))
305.0ms
(cbrt (+ x (pow wj 2)))

simplify165.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (155.0ms)

IterNodesCost
0252878
1944827
24715760
35001749

prune371.0ms

Filtered
107 candidates to 75 candidates (70.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh167
Picked101
Done011
Total1088116

Merged error: 0.4b

Counts
116 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (/ x (+ wj 1)) (exp wj)) (- wj (/ wj (+ wj 1))))
0.0b
(/ x (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
6.2b
(- wj (/ wj (+ wj 1)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
115×times-frac
103×*-un-lft-identity
69×add-sqr-sqrt
64×add-cube-cbrt
21×associate-/l*
18×distribute-lft-out
11×add-cbrt-cube add-log-exp
10×associate-/r/
add-exp-log
associate-/r*
flip3-+ flip-+ div-inv
pow1 cbrt-undiv div-exp
sub-neg associate-+r+ flip3-- frac-2neg diff-log frac-add clear-num sum-log flip-- distribute-lft-out-- difference-of-squares
+-commutative associate-+r- associate-/l/
Counts
4 → 157
Calls
4 calls:
36.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) (- wj (/ wj (+ wj 1))))
5.0ms
(/ x (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
8.0ms
(- wj (/ wj (+ wj 1)))

series141.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) (- wj (/ wj (+ wj 1))))
27.0ms
(/ x (+ wj 1))
37.0ms
(/ (/ x (+ wj 1)) (exp wj))
25.0ms
(- wj (/ wj (+ wj 1)))

simplify75.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06881409
130151360
250011358

prune496.0ms

Filtered
169 candidates to 124 candidates (73.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1681169
Fresh336
Picked101
Done101
Total1734177

Merged error: 0.0b

Counts
177 → 4

regimes99.0ms

Accuracy

76% (0.3b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 1.2b

bsearch45.0ms

Steps
ItersRangePoint
9
1.8814443039852147e-08
45.05589645901405
0.00010020069437579795

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03521
13521

end0.0ms

sample1.8s

Algorithm
intervals
Results
812.0ms3761×body5120exit
219.0ms6323×body80valid
132.0ms3806×body80overflowed
86.0ms783×body320valid
74.0ms439×body640valid
39.0ms548×body160valid

Profiling

Loading profile data...