Details

Time bar (total: 4.7s)

analyze358.0ms

Algorithm
search

sample56.0ms

Algorithm
intervals
Results
32.0ms146×body5120exit
7.0ms202×body80valid
3.0ms15×body640valid
2.0ms21×body320valid
1.0ms18×body160valid
0.0msbody80invalid
0.0msbody80overflowed

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.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.4b

Counts
2 → 2

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

rewrite56.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))
9.0ms
(/ (/ x (+ wj 1)) (exp wj))
31.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ wj (+ wj 1))
5.0ms
(/ x (+ wj 1))
11.0ms
(/ (/ x (+ wj 1)) (exp wj))
14.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify79.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07211524
133031471
250021469

prune269.0ms

Filtered
138 candidates to 188 candidates (-36.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1817188
Fresh011
Picked101
Done000
Total1828190

Merged error: 0.4b

Counts
190 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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:
4.0ms
(+ x (pow wj 2))
5.0ms
(* 2 (* wj x))

series10.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ x (pow wj 2))
3.0ms
(* 2 (* wj x))

simplify65.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0149122
1550108
22362107
35001107

prune73.0ms

Filtered
21 candidates to 36 candidates (-71.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New33336
Fresh077
Picked011
Done000
Total331144

Merged error: 0.4b

Counts
44 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.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))))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))

series212.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2))))
52.0ms
(cbrt (+ x (pow wj 2)))
51.0ms
(cbrt (+ x (pow wj 2)))
53.0ms
(cbrt (+ x (pow wj 2)))

simplify129.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0286944
1927893
24130787
35001764

prune281.0ms

Filtered
72 candidates to 107 candidates (-48.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1043107
Fresh279
Picked101
Done011
Total10711118

Merged error: 0.4b

Counts
118 → 11

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
0.6b
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
0.7b
(cbrt (cbrt (+ x (pow wj 2))))
0.7b
(cbrt (cbrt (+ x (pow wj 2))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
48×cbrt-div
24×cbrt-prod
14×flip3-+ flip-+
12×*-un-lft-identity
add-sqr-sqrt frac-times add-cube-cbrt
pow1 add-exp-log pow1/3 associate-*r/ associate-*l/ add-cbrt-cube add-log-exp
distribute-lft-out
Counts
4 → 68
Calls
4 calls:
13.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
11.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
5.0ms
(cbrt (cbrt (+ x (pow wj 2))))
5.0ms
(cbrt (cbrt (+ x (pow wj 2))))

series216.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
55.0ms
(cbrt (* (cbrt (+ x (pow wj 2))) (cbrt (+ x (pow wj 2)))))
53.0ms
(cbrt (cbrt (+ x (pow wj 2))))
51.0ms
(cbrt (cbrt (+ x (pow wj 2))))

simplify67.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0268990
1640938
22024894
35001870

prune456.0ms

Filtered
68 candidates to 80 candidates (-17.6%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New79180
Fresh099
Picked011
Done011
Total791291

Merged error: 0.4b

Counts
91 → 12

regimes274.0ms

Accuracy

74.5% (0.4b remaining)

Error of 0.8b against oracle of 0.3b and baseline of 2.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03523
13523

end0.0ms

analyze326.0ms

Algorithm
search

sample1.6s

Algorithm
intervals
Results
891.0ms3867×body5120exit
230.0ms6228×body80valid
100.0ms824×body320valid
80.0ms421×body640valid
43.0ms527×body160valid
4.0ms83×body80invalid
1.0ms15×body80overflowed

Profiling

Loading profile data...