Details

Time bar (total: 4.6s)

sample66.0ms

Algorithm
intervals
Results
42.0ms218×body10240exit
6.0ms202×body80valid
3.0ms17×body640valid
2.0ms22×body320valid
1.0ms17×body160valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0219
1529
21139
32408
416258
550018

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.7b

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

rewrite451.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))
415.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series147.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ wj (+ wj 1))
22.0ms
(/ x (+ wj 1))
39.0ms
(/ (/ x (+ wj 1)) (exp wj))
60.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify126.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
010154090
145553249
250013243

prune731.0ms

Filtered
272 candidates to 165 candidates (60.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (pow wj 2))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
fma-def add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ sum-log add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
Counts
1 → 17
Calls
1 calls:
5.0ms
(+ x (pow wj 2))

series29.0ms

Counts
1 → 3
Calls
1 calls:
29.0ms
(+ x (pow wj 2))

simplify95.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (26.0ms)

IterNodesCost
07564
124852
272052
3290950
4500150

prune56.0ms

Filtered
20 candidates to 17 candidates (85.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify5.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune9.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (exp wj))
0.0b
(* wj (exp wj))
0.2b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
4.9b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
76×add-sqr-sqrt
67×add-cube-cbrt
63×prod-diff
61×times-frac
13×distribute-rgt-out distribute-rgt1-in
10×add-cbrt-cube
pow1 add-exp-log associate-/r/
associate-*r* associate-*l* add-log-exp
associate-/r*
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u div-inv
fma-neg associate-/l*
flip3-- div-sub pow-prod-down prod-exp *-commutative flip-- cbrt-unprod associate-/l/ difference-of-squares unswap-sqr
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num distribute-lft-out-- associate--r-
Counts
4 → 166
Calls
4 calls:
5.0ms
(* wj (exp wj))
5.0ms
(* wj (exp wj))
17.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
31.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series151.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* wj (exp wj))
28.0ms
(* wj (exp wj))
42.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
53.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify102.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
07914583
130143101
250022803

prune301.0ms

Filtered
178 candidates to 103 candidates (57.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

regimes80.0ms

Accuracy

0% (1.9b 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
0145
1165
2165

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.4s7621×body10240exit
196.0ms6295×body80valid
76.0ms782×body320valid
68.0ms463×body640valid
32.0ms530×body160valid