Details

Time bar (total: 3.8s)

sample52.0ms

Algorithm
intervals
Results
20.0ms97×body5120exit
7.0ms205×body80valid
4.0ms113×body80overflowed
3.0ms16×body640valid
2.0ms19×body320valid
1.0ms18×body160valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (5.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.5b

Counts
2 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
0.0b
(/ x (+ wj 1))
0.0b
(/ (/ x (+ wj 1)) (exp wj))
5.4b
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

rewrite254.0ms

Algorithm
rewrite-expression-head
Rules
115×times-frac
103×*-un-lft-identity
69×add-sqr-sqrt
64×add-cube-cbrt
21×associate-/l*
18×distribute-lft-out
11×add-cbrt-cube add-log-exp
10×associate-/r/
add-exp-log
flip3-+ associate-/r* flip-+
div-inv
pow1 cbrt-undiv div-exp
frac-2neg diff-log clear-num sum-log frac-sub distribute-lft-out-- difference-of-squares
+-commutative sub-neg flip3-- associate--l+ flip-- associate-/l/
Counts
4 → 155
Calls
4 calls:
21.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
5.0ms
(/ x (+ wj 1))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
207.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series48.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (/ (/ x (+ wj 1)) (exp wj)) wj)
6.0ms
(/ x (+ wj 1))
12.0ms
(/ (/ x (+ wj 1)) (exp wj))
15.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify73.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06741485
130581436
250021434

prune217.0ms

Filtered
167 candidates to 124 candidates (25.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1625167
Fresh101
Picked101
Done000
Total1645169

Merged error: 0.3b

Counts
169 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 2 (* wj x))
0.0b
(+ x (pow wj 2))

rewrite10.0ms

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

series10.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* 2 (* wj x))
7.0ms
(+ x (pow wj 2))

simplify70.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0149122
1551108
22352107
35001107

prune66.0ms

Filtered
36 candidates to 21 candidates (41.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New32436
Fresh044
Picked011
Done000
Total32941

Merged error: 0.2b

Counts
41 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
0.5b
(cbrt (+ x (pow wj 2)))
0.5b
(cbrt (+ x (pow wj 2)))
0.5b
(cbrt (+ x (pow wj 2)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
12.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
6.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))

series225.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
56.0ms
(cbrt (+ x (pow wj 2)))
56.0ms
(cbrt (+ x (pow wj 2)))
54.0ms
(cbrt (+ x (pow wj 2)))

simplify133.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
0286944
1927893
24130787
35001764

prune266.0ms

Filtered
107 candidates to 72 candidates (32.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh077
Picked011
Done011
Total1079116

Merged error: 0.2b

Counts
116 → 9

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2 (* wj x))
0.0b
(+ x (pow wj 2))
3.4b
(log (exp (* 2 (* wj x))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-exp-log add-cbrt-cube
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
log-prod associate-*l* pow-prod-down prod-exp log-pow cbrt-unprod
+-commutative exp-prod exp-to-pow flip3-+ rem-log-exp associate-*r* sum-log *-commutative flip-+ distribute-lft-out
Counts
3 → 44
Calls
3 calls:
5.0ms
(* 2 (* wj x))
4.0ms
(+ x (pow wj 2))
2.0ms
(log (exp (* 2 (* wj x))))

series14.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 2 (* wj x))
6.0ms
(+ x (pow wj 2))
4.0ms
(log (exp (* 2 (* wj x))))

simplify75.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0171187
1614164
22294163
35001163

prune65.0ms

Filtered
53 candidates to 32 candidates (39.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New52153
Fresh066
Picked101
Done022
Total53962

Merged error: 0.2b

Counts
62 → 9

regimes126.0ms

Accuracy

0% (1.6b remaining)

Error of 2.1b against oracle of 0.5b and baseline of 2.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample2.0s

Algorithm
intervals
Results
925.0ms3957×body5120exit
234.0ms6252×body80valid
135.0ms3840×body80overflowed
106.0ms848×body320valid
82.0ms446×body640valid
41.0ms528×body160valid

Profiling

Loading profile data...