Details

Time bar (total: 4.9s)

sample79.0ms

Algorithm
intervals
Results
54.0ms190×body1280valid
6.0ms275×body80valid
5.0ms34×body640valid
2.0ms20×body320valid
1.0ms10×body160valid

simplify216.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51005
61445
72965
813215
950015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.5b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
4.2b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt frac-add
flip3-- flip--
pow1 add-exp-log neg-sub0 exp-neg add-cube-cbrt sub-neg associate-+l+ exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- flip3-+ flip-+ difference-of-squares
Counts
2 → 35
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
8.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series70.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(- (exp x) 2.0)
57.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify93.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune87.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
0.0b
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-exp-log associate-*r*
12×*-un-lft-identity
11×add-log-exp
10×add-cube-cbrt
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
associate-+r+ distribute-lft-out
Counts
4 → 75
Calls
4 calls:
4.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
7.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series265.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
54.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
45.0ms
(* 1/360 (pow x 6))
38.0ms
(* 1/12 (pow x 4))

simplify49.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0329464
11456439
25001423

prune192.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (exp x) 2.0) (exp x))
0.0b
(- (exp x) 2.0)
0.0b
(/ (* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1)) (* (+ (exp x) 2.0) (exp x)))
3.9b
(+ (* (exp x) (- (exp x) 2.0)) 1)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
18×add-cbrt-cube
15×add-exp-log
10×add-sqr-sqrt *-un-lft-identity
flip3-+ flip-+
associate-/l/ add-log-exp
pow1 add-cube-cbrt associate-*l/
prod-exp cbrt-unprod
cbrt-undiv frac-times associate-+l+ div-exp associate-*l*
sub-neg associate-*r*
distribute-rgt-in distribute-lft-in associate-*r/ associate-/r/
+-commutative flip3-- frac-2neg times-frac diff-log pow-prod-down clear-num associate-/r* sum-log *-commutative flip-- div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 81
Calls
4 calls:
7.0ms
(* (+ (exp x) 2.0) (exp x))
4.0ms
(- (exp x) 2.0)
21.0ms
(/ (* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1)) (* (+ (exp x) 2.0) (exp x)))
8.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)

series190.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (+ (exp x) 2.0) (exp x))
12.0ms
(- (exp x) 2.0)
95.0ms
(/ (* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1)) (* (+ (exp x) 2.0) (exp x)))
58.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)

simplify85.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0502938
13024692
25001686

prune187.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (exp x) 2.0) (- (exp x) 2.0))
0.0b
(* (exp x) (exp x))
0.0b
(pow (exp x) 2)
3.9b
(+ (pow (* (exp x) (- (exp x) 2.0)) 3) (pow 1 3))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
33×add-sqr-sqrt
21×add-cube-cbrt exp-prod
19×pow1
10×swap-sqr
associate-*r* associate-*l* add-cbrt-cube
add-exp-log flip3-- flip-- distribute-lft-out-- add-log-exp
pow-prod-down pow-sqr pow-prod-up
frac-times pow-pow difference-of-squares
unpow-prod-down pow-unpow
pow2 distribute-rgt-in sub-neg distribute-lft-in pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative cube-mult pow-to-exp flip3-+ pow-exp sum-log sum-cubes flip-+ unpow2 sqr-pow
Counts
4 → 114
Calls
4 calls:
11.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
6.0ms
(* (exp x) (exp x))
3.0ms
(pow (exp x) 2)
10.0ms
(+ (pow (* (exp x) (- (exp x) 2.0)) 3) (pow 1 3))

series284.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
13.0ms
(* (exp x) (exp x))
13.0ms
(pow (exp x) 2)
226.0ms
(+ (pow (* (exp x) (- (exp x) 2.0)) 3) (pow 1 3))

simplify77.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0470661
12421594
25001583

prune372.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes42.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1177

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.7s5735×body1280valid
192.0ms1207×body640valid
187.0ms8045×body80valid
58.0ms587×body320valid
19.0ms303×body160valid