Details

Time bar (total: 4.9m)

sample42.6s

Algorithm
intervals
Results
42.4s3350×body10240exit
77.0ms3606×pre80true
21.0ms245×body80valid
8.0msbody2560valid
3.0msbody640valid
2.0msbody1280valid
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: 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)))

rewrite24.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)))

series909.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07873208
132633186
250023186

prune596.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

localize31.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p)
0.3b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
1.2b
(log (/ 1.0 (+ 1.0 (exp (- t)))))
12.1b
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

rewrite19.0ms

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

series593.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p)
71.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
72.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
350.0ms
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

simplify52.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05571184
119661143
250021143

prune237.0ms

Filtered
40 candidates to 35 candidates (87.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New38240
Fresh202
Picked101
Done000
Total41243

Merged error: 0.5b

Counts
43 → 2

localize36.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p)
0.2b
(* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p)
0.3b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
12.1b
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-sub
18×associate-*l/
14×associate-*r/
13×flip3-+ flip-+
clear-num
associate-/r* associate-/l* unpow2 sqr-pow
log-div log-prod frac-2neg
+-commutative flip3-- log-rec associate--l+ associate-/r/ un-div-inv *-commutative flip-- associate--r+
distribute-lft-neg-out sub-neg div-inv
Counts
4 → 40
Calls
4 calls:
3.0ms
(* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p)
9.0ms
(* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p)
3.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
16.0ms
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

series694.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p)
69.0ms
(* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p)
73.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
448.0ms
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

simplify78.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07771570
129791533
250021531

prune385.0ms

Filtered
52 candidates to 43 candidates (82.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New52052
Fresh011
Picked011
Done000
Total52254

Merged error: 0.5b

Counts
54 → 2

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

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done011
Total022

Merged error: 0.5b

Counts
2 → 2

regimes150.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04833
14833

end0.0ms

sample4.2m

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