Details

Time bar (total: 2.5m)

sample42.2s

Algorithm
intervals
Results
41.9s3279×body10240exit
87.0ms3535×pre80true
23.0msbody5120valid
23.0ms247×body80valid
5.0msbody1280valid
2.0msbody2560valid
1.0msbody160valid
0.0msbody320valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.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 (- t)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
40.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)))

series767.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
69.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
69.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
580.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)))

simplify101.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
09765948
131425704
250015704

prune444.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.9b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
diff-log
sub-neg flip3-- associate-*r* associate--l+ sum-log *-commutative flip--
Counts
2 → 32
Calls
2 calls:
7.0ms
(- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))
4.0ms
(* 0.5 (* s c_p))

series74.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))
21.0ms
(* 0.5 (* s c_p))

simplify122.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0178226
1718198
24073189
35001189

prune82.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))) (cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))))
0.3b
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
0.3b
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
0.3b
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
20.0ms
(* (cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))) (cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))))
7.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
7.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
7.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))

series1.7s

Counts
4 → 12
Calls
4 calls:
517.0ms
(* (cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))) (cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))))
394.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
386.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
384.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))

simplify43.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
03041712
111041605
250011494

prune329.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.9b

localize22.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
1.0b
(/ (* (cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n))))) (cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))) (* (cbrt (+ (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))) (cbrt (+ (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))))
1.9b
(cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))
1.9b
(cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-div
16×add-exp-log
11×cbrt-prod
flip3-- flip--
frac-times associate-/r/ add-cbrt-cube associate-/l/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
flip3-+ flip-+
pow1 cbrt-undiv associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod add-log-exp
pow1/3
difference-of-squares
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
4 → 78
Calls
4 calls:
7.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
46.0ms
(/ (* (cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n))))) (cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))) (* (cbrt (+ (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))) (cbrt (+ (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))))
13.0ms
(cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))
16.0ms
(cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))

series12.5s

Counts
4 → 12
Calls
4 calls:
384.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
11.4s
(/ (* (cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n))))) (cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))) (* (cbrt (+ (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n)))) (cbrt (+ (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))))
310.0ms
(cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))
314.0ms
(cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))

simplify70.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05043051
118772535
250012508

prune378.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.7b

regimes593.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
077127
177127

end0.0ms

sample1.5m

Algorithm
intervals
Results
1.5m7363×body10240exit
168.0ms7923×pre80true
48.0ms539×body80valid
30.0msbody5120valid
9.0msbody1280valid
2.0msbody2560valid
2.0msbody160valid
2.0msbody640valid
1.0msbody320valid