Details

Time bar (total: 11.3s)

sample2.3s

Algorithm
intervals
Results
1.4s223×body5120exit
530.0ms3206×body80overflowed
76.0ms3686×pre80true
27.0msbody5120valid
26.0ms249×body80valid
4.0msbody2560valid
3.0msbody640valid
1.0msbody160valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune7.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.7b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.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:
13.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)
38.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)))

series1.0s

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

simplify107.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
09825948
131575704
250035704

prune801.0ms

Filtered
279 candidates to 79 candidates (71.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2763279
Fresh000
Picked101
Done000
Total2773280

Merged error: 2.1b

Counts
280 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
13×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 add-log-exp
associate-*r* *-commutative
+-commutative flip3-+ sum-log flip-+
Counts
3 → 47
Calls
3 calls:
5.0ms
(+ (* 0.5 (* s c_p)) 1)
4.0ms
(* 0.5 (* s c_n))
4.0ms
(* 0.5 (* s c_p))

series90.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ (* 0.5 (* s c_p)) 1)
25.0ms
(* 0.5 (* s c_n))
23.0ms
(* 0.5 (* s c_p))

simplify107.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0222212
1966180
24063178
35002178

prune127.0ms

Filtered
56 candidates to 32 candidates (42.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New52456
Fresh022
Picked101
Done000
Total53659

Merged error: 2.1b

Counts
59 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.5 (* s c_n))
0.2b
(* (* (cbrt 0.5) (cbrt 0.5)) (* (cbrt 0.5) (* s c_p)))
0.3b
(* (cbrt 0.5) (* s c_p))
1.0b
(* (cbrt 0.5) (cbrt 0.5))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
42×pow1
37×add-exp-log
23×add-sqr-sqrt pow-prod-down add-cbrt-cube
22×prod-exp cbrt-unprod
19×cbrt-prod
16×associate-*l*
15×add-cube-cbrt *-un-lft-identity
associate-*r*
pow1/3 swap-sqr
*-commutative add-log-exp unswap-sqr
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 107
Calls
4 calls:
4.0ms
(* 0.5 (* s c_n))
11.0ms
(* (* (cbrt 0.5) (cbrt 0.5)) (* (cbrt 0.5) (* s c_p)))
5.0ms
(* (cbrt 0.5) (* s c_p))
5.0ms
(* (cbrt 0.5) (cbrt 0.5))

series153.0ms

Counts
4 → 10
Calls
4 calls:
23.0ms
(* 0.5 (* s c_n))
78.0ms
(* (* (cbrt 0.5) (cbrt 0.5)) (* (cbrt 0.5) (* s c_p)))
52.0ms
(* (cbrt 0.5) (* s c_p))
0.0ms
(* (cbrt 0.5) (cbrt 0.5))

simplify50.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0310620
11432480
25001431

prune401.0ms

Filtered
117 candidates to 62 candidates (47.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1161117
Fresh055
Picked101
Done000
Total1176123

Merged error: 2.1b

Counts
123 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (cbrt 0.5) s) c_p)
0.2b
(* (* (cbrt 0.5) (cbrt 0.5)) (* (* (cbrt 0.5) s) c_p))
0.5b
(* (cbrt 0.5) s)
1.0b
(* (cbrt 0.5) (cbrt 0.5))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
39×pow1
34×add-exp-log
28×add-sqr-sqrt
22×add-cbrt-cube
21×pow-prod-down
20×cbrt-prod prod-exp cbrt-unprod
16×add-cube-cbrt *-un-lft-identity
14×associate-*l*
13×associate-*r*
pow1/3 swap-sqr unswap-sqr
*-commutative add-log-exp
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 108
Calls
4 calls:
5.0ms
(* (* (cbrt 0.5) s) c_p)
11.0ms
(* (* (cbrt 0.5) (cbrt 0.5)) (* (* (cbrt 0.5) s) c_p))
4.0ms
(* (cbrt 0.5) s)
5.0ms
(* (cbrt 0.5) (cbrt 0.5))

series179.0ms

Counts
4 → 10
Calls
4 calls:
48.0ms
(* (* (cbrt 0.5) s) c_p)
78.0ms
(* (* (cbrt 0.5) (cbrt 0.5)) (* (* (cbrt 0.5) s) c_p))
53.0ms
(* (cbrt 0.5) s)
0.0ms
(* (cbrt 0.5) (cbrt 0.5))

simplify52.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0277638
11437512
25001458

prune488.0ms

Filtered
118 candidates to 65 candidates (44.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1162118
Fresh145
Picked101
Done000
Total1186124

Merged error: 2.1b

Counts
124 → 6

regimes964.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06042
16042

end0.0ms

sample4.3s

Algorithm
intervals
Results
2.8s425×body5120exit
967.0ms5857×body80overflowed
138.0ms6763×pre80true
50.0ms469×body80valid
26.0msbody5120valid
7.0msbody2560valid
3.0msbody640valid
1.0msbody640overflowed
1.0msbody160valid
1.0msbody320valid

Profiling

Loading profile data...