Details

Time bar (total: 1.1min)

sample6.2s

Algorithm
intervals
Results
3.9s544×body5120exit
860.0ms321×body1280overflowed
499.0ms2374×body80overflowed
402.0ms286×body640overflowed
108.0ms127×body320overflowed
91.0ms3964×pre80true
33.0ms249×body80valid
26.0ms56×body160overflowed
5.0msbody1280valid
4.0msbody640valid
1.0msbody160valid

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0552243

prune11.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: 7.0b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
1.2b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.7b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
3.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)))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
556×add-exp-log
312×prod-exp
264×pow-exp
249×div-exp
184×pow-to-exp
36×unpow-prod-down *-un-lft-identity
27×add-sqr-sqrt
26×times-frac
22×add-cube-cbrt
16×add-cbrt-cube
pow1 pow-unpow distribute-lft-out add-log-exp
cbrt-undiv associate-/r/ cbrt-unprod
div-inv
pow-pow flip3-+ flip-+ difference-of-squares sqr-pow
sub-neg flip3-- frac-2neg diff-log clear-num associate-/r* flip-- associate-/l* distribute-lft-out--
Counts
4 → 267
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
41.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)))

series220.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
15.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
15.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
183.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)))

simplify83.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
051779451

prune282.0ms

Filtered
75 candidates to 279 candidates (-272.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2754279
Fresh000
Picked101
Done000
Total2764280

Merged error: 0.1b

Counts
280 → 4

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

series9.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05135242

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

localize30.0ms

Local error

Found 4 expressions with local error:

1.2b
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
2.2b
(log (/ 1.0 (+ 1.0 (exp (neg t)))))
9.2b
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))
9.2b
(- (log (/ 1.0 (+ 1.0 (exp (neg s))))) (log (/ 1.0 (+ 1.0 (exp (neg t))))))

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

series90.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
050962710

prune502.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1562158
Fresh202
Picked101
Done101
Total1602162

Merged error: 0.0b

Counts
162 → 2

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))))
0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
0.4b
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))))
9.2b
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
24×log-prod
22×*-un-lft-identity
11×difference-of-squares
10×pow1
distribute-lft-out--
add-cube-cbrt log-div
add-exp-log flip3-- associate--l+ log-pow flip-- associate--r+ add-log-exp
times-frac
add-cbrt-cube
associate--l- sub-neg diff-log rem-log-exp associate--r-
Counts
4 → 82
Calls
4 calls:
9.0ms
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))))
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
9.0ms
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))))
22.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

series80.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050041782

prune213.0ms

Filtered
67 candidates to 94 candidates (-40.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New94094
Fresh011
Picked011
Done000
Total94296

Merged error: 0.0b

Counts
96 → 2

regimes204.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03738
13738

end0.0ms

sample59.4s

Algorithm
intervals
Results
38.2s5604×body5120exit
7.9s3134×body1280overflowed
4.8s24353×body80overflowed
3.8s2801×body640overflowed
1.1s1357×body320overflowed
859.0ms40711×pre80true
351.0ms2704×body80valid
294.0ms681×body160overflowed
34.0msbody2560valid
29.0ms12×body1280valid
19.0ms16×body640valid
13.0ms38×body160valid
3.0msbody320valid

Profiling

Loading profile data...