Details

Time bar (total: 7.2m)

sample40.8s

Algorithm
intervals
Results
40.5s3253×body10240exit
75.0ms3509×pre80true
21.0ms246×body80valid
6.0msbody2560valid
5.0msbody1280valid
2.0msbody640valid
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: 4.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.7b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
2.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)))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
556×add-exp-log
312×prod-exp
264×pow-exp
249×div-exp
184×pow-to-exp
97×*-un-lft-identity
70×add-sqr-sqrt
65×add-cube-cbrt
62×times-frac
54×prod-diff
36×unpow-prod-down
16×add-cbrt-cube
15×distribute-lft-out
10×associate-/r/
pow1 pow-unpow div-inv add-log-exp
flip3-+ flip-+
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u
fma-neg
pow-pow difference-of-squares sqr-pow
sub-neg flip3-- frac-2neg diff-log clear-num associate-/r* flip-- associate-/l* distribute-lft-out--
Counts
4 → 332
Calls
4 calls:
22.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
11.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
95.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)))

series747.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
344 → 344
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
012818124
143897090
250017090

prune611.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.3b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
0.5b
(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)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
171×add-exp-log
99×*-un-lft-identity
87×prod-exp
70×add-sqr-sqrt
66×div-exp
65×add-cube-cbrt
62×times-frac
55×pow-exp
54×prod-diff
42×pow-to-exp
18×unpow-prod-down add-cbrt-cube
16×distribute-lft-out
10×associate-/r/
div-inv add-log-exp
pow1 cbrt-undiv flip3-+ associate-/r* flip-+
expm1-log1p-u cbrt-unprod log1p-expm1-u associate-/l*
pow-unpow fma-neg
frac-2neg clear-num difference-of-squares
sub-neg flip3-- pow-pow diff-log flip-- distribute-lft-out-- sqr-pow
Counts
4 → 215
Calls
4 calls:
8.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
22.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
12.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
82.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series820.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
47.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
64.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
684.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify122.0ms

Algorithm
egg-herbie
Counts
227 → 227
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011564971
147893939
250013939

prune698.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

localize30.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
1.0b
(/ (* (fma (log 0.5) c_p (fma 0.5 (* s c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
147×*-un-lft-identity
109×add-sqr-sqrt
108×prod-diff
99×add-cube-cbrt
87×times-frac
54×add-exp-log
24×prod-exp
22×distribute-lft-out
18×add-cbrt-cube
17×div-exp
14×associate-/r/
pow-to-exp pow-exp div-inv add-log-exp
flip3-+ flip-+
fma-neg
cbrt-undiv associate-/r*
pow1 expm1-log1p-u cbrt-unprod log1p-expm1-u associate-/l* difference-of-squares
sub-neg flip3-- frac-2neg diff-log clear-num flip-- distribute-lft-out--
Counts
4 → 218
Calls
4 calls:
24.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
8.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
22.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
73.0ms
(/ (* (fma (log 0.5) c_p (fma 0.5 (* s c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series739.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
25.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
47.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
619.0ms
(/ (* (fma (log 0.5) c_p (fma 0.5 (* s c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify61.0ms

Algorithm
egg-herbie
Counts
230 → 230
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
013075968
150014137

prune823.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.3b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.7b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
2.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 (fma (pow t 3) 0.020833333333333336 (- 0.5 (* 0.25 t))) c_n)))

rewrite113.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*
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv associate-/l* add-log-exp
flip3-+ flip-+
pow-pow frac-2neg clear-num sqr-pow
Counts
4 → 293
Calls
4 calls:
10.0ms
(/ 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)
63.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 (fma (pow t 3) 0.020833333333333336 (- 0.5 (* 0.25 t))) c_n)))

series771.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
68.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
68.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
610.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 (fma (pow t 3) 0.020833333333333336 (- 0.5 (* 0.25 t))) c_n)))

simplify109.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
010035932
133985694
250015694

prune684.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.3b

regimes409.0ms

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04448
14448

end0.0ms

sample6.4m

Algorithm
intervals
Results
6.4m31523×body10240exit
633.0ms34021×pre80true
202.0ms2427×body80valid
45.0msbody5120valid
22.0msbody2560valid
18.0ms10×body1280valid
11.0ms16×body640valid
5.0ms22×body160valid
4.0ms11×body320valid