Details

Time bar (total: 5.1s)

sample86.0ms

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

simplify50.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: 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)))

rewrite459.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))
14.0ms
(/ (/ x (+ wj 1)) (exp wj))
422.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series150.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
010154090
145553249
250013243

prune512.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
expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
Counts
1 → 20
Calls
1 calls:
6.0ms
(* 2 (* wj x))

series20.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
08872
132062
2123762
3344862
4500162

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

rewrite192.0ms

Algorithm
rewrite-expression-head
Rules
145×*-un-lft-identity
75×add-sqr-sqrt
72×prod-diff
68×add-cube-cbrt
64×times-frac
37×distribute-lft-out
13×add-cbrt-cube
12×associate-/r/
11×add-exp-log
add-log-exp
flip3-+ flip-+
pow1 div-inv associate-/l*
associate-/r*
expm1-log1p-u fma-neg associate-*r/ associate-*r* log1p-expm1-u
cbrt-undiv div-exp associate-*l*
frac-2neg diff-log prod-exp clear-num frac-sub cbrt-unprod 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 → 183
Calls
4 calls:
7.0ms
(/ x (* (exp wj) (+ wj 1)))
6.0ms
(/ wj (+ wj 1))
12.0ms
(* (exp wj) (+ wj 1))
157.0ms
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

series156.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ x (* (exp wj) (+ wj 1)))
22.0ms
(/ wj (+ wj 1))
38.0ms
(* (exp wj) (+ wj 1))
56.0ms
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

simplify109.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07993369
136812495
250012486

prune317.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.1b

regimes25.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
418.0ms6208×body80valid
239.0ms3872×body80overflowed
145.0ms818×body320valid
121.0ms493×body640valid
65.0ms547×body160valid