Details

Time bar (total: 2.3s)

sample42.0ms

Algorithm
intervals
Results
15.0ms110×body1280valid
7.0ms78×body640valid
4.0ms383×pre80true
2.0ms43×body320valid
2.0ms135×body80valid
1.0ms17×body160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
174

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.4b

Counts
2 → 1

localize3.0ms

Local error

Found 1 expressions with local error:

5.3b
(- (exp x) 1.0)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
1 → 14
Calls
1 calls:
4.0ms
(- (exp x) 1.0)

series2.0ms

Counts
1 → 3
Calls
1 calls:
2.0ms
(- (exp x) 1.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05689117

prune41.0ms

Filtered
12 candidates to 17 candidates (-41.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New15217
Fresh000
Picked011
Done000
Total15318

Merged error: 0.1b

Counts
18 → 3

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* x (* x (+ 1/2 (* x 1/6)))))
0.0b
(* x (* x (+ 1/2 (* x 1/6))))
0.0b
(* x (+ 1/2 (* x 1/6)))
0.3b
(* x 1/6)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in associate-*l*
associate-*r*
associate-*r/ add-log-exp
pow-prod-down prod-exp cbrt-unprod
associate-+r+
flip3-+ *-commutative flip-+
unswap-sqr
+-commutative sum-log
Counts
4 → 79
Calls
4 calls:
4.0ms
(+ x (* x (* x (+ 1/2 (* x 1/6)))))
7.0ms
(* x (* x (+ 1/2 (* x 1/6))))
6.0ms
(* x (+ 1/2 (* x 1/6)))
5.0ms
(* x 1/6)

series22.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ x (* x (* x (+ 1/2 (* x 1/6)))))
9.0ms
(* x (* x (+ 1/2 (* x 1/6))))
6.0ms
(* x (+ 1/2 (* x 1/6)))
2.0ms
(* x 1/6)

simplify41.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05987799

prune95.0ms

Filtered
62 candidates to 91 candidates (-46.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New90191
Fresh011
Picked011
Done011
Total90494

Merged error: 0.1b

Counts
94 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (+ x (* x (* x (+ (* x 1/6) 1/2))))) (cbrt (+ x (* x (* x (+ (* x 1/6) 1/2))))))
0.6b
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))
0.6b
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))
0.6b
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))

rewrite21.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:
9.0ms
(* (cbrt (+ x (* x (* x (+ (* x 1/6) 1/2))))) (cbrt (+ x (* x (* x (+ (* x 1/6) 1/2))))))
4.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))
3.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))
3.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))

series38.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (cbrt (+ x (* x (* x (+ (* x 1/6) 1/2))))) (cbrt (+ x (* x (* x (+ (* x 1/6) 1/2))))))
9.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))
9.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))
9.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
051002125

prune254.0ms

Filtered
74 candidates to 99 candidates (-33.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New98199
Fresh011
Picked101
Done022
Total994103

Merged error: 0.1b

Counts
103 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))
0.6b
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div pow1/3 add-cbrt-cube add-log-exp
flip3-+ flip-+
Counts
4 → 48
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
3.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))
3.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(cbrt x)
24.0ms
(cbrt x)
9.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))
9.0ms
(cbrt (+ x (* x (* x (+ (* x 1/6) 1/2)))))

simplify36.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
04996726
14996726

prune131.0ms

Filtered
48 candidates to 60 candidates (-25.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New59160
Fresh011
Picked101
Done022
Total60464

Merged error: 0.1b

Counts
64 → 4

regimes128.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01311
11311

end0.0ms

sample1.2s

Algorithm
intervals
Results
467.0ms3450×body1280valid
217.0ms2483×body640valid
132.0ms11954×pre80true
77.0ms1272×body320valid
66.0ms4145×body80valid
23.0ms604×body160valid

Profiling

Loading profile data...