Details

Time bar (total: 2.6s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
100%0%0%2

sample13.0ms (0.5%)

Algorithm
intervals
Results
7.0ms256×body80valid

simplify88.0ms (3.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (85.0ms)

IterNodesCost
047728
147728

prune5.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite13.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
15×times-frac
12×add-sqr-sqrt add-cube-cbrt
cosh-undef associate-/r* distribute-lft-out
add-exp-log 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 → 50
Calls

2 calls:

6.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
5.0ms
(+ (exp x) (exp (neg x)))

series13.0ms (0.5%)

Counts
2 → 6
Calls

2 calls:

9.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
4.0ms
(+ (exp x) (exp (neg x)))

simplify96.0ms (3.7%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (90.0ms)

IterNodesCost
05322597

prune88.0ms (3.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New53356
Fresh000
Picked101
Done000
Total54357

Merged error: 0b

Counts
57 → 3

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite57.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
128×*-un-lft-identity
110×sqrt-prod
108×times-frac
96×add-sqr-sqrt
68×add-cube-cbrt
32×swap-sqr
27×distribute-lft-out
24×associate-*r* associate-*l*
21×cosh-undef
19×pow1
12×associate-/r/
10×add-exp-log associate-/r* add-cbrt-cube
unswap-sqr
sqrt-pow1 pow1/2
flip3-+ flip-+
div-inv associate-/l* add-log-exp
pow-prod-up
sqrt-div
pow-prod-down pow-sqr
cbrt-undiv frac-2neg div-exp clear-num
+-commutative pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 204
Calls

4 calls:

29.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))))
7.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
7.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
5.0ms
(+ (exp x) (exp (neg x)))

series35.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

13.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))))
9.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
9.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
4.0ms
(+ (exp x) (exp (neg x)))

simplify73.0ms (2.8%)

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049162762
149162762

prune397.0ms (15.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2160216
Fresh022
Picked011
Done000
Total2163219

Merged error: 0b

Counts
219 → 3

localize13.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (/ 2.0 (+ (exp x) (exp (neg x))))) (cbrt (/ 2.0 (+ (exp x) (exp (neg x))))))
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))

rewrite56.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
144×*-un-lft-identity
123×times-frac
108×cbrt-prod
102×add-sqr-sqrt
78×add-cube-cbrt
30×swap-sqr distribute-lft-out
24×cosh-undef associate-*r* associate-*l*
15×associate-/r*
14×associate-/r/
12×add-exp-log
11×pow1
10×add-cbrt-cube
associate-/l* unswap-sqr
flip3-+ flip-+ div-inv
pow1/3
cbrt-div add-log-exp
cbrt-undiv frac-2neg div-exp clear-num
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 219
Calls

4 calls:

25.0ms
(* (cbrt (/ 2.0 (+ (exp x) (exp (neg x))))) (cbrt (/ 2.0 (+ (exp x) (exp (neg x))))))
7.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
7.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
7.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

series76.0ms (2.9%)

Counts
4 → 12
Calls

4 calls:

44.0ms
(* (cbrt (/ 2.0 (+ (exp x) (exp (neg x))))) (cbrt (/ 2.0 (+ (exp x) (exp (neg x))))))
13.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
9.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
9.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

simplify91.0ms (3.5%)

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
049313749
149313749

prune672.0ms (25.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2310231
Fresh011
Picked011
Done011
Total2313234

Merged error: 0b

Counts
234 → 3

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(/ (sqrt 2.0) (cosh x))
0.5b
(* (/ (sqrt 2.0) 2) (/ (sqrt 2.0) (cosh x)))

rewrite29.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
73×add-sqr-sqrt
66×times-frac
43×add-cube-cbrt *-un-lft-identity
36×sqrt-prod
23×associate-*r*
22×associate-*l*
16×add-exp-log add-cbrt-cube
unswap-sqr
associate-/l*
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
associate-/r* div-inv
cosh-def associate-/r/ add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 114
Calls

2 calls:

20.0ms
(* (/ (sqrt 2.0) 2) (/ (sqrt 2.0) (cosh x)))
4.0ms
(/ (sqrt 2.0) (cosh x))

series34.0ms (1.3%)

Counts
2 → 6
Calls

2 calls:

20.0ms
(* (/ (sqrt 2.0) 2) (/ (sqrt 2.0) (cosh x)))
14.0ms
(/ (sqrt 2.0) (cosh x))

simplify77.0ms (3%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
049481204
149481204

prune232.0ms (8.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1200120
Fresh000
Picked011
Done022
Total1203123

Merged error: 0b

Counts
123 → 3

regimes95.0ms (3.6%)

Accuracy

Total 0.0b remaining (41%)

Threshold costs 0.0b (41%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01719
11719

end0.0ms (0%)

sample323.0ms (12.4%)

Algorithm
intervals
Results
232.0ms8000×body80valid

Profiling

Loading profile data...