Details

Time bar (total: 4.8s)

sample1.1s

Algorithm
intervals
Results
8.0ms29×body1280valid
8.0ms178×body80valid
6.0ms32×body640valid
3.0ms19×body320valid
3.0ms75×body80overflowed

simplify317.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017

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: 20.0b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
0.7b
(- (exp (* 2.0 x)) 1.0)
0.7b
(- (exp x) 1.0)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
75×*-un-lft-identity
51×times-frac
31×sqrt-prod
27×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 123
Calls
4 calls:
9.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
8.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0ms
(- (exp (* 2.0 x)) 1.0)
6.0ms
(- (exp x) 1.0)

series45.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
21.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
3.0ms
(- (exp (* 2.0 x)) 1.0)
10.0ms
(- (exp x) 1.0)

simplify125.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
03871380
110541314
242651301
350011293

prune244.0ms

Filtered
135 candidates to 92 candidates (31.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1314135
Fresh000
Picked101
Done000
Total1324136

Merged error: 0b

Counts
136 → 4

localize13.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))) (- (exp x) 1.0))
0.0b
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
0.7b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
0.7b
(- (exp x) 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:
20.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
15.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
6.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series36.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04811464
124031163
250021124

prune290.0ms

Filtered
117 candidates to 82 candidates (29.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1170117
Fresh033
Picked011
Done000
Total1174121

Merged error: 0b

Counts
121 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

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

series19.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
3.0ms
(* (exp x) (exp x))
4.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))
2.0ms
(- (exp (* 2.0 x)) 1.0)

simplify57.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0415860
11790771
25001753

prune177.0ms

Filtered
114 candidates to 79 candidates (30.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh022
Picked011
Done011
Total1144118

Merged error: 0b

Counts
118 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ 1.0 (* 0.5 x)))
16.6b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
associate-*r* associate-*l* sqrt-prod
flip3-+ sqrt-div associate-*r/ flip-+ add-log-exp
distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 37
Calls
2 calls:
5.0ms
(* x (+ 1.0 (* 0.5 x)))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series13.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(* x (+ 1.0 (* 0.5 x)))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify37.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0279281
11132268
25002256

prune55.0ms

Filtered
43 candidates to 31 candidates (27.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New43043
Fresh011
Picked011
Done022
Total43447

Merged error: 0b

Counts
47 → 4

regimes42.0ms

Accuracy

98.6% (0.3b remaining)

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

bsearch43.0ms

Steps
ItersRangePoint
15
-5.198581744599781
1.0450147493914085e-304
-1.0650974381070239e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03020
13020

end0.0ms

sample1.9s

Algorithm
intervals
Results
297.0ms1152×body1280valid
242.0ms5400×body80valid
155.0ms862×body640valid
93.0ms2453×body80overflowed
51.0ms400×body320valid
23.0ms237×body160valid

Profiling

Loading profile data...