Details

Time bar (total: 5.8m)

sample2.3m

Algorithm
intervals
Results
2.3m2933×body10240exit
64.0ms3189×pre80true
42.0ms248×body80valid
29.0msbody1280valid
18.0msbody2560valid
1.0msbody320valid
0.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: 5.6b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite144.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:
16.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)
91.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)))

series762.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
09765948
131425704
250015704

prune446.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series40.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune82.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
171×add-exp-log
88×prod-exp
65×div-exp
55×pow-exp
42×pow-to-exp
23×*-un-lft-identity
22×add-sqr-sqrt
18×unpow-prod-down add-cbrt-cube
15×add-cube-cbrt
14×times-frac
pow1
add-log-exp
cbrt-unprod
cbrt-undiv associate-/r/
pow-unpow flip3-+ associate-*r* associate-*l* flip-+ distribute-lft-out
associate-*r/ associate-*l/ div-inv difference-of-squares
distribute-rgt-in sub-neg flip3-- pow-pow frac-2neg distribute-lft-in diff-log pow-prod-down clear-num associate-/r* *-commutative flip-- associate-/l* distribute-lft-out-- unswap-sqr sqr-pow
Counts
4 → 141
Calls
4 calls:
16.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
10.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
83.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)))

series907.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
95.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
68.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
694.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
153 → 153
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
09232823
140472572
250022572

prune445.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.020833333333333336 (pow t 3))
0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.3b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.0b
(/ (* (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 (- (+ (* 0.020833333333333336 (pow t 3)) 0.5) (* 0.25 t)) c_n)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
176×add-exp-log
91×prod-exp
65×div-exp
56×pow-exp
43×pow-to-exp
28×add-sqr-sqrt
25×*-un-lft-identity
22×unpow-prod-down
20×add-cbrt-cube
19×add-cube-cbrt
15×associate-*r*
13×times-frac
pow1
associate-*l* cbrt-unprod
unswap-sqr
cbrt-undiv cube-prod associate-/r/ add-log-exp
pow-unpow flip3-+ flip-+ distribute-lft-out sqr-pow
associate-*r/ associate-*l/ *-commutative div-inv
distribute-rgt-in cube-mult pow-pow frac-2neg distribute-lft-in unpow3 pow-prod-down clear-num associate-/r* associate-/l*
Counts
4 → 157
Calls
4 calls:
6.0ms
(* 0.020833333333333336 (pow t 3))
8.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
11.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
77.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 (- (+ (* 0.020833333333333336 (pow t 3)) 0.5) (* 0.25 t)) c_n)))

series960.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* 0.020833333333333336 (pow t 3))
95.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
69.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
759.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 (- (+ (* 0.020833333333333336 (pow t 3)) 0.5) (* 0.25 t)) c_n)))

simplify111.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09552777
144222525
250012525

prune503.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

regimes574.0ms

bsearch22.4s

Steps
ItersRangePoint
7
-7.183956273494884e-71
-4.1021087505030886e-72
-7.1249341297495224e-71

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05731
15731

end0.0ms

sample3.0m

Algorithm
intervals
Results
3.0m3838×body10240exit
80.0ms4144×pre80true
50.0ms295×body80valid
28.0msbody1280valid
18.0msbody2560valid
2.0msbody320valid
2.0msbody640valid
1.0msbody160valid