Details

Time bar (total: 4.4s)

analyze683.0ms

Algorithm
search

sample60.0ms

Algorithm
intervals
Results
27.0ms72×body1280valid
12.0ms51×body640valid
5.0ms94×body80valid
4.0ms23×body320valid
2.0ms16×body160valid

simplify433.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.3b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.2b
(- (exp x) 1.0)
4.4b
(- (exp (* 2.0 x)) 1.0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
8.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)
6.0ms
(- (exp (* 2.0 x)) 1.0)

series39.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
2.0ms
(- (exp x) 1.0)
10.0ms
(- (exp (* 2.0 x)) 1.0)

simplify99.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0304772
1855733
23569730
35001730

prune154.0ms

Filtered
61 candidates to 89 candidates (-45.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New87289
Fresh000
Picked101
Done000
Total88290

Merged error: 0b

Counts
90 → 2

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 0.5 (pow x 2)) (+ (* 1.0 x) 2.0))
11.2b
(sqrt (+ (* 0.5 (pow x 2)) (+ (* 1.0 x) 2.0)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square associate-+r+ sqrt-pow1 pow1/2
Counts
2 → 28
Calls
2 calls:
7.0ms
(+ (* 0.5 (pow x 2)) (+ (* 1.0 x) 2.0))
6.0ms
(sqrt (+ (* 0.5 (pow x 2)) (+ (* 1.0 x) 2.0)))

series9.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(+ (* 0.5 (pow x 2)) (+ (* 1.0 x) 2.0))
6.0ms
(sqrt (+ (* 0.5 (pow x 2)) (+ (* 1.0 x) 2.0)))

simplify147.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (141.0ms)

IterNodesCost
0217319
1830301
24752288
35002287

prune61.0ms

Filtered
26 candidates to 34 candidates (-30.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New34034
Fresh011
Picked011
Done000
Total34236

Merged error: 0b

Counts
36 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
0.0b
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
4.2b
(- (exp x) 1.0)
4.4b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
26×*-un-lft-identity
14×sqrt-prod
11×add-exp-log add-cbrt-cube difference-of-squares
flip3-- associate-*r* flip--
frac-times add-cube-cbrt associate-/l/ add-log-exp
distribute-lft-out--
pow1 flip3-+ flip-+
times-frac associate-*l* associate-/r*
sub-neg associate-*r/ associate-*l/
cbrt-undiv distribute-rgt-in distribute-lft-in diff-log div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 105
Calls
4 calls:
17.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
17.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)
6.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))

series36.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04811464
124011163
250031124

prune280.0ms

Filtered
83 candidates to 117 candidates (-41.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh000
Picked011
Done011
Total1172119

Merged error: 0b

Counts
119 → 2

regimes35.0ms

Accuracy

99% (0.2b remaining)

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

bsearch24.0ms

Steps
ItersRangePoint
8
-0.0006941189594831617
-2.6249509029771955e-06
-1.0706139584608031e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03221
13221

end0.0ms

analyze472.0ms

Algorithm
search

sample1.6s

Algorithm
intervals
Results
816.0ms2256×body1280valid
394.0ms1666×body640valid
129.0ms2838×body80valid
122.0ms818×body320valid
42.0ms422×body160valid
0.0msbody80invalid

Profiling

Loading profile data...