Details

Time bar (total: 5.7s)

sample57.0ms

Algorithm
intervals
Results
26.0ms123×body5120exit
7.0ms207×body80valid
4.0ms134×body80overflowed
3.0ms19×body640valid
2.0ms18×body320valid
1.0ms14×body160valid

simplify48.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: 11.9b

Counts
2 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

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

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

series145.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07211524
133031471
250021469

prune403.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.1b

Counts
190 → 5

localize11.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 2 (* wj x))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* *-commutative add-log-exp
Counts
1 → 18
Calls
1 calls:
5.0ms
(* 2 (* wj x))

series19.0ms

Counts
1 → 3
Calls
1 calls:
19.0ms
(* 2 (* wj x))

simplify83.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08666
131856
2123556
3344456
4500156

prune33.0ms

Filtered
21 candidates to 11 candidates (52.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh044
Picked011
Done000
Total21526

Merged error: 0.1b

Counts
26 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1)))
0.0b
(/ (exp wj) (- wj 1))
0.0b
(/ wj (+ wj 1))
4.4b
(- (+ (/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1))) wj) (/ wj (+ wj 1)))

rewrite242.0ms

Algorithm
rewrite-expression-head
Rules
1255×times-frac
707×add-sqr-sqrt
654×*-un-lft-identity
458×add-cube-cbrt
208×difference-of-squares
99×associate-/r/
63×distribute-lft-out--
61×difference-of-sqr-1
50×div-inv
49×flip3-- flip--
38×associate-/r*
24×associate-/l*
20×add-cbrt-cube
17×add-exp-log
10×cbrt-undiv div-exp
add-log-exp
distribute-lft-out
pow1
frac-2neg clear-num
flip3-+ diff-log frac-sub flip-+
sub-neg associate--l+ sum-log associate-/l/
Counts
4 → 649
Calls
4 calls:
25.0ms
(/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1)))
7.0ms
(/ (exp wj) (- wj 1))
5.0ms
(/ wj (+ wj 1))
145.0ms
(- (+ (/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1))) wj) (/ wj (+ wj 1)))

series240.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1)))
18.0ms
(/ (exp wj) (- wj 1))
26.0ms
(/ wj (+ wj 1))
123.0ms
(- (+ (/ (/ x (- (* wj wj) (* 1 1))) (/ (exp wj) (- wj 1))) wj) (/ wj (+ wj 1)))

simplify168.0ms

Algorithm
egg-herbie
Counts
661 → 661
Iterations

Useful iterations: 1 (57.0ms)

IterNodesCost
0301011732
1500111400

prune1.4s

Filtered
661 candidates to 411 candidates (62.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New6610661
Fresh033
Picked011
Done011
Total6615666

Merged error: 0.1b

Counts
666 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))
0.0b
(/ wj (+ wj 1))
0.0b
(* (/ x (+ (pow wj 3) 1)) (/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj)))
4.4b
(- (+ (* (/ x (+ (pow wj 3) 1)) (/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))) wj) (/ wj (+ wj 1)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
52×*-un-lft-identity
47×times-frac
36×add-cube-cbrt
20×add-cbrt-cube
18×associate-*l*
17×add-exp-log
13×associate-*r*
add-log-exp
associate-/r* distribute-lft-out
pow1 cbrt-undiv div-exp associate-/l*
flip3-+ prod-exp associate-/r/ cbrt-unprod flip-+ div-inv unswap-sqr
frac-2neg diff-log clear-num frac-sub associate-/l/ difference-of-squares
frac-times associate-+r- sub-neg flip3-- div-sub associate-*r/ pow-prod-down associate-*l/ associate--l+ sum-log *-commutative flip-- distribute-lft-out--
Counts
4 → 137
Calls
4 calls:
9.0ms
(/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))
5.0ms
(/ wj (+ wj 1))
24.0ms
(* (/ x (+ (pow wj 3) 1)) (/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj)))
24.0ms
(- (+ (* (/ x (+ (pow wj 3) 1)) (/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))) wj) (/ wj (+ wj 1)))

series311.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))
21.0ms
(/ wj (+ wj 1))
90.0ms
(* (/ x (+ (pow wj 3) 1)) (/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj)))
177.0ms
(- (+ (* (/ x (+ (pow wj 3) 1)) (/ (+ (* wj wj) (- 1 (* wj 1))) (exp wj))) wj) (/ wj (+ wj 1)))

simplify107.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07901769
140601621
250011609

prune413.0ms

Filtered
149 candidates to 116 candidates (77.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1490149
Fresh022
Picked011
Done022
Total1495154

Merged error: 0.1b

Counts
154 → 5

regimes47.0ms

Accuracy

0% (1.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample1.7s

Algorithm
intervals
Results
824.0ms3931×body5120exit
217.0ms6263×body80valid
126.0ms3757×body80overflowed
88.0ms786×body320valid
85.0ms500×body640valid
40.0ms522×body160valid

Profiling

Loading profile data...