Details

Time bar (total: 12.3s)

sample2.4s

Algorithm
intervals
Results
1.6s236×body5120exit
527.0ms3173×body80overflowed
89.0ms3667×pre80true
27.0ms248×body80valid
7.0msbody5120valid
5.0msbody1280valid
3.0msbody2560valid
1.0msbody640valid
1.0msbody160overflowed
1.0msbody160valid
1.0msbody320valid

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: 8.0b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (neg t))))
1.0b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
2.2b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
4.2b
(/ (* (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 t))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
38.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)))

series777.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
09726045
132665797
250035797

prune465.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: 0.7b

Counts
298 → 3

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

series38.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune61.0ms

Filtered
42 candidates to 22 candidates (52.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh022
Picked011
Done000
Total40545

Merged error: 0.7b

Counts
45 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (neg t))))
0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
1.0b
(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:
8.0ms
(/ 1.0 (+ 1.0 (exp (neg t))))
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)))

series946.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09632920
143342665
250012665

prune485.0ms

Filtered
171 candidates to 86 candidates (50.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1701171
Fresh213
Picked011
Done011
Total1724176

Merged error: 0.7b

Counts
176 → 4

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

series377.0ms

Counts
4 → 10
Calls
4 calls:
190.0ms
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
19.0ms
(* 0.5 (* s c_p))
167.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 (39.0ms)

IterNodesCost
0343646
11473541
25001535

prune178.0ms

Filtered
124 candidates to 59 candidates (47.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1231124
Fresh011
Picked101
Done022
Total1244128

Merged error: 0.7b

Counts
128 → 4

regimes511.0ms

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05232
15232

end0.0ms

sample5.5s

Algorithm
intervals
Results
3.8s533×body5120exit
1.2s6945×body80overflowed
188.0ms8047×pre80true
62.0ms554×body80valid
10.0msbody2560valid
7.0msbody5120valid
5.0msbody1280valid
2.0msbody160overflowed
1.0msbody640valid
1.0msbody160valid
1.0msbody320overflowed
0.0msbody320valid

Profiling

Loading profile data...