Details

Time bar (total: 4.3s)

sample60.0ms

Algorithm
intervals
Results
26.0ms125×body5120exit
7.0ms215×body80valid
4.0ms121×body80overflowed
3.0ms14×body640valid
2.0ms17×body320valid
1.0ms12×body160valid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune13.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: 9.7b

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

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

series39.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
07211524
133031471
250021469

prune258.0ms

Filtered
188 candidates to 138 candidates (26.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1844188
Fresh011
Picked101
Done000
Total1855190

Merged error: 0.3b

Counts
190 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

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

series20.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 2 (* wj x))
9.0ms
(+ x (pow wj 2))
7.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))

simplify135.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0202245
1794228
24221225
35001225

prune77.0ms

Filtered
53 candidates to 32 candidates (39.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New51253
Fresh044
Picked011
Done000
Total51758

Merged error: 0.3b

Counts
58 → 7

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

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:
13.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)))
5.0ms
(cbrt (+ x (pow wj 2)))

series230.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0286944
1927893
24130787
35001764

prune275.0ms

Filtered
107 candidates to 72 candidates (32.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1043107
Fresh145
Picked101
Done011
Total1068114

Merged error: 0.3b

Counts
114 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.6b
(cbrt (+ x (pow wj 2)))
0.9b
(pow (cbrt (cbrt (+ x (pow wj 2)))) 4)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
23×cbrt-prod
19×*-un-lft-identity
11×add-sqr-sqrt add-cube-cbrt
10×unpow-prod-down
cbrt-div
pow1 add-exp-log
pow1/3 add-cbrt-cube distribute-lft-out add-log-exp
pow-unpow flip3-+ flip-+
pow-pow
pow-to-exp pow-exp sqr-pow
Counts
4 → 67
Calls
4 calls:
4.0ms
(cbrt (+ x (pow wj 2)))
5.0ms
(cbrt (+ x (pow wj 2)))
4.0ms
(cbrt (+ x (pow wj 2)))
8.0ms
(pow (cbrt (cbrt (+ x (pow wj 2)))) 4)

series251.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 3 (96.0ms)

IterNodesCost
0295638
1851597
23181545
35001519

prune275.0ms

Filtered
79 candidates to 57 candidates (27.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New78179
Fresh066
Picked101
Done011
Total79887

Merged error: 0.3b

Counts
87 → 8

regimes232.0ms

Accuracy

97.1% (0.0b remaining)

Error of 0.4b against oracle of 0.3b and baseline of 2.0b

bsearch40.0ms

Steps
ItersRangePoint
8
3.469362278490668e-12
4.9301397366023513e-08
9.022428011286162e-09
9
-0.05940270564741191
-1.0623176005719452e-10
-1.4120689286568841e-08

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03622
13622

end0.0ms

sample1.8s

Algorithm
intervals
Results
826.0ms3815×body5120exit
225.0ms6244×body80valid
123.0ms3775×body80overflowed
94.0ms814×body320valid
80.0ms445×body640valid
42.0ms580×body160valid

Profiling

Loading profile data...