Details

Time bar (total: 6.0s)

sample48.0ms

Algorithm
intervals
Results
20.0ms97×body5120exit
7.0ms201×body80valid
3.0ms103×body80overflowed
3.0ms25×body320valid
2.0ms24×body160valid
1.0msbody640valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0209
1489
21079
32248
415148
550028

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.7b

Counts
2 → 2

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

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

series147.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ wj (+ wj 1))
26.0ms
(/ x (+ wj 1))
40.0ms
(/ (/ x (+ wj 1)) (exp wj))
59.0ms
(- (+ (/ (/ x (+ wj 1)) (exp wj)) wj) (/ wj (+ wj 1)))

simplify80.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07211524
133031471
250021469

prune389.0ms

Filtered
188 candidates to 138 candidates (73.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1835188
Fresh101
Picked101
Done000
Total1855190

Merged error: 0.5b

Counts
190 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series84.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ x (pow wj 2))
31.0ms
(- (+ x (pow wj 2)) (* 2 (* wj x)))
20.0ms
(* 2 (* wj x))

simplify130.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0202245
1793228
24232225
35001225

prune91.0ms

Filtered
53 candidates to 32 candidates (60.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New48553
Fresh044
Picked011
Done000
Total481058

Merged error: 0.5b

Counts
58 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
add-exp-log swap-sqr associate-*r* associate-*l*
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 → 87
Calls
4 calls:
20.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

series1.2s

Counts
4 → 12
Calls
4 calls:
316.0ms
(* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))))
292.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
274.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
279.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))

simplify58.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03151593
112011500
250011416

prune278.0ms

Filtered
99 candidates to 75 candidates (75.8%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New94599
Fresh268
Picked101
Done011
Total9712109

Merged error: 0.4b

Counts
109 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
26×cbrt-div
10×cbrt-prod
flip3-- flip--
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log frac-times pow1/3 add-cbrt-cube add-log-exp
associate-*r/ associate-*l/
Counts
4 → 56
Calls
4 calls:
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
7.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
17.0ms
(cbrt (* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
283.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
291.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
281.0ms
(cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))
317.0ms
(cbrt (* (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x)))) (cbrt (- (+ x (pow wj 2)) (* 2 (* wj x))))))

simplify113.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (101.0ms)

IterNodesCost
02891228
17841160
237561150
350021147

prune250.0ms

Filtered
68 candidates to 58 candidates (85.3%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New66268
Fresh1910
Picked101
Done011
Total681280

Merged error: 0.4b

Counts
80 → 12

regimes109.0ms

Accuracy

64.4% (0.7b remaining)

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

bsearch32.0ms

Steps
ItersRangePoint
7
2.1717726788871126e-09
1.4680832615963674e-07
7.061633315798526e-09

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02816
12816

end0.0ms

sample1.6s

Algorithm
intervals
Results
819.0ms3820×body5120exit
219.0ms6340×body80valid
125.0ms3754×body80overflowed
86.0ms755×body320valid
71.0ms431×body640valid
39.0ms557×body160valid

Profiling

Loading profile data...