Details

Time bar (total: 4.0s)

sample42.0ms

Algorithm
intervals
Results
15.0ms61×body1280valid
6.0ms39×body640valid
4.0ms120×body80valid
3.0ms22×body320valid
1.0ms14×body160valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2305
3525
41145
53225
616275
750025

prune4.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: 31.8b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
4.0b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
16×add-sqr-sqrt
13×times-frac
11×add-cube-cbrt
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out add-log-exp
associate-/l*
pow1 associate-/r/ difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ diff-log div-exp clear-num flip-- flip-+ div-inv distribute-lft-out--
Counts
2 → 48
Calls
2 calls:
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
10.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series14.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
8.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify62.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0220413
1613391
22018387
35001387

prune154.0ms

Filtered
54 candidates to 40 candidates (25.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New52254
Fresh000
Picked101
Done000
Total53255

Merged error: 0.0b

Counts
55 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 x) (+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3))))
0.1b
(* 0.33333333333333337 (pow x 3))
0.2b
(* 5.551115123125783e-17 (pow x 4))
7.6b
(+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×associate-*r*
14×add-exp-log
11×add-cube-cbrt *-un-lft-identity add-log-exp
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 cube-prod sqr-pow
pow-to-exp diff-log pow-exp sum-log *-commutative cbrt-unprod
+-commutative cube-mult sub-neg flip3-- flip3-+ unpow3 flip-- flip-+ associate--r+
Counts
4 → 81
Calls
4 calls:
6.0ms
(- (* 1.0 x) (+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3))))
6.0ms
(* 0.33333333333333337 (pow x 3))
5.0ms
(* 5.551115123125783e-17 (pow x 4))
4.0ms
(+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3)))

series25.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* 1.0 x) (+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3))))
4.0ms
(* 0.33333333333333337 (pow x 3))
4.0ms
(* 5.551115123125783e-17 (pow x 4))
12.0ms
(+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3)))

simplify52.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0344493
11475459
25001459

prune305.0ms

Filtered
93 candidates to 58 candidates (37.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh011
Picked011
Done000
Total93295

Merged error: 0.0b

Counts
95 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)
0.0b
(/ (- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
0.0b
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
4.0b
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
104×*-un-lft-identity
80×times-frac
62×add-sqr-sqrt
50×add-cube-cbrt
24×swap-sqr distribute-lft-out
18×add-exp-log associate-*r* associate-*l* add-cbrt-cube
11×pow1
10×associate-/r/
add-log-exp
flip3-+ flip-+ difference-of-squares
cbrt-undiv div-exp div-inv
prod-exp associate-/r* cbrt-unprod associate-/l* unswap-sqr
flip3-- flip-- associate-/l/
+-commutative pow2 frac-times sub-neg frac-2neg pow-plus diff-log div-sub associate-*r/ pow-prod-down associate-*l/ clear-num sum-log pow-sqr *-commutative pow-prod-up
Counts
4 → 154
Calls
4 calls:
10.0ms
(+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)
22.0ms
(/ (- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
17.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
11.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series55.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)
26.0ms
(/ (- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0)) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
9.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
12.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify124.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
07332533
138392227
250012209

prune908.0ms

Filtered
166 candidates to 110 candidates (33.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1642166
Fresh000
Picked101
Done011
Total1653168

Merged error: 0.0b

Counts
168 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (pow (+ (exp (* -2.0 x)) 1.0) 2))
0.0b
(/ (- (* 4.0 (/ 1 (pow (+ (exp (* -2.0 x)) 1.0) 2))) 1.0) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
0.0b
(pow (+ (exp (* -2.0 x)) 1.0) 2)
4.0b
(- (* 4.0 (/ 1 (pow (+ (exp (* -2.0 x)) 1.0) 2))) 1.0)

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
39×times-frac
33×add-sqr-sqrt add-cube-cbrt
20×unpow-prod-down
16×add-exp-log
13×associate-/r*
distribute-lft-out
add-cbrt-cube
div-exp
associate-/l* add-log-exp
pow1 unpow2 sqr-pow
pow-to-exp pow-exp
rec-exp pow-unpow 1-exp
cbrt-undiv flip3-- frac-2neg clear-num associate-/r/ flip-- div-inv associate-/l/
sub-neg pow-flip pow-pow flip3-+ diff-log div-sub flip-+ inv-pow
Counts
4 → 128
Calls
4 calls:
7.0ms
(/ 1 (pow (+ (exp (* -2.0 x)) 1.0) 2))
24.0ms
(/ (- (* 4.0 (/ 1 (pow (+ (exp (* -2.0 x)) 1.0) 2))) 1.0) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
5.0ms
(pow (+ (exp (* -2.0 x)) 1.0) 2)
10.0ms
(- (* 4.0 (/ 1 (pow (+ (exp (* -2.0 x)) 1.0) 2))) 1.0)

series52.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ 1 (pow (+ (exp (* -2.0 x)) 1.0) 2))
26.0ms
(/ (- (* 4.0 (/ 1 (pow (+ (exp (* -2.0 x)) 1.0) 2))) 1.0) (+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0))
4.0ms
(pow (+ (exp (* -2.0 x)) 1.0) 2)
13.0ms
(- (* 4.0 (/ 1 (pow (+ (exp (* -2.0 x)) 1.0) 2))) 1.0)

simplify61.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04631591
117831438
250011387

prune508.0ms

Filtered
140 candidates to 74 candidates (47.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1400140
Fresh011
Picked011
Done011
Total1403143

Merged error: 0.0b

Counts
143 → 3

regimes301.0ms

Accuracy

99.1% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 32.1b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05036
15036

end0.0ms

sample1.1s

Algorithm
intervals
Results
418.0ms1721×body1280valid
192.0ms1196×body640valid
136.0ms4132×body80valid
67.0ms617×body320valid
24.0ms334×body160valid

Profiling

Loading profile data...