Details

Time bar (total: 1.7s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

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:
4.0ms
(+ (exp x) (exp (- x)))

series23.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0100100
133188
2121687
3500187

prune32.0ms

Filtered
15 candidates to 13 candidates (86.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New13215
Fresh000
Picked101
Done000
Total14216

Merged error: 0b

Counts
16 → 2

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))))

rewrite19.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:
4.0ms
(+ (exp x) (exp (- x)))
4.0ms
(cbrt (+ (exp x) (exp (- x))))
5.0ms
(cbrt (+ (exp x) (exp (- x))))
4.0ms
(cbrt (+ (exp x) (exp (- x))))

series420.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0150580
1501529
21967507
35001507

prune171.0ms

Filtered
66 candidates to 57 candidates (86.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New66066
Fresh011
Picked011
Done000
Total66268

Merged error: 0b

Counts
68 → 2

localize10.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)))

rewrite24.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:
8.0ms
(+ (pow x 2) (+ (* 1/12 (pow x 4)) 2))
5.0ms
(* 1/12 (pow x 4))
9.0ms
(/ 2.0 (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)))

series152.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314596
11283553
25001546

prune129.0ms

Filtered
81 candidates to 54 candidates (66.7%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New81081
Fresh000
Picked011
Done011
Total81283

Merged error: 0b

Counts
83 → 2

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

sample266.0ms

Algorithm
intervals
Results
176.0ms8000×body80valid