Details

Time bar (total: 7.2s)

sample74.0ms

Algorithm
intervals
Results
48.0ms230×body10240exit
6.0ms185×body80valid
3.0ms35×body320valid
3.0ms19×body640valid
1.0ms18×body160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.9b

Counts
2 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
231×*-un-lft-identity
175×times-frac
129×add-sqr-sqrt
124×add-cube-cbrt
72×prod-diff
52×distribute-lft-out
24×associate-/l*
20×associate-/r/
13×add-cbrt-cube
11×add-exp-log flip3-+ associate-/r* flip-+ div-inv
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u fma-neg log1p-expm1-u
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 → 260
Calls
4 calls:
8.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
10.0ms
(/ (/ x (+ wj 1)) (exp wj))
31.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series138.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(/ wj (+ wj 1))
21.0ms
(/ x (+ wj 1))
44.0ms
(/ (/ x (+ wj 1)) (exp wj))
53.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify131.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
010154090
145553249
250013243

prune443.0ms

Filtered
272 candidates to 165 candidates (60.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2693272
Fresh101
Picked101
Done000
Total2713274

Merged error: 0.1b

Counts
274 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series47.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ x (pow wj 2))
19.0ms
(* 2 (* wj x))

simplify70.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0156140
1573114
22424114
35002113

prune73.0ms

Filtered
43 candidates to 30 candidates (69.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New41243
Fresh022
Picked011
Done000
Total41546

Merged error: 0.1b

Counts
46 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ x (pow wj 2)))
0.5b
(cbrt (+ x (pow wj 2)))
0.5b
(cbrt (+ x (pow wj 2)))
0.5b
(* (cbrt (+ x (pow wj 2))) (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
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u 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 → 103
Calls
4 calls:
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
12.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))

series1.2s

Counts
4 → 12
Calls
4 calls:
319.0ms
(cbrt (+ x (pow wj 2)))
321.0ms
(cbrt (+ x (pow wj 2)))
318.0ms
(cbrt (+ x (pow wj 2)))
269.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))

simplify172.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0259918
1995867
24922790
35001790

prune277.0ms

Filtered
115 candidates to 86 candidates (74.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1132115
Fresh033
Picked101
Done011
Total1146120

Merged error: 0.1b

Counts
120 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
420×cbrt-div
148×frac-times
126×flip3-+ flip-+
50×associate-*r/ associate-*l/
12×add-sqr-sqrt
11×pow1 cbrt-prod
pow1/3
add-cube-cbrt *-un-lft-identity
add-exp-log
expm1-log1p-u swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 173
Calls
4 calls:
11.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
11.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
11.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
10.0ms
(* (cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))) (cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))))

series1.3s

Counts
4 → 12
Calls
4 calls:
455.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
279.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
276.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
302.0ms
(* (cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))) (cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))))

simplify163.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
03784841
110444705
242684621
350014617

prune454.0ms

Filtered
185 candidates to 101 candidates (54.6%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1841185
Fresh044
Picked011
Done011
Total1847191

Merged error: 0.1b

Counts
191 → 7

regimes63.0ms

Accuracy

69.1% (0.5b remaining)

Error of 0.8b against oracle of 0.3b and baseline of 2.0b

bsearch40.0ms

Steps
ItersRangePoint
9
1.2261953182377537e-15
1.3201210546183864e-08
4.794595763324104e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02915
12915

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.5s7538×body10240exit
199.0ms6294×body80valid
73.0ms738×body320valid
72.0ms467×body640valid
37.0ms566×body160valid