Details

Time bar (total: 4.9m)

sample43.0s

Algorithm
intervals
Results
42.8s3350×body10240exit
77.0ms3606×pre80true
23.0ms245×body80valid
8.0msbody2560valid
3.0msbody640valid
2.0msbody1280valid
1.0msbody160valid

simplify25.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: 5.0b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.2b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.2b
(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)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
74×sqr-pow
72×associate-*l*
64×times-frac
60×unpow-prod-down
40×associate-/r/
21×div-inv
20×flip3-+ flip-+
18×associate-*r* *-commutative unswap-sqr
associate-/r* associate-/l*
pow-to-exp
prod-exp
sub-neg flip3-- frac-2neg div-exp clear-num flip--
Counts
4 → 98
Calls
4 calls:
2.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
2.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
2.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
12.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)))

series763.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
08033203
133333161
250013161

prune613.0ms

Filtered
110 candidates to 104 candidates (94.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1073110
Fresh000
Picked101
Done000
Total1083111

Merged error: 0.5b

Counts
111 → 3

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
1.2b
(log (/ 1.0 (+ 1.0 (exp (- t)))))
8.9b
(- (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n) (fma (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))
32.3b
(fma c_p (log (/ 1.0 (+ 1.0 (exp (- s))))) (- (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n) (fma (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
log-div log-prod
clear-num associate-/r/
frac-2neg flip3-+ fma-neg log-rec flip-+ fma-udef div-inv
sub-neg flip3-- *-commutative flip-- associate--r+
Counts
4 → 22
Calls
4 calls:
3.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
3.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
4.0ms
(- (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n) (fma (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))
1.0ms
(fma c_p (log (/ 1.0 (+ 1.0 (exp (- s))))) (- (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n) (fma (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n))))

series791.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
71.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
347.0ms
(- (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n) (fma (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))
302.0ms
(fma c_p (log (/ 1.0 (+ 1.0 (exp (- s))))) (- (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n) (fma (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n))))

simplify66.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0386483
1951472
23291467
35001466

prune178.0ms

Filtered
34 candidates to 28 candidates (82.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New32234
Fresh202
Picked011
Done000
Total34337

Merged error: 0b

Counts
37 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- s))))
0.2b
(* (log 0.5) c_p)
0.3b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
39.2b
(fma c_p (log (/ 1.0 (+ 1.0 (exp (- s))))) (fma (* c_n 0.5) (- t s) (- (* (log 0.5) c_p))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
log-div log-prod clear-num
frac-2neg flip3-+ flip-+ div-inv
log-rec *-commutative fma-udef
Counts
4 → 14
Calls
4 calls:
3.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
2.0ms
(* (log 0.5) c_p)
3.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
1.0ms
(fma c_p (log (/ 1.0 (+ 1.0 (exp (- s))))) (fma (* c_n 0.5) (- t s) (- (* (log 0.5) c_p))))

series398.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
150.0ms
(* (log 0.5) c_p)
71.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
146.0ms
(fma c_p (log (/ 1.0 (+ 1.0 (exp (- s))))) (fma (* c_n 0.5) (- t s) (- (* (log 0.5) c_p))))

simplify37.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
0182159
1438154
21350154
35001152

prune83.0ms

Filtered
26 candidates to 18 candidates (69.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh011
Picked011
Done011
Total26329

Merged error: 0b

Counts
29 → 3

localize1.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done022
Total033

Merged error: 0b

Counts
3 → 3

regimes380.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02613
12813
22813

end0.0ms

sample4.1m

Algorithm
intervals
Results
4.1m19866×body10240exit
402.0ms21460×pre80true
139.0ms1543×body80valid
18.0msbody5120valid
16.0msbody1280valid
11.0msbody2560valid
7.0msbody640valid
6.0ms22×body160valid
2.0msbody320valid