Details

Time bar (total: 22.4s)

analyze4.5s

Algorithm
search
Search
TrueOtherFalseIter
0%25%75%0
0%25%75%1
0%25%75%2
0%25%75%3
0%25%75%4
0%25%75%5
0%25%75%6
0%25%75%7
0%25%75%8
1.6%23.4%75%9
1.6%23.4%75%10
1.6%23.4%75%11
1.6%23.4%75%12
1.6%23.4%75%13
1.6%23.4%75%14

sample5.6s

Algorithm
intervals
Results
3.6s493×body5120exit
731.0ms272×body1280overflowed
465.0ms2141×body80overflowed
380.0ms262×body640overflowed
94.0ms112×body320overflowed
86.0ms3602×pre80true
33.0ms250×body80valid
30.0ms66×body160overflowed
8.0msbody5120valid
3.0msbody1280valid
1.0msbody160valid
1.0msbody640valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
0509243

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

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.9b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
2.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)))

rewrite90.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 → 266
Calls
4 calls:
14.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)
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)))

series219.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
278 → 278
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
050029443

prune301.0ms

Filtered
75 candidates to 278 candidates (-270.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2735278
Fresh000
Picked101
Done000
Total2745279

Merged error: 0.1b

Counts
279 → 5

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
add-cube-cbrt sub-neg associate-*r/
distribute-rgt-in flip3-- distribute-lft-in associate-*l* *-commutative flip-- distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 24
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
27 → 27
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05017220

prune49.0ms

Filtered
16 candidates to 27 candidates (-68.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New27027
Fresh044
Picked011
Done000
Total27532

Merged error: 0.1b

Counts
32 → 5

localize30.0ms

Local error

Found 4 expressions with local error:

0.5b
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
2.1b
(log (/ 1.0 (+ 1.0 (exp (neg t)))))
9.8b
(- (log (/ 1.0 (+ 1.0 (exp (neg s))))) (log (/ 1.0 (+ 1.0 (exp (neg t))))))
9.8b
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

rewrite56.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 → 144
Calls
4 calls:
6.0ms
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
6.0ms
(log (/ 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))))))
24.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:
15.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))))))
31.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

simplify66.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049632785
149632785

prune467.0ms

Filtered
112 candidates to 156 candidates (-39.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1533156
Fresh213
Picked101
Done101
Total1574161

Merged error: 0.0b

Counts
161 → 4

localize32.0ms

Local error

Found 4 expressions with local error:

0.1b
(* c_n (- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))))))
0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
0.3b
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))))
9.8b
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

rewrite65.0ms

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

series101.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049402737
149402737

prune272.0ms

Filtered
79 candidates to 118 candidates (-49.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1171118
Fresh123
Picked101
Done000
Total1193122

Merged error: 0.0b

Counts
122 → 3

regimes664.0ms

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
011753
111753

end0.0ms

sample9.5s

Algorithm
intervals
Results
6.2s874×body5120exit
1.3s480×body1280overflowed
768.0ms3650×body80overflowed
624.0ms437×body640overflowed
172.0ms206×body320overflowed
148.0ms6192×pre80true
55.0ms421×body80valid
52.0ms113×body160overflowed
14.0msbody5120valid
3.0msbody640valid
2.0msbody1280valid
2.0msbody160valid

Profiling

Loading profile data...