Details

Time bar (total: 5.1s)

sample82.0ms

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

simplify474.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

Filtered
1 candidates to 0 candidates (0.0%)
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)))

series68.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0211282
1715269
23477260
35001260

prune83.0ms

Filtered
41 candidates to 29 candidates (70.7%)
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))

series262.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
53.0ms
(+ (pow x 2) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
46.0ms
(* 1/360 (pow x 6))
37.0ms
(* 1/12 (pow x 4))

simplify51.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0329464
11456439
25001423

prune190.0ms

Filtered
87 candidates to 55 candidates (63.2%)
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)

rewrite44.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:
8.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)))
9.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)

series199.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (+ (exp x) 2.0) (exp x))
13.0ms
(- (exp x) 2.0)
98.0ms
(/ (* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1)) (* (+ (exp x) 2.0) (exp x)))
60.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)

simplify87.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0502938
13024692
25001681

prune190.0ms

Filtered
93 candidates to 66 candidates (71.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
23×add-sqr-sqrt
12×pow1
11×add-cube-cbrt
add-log-exp
flip3-- swap-sqr flip-- distribute-lft-out--
add-exp-log add-cbrt-cube
associate-*r* associate-*l* difference-of-squares
frac-times pow-pow
sub-neg unpow-prod-down pow-unpow exp-prod
distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/
+-commutative pow2 pow-to-exp flip3-+ pow-plus diff-log pow-prod-down pow-exp prod-exp sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod flip-+ distribute-lft-out unpow2 unswap-sqr sqr-pow
Counts
4 → 92
Calls
4 calls:
4.0ms
(- (exp x) 2.0)
11.0ms
(* (- (exp x) 2.0) (- (exp x) 2.0))
4.0ms
(pow (exp x) 2)
7.0ms
(+ (pow (* (exp x) (- (exp x) 2.0)) 3) 1)

series293.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0402623
11944553
25003543

prune275.0ms

Filtered
104 candidates to 64 candidates (61.5%)
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.8s5735×body1280valid
198.0ms1207×body640valid
193.0ms8045×body80valid
60.0ms587×body320valid
19.0ms303×body160valid