Details

Time bar (total: 18.5s)

sample2.9s

Algorithm
intervals
Results
2.0s271×body5120exit
593.0ms3394×body80overflowed
96.0ms3923×pre80true
27.0ms239×body80valid
8.0msbody1280valid
3.0msbody160valid
2.0msbody2560valid
2.0msbody640valid
2.0msbody320valid
0.0msbody160overflowed

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune5.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.9b

Counts
2 → 1

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
1.5b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
4.4b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
553×add-exp-log
312×prod-exp
262×pow-exp
248×div-exp
183×pow-to-exp
23×add-sqr-sqrt *-un-lft-identity
18×unpow-prod-down
16×add-cbrt-cube
15×times-frac
13×add-cube-cbrt
add-log-exp
pow1
cbrt-undiv cbrt-unprod difference-of-squares
pow-unpow distribute-lft-out
sub-neg flip3-- diff-log associate-/r/ flip-- div-inv distribute-lft-out--
pow-pow frac-2neg flip3-+ clear-num associate-/r* flip-+ associate-/l* sqr-pow
Counts
4 → 249
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
41.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series793.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
51.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
70.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
620.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify106.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
09035770
129465521
250025521

prune347.0ms

Filtered
261 candidates to 66 candidates (25.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2592261
Fresh000
Picked101
Done000
Total2602262

Merged error: 1.0b

Counts
262 → 2

localize21.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:
19.0ms
(* 0.5 (* s c_n))
20.0ms
(* 0.5 (* s c_p))

simplify60.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune58.0ms

Filtered
42 candidates to 22 candidates (52.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New41142
Fresh011
Picked011
Done000
Total41344

Merged error: 1.0b

Counts
44 → 3

localize30.0ms

Local error

Found 4 expressions with local error:

0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
2.4b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
168×add-exp-log
88×prod-exp
64×div-exp
53×pow-exp
41×pow-to-exp
18×add-sqr-sqrt add-cbrt-cube
10×*-un-lft-identity
add-log-exp
pow1 add-cube-cbrt
cbrt-unprod
cbrt-undiv difference-of-squares
times-frac associate-*r* associate-*l*
sub-neg flip3-- flip3-+ diff-log associate-*r/ associate-*l/ associate-/r/ flip-- flip-+ distribute-lft-out--
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 123
Calls
4 calls:
5.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
10.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
41.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series984.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
53.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
48.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
780.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify100.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08202647
136022390
250032390

prune351.0ms

Filtered
135 candidates to 59 candidates (43.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1341135
Fresh101
Picked011
Done011
Total1353138

Merged error: 1.0b

Counts
138 → 3

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.1b
(* (pow (log 0.5) 2) (pow c_p 2))
1.0b
(pow (log 0.5) 2)

rewrite26.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))
8.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
2.0ms
(pow (log 0.5) 2)

series383.0ms

Counts
4 → 10
Calls
4 calls:
189.0ms
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
26.0ms
(* 0.5 (* s c_p))
168.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
0.0ms
(pow (log 0.5) 2)

simplify52.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0343646
11473541
25001535

prune196.0ms

Filtered
124 candidates to 59 candidates (47.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1231124
Fresh000
Picked101
Done022
Total1243127

Merged error: 1.0b

Counts
127 → 3

regimes187.0ms

bsearch852.0ms

Steps
ItersRangePoint
9
-691.3040501824005
-0.0037296439327094135
-0.0037629092859684343

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05231
15231

end0.0ms

sample10.8s

Algorithm
intervals
Results
7.4s1114×body5120exit
2.3s13981×body80overflowed
365.0ms16221×pre80true
119.0ms1071×body80valid
20.0ms10×body1280valid
20.0msbody5120valid
12.0ms12×body640valid
7.0msbody2560valid
6.0ms18×body160valid
4.0msbody320valid
1.0msbody640overflowed
1.0msbody320overflowed
0.0msbody160overflowed

Profiling

Loading profile data...