Details

Time bar (total: 4.6s)

sample39.0ms

Algorithm
intervals
Results
17.0ms62×body1280valid
6.0ms35×body640valid
5.0ms138×body80valid
1.0ms13×body320valid
1.0msbody160valid

simplify61.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.2b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.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:
3.0ms
(+ 1.0 (exp (* -2.0 x)))
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
12.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series134.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03981645
112871235
250011212

prune215.0ms

Filtered
150 candidates to 86 candidates (57.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1482150
Fresh000
Picked101
Done000
Total1492151

Merged error: 0.0b

Counts
151 → 2

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

rewrite72.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:
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)))) 1.0)
12.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series374.0ms

Counts
4 → 12
Calls
4 calls:
193.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))
45.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
53.0ms
(+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)
83.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 (102.0ms)

IterNodesCost
07592637
139262326
250012303

prune375.0ms

Filtered
194 candidates to 135 candidates (69.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1931194
Fresh011
Picked101
Done000
Total1942196

Merged error: 0.0b

Counts
196 → 2

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3)
0.0b
(pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4)
0.0b
(+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)
3.1b
(- (pow (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3) (pow (* 1.0 1.0) 3))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
64×prod-diff
55×*-un-lft-identity
47×add-sqr-sqrt
44×unpow-prod-down
39×add-cube-cbrt
27×sqr-pow
26×cube-prod
24×times-frac
20×add-exp-log
18×cube-mult fma-def unpow3
17×add-cbrt-cube
16×difference-of-squares
13×pow1
fma-neg add-log-exp
pow-pow pow-exp distribute-lft-out
pow-unpow
div-exp rem-cube-cbrt
cbrt-undiv expm1-log1p-u prod-exp associate-/r/ cbrt-unprod log1p-expm1-u
cube-div flip3-+ flip-+
pow-to-exp div-inv
difference-cubes +-commutative pow2 frac-times sub-neg flip3-- pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ sum-log pow-sqr pow-prod-up flip-- distribute-lft-out--
Counts
4 → 208
Calls
4 calls:
13.0ms
(pow (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3)
7.0ms
(pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4)
10.0ms
(+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)
14.0ms
(- (pow (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3) (pow (* 1.0 1.0) 3))

series315.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(pow (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3)
56.0ms
(pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 4)
54.0ms
(+ (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)
131.0ms
(- (pow (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3) (pow (* 1.0 1.0) 3))

simplify115.0ms

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
07712792
127271933
250011911

prune649.0ms

Filtered
220 candidates to 113 candidates (51.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2191220
Fresh011
Picked011
Done000
Total2193222

Merged error: 0.0b

Counts
222 → 3

localize34.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
3.1b
(- (pow (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3) (pow (* 1.0 1.0) 3))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
64×prod-diff
32×add-sqr-sqrt
26×*-un-lft-identity
25×unpow-prod-down cube-prod sqr-pow
24×add-cube-cbrt
17×cube-mult unpow3
16×difference-of-squares
cbrt-prod
fma-neg
add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow1/3
difference-cubes sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 143
Calls
4 calls:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
14.0ms
(- (pow (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3) (pow (* 1.0 1.0) 3))

series124.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
124.0ms
(- (pow (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) 3) (pow (* 1.0 1.0) 3))

simplify74.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
03972200
113111429
250021405

prune478.0ms

Filtered
149 candidates to 66 candidates (44.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1490149
Fresh011
Picked011
Done011
Total1493152

Merged error: 0.0b

Counts
152 → 3

regimes196.0ms

Accuracy

98.9% (0.3b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06392
16392

end0.0ms

sample1.0s

Algorithm
intervals
Results
416.0ms1734×body1280valid
204.0ms1256×body640valid
138.0ms4042×body80valid
72.0ms645×body320valid
29.0ms323×body160valid