Details

Time bar (total: 21.5s)

sample2.3s

Algorithm
intervals
Results
1.5s227×body5120exit
514.0ms3161×body80overflowed
83.0ms3644×pre80true
27.0ms246×body80valid
6.0msbody1280valid
2.0msbody2560valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune4.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: 7.3b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (neg s))))
0.2b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.9b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
4.7b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
558×add-exp-log
312×prod-exp
264×pow-exp
250×div-exp
184×pow-to-exp
51×*-un-lft-identity
37×times-frac
36×unpow-prod-down
31×add-sqr-sqrt add-cube-cbrt
18×add-cbrt-cube
10×distribute-lft-out
pow1 pow-unpow associate-/r/
cbrt-undiv associate-/r*
cbrt-unprod div-inv associate-/l* add-log-exp
flip3-+ flip-+
pow-pow frac-2neg clear-num sqr-pow
Counts
4 → 285
Calls
4 calls:
6.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
40.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

series795.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
70.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
76.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
617.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

simplify110.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
09726045
132665797
250035797

prune486.0ms

Filtered
297 candidates to 91 candidates (30.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2943297
Fresh000
Picked101
Done000
Total2953298

Merged error: 2.3b

Counts
298 → 3

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (neg s))))
0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.2b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
3.2b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
173×add-exp-log
88×prod-exp
66×div-exp
55×pow-exp
42×pow-to-exp
38×*-un-lft-identity
26×add-sqr-sqrt
25×times-frac
24×add-cube-cbrt
20×add-cbrt-cube
18×unpow-prod-down
pow1 distribute-lft-out
associate-/r/
cbrt-undiv associate-/r* cbrt-unprod
flip3-+ flip-+ associate-/l* add-log-exp
pow-unpow associate-*r* associate-*l* div-inv
frac-2neg associate-*r/ associate-*l/ clear-num
distribute-rgt-in pow-pow distribute-lft-in pow-prod-down *-commutative unswap-sqr sqr-pow
Counts
4 → 159
Calls
4 calls:
5.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
6.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
39.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

series970.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
111.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
75.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
757.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

simplify113.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09102920
141672665
250022665

prune676.0ms

Filtered
171 candidates to 84 candidates (49.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1701171
Fresh022
Picked011
Done000
Total1704174

Merged error: 2.2b

Counts
174 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 0.5 (* s c_n))
0.0b
(* 0.5 (* s c_p))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* *-commutative add-log-exp
Counts
2 → 36
Calls
2 calls:
5.0ms
(* 0.5 (* s c_n))
5.0ms
(* 0.5 (* s c_p))

series40.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(* 0.5 (* s c_n))
21.0ms
(* 0.5 (* s c_p))

simplify68.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune63.0ms

Filtered
42 candidates to 22 candidates (52.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New41142
Fresh022
Picked101
Done011
Total42446

Merged error: 2.2b

Counts
46 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.5 (* s c_p))
0.2b
(* (* (cbrt 0.5) (cbrt 0.5)) (* (cbrt 0.5) (* s c_n)))
0.2b
(* (cbrt 0.5) (* s c_n))
1.0b
(* (cbrt 0.5) (cbrt 0.5))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
42×pow1
37×add-exp-log
23×add-sqr-sqrt pow-prod-down add-cbrt-cube
22×prod-exp cbrt-unprod
19×cbrt-prod
16×associate-*l*
15×add-cube-cbrt *-un-lft-identity
associate-*r*
pow1/3 swap-sqr
*-commutative add-log-exp unswap-sqr
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 107
Calls
4 calls:
5.0ms
(* 0.5 (* s c_p))
11.0ms
(* (* (cbrt 0.5) (cbrt 0.5)) (* (cbrt 0.5) (* s c_n)))
5.0ms
(* (cbrt 0.5) (* s c_n))
5.0ms
(* (cbrt 0.5) (cbrt 0.5))

series135.0ms

Counts
4 → 10
Calls
4 calls:
24.0ms
(* 0.5 (* s c_p))
65.0ms
(* (* (cbrt 0.5) (cbrt 0.5)) (* (cbrt 0.5) (* s c_n)))
46.0ms
(* (cbrt 0.5) (* s c_n))
0.0ms
(* (cbrt 0.5) (cbrt 0.5))

simplify51.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0310620
11432480
25001431

prune173.0ms

Filtered
117 candidates to 62 candidates (53.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1161117
Fresh022
Picked101
Done011
Total1174121

Merged error: 2.2b

Counts
121 → 4

regimes501.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06041
16041

end0.0ms

sample14.7s

Algorithm
intervals
Results
10.1s1520×body5120exit
3.1s19544×body80overflowed
498.0ms22778×pre80true
165.0ms1628×body80valid
55.0msbody5120valid
38.0ms18×body1280valid
34.0msbody2560valid
15.0ms15×body640valid
8.0ms29×body160valid
4.0msbody320valid
2.0msbody1280overflowed
1.0msbody640overflowed
0.0msbody160overflowed

Profiling

Loading profile data...