Details

Time bar (total: 31.8s)

analyze4.8s

Algorithm
search

sample5.2s

Algorithm
intervals
Results
3.3s450×body5120exit
657.0ms239×body1280overflowed
471.0ms2135×body80overflowed
334.0ms220×body640overflowed
102.0ms115×body320overflowed
87.0ms3466×pre80true
38.0ms247×body80valid
24.0ms50×body160overflowed
11.0msbody5120valid
8.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid
0.0msbody80invalid

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.0b
(/ 1.0 (+ 1.0 (exp (neg s))))
0.0b
(/ 1.0 (+ 1.0 (exp (neg s))))
1.7b
(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)))

rewrite82.0ms

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

series206.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
08785964
129805707
250025707

prune310.0ms

Filtered
94 candidates to 297 candidates (-216.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2952297
Fresh000
Picked101
Done000
Total2962298

Merged error: 0.4b

Counts
298 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series12.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune39.0ms

Filtered
22 candidates to 42 candidates (-90.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done000
Total42244

Merged error: 0.4b

Counts
44 → 2

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
172×add-exp-log
88×prod-exp
66×div-exp
53×pow-exp
41×pow-to-exp
40×*-un-lft-identity
26×add-sqr-sqrt
25×times-frac
24×add-cube-cbrt
22×add-cbrt-cube
associate-/r*
distribute-lft-out
associate-/l*
pow1 cbrt-undiv associate-/r/
cbrt-unprod
flip3-+ flip-+ add-log-exp
frac-2neg associate-*r* associate-*l* clear-num div-inv
associate-*r/ associate-*l/
distribute-rgt-in distribute-lft-in pow-prod-down *-commutative unswap-sqr
Counts
4 → 159
Calls
4 calls:
5.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
5.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
5.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
36.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)))

series228.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
5.0ms
(/ 1.0 (+ 1.0 (exp (neg s))))
13.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
205.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)))

simplify98.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
07962839
137312575
250012575

prune365.0ms

Filtered
87 candidates to 171 candidates (-96.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1701171
Fresh000
Picked011
Done011
Total1703173

Merged error: 0.4b

Counts
173 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
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)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log
31×prod-exp
28×add-sqr-sqrt
19×unpow-prod-down
16×add-cbrt-cube unswap-sqr
15×associate-*l*
14×pow1
13×pow-to-exp pow-exp
12×add-cube-cbrt *-un-lft-identity
11×unpow2 sqr-pow
10×associate-*r*
cbrt-unprod
pow-prod-down
add-log-exp
pow-unpow *-commutative
log-pow
pow-pow
Counts
4 → 114
Calls
4 calls:
7.0ms
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
7.0ms
(* 0.5 (* s c_p))
7.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
2.0ms
(pow (log 0.5) 2)

series35.0ms

Counts
4 → 10
Calls
4 calls:
16.0ms
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
3.0ms
(* 0.5 (* s c_p))
15.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
0.0ms
(pow (log 0.5) 2)

simplify49.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0343646
11473541
25001535

prune145.0ms

Filtered
59 candidates to 124 candidates (-110.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1240124
Fresh000
Picked011
Done022
Total1243127

Merged error: 0.4b

Counts
127 → 3

regimes435.0ms

bsearch7.6s

Steps
ItersRangePoint
10
-14430.23154613929
-3.126682802182111e-08
-0.18107844793977768

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05231
15231

end0.0ms

analyze4.5s

Algorithm
search

sample7.3s

Algorithm
intervals
Results
4.7s672×body5120exit
944.0ms366×body1280overflowed
658.0ms3141×body80overflowed
457.0ms324×body640overflowed
144.0ms172×body320overflowed
118.0ms5127×pre80true
46.0ms349×body80valid
38.0ms85×body160overflowed
8.0msbody1280valid
6.0msbody5120valid
4.0msbody640valid
3.0msbody2560valid
2.0msbody160valid
1.0msbody320valid
0.0msbody80invalid

Profiling

Loading profile data...