Details

Time bar (total: 8.9s)

sample137.0ms

Algorithm
intervals
Results
102.0ms294×body10240exit
11.0ms210×body80valid
5.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

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.9b

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

rewrite437.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:
5.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
402.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ wj (+ wj 1))
6.0ms
(/ x (+ wj 1))
16.0ms
(/ (/ x (+ wj 1)) (exp wj))
16.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify120.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
010154090
145553249
250013243

prune1.5s

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

rewrite60.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))
48.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
6.0ms
(* 2 (* wj x))

series17.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0237344
1922293
25001274

prune373.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize10.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

prune66.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

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

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

series1.1s

Counts
4 → 12
Calls
4 calls:
20.0ms
(pow (cbrt wj) 3)
21.0ms
(pow (cbrt wj) 3)
19.0ms
(pow (cbrt wj) 3)
1.0s
(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)))

simplify51.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0304710
11482612
25002595

prune1.0s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

regimes203.0ms

Accuracy

0% (1.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0168
1168

end0.0ms

sample3.6s

Algorithm
intervals
Results
2.7s7938×body10240exit
333.0ms6285×body80valid
131.0ms816×body320valid
112.0ms471×body640valid
60.0ms514×body160valid