Details

Time bar (total: 35.7s)

sample2.7s

Algorithm
intervals
Results
1.8s254×body5120exit
603.0ms3080×body80overflowed
80.0ms3592×pre80true
32.0ms245×body80valid
9.0msbody5120valid
3.0msbody1280valid
3.0msbody160valid
1.0msbody640overflowed
1.0msbody640valid
0.0msbody160overflowed

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune5.0ms

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.3b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
0.7b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
5.6b
(/ (* (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)))

rewrite81.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)
39.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)))

series226.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
09726045
132665797
250035797

prune356.0ms

Filtered
91 candidates to 297 candidates (-226.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2934297
Fresh000
Picked101
Done000
Total2944298

Merged error: 0.5b

Counts
298 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

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

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_p))
4.0ms
(* 0.5 (* s c_n))

series7.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune55.0ms

Filtered
22 candidates to 42 candidates (-90.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New41142
Fresh033
Picked011
Done000
Total41546

Merged error: 0.5b

Counts
46 → 5

localize27.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.3b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
2.4b
(/ (* (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:
5.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)
37.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)))

series242.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
11.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
14.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
211.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)))

simplify116.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09102920
141672665
250022665

prune323.0ms

Filtered
84 candidates to 171 candidates (-103.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1701171
Fresh123
Picked011
Done011
Total1715176

Merged error: 0.5b

Counts
176 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
0.0b
(* 0.5 (* s c_p))
0.2b
(* (pow (log 0.5) 2) (pow c_p 2))
1.0b
(pow (log 0.5) 2)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log
31×prod-exp
28×add-sqr-sqrt
19×unpow-prod-down
16×add-cbrt-cube unswap-sqr
15×associate-*l*
14×pow1
13×pow-to-exp pow-exp
12×add-cube-cbrt *-un-lft-identity
11×unpow2 sqr-pow
10×associate-*r*
cbrt-unprod
pow-prod-down
add-log-exp
pow-unpow *-commutative
log-pow
pow-pow
Counts
4 → 114
Calls
4 calls:
7.0ms
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
5.0ms
(* 0.5 (* s c_p))
7.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
2.0ms
(pow (log 0.5) 2)

series38.0ms

Counts
4 → 10
Calls
4 calls:
19.0ms
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
3.0ms
(* 0.5 (* s c_p))
15.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
0.0ms
(pow (log 0.5) 2)

simplify48.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0343646
11473541
25001535

prune139.0ms

Filtered
59 candidates to 124 candidates (-110.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1231124
Fresh022
Picked101
Done022
Total1245129

Merged error: 0.5b

Counts
129 → 5

regimes1.1s

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05232
15232

end0.0ms

sample29.8s

Algorithm
intervals
Results
19.6s2952×body5120exit
6.7s37258×body80overflowed
893.0ms43356×pre80true
377.0ms3051×body80valid
69.0msbody5120valid
36.0ms16×body1280valid
28.0msbody2560valid
26.0ms24×body640valid
10.0ms29×body160valid
4.0msbody640overflowed
2.0msbody320overflowed
2.0msbody320valid
2.0msbody160overflowed

Profiling

Loading profile data...