Details

Time bar (total: 14.5s)

sample2.1s

Algorithm
intervals
Results
1.3s192×body5120exit
560.0ms3086×body80overflowed
75.0ms3536×pre80true
30.0ms245×body80valid
12.0msbody5120valid
2.0msbody1280valid
2.0msbody160valid
2.0msbody320overflowed
1.0msbody640valid
1.0msbody320valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune9.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.5b

Counts
2 → 1

localize42.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.2b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
3.9b
(/ (* (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)))

rewrite82.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:
12.0ms
(- 1.0 (/ 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)
40.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)))

series260.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09825948
131575704
250035704

prune282.0ms

Filtered
279 candidates to 79 candidates (71.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2772279
Fresh000
Picked101
Done000
Total2782280

Merged error: 0.7b

Counts
280 → 2

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 0.5 (* s c_p))
0.0b
(* 0.5 (* s c_n))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
12×pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* *-commutative add-log-exp
Counts
2 → 36
Calls
2 calls:
7.0ms
(* 0.5 (* s c_p))
7.0ms
(* 0.5 (* s c_n))

series11.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* 0.5 (* s c_p))
6.0ms
(* 0.5 (* s c_n))

simplify77.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune48.0ms

Filtered
42 candidates to 22 candidates (47.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New40242
Fresh011
Picked101
Done000
Total41344

Merged error: 0.7b

Counts
44 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.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)))
4.0ms
(cbrt (* 0.5 (* s c_n)))

series79.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0206465
1729414
23912363
35001358

prune141.0ms

Filtered
70 candidates to 52 candidates (25.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New68270
Fresh112
Picked101
Done000
Total70373

Merged error: 0.7b

Counts
73 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (pow (pow (cbrt (* 0.5 (* s c_n))) 6) 1/3) (cbrt (* 0.5 (* s c_n))))
26.6b
(cbrt (* 0.5 (* s c_n)))
26.6b
(cbrt (* 0.5 (* s c_n)))
46.0b
(pow (pow (cbrt (* 0.5 (* s c_n))) 6) 1/3)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
28×unpow-prod-down
19×add-sqr-sqrt
14×add-exp-log
12×associate-*l*
11×add-cube-cbrt *-un-lft-identity
pow-exp
sqr-pow
cbrt-prod prod-exp add-cbrt-cube unswap-sqr
pow1 pow-to-exp associate-*r* add-log-exp
pow-unpow pow1/3
unpow1/3 cbrt-unprod
pow-pow pow-prod-down *-commutative
Counts
4 → 80
Calls
4 calls:
9.0ms
(* (pow (pow (cbrt (* 0.5 (* s c_n))) 6) 1/3) (cbrt (* 0.5 (* s c_n))))
4.0ms
(cbrt (* 0.5 (* s c_n)))
4.0ms
(cbrt (* 0.5 (* s c_n)))
4.0ms
(pow (pow (cbrt (* 0.5 (* s c_n))) 6) 1/3)

series93.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (pow (pow (cbrt (* 0.5 (* s c_n))) 6) 1/3) (cbrt (* 0.5 (* s c_n))))
17.0ms
(cbrt (* 0.5 (* s c_n)))
17.0ms
(cbrt (* 0.5 (* s c_n)))
51.0ms
(pow (pow (cbrt (* 0.5 (* s c_n))) 6) 1/3)

simplify44.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0304785
11180725
25002591

prune173.0ms

Filtered
92 candidates to 66 candidates (28.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New90292
Fresh022
Picked101
Done000
Total91495

Merged error: 0.7b

Counts
95 → 4

regimes515.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06244
16244

end0.0ms

sample10.2s

Algorithm
intervals
Results
6.7s951×body5120exit
2.3s12630×body80overflowed
313.0ms14619×pre80true
123.0ms988×body80valid
17.0msbody1280valid
15.0msbody2560valid
12.0msbody5120valid
9.0msbody640valid
5.0ms14×body160valid
4.0msbody320valid
3.0msbody320overflowed
1.0msbody160overflowed
1.0msbody640overflowed

Profiling

Loading profile data...