Details

Time bar (total: 4.3s)

sample61.0ms

Algorithm
intervals
Results
39.0ms224×body10240exit
6.0ms208×body80valid
2.0ms15×body640valid
2.0ms17×body320valid
1.0ms18×body160valid

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

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

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

simplify123.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
010154090
145553249
250013243

prune502.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

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

simplify78.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (4.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)))

rewrite183.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)))
5.0ms
(/ wj (+ wj 1))
12.0ms
(* (exp wj) (+ wj 1))
152.0ms
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

series158.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ x (* (exp wj) (+ wj 1)))
27.0ms
(/ wj (+ wj 1))
35.0ms
(* (exp wj) (+ wj 1))
58.0ms
(- (+ (/ x (* (exp wj) (+ wj 1))) wj) (/ wj (+ wj 1)))

simplify105.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
08013328
136832485
250012476

prune321.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.1b

regimes22.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.0s

Algorithm
intervals
Results
1.4s7720×body10240exit
189.0ms6208×body80valid
73.0ms818×body320valid
72.0ms493×body640valid
32.0ms547×body160valid