Details

Time bar (total: 17.3s)

sample135.0ms

Algorithm
intervals
Results
94.0ms264×body10240exit
10.0ms197×body80valid
5.0ms27×body320valid
3.0ms10×body640valid
3.0ms23×body160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.9b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite625.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:
12.0ms
(/ wj (+ wj 1))
11.0ms
(/ x (+ wj 1))
22.0ms
(/ (/ x (+ wj 1)) (exp wj))
567.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series131.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ wj (+ wj 1))
20.0ms
(/ x (+ wj 1))
40.0ms
(/ (/ x (+ wj 1)) (exp wj))
51.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify129.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
010154090
145553249
250013243

prune1.1s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
Counts
1 → 20
Calls
1 calls:
15.0ms
(* 2 (* wj x))

series17.0ms

Counts
1 → 3
Calls
1 calls:
17.0ms
(* 2 (* wj x))

simplify83.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
08872
132062
2123762
3344862
4500162

prune62.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (exp wj) (+ (* wj wj) (- 1 (* wj 1))))
0.0b
(/ (/ x (+ (pow wj 3) (pow 1 3))) (/ (exp wj) (+ (* wj wj) (- 1 (* wj 1)))))
0.0b
(/ wj (+ wj 1))
5.8b
(- (+ (/ (/ x (+ (pow wj 3) (pow 1 3))) (/ (exp wj) (+ (* wj wj) (- 1 (* wj 1))))) wj) (/ wj (+ wj 1)))

rewrite3.8s

Algorithm
rewrite-expression-head
Rules
1423×times-frac
1158×*-un-lft-identity
560×add-sqr-sqrt
555×add-cube-cbrt
324×distribute-lft-out
192×unpow-prod-down cube-prod
119×associate-/r/
72×prod-diff
60×flip3-+ flip-+ div-inv
48×cube-mult sum-cubes
42×associate-/l*
22×associate-/r*
20×add-cbrt-cube
17×add-exp-log
10×cbrt-undiv div-exp
add-log-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 → 777
Calls
4 calls:
27.0ms
(/ (exp wj) (+ (* wj wj) (- 1 (* wj 1))))
97.0ms
(/ (/ x (+ (pow wj 3) (pow 1 3))) (/ (exp wj) (+ (* wj wj) (- 1 (* wj 1)))))
10.0ms
(/ wj (+ wj 1))
3.6s
(- (+ (/ (/ x (+ (pow wj 3) (pow 1 3))) (/ (exp wj) (+ (* wj wj) (- 1 (* wj 1))))) wj) (/ wj (+ wj 1)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (exp wj) (+ (* wj wj) (- 1 (* wj 1))))
84.0ms
(/ (/ x (+ (pow wj 3) (pow 1 3))) (/ (exp wj) (+ (* wj wj) (- 1 (* wj 1)))))
19.0ms
(/ wj (+ wj 1))
165.0ms
(- (+ (/ (/ x (+ (pow wj 3) (pow 1 3))) (/ (exp wj) (+ (* wj wj) (- 1 (* wj 1))))) wj) (/ wj (+ wj 1)))

simplify214.0ms

Algorithm
egg-herbie
Counts
789 → 789
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
0302017722
1500316768

prune4.8s

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (+ (pow wj 3) 1)) (exp wj))
0.0b
(fma (/ (/ x (+ (pow wj 3) 1)) (exp wj)) (fma wj wj (- 1 wj)) (- wj (/ wj (+ wj 1))))
0.0b
(/ wj (+ wj 1))
6.6b
(- wj (/ wj (+ wj 1)))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
159×*-un-lft-identity
151×times-frac
112×add-sqr-sqrt
107×add-cube-cbrt
54×prod-diff
25×distribute-lft-out
21×associate-/l*
16×associate-/r/
11×add-cbrt-cube
add-exp-log div-inv
flip3-+ flip-+
associate-/r*
add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg
frac-2neg clear-num difference-of-squares
sub-neg flip3-- diff-log flip-- fma-udef associate-/l/ distribute-lft-out--
Counts
4 → 211
Calls
4 calls:
40.0ms
(/ (/ x (+ (pow wj 3) 1)) (exp wj))
0.0ms
(fma (/ (/ x (+ (pow wj 3) 1)) (exp wj)) (fma wj wj (- 1 wj)) (- wj (/ wj (+ wj 1))))
10.0ms
(/ wj (+ wj 1))
30.0ms
(- wj (/ wj (+ wj 1)))

series201.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(/ (/ x (+ (pow wj 3) 1)) (exp wj))
90.0ms
(fma (/ (/ x (+ (pow wj 3) 1)) (exp wj)) (fma wj wj (- 1 wj)) (- wj (/ wj (+ wj 1))))
25.0ms
(/ wj (+ wj 1))
23.0ms
(- wj (/ wj (+ wj 1)))

simplify120.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09752912
144622249
250012249

prune1.5s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes129.0ms

Accuracy

0% (0.9b remaining)

Error of 0.9b against oracle of 0.1b and baseline of 0.9b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02413
12613
22613

end0.0ms

sample3.7s

Algorithm
intervals
Results
2.7s7725×body10240exit
350.0ms6293×body80valid
148.0ms793×body320valid
146.0ms465×body640valid
61.0ms520×body160valid