Details

Time bar (total: 54.6s)

sample22.0s

Algorithm
intervals
sampling

Space saved by range analysis: 75%

Space saved by search: 75%

Guaranteed chance to sample good point: 6.25%

Results
3.5s514×body5120exit
838.0ms313×body1280overflowed
479.0ms2312×body80overflowed
389.0ms271×body640overflowed
100.0ms3845×pre80true
98.0ms123×body320overflowed
32.0ms244×body80valid
25.0ms56×body160overflowed
5.0msbody640valid
2.0msbody320valid
2.0msbody1280valid
2.0msbody160valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.4b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1.0 (+ 1.0 (exp (neg s))))
0.3b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
2.4b
(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)))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
558×add-exp-log
312×prod-exp
264×pow-exp
250×div-exp
184×pow-to-exp
51×*-un-lft-identity
37×times-frac
36×unpow-prod-down
31×add-sqr-sqrt add-cube-cbrt
18×add-cbrt-cube
10×distribute-lft-out
pow1 pow-unpow associate-/r/
cbrt-undiv associate-/r*
cbrt-unprod div-inv associate-/l* add-log-exp
flip3-+ flip-+
pow-pow frac-2neg clear-num sqr-pow
Counts
4 → 285
Calls
4 calls:
5.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
39.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)))

series231.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
09726045
132665797
250035797

prune360.0ms

Filtered
91 candidates to 297 candidates (-226.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2916297
Fresh000
Picked101
Done000
Total2926298

Merged error: 1.3b

Counts
298 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
13×pow1 add-exp-log add-cbrt-cube
add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
diff-log associate-*r* *-commutative
sub-neg flip3-- associate--l+ sum-log flip--
Counts
3 → 50
Calls
3 calls:
7.0ms
(- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))
4.0ms
(* 0.5 (* s c_n))
4.0ms
(* 0.5 (* s c_p))

series17.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))
3.0ms
(* 0.5 (* s c_n))
4.0ms
(* 0.5 (* s c_p))

simplify138.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0228292
1900254
24892245
35001245

prune93.0ms

Filtered
34 candidates to 59 candidates (-73.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New57259
Fresh055
Picked101
Done000
Total58765

Merged error: 1.3b

Counts
65 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* 0.5 (* s c_n))) (cbrt (* 0.5 (* s c_n))))
25.7b
(cbrt (* 0.5 (* s c_n)))
25.7b
(cbrt (* 0.5 (* s c_n)))
25.7b
(cbrt (* 0.5 (* s c_n)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 58
Calls
4 calls:
5.0ms
(* (cbrt (* 0.5 (* s c_n))) (cbrt (* 0.5 (* s c_n))))
3.0ms
(cbrt (* 0.5 (* s c_n)))
3.0ms
(cbrt (* 0.5 (* s c_n)))
3.0ms
(cbrt (* 0.5 (* s c_n)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (cbrt (* 0.5 (* s c_n))) (cbrt (* 0.5 (* s c_n))))
18.0ms
(cbrt (* 0.5 (* s c_n)))
18.0ms
(cbrt (* 0.5 (* s c_n)))
20.0ms
(cbrt (* 0.5 (* s c_n)))

simplify103.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0206465
1729414
23912363
35001358

prune163.0ms

Filtered
52 candidates to 70 candidates (-34.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New69170
Fresh066
Picked101
Done000
Total70777

Merged error: 1.3b

Counts
77 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

25.7b
(cbrt (* 0.5 (* s c_n)))
25.7b
(cbrt (* 0.5 (* s c_n)))
25.7b
(cbrt (* 0.5 (* s c_n)))
25.7b
(cbrt (* 0.5 (* s c_n)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow1/3 add-cbrt-cube add-log-exp
Counts
4 → 36
Calls
4 calls:
4.0ms
(cbrt (* 0.5 (* s c_n)))
4.0ms
(cbrt (* 0.5 (* s c_n)))
3.0ms
(cbrt (* 0.5 (* s c_n)))
3.0ms
(cbrt (* 0.5 (* s c_n)))

series71.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(cbrt (* 0.5 (* s c_n)))
17.0ms
(cbrt (* 0.5 (* s c_n)))
18.0ms
(cbrt (* 0.5 (* s c_n)))
18.0ms
(cbrt (* 0.5 (* s c_n)))

simplify56.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
088296
1198268
2597252
31797220
45001220

prune164.0ms

Filtered
40 candidates to 48 candidates (-20.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New48048
Fresh066
Picked011
Done000
Total48755

Merged error: 1.3b

Counts
55 → 7

regimes1.6s

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06060
16060

end0.0ms

sample29.2s

Algorithm
intervals
sampling

Space saved by range analysis: 75%

Space saved by search: 75%

Guaranteed chance to sample good point: 6.25%

Results
8.3s1240×body5120exit
1.9s726×body1280overflowed
1.1s5472×body80overflowed
861.0ms611×body640overflowed
254.0ms313×body320overflowed
217.0ms9116×pre80true
77.0ms570×body80valid
69.0ms156×body160overflowed
14.0msbody1280valid
14.0msbody5120valid
6.0msbody640valid
4.0msbody320valid
3.0msbody160valid
0.0msbody80invalid

Profiling

Loading profile data...