Details

Time bar (total: 4.7s)

sample86.0ms

Algorithm
intervals
Results
42.0ms114×body10240exit
16.0ms208×body80valid
7.0ms110×body80overflowed
4.0ms15×body640valid
3.0ms17×body320valid
2.0ms18×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 11.3b

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

rewrite408.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:
6.0ms
(/ wj (+ wj 1))
6.0ms
(/ x (+ wj 1))
15.0ms
(/ (/ x (+ wj 1)) (exp wj))
373.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series137.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07181538
133001483
250021481

prune402.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite7.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
associate-*r* *-commutative add-log-exp
Counts
1 → 18
Calls
1 calls:
7.0ms
(* 2 (* wj x))

series19.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08666
131856
2123556
3344456
4500156

prune31.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (* (exp wj) (+ wj 1)))
0.0b
(/ wj (+ wj 1))
0.0b
(* (exp wj) (+ wj 1))
4.2b
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
32×*-un-lft-identity
24×add-sqr-sqrt
17×add-cube-cbrt
16×times-frac
13×add-cbrt-cube
11×add-exp-log
add-log-exp
pow1 distribute-lft-out associate-/l*
associate-/r*
flip3-+ associate-*r/ associate-*r* associate-/r/ flip-+
cbrt-undiv div-exp associate-*l*
frac-2neg diff-log prod-exp clear-num frac-sub cbrt-unprod div-inv distribute-lft-out-- difference-of-squares
distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-prod-down associate--l+ sum-log *-commutative flip-- unswap-sqr
Counts
4 → 99
Calls
4 calls:
7.0ms
(/ x (* (exp wj) (+ wj 1)))
6.0ms
(/ wj (+ wj 1))
13.0ms
(* (exp wj) (+ wj 1))
139.0ms
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

series150.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(/ x (* (exp wj) (+ wj 1)))
20.0ms
(/ wj (+ wj 1))
33.0ms
(* (exp wj) (+ wj 1))
56.0ms
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

simplify57.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0493762
12288711
25001708

prune216.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.1b

regimes24.0ms

Accuracy

0% (1.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.4s3848×body10240exit
428.0ms6208×body80valid
248.0ms3872×body80overflowed
148.0ms818×body320valid
122.0ms493×body640valid
69.0ms547×body160valid