Details

Time bar (total: 3.5m)

sample43.6s

Algorithm
intervals
Results
43.2s3342×body10240exit
77.0ms3599×pre80true
34.0msbody5120valid
23.0ms242×body80valid
14.0msbody1280valid
3.0msbody640valid
1.0msbody160valid

simplify24.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: 7.5b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.8b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
2.7b
(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)))

rewrite27.0ms

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

series738.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)
577.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)))

simplify82.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07763181
132413142
250013142

prune635.0ms

Filtered
111 candidates to 107 candidates (96.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1065111
Fresh000
Picked101
Done000
Total1075112

Merged error: 0.1b

Counts
112 → 5

localize28.0ms

Local error

Found 4 expressions with local error:

0.7b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
2.7b
(log (/ 1.0 (+ 1.0 (exp (- t)))))
9.8b
(- (* (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)))
25.9b
(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))))

series799.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
72.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
349.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)))
306.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))))

simplify67.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0386483
1951472
23291467
35001466

prune195.0ms

Filtered
34 candidates to 28 candidates (82.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New31334
Fresh224
Picked101
Done000
Total34539

Merged error: 0.1b

Counts
39 → 5

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.7b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
35.3b
(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))))

series397.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
156.0ms
(* (log 0.5) c_p)
67.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
148.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

prune106.0ms

Filtered
26 candidates to 19 candidates (73.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New26026
Fresh044
Picked011
Done000
Total26531

Merged error: 0.1b

Counts
31 → 5

localize39.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)
2.7b
(log (/ 1.0 (+ 1.0 (exp (- t)))))
9.8b
(- (* (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)))
25.9b
(fma c_p (fma s 0.5 (- (log 0.5) (* 0.03125 (/ (pow s 2) (pow 0.5 2))))) (- (* (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))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
log-div log-prod
fma-neg clear-num associate-/r/ *-commutative fma-udef
sub-neg flip3-- frac-2neg flip3-+ log-rec flip-- flip-+ div-inv associate--r+
Counts
4 → 16
Calls
4 calls:
2.0ms
(* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)
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 (fma s 0.5 (- (log 0.5) (* 0.03125 (/ (pow s 2) (pow 0.5 2))))) (- (* (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))))

series812.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)
73.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
350.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)))
265.0ms
(fma c_p (fma s 0.5 (- (log 0.5) (* 0.03125 (/ (pow s 2) (pow 0.5 2))))) (- (* (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))))

simplify241.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 3 (236.0ms)

IterNodesCost
0355416
1895405
23101400
35002397

prune156.0ms

Filtered
28 candidates to 21 candidates (75.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New25328
Fresh303
Picked101
Done011
Total29433

Merged error: 0.1b

Counts
33 → 4

regimes266.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03521
13521

end0.0ms

sample2.7m

Algorithm
intervals
Results
2.7m13408×body10240exit
283.0ms14456×pre80true
90.0ms1011×body80valid
55.0msbody5120valid
18.0ms11×body1280valid
5.0msbody2560valid
4.0msbody640valid
3.0ms13×body160valid
1.0msbody320valid