Details

Time bar (total: 4.6s)

sample33.0ms

Algorithm
intervals
Results
12.0ms57×body1280valid
5.0ms35×body640valid
4.0ms136×body80valid
2.0ms20×body320valid
1.0msbody160valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2315
3545
41195
53335
616465
750015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
68×add-sqr-sqrt
63×add-cube-cbrt
61×times-frac
54×prod-diff
18×fma-neg
17×distribute-lft-out
10×associate-/r/
add-log-exp
flip3-+ flip-+
add-exp-log add-cbrt-cube div-inv
associate-/r*
pow1 expm1-log1p-u fma-def log1p-expm1-u associate-/l*
difference-of-squares
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg diff-log div-exp clear-num sum-log flip-- distribute-lft-out--
Counts
3 → 141
Calls
3 calls:
6.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
3.0ms
(+ 1.0 (exp (* -2.0 x)))
40.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series137.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
16.0ms
(+ 1.0 (exp (* -2.0 x)))
83.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify51.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03981645
112871235
250011212

prune270.0ms

Filtered
150 candidates to 86 candidates (57.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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)))) 1.0)
0.0b
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
2.5b
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
118×*-un-lft-identity
92×times-frac
70×add-sqr-sqrt
58×add-cube-cbrt
27×distribute-lft-out
24×swap-sqr
18×add-exp-log fma-def associate-*r* associate-*l* add-cbrt-cube
12×associate-/r/
11×pow1
add-log-exp
flip3-+ flip-+
div-inv difference-of-squares
cbrt-undiv div-exp
expm1-log1p-u prod-exp associate-/r* cbrt-unprod log1p-expm1-u associate-/l* unswap-sqr
flip3-- flip-- associate-/l/
+-commutative pow2 frac-times sub-neg frac-2neg pow-plus fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ clear-num sum-log pow-sqr *-commutative pow-prod-up
Counts
4 → 182
Calls
4 calls:
64.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))
27.0ms
(+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)
35.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))

series381.0ms

Counts
4 → 12
Calls
4 calls:
196.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))
54.0ms
(+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)
46.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
86.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify126.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (103.0ms)

IterNodesCost
07592637
139262326
250012303

prune447.0ms

Filtered
194 candidates to 135 candidates (69.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite223.0ms

Algorithm
rewrite-expression-head
Rules
160×*-un-lft-identity
158×add-exp-log add-cbrt-cube
129×pow1
128×times-frac
100×add-sqr-sqrt
76×add-cube-cbrt
73×prod-exp cbrt-unprod
49×swap-sqr
48×cbrt-undiv div-exp
38×pow-prod-up
37×associate-*r* associate-*l*
36×distribute-lft-out
25×pow-prod-down
24×pow-sqr
20×pow-plus
19×frac-times
16×associate-/r/
15×pow2
13×associate-*r/ associate-*l/
unswap-sqr
flip3-+ flip-+ div-inv
add-log-exp
expm1-log1p-u log1p-expm1-u
*-commutative
sub-neg flip3-- fma-neg diff-log prod-diff flip-- difference-of-squares
Counts
4 → 319
Calls
4 calls:
65.0ms
(* (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))))
32.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
34.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
73.0ms
(- (* (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* (* 1.0 1.0) (* 1.0 1.0)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))))
43.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
48.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
107.0ms
(- (* (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* (* 1.0 1.0) (* 1.0 1.0)))

simplify118.0ms

Algorithm
egg-herbie
Counts
331 → 331
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
08894456
138683011
250012946

prune656.0ms

Filtered
331 candidates to 152 candidates (45.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.33333333333333337 (pow x 3))
10.5b
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
cube-mult pow-to-exp unpow3 pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 43
Calls
2 calls:
7.0ms
(* 0.33333333333333337 (pow x 3))
0.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

series140.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(* 0.33333333333333337 (pow x 3))
99.0ms
(fma 5.551115123125783e-17 (pow x 4) (* 0.33333333333333337 (pow x 3)))

simplify185.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0142195
1582172
23698172
35002172

prune124.0ms

Filtered
49 candidates to 33 candidates (67.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes242.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 29.7b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04065
14065

end0.0ms

sample904.0ms

Algorithm
intervals
Results
384.0ms1743×body1280valid
180.0ms1271×body640valid
110.0ms4042×body80valid
60.0ms628×body320valid
19.0ms316×body160valid