Details

Time bar (total: 33.7s)

sample5.3s

Algorithm
intervals
Results
3.4s477×body5120exit
704.0ms263×body1280overflowed
406.0ms2006×body80overflowed
294.0ms218×body640overflowed
83.0ms104×body320overflowed
78.0ms3384×pre80true
33.0ms249×body80valid
28.0ms60×body160overflowed
8.0msbody2560valid
3.0msbody1280valid
2.0msbody640valid
1.0msbody160valid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
0552243

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: 3.5b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (exp (neg t)))
0.0b
(+ 1.0 (exp (neg t)))
1.0b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
1.7b
(/ (* (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)))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
553×add-exp-log
312×prod-exp
262×pow-exp
248×div-exp
183×pow-to-exp
23×*-un-lft-identity
18×unpow-prod-down
16×add-cbrt-cube
13×add-sqr-sqrt add-cube-cbrt times-frac
add-log-exp
pow1 distribute-lft-out
cbrt-undiv cbrt-unprod
pow-unpow flip3-+ flip-+
+-commutative sum-log associate-/r/ div-inv
pow-pow frac-2neg clear-num associate-/r* associate-/l* sqr-pow
Counts
4 → 243
Calls
4 calls:
4.0ms
(+ 1.0 (exp (neg t)))
4.0ms
(+ 1.0 (exp (neg t)))
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:
2.0ms
(+ 1.0 (exp (neg t)))
2.0ms
(+ 1.0 (exp (neg t)))
15.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
186.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)))

simplify113.0ms

Algorithm
egg-herbie
Counts
255 → 255
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049798882
149798882

prune221.0ms

Filtered
60 candidates to 255 candidates (-325.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2523255
Fresh000
Picked101
Done000
Total2533256

Merged error: 0b

Counts
256 → 3

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

simplify39.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05135242

prune34.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New29029
Fresh022
Picked011
Done000
Total29332

Merged error: 0b

Counts
32 → 3

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
1.0b
(log (/ 1.0 (+ 1.0 (exp (neg t)))))
10.8b
(- (log (/ 1.0 (+ 1.0 (exp (neg s))))) (log (/ 1.0 (+ 1.0 (exp (neg t))))))
10.9b
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

rewrite54.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:
7.0ms
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
5.0ms
(log (/ 1.0 (+ 1.0 (exp (neg t)))))
14.0ms
(- (log (/ 1.0 (+ 1.0 (exp (neg s))))) (log (/ 1.0 (+ 1.0 (exp (neg t))))))
21.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

series82.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
15.0ms
(log (/ 1.0 (+ 1.0 (exp (neg t)))))
21.0ms
(- (log (/ 1.0 (+ 1.0 (exp (neg s))))) (log (/ 1.0 (+ 1.0 (exp (neg t))))))
28.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

simplify75.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
050962710

prune476.0ms

Filtered
114 candidates to 158 candidates (-38.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1580158
Fresh011
Picked011
Done011
Total1583161

Merged error: 0b

Counts
161 → 3

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (exp (neg t)))
0.7b
(/ (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p))
1.0b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
1.0b
(/ (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
1170×times-frac
978×unpow-prod-down
799×*-un-lft-identity
581×add-sqr-sqrt
471×add-cube-cbrt
142×distribute-lft-out
94×associate-/r/
69×sqr-pow
51×add-exp-log
49×div-inv
48×flip3-+ flip-+
44×difference-of-squares
34×div-exp
32×associate-/r* associate-/l*
24×pow-exp
22×distribute-lft-out--
15×pow-to-exp
add-cbrt-cube
add-log-exp
pow1
pow-unpow
cbrt-undiv frac-2neg clear-num
+-commutative pow-pow sum-log
Counts
4 → 740
Calls
4 calls:
4.0ms
(+ 1.0 (exp (neg t)))
27.0ms
(/ (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
24.0ms
(/ (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n))

series124.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(+ 1.0 (exp (neg t)))
48.0ms
(/ (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p))
14.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
59.0ms
(/ (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n))

simplify180.0ms

Algorithm
egg-herbie
Counts
752 → 752
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0559927962

prune4.6s

Filtered
457 candidates to 752 candidates (-64.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New7520752
Fresh000
Picked011
Done022
Total7523755

Merged error: 0b

Counts
755 → 3

regimes796.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample21.1s

Algorithm
intervals
Results
13.8s1981×body5120exit
2.8s1093×body1280overflowed
1.6s8482×body80overflowed
1.3s957×body640overflowed
366.0ms472×body320overflowed
305.0ms14170×pre80true
110.0ms915×body80valid
100.0ms241×body160overflowed
15.0msbody1280valid
8.0msbody2560valid
7.0msbody5120valid
5.0msbody640valid
4.0ms12×body160valid
3.0msbody320valid

Profiling

Loading profile data...