Details

Time bar (total: 4.1s)

sample58.0ms

Algorithm
intervals
Results
25.0ms115×body5120exit
8.0ms209×body80valid
3.0ms20×body640valid
3.0ms100×body80overflowed
1.0ms13×body320valid
1.0ms15×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.5b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
118×*-un-lft-identity
78×add-sqr-sqrt
73×add-cube-cbrt
24×associate-/l*
21×distribute-lft-out
13×add-cbrt-cube
12×associate-/r/
11×add-exp-log associate-/r*
add-log-exp
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1
frac-2neg clear-num
diff-log frac-sub distribute-lft-out-- difference-of-squares
sub-neg flip3-- associate--l+ sum-log flip-- associate-/l/
Counts
4 → 176
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
5.0ms
(/ wj (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
31.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series38.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x (+ wj 1))
3.0ms
(/ wj (+ wj 1))
16.0ms
(/ (/ x (+ wj 1)) (exp wj))
15.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify84.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07211524
133031471
250021469

prune253.0ms

Filtered
188 candidates to 138 candidates (26.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1844188
Fresh101
Picked101
Done000
Total1864190

Merged error: 0.2b

Counts
190 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

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

series16.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ x (pow wj 2))
7.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
3.0ms
(* 2 (* wj x))

simplify131.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0202245
1793228
24232225
35001225

prune78.0ms

Filtered
53 candidates to 32 candidates (39.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New50353
Fresh033
Picked011
Done000
Total50757

Merged error: 0.2b

Counts
57 → 7

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

rewrite28.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:
12.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)))

series214.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
53.0ms
(cbrt (+ x (pow wj 2)))
51.0ms
(cbrt (+ x (pow wj 2)))
53.0ms
(cbrt (+ x (pow wj 2)))

simplify133.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0286947
1924896
24131787
35002764

prune257.0ms

Filtered
107 candidates to 72 candidates (32.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh145
Picked101
Done011
Total1086114

Merged error: 0.2b

Counts
114 → 6

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
1.0b
(pow (cbrt (cbrt (+ x (pow wj 2)))) 5)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
23×cbrt-prod
19×*-un-lft-identity
11×add-sqr-sqrt add-cube-cbrt
10×unpow-prod-down
cbrt-div
pow1 add-exp-log
pow1/3 add-cbrt-cube distribute-lft-out add-log-exp
pow-unpow flip3-+ flip-+
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 67
Calls
4 calls:
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
7.0ms
(pow (cbrt (cbrt (+ x (pow wj 2)))) 5)

series246.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(cbrt (+ x (pow wj 2)))
53.0ms
(cbrt (+ x (pow wj 2)))
51.0ms
(cbrt (+ x (pow wj 2)))
90.0ms
(pow (cbrt (cbrt (+ x (pow wj 2)))) 5)

simplify97.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0299632
1849594
23023552
35001526

prune225.0ms

Filtered
79 candidates to 58 candidates (26.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New78179
Fresh044
Picked011
Done011
Total78785

Merged error: 0.2b

Counts
85 → 7

regimes116.0ms

Accuracy

67.7% (0.6b remaining)

Error of 0.9b against oracle of 0.3b and baseline of 2.2b

bsearch16.0ms

Steps
ItersRangePoint
7
7.626038832647247e-10
2.3799359366119852e-08
8.236116212682397e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12613

end0.0ms

sample1.9s

Algorithm
intervals
Results
858.0ms3810×body5120exit
230.0ms6267×body80valid
133.0ms3822×body80overflowed
92.0ms802×body320valid
86.0ms479×body640valid
44.0ms533×body160valid

Profiling

Loading profile data...