Details

Time bar (total: 2.7s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify211.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5405
6615
71505
810385
950015

prune2.0ms

Filtered
1 candidates to 0 candidates (100.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 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
12×times-frac
11×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 45
Calls
2 calls:
4.0ms
(+ (exp x) (exp (- x)))
6.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series70.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(+ (exp x) (exp (- x)))
45.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

simplify113.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
0189411
1622377
22886375
35003374

prune92.0ms

Filtered
51 candidates to 39 candidates (23.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New49251
Fresh000
Picked011
Done000
Total49352

Merged error: 0b

Counts
52 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(/ 2.0 (+ (exp x) (exp (- x))))
0.0b
(/ 2.0 (+ (exp x) (exp (- x))))
0.0b
(* (sqrt (/ 2.0 (+ (exp x) (exp (- x))))) (sqrt (/ 2.0 (+ (exp x) (exp (- x))))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
220×sqrt-div
210×*-un-lft-identity
134×add-sqr-sqrt
106×add-cube-cbrt
100×frac-times
98×sqrt-prod
96×associate-/r*
90×times-frac
72×associate-/l*
49×distribute-lft-out
29×swap-sqr
24×frac-2neg clear-num
21×associate-*r* associate-*l*
19×pow1
12×associate-/r/
10×add-exp-log associate-*r/ associate-*l/ add-cbrt-cube
unswap-sqr
sqrt-pow1 pow1/2
flip3-+ flip-+
div-inv add-log-exp
pow-prod-up
pow-prod-down pow-sqr
cbrt-undiv div-exp
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 303
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
7.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
6.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
31.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (- x))))) (sqrt (/ 2.0 (+ (exp x) (exp (- x))))))

series229.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (exp x) (exp (- x)))
49.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
42.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
114.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (- x))))) (sqrt (/ 2.0 (+ (exp x) (exp (- x))))))

simplify96.0ms

Algorithm
egg-herbie
Counts
315 → 315
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05123986
121363727
250013674

prune450.0ms

Filtered
315 candidates to 150 candidates (52.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3141315
Fresh101
Picked011
Done011
Total3153318

Merged error: 0b

Counts
318 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(/ 2.0 (+ (exp x) (exp (- x))))
0.0b
(/ 2.0 (+ (exp x) (exp (- x))))
0.0b
(pow (sqrt (sqrt (/ 2.0 (+ (exp x) (exp (- x)))))) 3)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
39×sqrt-prod
36×times-frac
33×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down
12×distribute-lft-out
add-exp-log add-cbrt-cube
associate-/r*
pow1
associate-/r/ associate-/l* add-log-exp
pow-pow
sqrt-pow1 flip3-+ flip-+
pow-unpow div-inv
cbrt-undiv frac-2neg pow1/2 div-exp clear-num
+-commutative pow-to-exp unpow3 pow-exp sum-log sqrt-pow2 rem-cube-cbrt sqr-pow
Counts
4 → 123
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
7.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
7.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
10.0ms
(pow (sqrt (sqrt (/ 2.0 (+ (exp x) (exp (- x)))))) 3)

series505.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (exp x) (exp (- x)))
41.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
45.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
394.0ms
(pow (sqrt (sqrt (/ 2.0 (+ (exp x) (exp (- x)))))) 3)

simplify59.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05321318
116381248
250011239

prune381.0ms

Filtered
135 candidates to 94 candidates (30.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1350135
Fresh000
Picked011
Done022
Total1353138

Merged error: 0b

Counts
138 → 3

regimes53.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
085
185

end0.0ms

sample267.0ms

Algorithm
intervals
Results
177.0ms8000×body80valid