Details

Time bar (total: 6.1m)

sample40.5s

Algorithm
intervals
Results
40.3s3261×body10240exit
80.0ms3517×pre80true
24.0ms245×body80valid
4.0msbody640valid
3.0msbody1280valid
2.0msbody2560valid
1.0msbody160valid

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

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
1.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
2.4b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
3.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)))

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
556×add-exp-log
312×prod-exp
264×pow-exp
249×div-exp
184×pow-to-exp
36×unpow-prod-down *-un-lft-identity
27×add-sqr-sqrt
26×times-frac
22×add-cube-cbrt
16×add-cbrt-cube
pow1 pow-unpow distribute-lft-out add-log-exp
cbrt-undiv associate-/r/ cbrt-unprod
div-inv
pow-pow flip3-+ flip-+ difference-of-squares sqr-pow
sub-neg flip3-- frac-2neg diff-log clear-num associate-/r* flip-- associate-/l* distribute-lft-out--
Counts
4 → 267
Calls
4 calls:
18.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
92.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)))

series778.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
09765948
131425704
250015704

prune452.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))
0.0b
(* 0.5 (* s c_p))
0.0b
(* 0.5 (* s c_n))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-exp-log add-cbrt-cube
add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
diff-log associate-*r* *-commutative
sub-neg flip3-- associate--l+ sum-log flip--
Counts
3 → 50
Calls
3 calls:
42.0ms
(- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))
5.0ms
(* 0.5 (* s c_p))
6.0ms
(* 0.5 (* s c_n))

series94.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))
19.0ms
(* 0.5 (* s c_p))
22.0ms
(* 0.5 (* s c_n))

simplify142.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0228292
1900254
24892245
35001245

prune106.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
24×pow1 add-exp-log add-cbrt-cube
12×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
4 → 72
Calls
4 calls:
5.0ms
(* 0.5 (* s c_p))
5.0ms
(* 0.5 (* s c_p))
5.0ms
(* 0.5 (* s c_n))
6.0ms
(* 0.5 (* s c_n))

series79.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* 0.5 (* s c_p))
20.0ms
(* 0.5 (* s c_p))
19.0ms
(* 0.5 (* s c_n))
22.0ms
(* 0.5 (* s c_n))

simplify57.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153284
1595224
22373224
35002224

prune176.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.5b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite122.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 (- t))))
8.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
87.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)))

series911.0ms

Counts
4 → 12
Calls
4 calls:
26.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)
712.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)))

simplify106.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09652920
143512665
250012665

prune534.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.5b

regimes316.0ms

bsearch1.7s

Steps
ItersRangePoint
7
-1.414082875184719e-26
-7.437857922401063e-28
-7.639139057981639e-28

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05231
15231

end0.0ms

sample5.3m

Algorithm
intervals
Results
5.3m25949×body10240exit
625.0ms27992×pre80true
189.0ms1976×body80valid
29.0ms16×body1280valid
10.0ms12×body640valid
8.0ms29×body160valid
7.0msbody2560valid
5.0msbody5120valid
2.0msbody320valid