Details

Time bar (total: 2.7s)

sample11.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify225.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5415
6665
71655
811235
950015

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 2 expressions with local error:

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

rewrite13.0ms

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

series61.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0200433
1666397
23139394
35001393

prune102.0ms

Filtered
58 candidates to 46 candidates (79.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New55358
Fresh000
Picked101
Done000
Total56359

Merged error: 0b

Counts
59 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)
0.0b
(+ (exp (* -1 x)) (exp x))
0.0b
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
0.0b
(/ 2.0 (+ (exp (* -1 x)) (exp x)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
60×times-frac
48×add-sqr-sqrt add-cube-cbrt
42×cbrt-prod
36×unpow-prod-down cube-prod
17×distribute-lft-out
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-+ flip-+ add-log-exp
pow1 div-inv
expm1-log1p-u associate-/r* log1p-expm1-u
pow-unpow fma-def associate-/l*
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp rem-cube-cbrt sqr-pow
+-commutative pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 clear-num sum-log rem-cbrt-cube
Counts
4 → 164
Calls
4 calls:
8.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)
4.0ms
(+ (exp (* -1 x)) (exp x))
8.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
6.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))

series169.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)
20.0ms
(+ (exp (* -1 x)) (exp x))
35.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
39.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))

simplify82.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04751670
120351557
250021539

prune256.0ms

Filtered
176 candidates to 94 candidates (53.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1760176
Fresh022
Picked011
Done000
Total1763179

Merged error: 0b

Counts
179 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
14×add-sqr-sqrt add-cube-cbrt
12×times-frac
add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u distribute-lft-out
pow1 associate-/r* log1p-expm1-u
fma-def associate-/l*
flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative log1p-udef expm1-log1p frac-2neg log1p-expm1 div-exp clear-num sum-log div-inv expm1-udef
Counts
4 → 74
Calls
4 calls:
1.0ms
(log1p (/ 2.0 (+ (exp x) (exp (- x)))))
1.0ms
(expm1 (log1p (/ 2.0 (+ (exp x) (exp (- x))))))
5.0ms
(+ (exp x) (exp (- x)))
10.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series360.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(log1p (/ 2.0 (+ (exp x) (exp (- x)))))
180.0ms
(expm1 (log1p (/ 2.0 (+ (exp x) (exp (- x))))))
21.0ms
(+ (exp x) (exp (- x)))
37.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

simplify183.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (175.0ms)

IterNodesCost
0285645
1897583
24347576
35001575

prune175.0ms

Filtered
86 candidates to 65 candidates (75.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh011
Picked011
Done011
Total86389

Merged error: 0b

Counts
89 → 3

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
54×add-sqr-sqrt
52×times-frac
38×add-cube-cbrt
35×sqrt-prod
30×associate-*r*
14×distribute-lft-out
10×add-exp-log add-cbrt-cube
associate-*l* associate-/l* unswap-sqr
pow1 add-log-exp
associate-/r* associate-/r/
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
+-commutative frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 125
Calls
3 calls:
7.0ms
(/ (sqrt 2.0) (+ (exp x) (exp (- x))))
9.0ms
(+ (exp x) (exp (- x)))
30.0ms
(* (sqrt 2.0) (/ (sqrt 2.0) (+ (exp x) (exp (- x)))))

series195.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(/ (sqrt 2.0) (+ (exp x) (exp (- x))))
22.0ms
(+ (exp x) (exp (- x)))
103.0ms
(* (sqrt 2.0) (/ (sqrt 2.0) (+ (exp x) (exp (- x)))))

simplify59.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
03771293
116691171
250011140

prune222.0ms

Filtered
134 candidates to 87 candidates (64.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1340134
Fresh000
Picked011
Done022
Total1343137

Merged error: 0b

Counts
137 → 3

regimes67.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
0147
1147

end0.0ms

sample269.0ms

Algorithm
intervals
Results
180.0ms8000×body80valid