Details

Time bar (total: 15.8s)

sample2.5s

Algorithm
intervals
Results
1.7s239×body5120exit
508.0ms2859×body80overflowed
70.0ms3356×pre80true
30.0ms247×body80valid
5.0msbody640valid
3.0msbody1280overflowed
1.0msbody1280valid
1.0msbody160valid
1.0msbody320valid
0.0msbody160overflowed

simplify25.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: 5.5b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.0b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
3.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)))

rewrite84.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:
9.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)
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)))

series220.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
09825948
131575704
250035704

prune320.0ms

Filtered
79 candidates to 279 candidates (-253.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2736279
Fresh000
Picked101
Done000
Total2746280

Merged error: 1.4b

Counts
280 → 6

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 0.5 (* s c_n))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
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
1 → 18
Calls
1 calls:
4.0ms
(* 0.5 (* s c_n))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(* 0.5 (* s c_n))

simplify76.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
08671
131856
2123256
3343656
4500256

prune223.0ms

Filtered
11 candidates to 21 candidates (-90.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh055
Picked011
Done000
Total21627

Merged error: 1.4b

Counts
27 → 6

localize32.0ms

Local error

Found 4 expressions with local error:

0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.5b
(/ (* (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)))

rewrite65.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:
5.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
35.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)))

series245.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09202823
140622572
250022572

prune281.0ms

Filtered
72 candidates to 153 candidates (-112.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1521153
Fresh044
Picked011
Done011
Total1527159

Merged error: 1.4b

Counts
159 → 7

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
1645×add-exp-log
936×prod-exp
782×pow-exp
742×div-exp
547×pow-to-exp
40×add-cbrt-cube
19×*-un-lft-identity
18×unpow-prod-down
15×times-frac
13×add-sqr-sqrt add-cube-cbrt
12×cbrt-undiv cbrt-unprod
pow1
div-inv add-log-exp
pow-unpow frac-2neg clear-num associate-/r* distribute-lft-out associate-/l*
associate-/r/
pow-pow flip3-+ flip-+ sqr-pow
Counts
4 → 591
Calls
4 calls:
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
42.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)))
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)))
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)))

series567.0ms

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

simplify175.0ms

Algorithm
egg-herbie
Counts
603 → 603
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
077015650
1251514997
2500114997

prune674.0ms

Filtered
68 candidates to 603 candidates (-786.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New6030603
Fresh044
Picked011
Done022
Total6037610

Merged error: 1.4b

Counts
610 → 7

regimes1.4s

bsearch669.0ms

Steps
ItersRangePoint
9
-1.0243808655624229e-89
-6.284047631591266e-95
-5.436019021488309e-92

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05231
15231

end0.0ms

sample7.7s

Algorithm
intervals
Results
5.1s738×body5120exit
1.7s9574×body80overflowed
225.0ms11164×pre80true
96.0ms811×body80valid
40.0msbody5120valid
14.0msbody2560valid
13.0ms12×body640valid
7.0msbody1280valid
4.0ms11×body160valid
3.0msbody1280overflowed
2.0msbody320valid
1.0msbody160overflowed
1.0msbody640overflowed

Profiling

Loading profile data...