Details

Time bar (total: 2.5m)

sample42.0s

Algorithm
intervals
Results
41.7s3279×body10240exit
75.0ms3535×pre80true
23.0msbody5120valid
22.0ms247×body80valid
6.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

Filtered
1 candidates to 0 candidates (0.0%)
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)))

rewrite81.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)
41.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)))

series768.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)
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)))

simplify96.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
09765948
131425704
250015704

prune465.0ms

Filtered
279 candidates to 79 candidates (28.3%)
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))

rewrite13.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)))
5.0ms
(* 0.5 (* s c_p))

series74.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0178226
1718198
24073189
35001189

prune87.0ms

Filtered
38 candidates to 23 candidates (60.5%)
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))))

rewrite45.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:
21.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.8s

Counts
4 → 12
Calls
4 calls:
631.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)))))
387.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))))
381.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))

simplify62.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03041712
111041605
250011494

prune355.0ms

Filtered
99 candidates to 78 candidates (78.8%)
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)))))

rewrite87.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))))
47.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)))))
17.0ms
(cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))

series13.7s

Counts
4 → 12
Calls
4 calls:
374.0ms
(cbrt (- (+ (* 0.5 (* s c_p)) 1) (* 0.5 (* s c_n))))
12.7s
(/ (* (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))))))
315.0ms
(cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))
315.0ms
(cbrt (- (* (+ (* 0.5 (* s c_p)) 1) (+ (* 0.5 (* s c_p)) 1)) (* (* 0.5 (* s c_n)) (* 0.5 (* s c_n)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05043051
118772535
250012508

prune398.0ms

Filtered
90 candidates to 76 candidates (84.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.7b

regimes614.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
157.0ms7923×pre80true
48.0ms539×body80valid
30.0msbody5120valid
9.0msbody1280valid
2.0msbody2560valid
2.0msbody160valid
2.0msbody640valid
1.0msbody320valid