Details

Time bar (total: 1.9s)

sample19.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify212.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5405
6615
71505
810405
950025

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ sum-log add-cbrt-cube flip-+ distribute-lft-out
Counts
1 → 12
Calls
1 calls:
5.0ms
(+ (exp x) (exp (- x)))

series23.0ms

Counts
1 → 3
Calls
1 calls:
23.0ms
(+ (exp x) (exp (- x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0100100
133188
2121687
3500187

prune41.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.5b
(cbrt (+ (exp x) (exp (- x))))
0.5b
(cbrt (+ (exp x) (exp (- x))))
0.5b
(cbrt (+ (exp x) (exp (- x))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log flip3-+ add-cbrt-cube flip-+ distribute-lft-out
pow1/3
+-commutative sum-log
Counts
4 → 54
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
5.0ms
(cbrt (+ (exp x) (exp (- x))))
5.0ms
(cbrt (+ (exp x) (exp (- x))))
5.0ms
(cbrt (+ (exp x) (exp (- x))))

series425.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
131.0ms
(cbrt (+ (exp x) (exp (- x))))
135.0ms
(cbrt (+ (exp x) (exp (- x))))
136.0ms
(cbrt (+ (exp x) (exp (- x))))

simplify71.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0150580
1501529
21967507
35001507

prune202.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow x 2) (+ (* 1/12 (pow x 4)) 2))
0.1b
(* 1/12 (pow x 4))
0.2b
(/ 2.0 (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
20×add-sqr-sqrt
15×add-cube-cbrt
12×times-frac
10×add-exp-log
add-log-exp
associate-*r* add-cbrt-cube
distribute-lft-out
unpow-prod-down associate-/r*
pow1 associate-*l* prod-exp sum-log associate-/l* unswap-sqr
flip3-+ associate-/r/ flip-+ sqr-pow
cbrt-undiv +-commutative pow-to-exp associate-+r+ frac-2neg div-exp pow-exp clear-num *-commutative cbrt-unprod div-inv
Counts
3 → 72
Calls
3 calls:
15.0ms
(+ (pow x 2) (+ (* 1/12 (pow x 4)) 2))
5.0ms
(* 1/12 (pow x 4))
22.0ms
(/ 2.0 (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)))

series146.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(+ (pow x 2) (+ (* 1/12 (pow x 4)) 2))
37.0ms
(* 1/12 (pow x 4))
72.0ms
(/ 2.0 (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)))

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314596
11283553
25001546

prune158.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes37.0ms

Accuracy

99.8% (0.0b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02728
12728

end0.0ms

sample420.0ms

Algorithm
intervals
Results
331.0ms8000×body80valid