Details

Time bar (total: 2.4s)

sample35.0ms

Algorithm
intervals
Results
11.0ms49×body1280valid
6.0ms40×body640valid
5.0ms144×body80valid
2.0ms14×body320valid
1.0msbody160valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0480010
1480010

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 26.0b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt add-cbrt-cube difference-of-squares
+-commutative sub-neg flip3-- flip3-+ times-frac diff-log sum-log flip-- flip-+ distribute-lft-out distribute-lft-out--
Counts
2 → 27
Calls
2 calls:
3.0ms
(+ 1.0 (exp (* -2.0 x)))
10.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series11.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05331399

prune80.0ms

Filtered
27 candidates to 33 candidates (-22.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New30333
Fresh000
Picked101
Done000
Total31334

Merged error: 0.0b

Counts
34 → 3

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (pow (exp -2.0) x))
1.8b
(log (exp (- (/ 2.0 (+ 1.0 (pow (exp -2.0) x))) 1.0)))
1.9b
(- (/ 2.0 (+ 1.0 (pow (exp -2.0) x))) 1.0)

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×*-un-lft-identity
log-pow add-log-exp
exp-prod
add-cube-cbrt log-prod
pow1 difference-of-squares
add-exp-log add-cbrt-cube
sub-neg times-frac exp-sum distribute-lft-out--
+-commutative log-div flip3-- flip3-+ exp-diff diff-log rem-log-exp sum-log flip-- flip-+ distribute-lft-out
Counts
3 → 48
Calls
3 calls:
4.0ms
(+ 1.0 (pow (exp -2.0) x))
11.0ms
(log (exp (- (/ 2.0 (+ 1.0 (pow (exp -2.0) x))) 1.0)))
11.0ms
(- (/ 2.0 (+ 1.0 (pow (exp -2.0) x))) 1.0)

series28.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ 1.0 (pow (exp -2.0) x))
13.0ms
(log (exp (- (/ 2.0 (+ 1.0 (pow (exp -2.0) x))) 1.0)))
12.0ms
(- (/ 2.0 (+ 1.0 (pow (exp -2.0) x))) 1.0)

simplify56.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04955688
14955688

prune106.0ms

Filtered
40 candidates to 57 candidates (-42.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New57057
Fresh022
Picked011
Done000
Total57360

Merged error: 0.0b

Counts
60 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
41×*-un-lft-identity
21×add-sqr-sqrt
19×add-cube-cbrt
15×times-frac
13×add-exp-log flip3-+ add-cbrt-cube flip-+
11×pow1
10×associate-/r/ distribute-lft-out
frac-times
swap-sqr associate-/l* add-log-exp
associate-/r*
associate-*r/ associate-*r* associate-*l* associate-*l/
cbrt-undiv div-exp
flip3-- frac-2neg prod-exp clear-num flip-- cbrt-unprod div-inv associate-/l/
pow2 distribute-rgt-in sub-neg distribute-lft-in pow-plus diff-log div-sub pow-prod-down pow-sqr *-commutative pow-prod-up unswap-sqr
Counts
4 → 117
Calls
4 calls:
25.0ms
(/ (- (* 2.0 (/ 2.0 (* (+ 1.0 (pow (exp -2.0) x)) (+ 1.0 (pow (exp -2.0) x))))) (* 1.0 1.0)) (+ 1.0 (/ 2.0 (+ 1.0 (pow (exp -2.0) x)))))
11.0ms
(* (+ 1.0 (pow (exp -2.0) x)) (+ 1.0 (pow (exp -2.0) x)))
12.0ms
(/ 2.0 (* (+ 1.0 (pow (exp -2.0) x)) (+ 1.0 (pow (exp -2.0) x))))
13.0ms
(- (* 2.0 (/ 2.0 (* (+ 1.0 (pow (exp -2.0) x)) (+ 1.0 (pow (exp -2.0) x))))) (* 1.0 1.0))

series66.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ (- (* 2.0 (/ 2.0 (* (+ 1.0 (pow (exp -2.0) x)) (+ 1.0 (pow (exp -2.0) x))))) (* 1.0 1.0)) (+ 1.0 (/ 2.0 (+ 1.0 (pow (exp -2.0) x)))))
6.0ms
(* (+ 1.0 (pow (exp -2.0) x)) (+ 1.0 (pow (exp -2.0) x)))
11.0ms
(/ 2.0 (* (+ 1.0 (pow (exp -2.0) x)) (+ 1.0 (pow (exp -2.0) x))))
18.0ms
(- (* 2.0 (/ 2.0 (* (+ 1.0 (pow (exp -2.0) x)) (+ 1.0 (pow (exp -2.0) x))))) (* 1.0 1.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049802714
149802714

prune361.0ms

Filtered
86 candidates to 129 candidates (-50.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh011
Picked011
Done011
Total1293132

Merged error: 0.0b

Counts
132 → 3

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (pow x 3) (+ (* x 5.551115123125783e-17) 0.33333333333333337))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod unswap-sqr
associate-*r* prod-exp add-cbrt-cube
associate-*r/ sqr-pow
pow1 distribute-rgt-in cube-mult pow-to-exp distribute-lft-in flip3-+ unpow3 pow-exp *-commutative cbrt-unprod flip-+ add-log-exp
Counts
1 → 35
Calls
1 calls:
8.0ms
(* (pow x 3) (+ (* x 5.551115123125783e-17) 0.33333333333333337))

series8.0ms

Counts
1 → 3
Calls
1 calls:
8.0ms
(* (pow x 3) (+ (* x 5.551115123125783e-17) 0.33333333333333337))

simplify50.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
04995411
14995411

prune42.0ms

Filtered
24 candidates to 38 candidates (-58.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New38038
Fresh000
Picked011
Done022
Total38341

Merged error: 0.0b

Counts
41 → 3

regimes128.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 29.1b

bsearch29.0ms

Steps
ItersRangePoint
7
0.00032549292108535743
0.009091900342010817
0.0009274277440223232
8
-0.5589967429191678
-0.00011600335009663597
-0.0009662156427104407

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04065
14065

end0.0ms

sample1.1s

Algorithm
intervals
Results
422.0ms1721×body1280valid
194.0ms1194×body640valid
127.0ms4119×body80valid
69.0ms623×body320valid
25.0ms343×body160valid

Profiling

Loading profile data...