Details

Time bar (total: 3.5m)

sample43.6s

Algorithm
intervals
Results
43.3s3342×body10240exit
79.0ms3599×pre80true
34.0msbody5120valid
24.0ms242×body80valid
13.0msbody1280valid
2.0msbody640valid
1.0msbody160valid

simplify24.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: 7.5b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.8b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
2.7b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
2.9b
(/ (* (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)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
74×sqr-pow
72×associate-*l*
64×times-frac
60×unpow-prod-down
42×associate-/r/
22×div-inv
21×flip3-+ flip-+
18×associate-*r* *-commutative unswap-sqr
associate-/r* associate-/l*
pow-to-exp
frac-2neg prod-exp clear-num
div-exp
Counts
4 → 99
Calls
4 calls:
3.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
2.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
2.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
12.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)))

series748.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
71.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
70.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
581.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)))

simplify86.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07633186
131823166
250013166

prune636.0ms

Filtered
111 candidates to 107 candidates (96.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1065111
Fresh000
Picked101
Done000
Total1075112

Merged error: 0.1b

Counts
112 → 5

localize29.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p)
0.7b
(log (/ 1.0 (+ 1.0 (exp (- s)))))
2.7b
(log (/ 1.0 (+ 1.0 (exp (- t)))))
10.9b
(- (+ (* (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)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
log-div log-prod flip3-+ flip-+
clear-num
associate-/r/ frac-sub
log-rec
+-commutative frac-2neg associate--l+ div-inv associate--r+
distribute-lft-neg-out sub-neg flip3-- *-commutative flip--
Counts
4 → 28
Calls
4 calls:
3.0ms
(* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p)
3.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
3.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
9.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)))

series599.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(* (log (/ 1.0 (+ 1.0 (exp (- t))))) c_p)
72.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
68.0ms
(log (/ 1.0 (+ 1.0 (exp (- t)))))
356.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)))

simplify53.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05571184
119661143
250021143

prune260.0ms

Filtered
40 candidates to 35 candidates (87.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New37340
Fresh224
Picked101
Done000
Total40545

Merged error: 0.1b

Counts
45 → 5

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-sub
18×associate-*l/
14×associate-*r/
13×flip3-+ flip-+
clear-num
associate-/r* associate-/l* unpow2 sqr-pow
log-div log-prod frac-2neg
+-commutative flip3-- log-rec associate--l+ associate-/r/ un-div-inv *-commutative flip-- associate--r+
distribute-lft-neg-out sub-neg div-inv
Counts
4 → 40
Calls
4 calls:
3.0ms
(* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p)
9.0ms
(* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p)
3.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
16.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)))

series690.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (log (/ 1.0 (+ 1.0 (exp (- s))))) c_p)
73.0ms
(* (- (+ (log 0.5) (* 0.5 t)) (* 0.03125 (/ (pow t 2) (pow 0.5 2)))) c_p)
68.0ms
(log (/ 1.0 (+ 1.0 (exp (- s)))))
445.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)))

simplify79.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07771570
129791533
250021531

prune397.0ms

Filtered
52 candidates to 44 candidates (84.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh224
Picked011
Done000
Total53457

Merged error: 0b

Counts
57 → 4

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (pow t 2) c_p)
0.1b
(* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 s)) 1.0))))))
0.2b
(* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 t)) 1.0))))))
8.6b
(- (+ (* 0.125 (* (pow t 2) c_p)) (* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 s)) 1.0))))))) (+ (* 0.5 (* t c_p)) (* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 t)) 1.0))))))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ frac-sub flip-+
*-commutative
+-commutative associate-*l* associate--l+ associate--r+
sub-neg flip3-- flip-- unpow2 sqr-pow
Counts
4 → 17
Calls
4 calls:
3.0ms
(* (pow t 2) c_p)
3.0ms
(* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 s)) 1.0))))))
3.0ms
(* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 t)) 1.0))))))
14.0ms
(- (+ (* 0.125 (* (pow t 2) c_p)) (* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 s)) 1.0))))))) (+ (* 0.5 (* t c_p)) (* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 t)) 1.0))))))))

series351.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (pow t 2) c_p)
94.0ms
(* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 s)) 1.0))))))
90.0ms
(* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 t)) 1.0))))))
148.0ms
(- (+ (* 0.125 (* (pow t 2) c_p)) (* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 s)) 1.0))))))) (+ (* 0.5 (* t c_p)) (* c_n (log (- 1.0 (* 1.0 (/ 1 (+ (exp (* -1 t)) 1.0))))))))

simplify50.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0369880
11617841
25002786

prune140.0ms

Filtered
29 candidates to 20 candidates (69.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New29029
Fresh022
Picked011
Done011
Total29433

Merged error: 0b

Counts
33 → 4

regimes256.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04833
14833

end0.0ms

sample2.7m

Algorithm
intervals
Results
2.7m13408×body10240exit
303.0ms14456×pre80true
96.0ms1011×body80valid
55.0msbody5120valid
19.0ms11×body1280valid
5.0msbody2560valid
4.0msbody640valid
3.0ms13×body160valid
1.0msbody320valid