Details

Time bar (total: 3.6s)

sample28.0ms

Algorithm
intervals
Results
12.0ms74×body1280valid
4.0ms40×body640valid
3.0ms154×body80valid
2.0ms28×body320valid
1.0ms19×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.3b

localize4.0ms

Local error

Found 1 expressions with local error:

4.5b
(- (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)

series14.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
08172
118567
249966
3139966
4500266

prune40.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x 1/6) 1/2)
0.0b
(* (pow x 2) (+ (* x 1/6) 1/2))
0.4b
(* x 1/6)
3.7b
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
13×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*
associate-*r/ *-commutative cbrt-unprod associate-/l/ unpow2 sqr-pow
cbrt-undiv +-commutative distribute-rgt-in pow-to-exp frac-2neg distribute-lft-in div-exp pow-prod-down pow-exp clear-num sum-log div-inv
Counts
4 → 89
Calls
4 calls:
3.0ms
(+ (* x 1/6) 1/2)
13.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)
16.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

series159.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* x 1/6) 1/2)
66.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
13.0ms
(* x 1/6)
49.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

simplify68.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0384622
12008564
25002564

prune193.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))
0.0b
(/ (- (pow (exp x) 3) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))))
0.0b
(pow (exp x) 3)
4.5b
(- (pow (exp x) 3) (pow 1.0 3))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
158×add-sqr-sqrt
88×*-un-lft-identity
80×difference-of-squares
75×times-frac
63×unpow-prod-down cube-prod
41×sqr-pow
38×add-cube-cbrt
25×associate-/l* distribute-lft-out--
add-log-exp
add-cbrt-cube
add-exp-log
pow1 difference-cubes
pow-pow
pow-unpow exp-prod associate-/r*
associate-+l+ flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative distribute-rgt-in cube-mult pow-to-exp sub-neg frac-2neg distribute-lft-in diff-log unpow3 div-sub div-exp pow-exp clear-num sum-log div-inv rem-cube-cbrt
Counts
4 → 193
Calls
4 calls:
11.0ms
(+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))
67.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))))
2.0ms
(pow (exp x) 3)
20.0ms
(- (pow (exp x) 3) (pow 1.0 3))

series186.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))
91.0ms
(/ (- (pow (exp x) 3) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))))
27.0ms
(pow (exp x) 3)
36.0ms
(- (pow (exp x) 3) (pow 1.0 3))

simplify105.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
05963033
126062958
250022879

prune412.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* (exp (+ x x)) (exp x)) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))))
0.0b
(* (exp (+ x x)) (exp x))
0.0b
(/ (/ (- (* (exp (+ x x)) (exp x)) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))) x)
4.5b
(- (* (exp (+ x x)) (exp x)) (pow 1.0 3))

rewrite336.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
80×*-un-lft-identity
75×add-sqr-sqrt
69×add-cube-cbrt
22×associate-/l*
20×exp-sum
18×exp-prod pow3
17×difference-cubes
13×add-cbrt-cube
11×add-exp-log
10×associate-/r/
pow1
associate-/r* pow-prod-up div-inv add-log-exp
flip3-+ flip-+
cbrt-undiv div-exp associate-*l* pow-prod-down
distribute-rgt-out div-sub associate-*r* associate-/l/ distribute-lft-out
flip3-- frac-2neg clear-num flip-- unswap-sqr
sub-neg distribute-lft1-in pow-plus count-2 diff-log distribute-rgt1-in prod-exp *-commutative cbrt-unprod
Counts
4 → 171
Calls
4 calls:
119.0ms
(/ (- (* (exp (+ x x)) (exp x)) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))))
40.0ms
(* (exp (+ x x)) (exp x))
135.0ms
(/ (/ (- (* (exp (+ x x)) (exp x)) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))) x)
34.0ms
(- (* (exp (+ x x)) (exp x)) (pow 1.0 3))

series278.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (- (* (exp (+ x x)) (exp x)) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x))))
20.0ms
(* (exp (+ x x)) (exp x))
134.0ms
(/ (/ (- (* (exp (+ x x)) (exp x)) (pow 1.0 3)) (+ (* 1.0 (+ 1.0 (exp x))) (exp (+ x x)))) x)
35.0ms
(- (* (exp (+ x x)) (exp x)) (pow 1.0 3))

simplify102.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07913403
137063190
250013165

prune518.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes26.0ms

Accuracy

98.8% (0.3b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 21.1b

bsearch38.0ms

Steps
ItersRangePoint
10
-4.508778152722845
-1.8057709034692785e-13
-8.833420281998711e-05

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03420
13420

end0.0ms

sample875.0ms

Algorithm
intervals
Results
390.0ms2295×body1280valid
178.0ms1673×body640valid
99.0ms5388×body80valid
56.0ms807×body320valid
19.0ms436×body160valid