Details

Time bar (total: 2.7m)

sample39.4s

Algorithm
intervals
Results
39.2s3199×body10240exit
77.0ms3455×pre80true
22.0ms246×body80valid
4.0msbody1280valid
2.0msbody640valid
2.0msbody2560valid
1.0msbody160valid
1.0msbody320valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.7b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
4.2b
(/ (* (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)))

rewrite76.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 (- t))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
40.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)))

series750.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
70.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
69.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
586.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)))

simplify104.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
09666045
132515797
250035797

prune528.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.5b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.3b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
2.7b
(/ (* (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)))

rewrite62.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 (- t))))
5.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
38.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)))

series908.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09652920
143512665
250012665

prune543.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 1.5b

localize33.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.3b
(* c_p (+ (log 0.5) (* 0.5 s)))
0.3b
(* c_p (+ (log 0.5) (* 0.5 t)))
2.7b
(/ (* (+ 1 (* c_p (+ (log 0.5) (* 0.5 s)))) (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)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
58×add-exp-log
26×prod-exp
25×*-un-lft-identity
22×add-cbrt-cube
21×add-sqr-sqrt
17×add-cube-cbrt div-exp
13×times-frac
pow1 pow-to-exp pow-exp
associate-*r* associate-*l* cbrt-unprod
cbrt-undiv flip3-+ associate-/r* flip-+
associate-*r/ associate-*l/ associate-/r/ distribute-lft-out associate-/l* add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l/ unswap-sqr
Counts
4 → 114
Calls
4 calls:
5.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
5.0ms
(* c_p (+ (log 0.5) (* 0.5 s)))
5.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
29.0ms
(/ (* (+ 1 (* c_p (+ (log 0.5) (* 0.5 s)))) (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)))

series862.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
98.0ms
(* c_p (+ (log 0.5) (* 0.5 s)))
98.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
640.0ms
(/ (* (+ 1 (* c_p (+ (log 0.5) (* 0.5 s)))) (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)))

simplify105.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08801856
142271579
250021579

prune505.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 1.5b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.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:
5.0ms
(* 0.5 (* s c_p))
7.0ms
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
7.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
2.0ms
(pow (log 0.5) 2)

series356.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0343646
11473541
25002535

prune223.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 1.5b

regimes256.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05251
15251

end0.0ms

sample2.0m

Algorithm
intervals
Results
1.9m9589×body10240exit
205.0ms10328×pre80true
63.0ms712×body80valid
23.0msbody5120valid
8.0msbody2560valid
7.0msbody640valid
7.0msbody1280valid
2.0msbody160valid
1.0msbody320valid