Details

Time bar (total: 1.6min)

sample5.5s

Algorithm
intervals
Results
3.5s499×body5120exit
701.0ms260×body1280overflowed
460.0ms2226×body80overflowed
365.0ms262×body640overflowed
95.0ms115×body320overflowed
84.0ms3687×pre80true
32.0ms249×body80valid
30.0ms69×body160overflowed
7.0msbody5120valid
4.0msbody1280valid
1.0msbody320valid
1.0msbody160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
0509243

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 4.5b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
1.2b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
1.9b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
553×add-exp-log
312×prod-exp
262×pow-exp
248×div-exp
183×pow-to-exp
23×add-sqr-sqrt *-un-lft-identity
18×unpow-prod-down
16×add-cbrt-cube
15×times-frac
13×add-cube-cbrt
add-log-exp
pow1
cbrt-undiv cbrt-unprod difference-of-squares
pow-unpow distribute-lft-out
sub-neg flip3-- diff-log associate-/r/ flip-- div-inv distribute-lft-out--
pow-pow frac-2neg flip3-+ clear-num associate-/r* flip-+ associate-/l* sqr-pow
Counts
4 → 249
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
42.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
14.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
176.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

simplify141.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
049629158
149629158

prune338.0ms

Filtered
64 candidates to 261 candidates (-307.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2574261
Fresh000
Picked101
Done000
Total2584262

Merged error: 0.1b

Counts
262 → 4

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*r*
add-sqr-sqrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in add-cube-cbrt sub-neg distribute-lft-in associate-*r/
flip3-- associate-*l* *-commutative flip-- distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 26
Calls
1 calls:
7.0ms
(* (* s 0.5) (- c_p c_n))

series8.0ms

Counts
1 → 3
Calls
1 calls:
8.0ms
(* (* s 0.5) (- c_p c_n))

simplify36.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05017242

prune39.0ms

Filtered
16 candidates to 29 candidates (-81.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New29029
Fresh033
Picked011
Done000
Total29433

Merged error: 0.1b

Counts
33 → 4

localize27.0ms

Local error

Found 4 expressions with local error:

0.5b
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
1.2b
(log (/ 1.0 (+ 1.0 (exp (neg t)))))
10.5b
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))
10.6b
(- (log (/ 1.0 (+ 1.0 (exp (neg s))))) (log (/ 1.0 (+ 1.0 (exp (neg t))))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
84×log-prod
74×*-un-lft-identity
52×add-sqr-sqrt
50×times-frac
38×add-cube-cbrt
24×associate--l+ associate--r+
14×pow1
12×distribute-lft-out
10×add-exp-log log-pow distribute-lft-out--
log-div associate-/r/
difference-of-squares
flip3-- flip3-+ rem-log-exp add-cbrt-cube flip-- flip-+ div-inv add-log-exp
associate--l- associate--r-
sub-neg diff-log div-exp
Counts
4 → 146
Calls
4 calls:
5.0ms
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
6.0ms
(log (/ 1.0 (+ 1.0 (exp (neg t)))))
26.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))
15.0ms
(- (log (/ 1.0 (+ 1.0 (exp (neg s))))) (log (/ 1.0 (+ 1.0 (exp (neg t))))))

series84.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
15.0ms
(log (/ 1.0 (+ 1.0 (exp (neg t)))))
29.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))
22.0ms
(- (log (/ 1.0 (+ 1.0 (exp (neg s))))) (log (/ 1.0 (+ 1.0 (exp (neg t))))))

simplify69.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049632805
149632805

prune491.0ms

Filtered
112 candidates to 158 candidates (-41.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1562158
Fresh112
Picked101
Done011
Total1584162

Merged error: 0.1b

Counts
162 → 4

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(* c_n (- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))))))
0.0b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
10.5b
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
30×*-un-lft-identity
24×log-prod
18×associate--l+
14×pow1 distribute-lft-out-- difference-of-squares
10×distribute-rgt-in add-cube-cbrt distribute-lft-in
log-div flip3-- associate-*r* log-pow flip-- add-log-exp
add-exp-log times-frac add-cbrt-cube associate--r+ associate--r-
sub-neg
diff-log associate-*l*
associate--l- associate-*r/
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 108
Calls
4 calls:
17.0ms
(* c_n (- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))))))
11.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
10.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
22.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

series131.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(* c_n (- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))))))
12.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
12.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
32.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

simplify133.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (109.0ms)

IterNodesCost
049142740
149142740

prune265.0ms

Filtered
78 candidates to 120 candidates (-53.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1191120
Fresh112
Picked101
Done011
Total1213124

Merged error: 0.1b

Counts
124 → 3

regimes435.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0229
1229

end0.0ms

sample1.5min

Algorithm
intervals
Results
56.7s8365×body5120exit
11.3s4527×body1280overflowed
7.1s36437×body80overflowed
5.4s4020×body640overflowed
1.6s2011×body320overflowed
1.3s60569×pre80true
506.0ms4111×body80valid
428.0ms996×body160overflowed
62.0ms27×body1280valid
47.0msbody2560valid
22.0ms19×body640valid
15.0msbody5120valid
13.0ms37×body160valid
5.0msbody320valid

Profiling

Loading profile data...