Details

Time bar (total: 3.4s)

analyze330.0ms

Algorithm
search

sample54.0ms

Algorithm
intervals
Results
28.0ms131×body5120exit
7.0ms185×body80valid
4.0ms20×body640valid
3.0ms29×body320valid
2.0ms22×body160valid
0.0msbody80invalid

simplify49.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: 16.4b

Counts
2 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (exp wj))
0.0b
(+ (exp wj) (* wj (exp wj)))
0.0b
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
6.0b
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt *-un-lft-identity
16×add-cube-cbrt times-frac
add-cbrt-cube add-log-exp
add-exp-log
pow1
distribute-rgt-out distribute-rgt1-in associate-/r*
associate-*r* associate-*l* associate-/l*
flip3-- flip3-+ div-sub associate-/r/ flip-- flip-+ associate-/l/ difference-of-squares
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 87
Calls
4 calls:
5.0ms
(* wj (exp wj))
3.0ms
(+ (exp wj) (* wj (exp wj)))
10.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
15.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series36.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* wj (exp wj))
5.0ms
(+ (exp wj) (* wj (exp wj)))
12.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
15.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0394942
11478877
25001855

prune117.0ms

Filtered
81 candidates to 99 candidates (-22.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New96399
Fresh101
Picked101
Done000
Total983101

Merged error: 0.2b

Counts
101 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ *-un-lft-identity distribute-lft-in add-cbrt-cube add-log-exp
associate-*r* associate-*l*
associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
Counts
2 → 39
Calls
2 calls:
5.0ms
(* wj (- wj (* 2 x)))
3.0ms
(+ x (* wj (- wj (* 2 x))))

series13.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(* wj (- wj (* 2 x)))
7.0ms
(+ x (* wj (- wj (* 2 x))))

simplify132.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0185229
1733203
23937203
35001203

prune52.0ms

Filtered
28 candidates to 45 candidates (-60.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh022
Picked011
Done000
Total43548

Merged error: 0.2b

Counts
48 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
117×times-frac
100×*-un-lft-identity
77×add-sqr-sqrt
66×add-cube-cbrt
21×associate-/l*
16×distribute-lft-out
13×add-cbrt-cube
10×add-exp-log associate-/r/
associate-/r*
pow1 div-inv add-log-exp
flip3-+ div-sub flip-+
cbrt-undiv div-exp
associate-*r* associate-*l* associate-/l/ difference-of-squares
flip3-- frac-2neg clear-num flip--
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 162
Calls
4 calls:
5.0ms
(* wj (exp wj))
8.0ms
(/ (- (* wj (exp wj)) x) (+ wj 1))
14.0ms
(/ (/ (- (* wj (exp wj)) x) (+ wj 1)) (exp wj))
21.0ms
(- wj (/ (/ (- (* wj (exp wj)) x) (+ wj 1)) (exp wj)))

series31.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* wj (exp wj))
7.0ms
(/ (- (* wj (exp wj)) x) (+ wj 1))
10.0ms
(/ (/ (- (* wj (exp wj)) x) (+ wj 1)) (exp wj))
10.0ms
(- wj (/ (/ (- (* wj (exp wj)) x) (+ wj 1)) (exp wj)))

simplify79.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06641948
130441868
250031866

prune183.0ms

Filtered
129 candidates to 174 candidates (-34.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1740174
Fresh033
Picked011
Done011
Total1745179

Merged error: 0.2b

Counts
179 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* wj (- wj (* 2 x)))
0.0b
(log (+ x (* wj (- wj (* 2 x)))))
0.0b
(+ x (* wj (- wj (* 2 x))))
3.3b
(exp (log (+ x (* wj (- wj (* 2 x))))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
add-exp-log
log-prod add-cbrt-cube add-log-exp
distribute-rgt-in sub-neg log-div associate-+r+ exp-prod distribute-lft-in
flip3-+ associate-*r* associate-*l* exp-sum flip-+
exp-diff associate-*r/ log-pow
+-commutative flip3-- rem-log-exp pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod rem-exp-log unswap-sqr
Counts
4 → 70
Calls
4 calls:
5.0ms
(* wj (- wj (* 2 x)))
2.0ms
(log (+ x (* wj (- wj (* 2 x)))))
3.0ms
(+ x (* wj (- wj (* 2 x))))
3.0ms
(exp (log (+ x (* wj (- wj (* 2 x))))))

series38.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* wj (- wj (* 2 x)))
16.0ms
(log (+ x (* wj (- wj (* 2 x)))))
6.0ms
(+ x (* wj (- wj (* 2 x))))
8.0ms
(exp (log (+ x (* wj (- wj (* 2 x))))))

simplify39.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0287540
11046481
25001468

prune95.0ms

Filtered
54 candidates to 82 candidates (-51.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh022
Picked101
Done022
Total82587

Merged error: 0.2b

Counts
87 → 5

regimes89.0ms

Accuracy

0% (1.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

analyze325.0ms

Algorithm
search

sample1.5s

Algorithm
intervals
Results
850.0ms3861×body5120exit
218.0ms6164×body80valid
91.0ms823×body320valid
84.0ms470×body640valid
39.0ms543×body160valid
4.0ms81×body80invalid
0.0ms12×body80overflowed

Profiling

Loading profile data...