Details

Time bar (total: 4.6m)

sample45.9s

Algorithm
intervals
Results
45.4s3420×body10240exit
129.0ms3676×pre80true
30.0ms248×body80valid
6.0msbody2560valid
5.0msbody1280valid
1.0msbody160valid
1.0msbody320valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05325
114725
285025
3500125

prune5.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.5b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.5b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
3.4b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

rewrite459.0ms

Algorithm
rewrite-expression-head
Rules
4026×times-frac
3727×add-sqr-sqrt
3436×unpow-prod-down
2200×associate-*l*
2036×*-un-lft-identity
1222×add-cube-cbrt
1200×unswap-sqr
1000×associate-*r*
902×sqr-pow
556×add-exp-log
312×prod-exp
306×distribute-lft-out
264×pow-exp
249×div-exp
204×associate-/r/
202×difference-of-squares
184×pow-to-exp
103×div-inv
102×flip3-+ flip-+
101×distribute-lft-out--
100×*-commutative
49×associate-/r* associate-/l*
16×add-cbrt-cube
pow1 pow-unpow add-log-exp
cbrt-undiv cbrt-unprod
pow-pow
sub-neg flip3-- frac-2neg diff-log clear-num flip--
Counts
4 → 2763
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
12.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
6.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
115.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series891.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
80.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
80.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
672.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify996.0ms

Algorithm
egg-herbie
Counts
2775 → 2775
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
05001117680

prune11.8s

Filtered
2775 candidates to 1867 candidates (32.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New277232775
Fresh000
Picked101
Done000
Total277332776

Merged error: 0.6b

Counts
2776 → 3

localize30.0ms

Local error

Found 4 expressions with local error:

0.3b
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))))
0.7b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
1.5b
(log (/ 1.0 (+ 1.0 (exp (- t)))))
9.4b
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
305×*-un-lft-identity
240×associate-*l*
188×distribute-lft-out
127×pow1
123×log-pow
101×distribute-lft-out--
42×log-prod
32×add-sqr-sqrt
25×add-cube-cbrt times-frac
22×log-div
16×add-log-exp
11×add-exp-log
associate-/r* associate-/l*
flip3-+ flip-+
rem-log-exp
diff-log log-rec clear-num sum-log associate-/r/ frac-sub add-cbrt-cube
difference-of-squares
+-commutative flip3-- frac-2neg div-exp associate--l+ flip-- div-inv associate--r+
sub-neg
Counts
4 → 221
Calls
4 calls:
10.0ms
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))))
6.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
7.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
47.0ms
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

series644.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))))
77.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
77.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
387.0ms
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

simplify104.0ms

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
08355361
127635093
250015092

prune590.0ms

Filtered
233 candidates to 100 candidates (57.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2303233
Fresh202
Picked101
Done000
Total2333236

Merged error: 0.1b

Counts
236 → 3

localize37.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.3b
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))))
0.7b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
9.7b
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

rewrite229.0ms

Algorithm
rewrite-expression-head
Rules
1539×*-un-lft-identity
1284×associate-*l*
937×distribute-lft-out
672×distribute-lft-out--
468×pow1
464×log-pow
27×add-sqr-sqrt
24×log-prod
18×add-log-exp
15×add-cube-cbrt
14×times-frac
12×log-div
add-exp-log
flip3-+ diff-log flip-+ difference-of-squares
associate-/r* sum-log frac-sub add-cbrt-cube associate-/l*
flip3-- rem-log-exp flip--
+-commutative sub-neg log-rec associate--l+ clear-num associate-/r/ associate--r+
frac-2neg div-exp div-inv
Counts
4 → 466
Calls
4 calls:
10.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
9.0ms
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))))
7.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
140.0ms
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

series719.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
103.0ms
(log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))))
78.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
483.0ms
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))) c_n)))

simplify174.0ms

Algorithm
egg-herbie
Counts
478 → 478
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
076714216
1256113688
2500313687

prune636.0ms

Filtered
478 candidates to 80 candidates (83.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New4780478
Fresh022
Picked011
Done000
Total4783481

Merged error: 0.1b

Counts
481 → 3

localize37.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.7b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
1.5b
(log (/ 1.0 (+ 1.0 (exp (- t)))))
9.4b
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p) (* (- (log 0.5) (+ (* 0.5 t) (* 0.03125 (/ (pow t 2) (pow 0.5 2))))) c_n)))

rewrite224.0ms

Algorithm
rewrite-expression-head
Rules
1525×*-un-lft-identity
1254×associate-*l*
941×distribute-lft-out
671×distribute-lft-out--
498×pow1
494×log-pow
36×log-prod
31×add-sqr-sqrt
25×times-frac
24×add-cube-cbrt
20×log-div
18×add-log-exp
10×add-exp-log
associate-/r* associate-/l*
flip3-+ flip-+
diff-log
rem-log-exp log-rec clear-num sum-log associate-/r/ frac-sub add-cbrt-cube
difference-of-squares
+-commutative sub-neg flip3-- frac-2neg div-exp associate--l+ flip-- div-inv associate--r+
Counts
4 → 489
Calls
4 calls:
13.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
6.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
6.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
132.0ms
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p) (* (- (log 0.5) (+ (* 0.5 t) (* 0.03125 (/ (pow t 2) (pow 0.5 2))))) c_n)))

series663.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
76.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
77.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
454.0ms
(- (+ (* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p) (* (log (- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))) c_n)) (+ (* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p) (* (- (log 0.5) (+ (* 0.5 t) (* 0.03125 (/ (pow t 2) (pow 0.5 2))))) c_n)))

simplify174.0ms

Algorithm
egg-herbie
Counts
501 → 501
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
082213949
1275613416
2500113415

prune745.0ms

Filtered
501 candidates to 98 candidates (80.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New5010501
Fresh011
Picked011
Done011
Total5013504

Merged error: 0.1b

Counts
504 → 3

regimes212.0ms

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04833
14833

end0.0ms

sample3.5m

Algorithm
intervals
Results
3.5m16352×body10240exit
602.0ms17544×pre80true
120.0ms1147×body80valid
16.0msbody1280valid
14.0msbody2560valid
12.0msbody5120valid
6.0ms23×body160valid
3.0msbody640valid
2.0msbody320valid