Details

Time bar (total: 3.1s)

sample68.0ms

Algorithm
intervals
Results
32.0ms133×body5120exit
7.0ms193×body80valid
4.0ms137×body80overflowed
4.0ms33×body320valid
3.0ms18×body640valid
1.0ms13×body160valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
0619612

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: 14.9b

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

rewrite34.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))
4.0ms
(+ (exp wj) (* wj (exp wj)))
10.0ms
(/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj))))
13.0ms
(- wj (/ (- (* wj (exp wj)) x) (+ (exp wj) (* wj (exp wj)))))

series38.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050521328

prune131.0ms

Filtered
80 candidates to 99 candidates (-23.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New94599
Fresh101
Picked101
Done000
Total965101

Merged error: 0.3b

Counts
101 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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 (* x 2)))
4.0ms
(+ x (* wj (- wj (* x 2))))

series16.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05139431

prune64.0ms

Filtered
31 candidates to 45 candidates (-45.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh044
Picked011
Done000
Total43750

Merged error: 0.3b

Counts
50 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt wj) (cbrt wj))
0.5b
(cbrt wj)
0.5b
(cbrt wj)
0.5b
(cbrt wj)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (cbrt wj) (cbrt wj))
1.0ms
(cbrt wj)
1.0ms
(cbrt wj)
1.0ms
(cbrt wj)

series95.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (cbrt wj) (cbrt wj))
24.0ms
(cbrt wj)
22.0ms
(cbrt wj)
22.0ms
(cbrt wj)

simplify50.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05165356

prune94.0ms

Filtered
56 candidates to 85 candidates (-51.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh145
Picked101
Done011
Total86692

Merged error: 0.3b

Counts
92 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (exp wj))
0.0b
(/ (+ wj 1) (- wj (/ x (exp wj))))
0.2b
(/ 1 (/ (+ wj 1) (- wj (/ x (exp wj)))))
7.9b
(- wj (/ 1 (/ (+ wj 1) (- wj (/ x (exp wj))))))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
246×times-frac
218×add-sqr-sqrt
208×*-un-lft-identity
99×add-cube-cbrt
47×difference-of-squares
39×associate-/r*
31×distribute-lft-out
23×distribute-lft-out--
18×add-exp-log
13×add-cbrt-cube
11×associate-/r/
10×associate-/l*
div-exp
div-inv
flip3-- flip-- add-log-exp
pow1 cbrt-undiv
frac-2neg clear-num
rec-exp 1-exp associate-/l/
sub-neg pow-flip flip3-+ diff-log flip-+ inv-pow
Counts
4 → 240
Calls
4 calls:
4.0ms
(/ x (exp wj))
11.0ms
(/ (+ wj 1) (- wj (/ x (exp wj))))
18.0ms
(/ 1 (/ (+ wj 1) (- wj (/ x (exp wj)))))
33.0ms
(- wj (/ 1 (/ (+ wj 1) (- wj (/ x (exp wj))))))

series47.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ x (exp wj))
19.0ms
(/ (+ wj 1) (- wj (/ x (exp wj))))
10.0ms
(/ 1 (/ (+ wj 1) (- wj (/ x (exp wj)))))
11.0ms
(- wj (/ 1 (/ (+ wj 1) (- wj (/ x (exp wj))))))

simplify80.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050684367

prune220.0ms

Filtered
142 candidates to 252 candidates (-77.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2520252
Fresh044
Picked011
Done011
Total2526258

Merged error: 0.3b

Counts
258 → 6

regimes94.0ms

Accuracy

0% (1.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0369
1369

end0.0ms

sample1.7s

Algorithm
intervals
Results
801.0ms3768×body5120exit
214.0ms6322×body80valid
129.0ms3899×body80overflowed
83.0ms771×body320valid
82.0ms483×body640valid
36.0ms505×body160valid

Profiling

Loading profile data...