Details

Time bar (total: 4.4s)

sample66.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
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

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

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

series143.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07211524
133031471
250011469

prune429.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize8.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 add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ sum-log add-cbrt-cube flip-+ distribute-lft-out
Counts
1 → 12
Calls
1 calls:
5.0ms
(+ x (pow wj 2))

series30.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
07057
122752
262951
3245551
4500151

prune37.0ms

Filtered
15 candidates to 10 candidates (66.7%)
Pruning

5 alts after pruning (4 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)))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
24×*-un-lft-identity
18×add-cube-cbrt
16×times-frac
10×add-cbrt-cube
pow1 add-exp-log
associate-*r* associate-*l* add-log-exp
associate-/r*
distribute-rgt-out distribute-rgt1-in
associate-/l*
flip3-- div-sub pow-prod-down prod-exp associate-/r/ *-commutative flip-- cbrt-unprod associate-/l/ difference-of-squares unswap-sqr
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num flip-+ div-inv distribute-lft-out-- associate--r-
Counts
4 → 92
Calls
4 calls:
5.0ms
(* wj (exp wj))
5.0ms
(* wj (exp wj))
16.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
25.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series157.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* wj (exp wj))
29.0ms
(* wj (exp wj))
42.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
54.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0368913
11407859
25001845

prune273.0ms

Filtered
104 candidates to 81 candidates (77.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (pow wj 2))
2.9b
(exp (log (+ x (pow wj 2))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod exp-prod exp-sum add-log-exp
pow1
add-exp-log log-div flip3-+ exp-diff add-cbrt-cube flip-+ distribute-lft-out
+-commutative sum-log log-pow rem-exp-log
Counts
2 → 30
Calls
2 calls:
5.0ms
(+ x (pow wj 2))
8.0ms
(exp (log (+ x (pow wj 2))))

series60.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(+ x (pow wj 2))
30.0ms
(exp (log (+ x (pow wj 2))))

simplify99.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (25.0ms)

IterNodesCost
0110144
1304134
2752129
32784123
45001123

prune66.0ms

Filtered
36 candidates to 22 candidates (61.1%)
Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.2b

regimes111.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
0115
1115

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.5s7621×body10240exit
206.0ms6295×body80valid
76.0ms782×body320valid
71.0ms463×body640valid
34.0ms530×body160valid