Details

Time bar (total: 1.2min)

analyze4.6s

Algorithm
search
Search
TrueOtherFalseIter
0%25%75%0
0%25%75%1
0%25%75%2
0%25%75%3
0%25%75%4
0%25%75%5
0%25%75%6
0%25%75%7
0%25%75%8
1.6%23.4%75%9
1.6%23.4%75%10
1.6%23.4%75%11
1.6%23.4%75%12
1.6%23.4%75%13
1.6%23.4%75%14

sample6.0s

Algorithm
intervals
Results
3.9s536×body5120exit
784.0ms290×body1280overflowed
478.0ms2197×body80overflowed
373.0ms254×body640overflowed
125.0ms146×body320overflowed
96.0ms3735×pre80true
36.0ms252×body80valid
26.0ms56×body160overflowed
1.0msbody640valid
1.0msbody320valid
1.0msbody160valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
0495243
1495243

prune12.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 4.7b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
0.2b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.2b
(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 → 266
Calls
4 calls:
13.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
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)))

series233.0ms

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

simplify131.0ms

Algorithm
egg-herbie
Counts
278 → 278
Iterations

Useful iterations: 0 (85.0ms)

IterNodesCost
049929619
149929619

prune306.0ms

Filtered
76 candidates to 278 candidates (-265.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2753278
Fresh000
Picked101
Done000
Total2763279

Merged error: 0.2b

Counts
279 → 3

localize9.0ms

Local error

Found 1 expressions with local error:

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

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt sub-neg flip3-- *-un-lft-identity diff-log add-cbrt-cube flip-- distribute-lft-out--
Counts
1 → 12
Calls
1 calls:
5.0ms
(- (* s (* c_p 0.5)) (* s (* c_n 0.5)))

series12.0ms

Counts
1 → 3
Calls
1 calls:
12.0ms
(- (* s (* c_p 0.5)) (* s (* c_n 0.5)))

simplify36.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05102162

prune36.0ms

Filtered
11 candidates to 15 candidates (-36.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New15015
Fresh022
Picked011
Done000
Total15318

Merged error: 0.2b

Counts
18 → 3

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.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 → 140
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
5.0ms
(* c_p (+ (log 0.5) (* t 0.5)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
34.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ 1 (* c_p (+ (log 0.5) (* t 0.5)))) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

series256.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
12.0ms
(* c_p (+ (log 0.5) (* t 0.5)))
15.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
222.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ 1 (* c_p (+ (log 0.5) (* t 0.5)))) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

simplify62.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049704427
149704427

prune277.0ms

Filtered
73 candidates to 152 candidates (-108.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1520152
Fresh011
Picked011
Done011
Total1523155

Merged error: 0.2b

Counts
155 → 3

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.0b
(/ (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (* (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n) (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)))
1.2b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
2.2b
(* (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n) (/ (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (* (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n) (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p))))

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
663×add-exp-log
351×prod-exp
321×pow-exp
310×div-exp
219×pow-to-exp
105×times-frac
97×unpow-prod-down
84×*-un-lft-identity
62×add-sqr-sqrt
52×add-cube-cbrt
26×associate-*r*
22×associate-/l*
18×add-cbrt-cube
15×distribute-lft-out
10×associate-*l* associate-/r/
div-inv sqr-pow
pow1 pow-unpow
flip3-+ cbrt-unprod flip-+
cbrt-undiv add-log-exp
unswap-sqr
pow-pow difference-of-squares
frac-2neg associate-*r/ clear-num associate-/r* *-commutative distribute-lft-out--
Counts
4 → 385
Calls
4 calls:
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
32.0ms
(/ (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (* (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n) (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
48.0ms
(* (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n) (/ (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (* (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n) (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p))))

series321.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
102.0ms
(/ (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (* (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n) (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)))
15.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
188.0ms
(* (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n) (/ (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (* (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n) (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p))))

simplify132.0ms

Algorithm
egg-herbie
Counts
397 → 397
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
0524014096

prune661.0ms

Filtered
138 candidates to 397 candidates (-187.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3970397
Fresh000
Picked011
Done022
Total3973400

Merged error: 0.2b

Counts
400 → 3

regimes845.0ms

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09613
19613

end0.0ms

sample1.0min

Algorithm
intervals
Results
39.0s5659×body5120exit
8.1s3161×body1280overflowed
5.2s25177×body80overflowed
3.8s2727×body640overflowed
1.2s1502×body320overflowed
950.0ms41901×pre80true
394.0ms2891×body80valid
318.0ms701×body160overflowed
55.0ms21×body1280valid
35.0msbody5120valid
21.0ms17×body640valid
10.0msbody2560valid
10.0ms27×body160valid
6.0msbody2560overflowed
4.0msbody320valid
2.0msbody1280invalid
1.0msbody80invalid

Profiling

Loading profile data...