Details

Time bar (total: 22.9s)

sample2.7s

Algorithm
intervals
Results
1.9s278×body5120exit
540.0ms3266×body80overflowed
83.0ms3803×pre80true
26.0ms250×body80valid
8.0msbody1280valid
1.0msbody640overflowed
1.0msbody640valid
1.0msbody320overflowed
1.0msbody160valid
0.0msbody160overflowed

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.2b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 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)
2.2b
(/ (* (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)))

rewrite87.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:
10.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)
44.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)))

series938.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09825948
131575704
250035704

prune433.0ms

Filtered
279 candidates to 79 candidates (28.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2763279
Fresh000
Picked101
Done000
Total2773280

Merged error: 0.5b

Counts
280 → 3

localize9.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_p))
0.0b
(* 0.5 (* s c_n))

rewrite19.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:
8.0ms
(- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))
5.0ms
(* 0.5 (* s c_p))
5.0ms
(* 0.5 (* s c_n))

series99.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))
20.0ms
(* 0.5 (* s c_p))
20.0ms
(* 0.5 (* s c_n))

simplify147.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0228292
1900254
24892245
35001245

prune91.0ms

Filtered
59 candidates to 34 candidates (57.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New58159
Fresh022
Picked011
Done000
Total58462

Merged error: 0.5b

Counts
62 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
0.7b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
171×add-exp-log
88×prod-exp
65×div-exp
55×pow-exp
42×pow-to-exp
23×*-un-lft-identity
22×add-sqr-sqrt
18×unpow-prod-down add-cbrt-cube
15×add-cube-cbrt
14×times-frac
pow1
add-log-exp
cbrt-unprod
cbrt-undiv associate-/r/
pow-unpow flip3-+ associate-*r* associate-*l* flip-+ distribute-lft-out
associate-*r/ associate-*l/ div-inv difference-of-squares
distribute-rgt-in sub-neg flip3-- pow-pow frac-2neg distribute-lft-in diff-log pow-prod-down clear-num associate-/r* *-commutative flip-- associate-/l* distribute-lft-out-- unswap-sqr sqr-pow
Counts
4 → 141
Calls
4 calls:
10.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
8.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
37.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

series1.0s

Counts
4 → 12
Calls
4 calls:
54.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
102.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
74.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
774.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

simplify108.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09202823
140622572
250022572

prune420.0ms

Filtered
153 candidates to 72 candidates (47.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1521153
Fresh202
Picked011
Done011
Total1543157

Merged error: 0.5b

Counts
157 → 3

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (* s c_p))
0.2b
(* (pow (log 0.5) 2) (pow c_p 2))
1.0b
(pow (log 0.5) 2)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×add-exp-log
19×unpow-prod-down
16×unswap-sqr
12×associate-*l* prod-exp
11×pow1 unpow2 sqr-pow
10×add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r*
pow-to-exp pow-exp
pow-prod-down cbrt-unprod
pow-unpow add-log-exp
log-pow *-commutative
pow-pow
Counts
3 → 89
Calls
3 calls:
5.0ms
(* 0.5 (* s c_p))
8.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
3.0ms
(pow (log 0.5) 2)

series190.0ms

Counts
3 → 7
Calls
3 calls:
19.0ms
(* 0.5 (* s c_p))
171.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
0.0ms
(pow (log 0.5) 2)

simplify46.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0283462
11177380
25002375

prune147.0ms

Filtered
96 candidates to 48 candidates (50.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New95196
Fresh000
Picked011
Done022
Total95499

Merged error: 0.5b

Counts
99 → 4

regimes232.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05232
15232

end0.0ms

sample15.9s

Algorithm
intervals
Results
11.1s1637×body5120exit
3.3s20188×body80overflowed
509.0ms23520×pre80true
172.0ms1640×body80valid
21.0msbody5120valid
20.0ms10×body1280valid
12.0msbody2560valid
10.0ms11×body640valid
4.0msbody320valid
4.0ms13×body160valid
3.0msbody640overflowed
2.0msbody320overflowed
1.0msbody160overflowed

Profiling

Loading profile data...