Details

Time bar (total: 7.3s)

sample79.0ms

Algorithm
intervals
Results
55.0ms294×body10240exit
6.0ms210×body80valid
3.0ms29×body320valid
2.0ms10×body640valid
1.0ms11×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.9b

localize12.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))
3.4b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite460.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:
7.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
13.0ms
(/ (/ x (+ wj 1)) (exp wj))
423.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series142.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
010154090
145553249
250013243

prune536.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

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

rewrite64.0ms

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

series83.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ x (pow wj 2))
29.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
20.0ms
(* 2 (* wj x))

simplify37.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0237340
1926292
25001274

prune154.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize5.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune17.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize22.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow (cbrt wj) 3)
0.7b
(pow (cbrt wj) 3)
0.7b
(pow (cbrt wj) 3)
11.2b
(fma (cbrt (+ (/ (/ x (+ wj 1)) (exp wj)) wj)) (* (cbrt (+ (/ (/ x (+ wj 1)) (exp wj)) wj)) (cbrt (+ (/ (/ x (+ wj 1)) (exp wj)) wj))) (/ (- (pow (cbrt wj) 3)) (+ wj 1)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×cbrt-prod unpow-prod-down cube-prod
pow-unpow
pow1 add-exp-log
pow-pow
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
cube-mult pow-to-exp pow1/3 unpow3 pow-exp rem-cube-cbrt sqr-pow
fma-udef
Counts
4 → 106
Calls
4 calls:
2.0ms
(pow (cbrt wj) 3)
2.0ms
(pow (cbrt wj) 3)
2.0ms
(pow (cbrt wj) 3)
0.0ms
(fma (cbrt (+ (/ (/ x (+ wj 1)) (exp wj)) wj)) (* (cbrt (+ (/ (/ x (+ wj 1)) (exp wj)) wj)) (cbrt (+ (/ (/ x (+ wj 1)) (exp wj)) wj))) (/ (- (pow (cbrt wj) 3)) (+ wj 1)))

series2.9s

Counts
4 → 12
Calls
4 calls:
221.0ms
(pow (cbrt wj) 3)
229.0ms
(pow (cbrt wj) 3)
228.0ms
(pow (cbrt wj) 3)
2.2s
(fma (cbrt (+ (/ (/ x (+ wj 1)) (exp wj)) wj)) (* (cbrt (+ (/ (/ x (+ wj 1)) (exp wj)) wj)) (cbrt (+ (/ (/ x (+ wj 1)) (exp wj)) wj))) (/ (- (pow (cbrt wj) 3)) (+ wj 1)))

simplify57.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0304716
11482612
25002595

prune311.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

regimes70.0ms

Accuracy

0% (1.9b remaining)

Error of 2.3b against oracle of 0.4b and baseline of 2.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
073
173

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.5s7938×body10240exit
188.0ms6285×body80valid
78.0ms816×body320valid
72.0ms471×body640valid
31.0ms514×body160valid