Details

Time bar (total: 4.6s)

sample75.0ms

Algorithm
intervals
Results
50.0ms173×body1280valid
9.0ms59×body640valid
5.0ms236×body80valid
1.0ms13×body320valid
0.0msbody160valid

simplify223.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1265
2415
3555
4675
51045
61615
73445
814545
950015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.8b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
20×add-sqr-sqrt
18×prod-diff
16×add-cube-cbrt
11×associate-+l+
add-log-exp
fma-def
frac-add
flip3-- fma-neg flip-- distribute-lft-out--
pow1 add-exp-log neg-sub0 exp-neg expm1-log1p-u sub-neg exp-diff diff-log sum-log add-cbrt-cube log1p-expm1-u distribute-lft-out difference-of-squares
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 65
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
12.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series68.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(- (exp x) 2.0)
55.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify39.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282506
11008381
25001367

prune158.0ms

Filtered
71 candidates to 51 candidates (71.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-exp-log associate-*r*
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 37
Calls
2 calls:
1.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
6.0ms
(* 1/12 (pow x 4))

series160.0ms

Counts
2 → 6
Calls
2 calls:
123.0ms
(fma 1/360 (pow x 6) (* 1/12 (pow x 4)))
36.0ms
(* 1/12 (pow x 4))

simplify84.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0123177
1469163
22175160
35002160

prune107.0ms

Filtered
43 candidates to 29 candidates (67.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (+ (- (exp x) 2.0) (exp (- x))))
0.0b
(- (exp x) 2.0)
2.5b
(log (exp (+ (- (exp x) 2.0) (exp (- x)))))
2.5b
(+ (- (exp x) 2.0) (exp (- x)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
25×add-sqr-sqrt
21×add-cube-cbrt
18×prod-diff
17×add-log-exp
11×associate-+l+
10×exp-prod
log-pow distribute-lft-out
pow1 fma-def distribute-lft-out--
add-exp-log expm1-log1p-u log-prod exp-diff frac-add sum-log add-cbrt-cube log1p-expm1-u
associate-+l- flip3-- fma-neg diff-log flip-- rem-exp-log
neg-sub0 exp-neg sub-neg exp-sum difference-of-squares
+-commutative log-div flip3-+ rem-log-exp flip-+
Counts
4 → 105
Calls
4 calls:
9.0ms
(exp (+ (- (exp x) 2.0) (exp (- x))))
7.0ms
(- (exp x) 2.0)
8.0ms
(log (exp (+ (- (exp x) 2.0) (exp (- x)))))
9.0ms
(+ (- (exp x) 2.0) (exp (- x)))

series190.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(exp (+ (- (exp x) 2.0) (exp (- x))))
12.0ms
(- (exp x) 2.0)
58.0ms
(log (exp (+ (- (exp x) 2.0) (exp (- x)))))
55.0ms
(+ (- (exp x) 2.0) (exp (- x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0340802
11204642
25002630

prune256.0ms

Filtered
117 candidates to 80 candidates (68.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt associate-+l+
18×prod-diff
12×distribute-rgt-in distribute-lft-in
pow1 flip3-+ flip-+
associate-*l* log-pow add-cbrt-cube
add-exp-log exp-prod
associate-*r* associate-*l/ add-log-exp
expm1-log1p-u frac-times log1p-expm1-u
log-prod
sub-neg associate-*r/ pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative fma-def times-frac rem-log-exp sum-log div-inv
Counts
4 → 111
Calls
4 calls:
14.0ms
(* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1))
7.0ms
(* (+ (exp x) 2.0) (exp x))
10.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)
5.0ms
(log (exp (/ (* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1)) (* (+ (exp x) 2.0) (exp x)))))

series271.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1))
22.0ms
(* (+ (exp x) 2.0) (exp x))
61.0ms
(+ (* (exp x) (- (exp x) 2.0)) 1)
97.0ms
(log (exp (/ (* (+ (exp x) 2.0) (+ (* (exp x) (- (exp x) 2.0)) 1)) (* (+ (exp x) 2.0) (exp x)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
05471252
129421004
25001990

prune361.0ms

Filtered
123 candidates to 103 candidates (83.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes17.0ms

Accuracy

0% (0.5b 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
0115
1115

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.6s5687×body1280valid
195.0ms1270×body640valid
183.0ms8186×body80valid
53.0ms585×body320valid
17.0ms296×body160valid