Details

Time bar (total: 22.0s)

sample2.4s

Algorithm
intervals
Results
1.6s227×body5120exit
544.0ms3161×body80overflowed
85.0ms3644×pre80true
29.0ms246×body80valid
6.0msbody1280valid
4.0msbody640valid
2.0msbody2560valid
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

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

rewrite80.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:
5.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)
42.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)))

series802.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
73.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
73.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
629.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)))

simplify122.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09726045
132665797
250035797

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

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

rewrite61.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:
6.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
5.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
35.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)))

series1.2s

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
104.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
86.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
955.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)))

simplify114.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09102920
141672665
250022665

prune465.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:
4.0ms
(* 0.5 (* s c_n))
5.0ms
(* 0.5 (* s c_p))

series42.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(* 0.5 (* s c_n))
23.0ms
(* 0.5 (* s c_p))

simplify59.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune59.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:
4.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))

series133.0ms

Counts
4 → 10
Calls
4 calls:
19.0ms
(* 0.5 (* s c_p))
68.0ms
(* (* (cbrt 0.5) (cbrt 0.5)) (* (cbrt 0.5) (* s c_n)))
45.0ms
(* (cbrt 0.5) (* s c_n))
0.0ms
(* (cbrt 0.5) (cbrt 0.5))

simplify53.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0310620
11432480
25001431

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

regimes506.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06041
16041

end0.0ms

sample15.2s

Algorithm
intervals
Results
10.2s1520×body5120exit
3.3s19544×body80overflowed
515.0ms22778×pre80true
177.0ms1628×body80valid
55.0msbody5120valid
41.0ms18×body1280valid
33.0msbody2560valid
15.0ms15×body640valid
9.0ms29×body160valid
5.0msbody320valid
2.0msbody1280overflowed
1.0msbody640overflowed
1.0msbody160overflowed

Profiling

Loading profile data...