Details

Time bar (total: 2.5min)

analyze4.4s

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

sample6.2s

Algorithm
intervals
Results
4.2s580×body5120exit
730.0ms279×body1280overflowed
504.0ms2468×body80overflowed
372.0ms270×body640overflowed
103.0ms127×body320overflowed
100.0ms4059×pre80true
37.0ms79×body160overflowed
31.0ms245×body80valid
7.0msbody1280valid
6.0msbody2560valid
1.0msbody320valid
1.0msbody160valid
1.0msbody640valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
0509243

prune13.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: 6.3b

Counts
2 → 1

localize22.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)
2.0b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
2.4b
(/ (* (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)))

rewrite86.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:
10.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
9.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)))

series223.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)
187.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)))

simplify104.0ms

Algorithm
egg-herbie
Counts
278 → 278
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050029443

prune284.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.5b

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

simplify36.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05017220

prune46.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.5b

Counts
32 → 5

localize30.0ms

Local error

Found 4 expressions with local error:

0.5b
(log (/ 1.0 (+ 1.0 (exp (neg s)))))
2.0b
(log (/ 1.0 (+ 1.0 (exp (neg t)))))
11.5b
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))
11.5b
(- (log (/ 1.0 (+ 1.0 (exp (neg s))))) (log (/ 1.0 (+ 1.0 (exp (neg t))))))

rewrite55.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)))))
22.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))))))

series85.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)))))
32.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))))))

simplify67.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049632785
149632785

prune460.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1542156
Fresh213
Picked101
Done101
Total1583161

Merged error: 0.3b

Counts
161 → 3

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.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
0.2b
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))))
11.5b
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

rewrite64.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:
17.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 s))))))
24.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

series106.0ms

Counts
4 → 12
Calls
4 calls:
47.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)))))
19.0ms
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))))
33.0ms
(- (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))) (log (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))))

simplify63.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
050112737

prune261.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1180118
Fresh022
Picked011
Done000
Total1183121

Merged error: 0.3b

Counts
121 → 3

regimes673.0ms

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
016777
116777

end0.0ms

sample2.3min

Algorithm
intervals
Results
1.5min13055×body5120exit
17.5s6895×body1280overflowed
11.3s56491×body80overflowed
8.7s6485×body640overflowed
2.4s3083×body320overflowed
2.2s94240×pre80true
791.0ms6414×body80valid
696.0ms1595×body160overflowed
99.0ms13×body5120valid
93.0ms37×body1280valid
44.0ms38×body640valid
40.0ms11×body2560valid
33.0ms96×body160valid
14.0ms23×body320valid
2.0msbody1280invalid
1.0msbody80invalid

Profiling

Loading profile data...