Details

Time bar (total: 3.2s)

sample39.0ms

Algorithm
intervals
Results
12.0ms69×body1280valid
7.0ms72×body10240exit
7.0ms68×body640valid
2.0ms27×body320valid
2.0ms82×body80valid
0.0ms10×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
074
184
284

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.6b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (exp x) (- (exp x) 1.0))
3.1b
(- (exp x) 1.0)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/r* distribute-lft-out-- difference-of-squares
add-cbrt-cube add-log-exp
add-exp-log associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 51
Calls
2 calls:
22.0ms
(/ (exp x) (- (exp x) 1.0))
10.0ms
(- (exp x) 1.0)

series43.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(/ (exp x) (- (exp x) 1.0))
15.0ms
(- (exp x) 1.0)

simplify68.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0180378
1542357
22210354
35001354

prune121.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
12×add-exp-log
11×associate-*l*
10×add-cbrt-cube
times-frac
pow1 associate-*r* add-log-exp
unswap-sqr
unpow-prod-down prod-exp
flip3-+ associate-/r* flip-+ associate-/l*
distribute-rgt-in associate-+l+ distribute-lft-in associate-*r/ associate-/r/ *-commutative cbrt-unprod unpow2 sqr-pow
cbrt-undiv +-commutative pow-to-exp frac-2neg div-exp pow-prod-down pow-exp clear-num sum-log div-inv
Counts
4 → 91
Calls
4 calls:
16.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
29.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
31.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
8.0ms
(* x 1/6)

series154.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
40.0ms
(/ (exp x) (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x))
69.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
15.0ms
(* x 1/6)

simplify60.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0429756
12075688
25001686

prune221.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1/12 x) (/ 1 x))
0.3b
(* 1/12 x)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*r* associate-*l*
+-commutative flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
2 → 29
Calls
2 calls:
12.0ms
(+ (* 1/12 x) (/ 1 x))
7.0ms
(* 1/12 x)

series58.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (* 1/12 x) (/ 1 x))
17.0ms
(* 1/12 x)

simplify66.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0130119
1448110
22305109
35001109

prune55.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (/ 1 x) 3)
0.3b
(* 1/12 x)
0.4b
(* 1/144 (* x x))
41.5b
(/ (+ (pow (* 1/12 x) 3) (pow (/ 1 x) 3)) (+ (* (/ 1 x) (/ 1 x)) (- (* 1/144 (* x x)) 1/12)))

rewrite228.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
35×add-sqr-sqrt
33×times-frac
32×add-cube-cbrt
18×add-exp-log
16×add-cbrt-cube
13×pow1 unpow-prod-down cube-prod
10×associate-/r/
frac-add
associate-*l*
associate-/l*
flip3-- associate-*r* pow-prod-down pow-exp prod-exp sum-cubes flip-- cbrt-unprod distribute-lft-out add-log-exp
pow-unpow pow-pow div-exp associate-/r* div-inv
cbrt-undiv frac-times flip3-+ associate-*r/ associate-*l/ un-div-inv *-commutative flip-+ associate-/l/ rem-cube-cbrt unswap-sqr
cube-div cube-mult pow-to-exp rec-exp pow-flip frac-2neg 1-exp unpow3 clear-num inv-pow sqr-pow
Counts
4 → 134
Calls
4 calls:
7.0ms
(pow (/ 1 x) 3)
7.0ms
(* 1/12 x)
17.0ms
(* 1/144 (* x x))
192.0ms
(/ (+ (pow (* 1/12 x) 3) (pow (/ 1 x) 3)) (+ (* (/ 1 x) (/ 1 x)) (- (* 1/144 (* x x)) 1/12)))

series270.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(pow (/ 1 x) 3)
14.0ms
(* 1/12 x)
31.0ms
(* 1/144 (* x x))
190.0ms
(/ (+ (pow (* 1/12 x) 3) (pow (/ 1 x) 3)) (+ (* (/ 1 x) (/ 1 x)) (- (* 1/144 (* x x)) 1/12)))

simplify138.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (125.0ms)

IterNodesCost
07101337
137731174
250021170

prune286.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes35.0ms

Accuracy

0% (0.4b remaining)

Error of 1.0b against oracle of 0.5b and baseline of 1.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample1.1s

Algorithm
intervals
Results
395.0ms2245×body1280valid
258.0ms2527×body10240exit
171.0ms1642×body640valid
61.0ms877×body320valid
53.0ms2824×body80valid
18.0ms412×body160valid