Details

Time bar (total: 2.6s)

analyze3.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%25%12.5%4
68.7%12.5%18.8%5
71.8%6.2%21.9%6
73.4%3.1%23.5%7
74.2%1.6%24.3%8
74.6%0.8%24.6%9
75%0.4%24.6%10
75.1%0.2%24.7%11
75.1%0.1%24.8%12
75.1%0%24.8%13
75.2%0%24.8%14

sample32.0ms

Algorithm
intervals
Results
14.0ms75×body1280valid
7.0ms55×body640valid
2.0ms86×body80valid
2.0ms24×body320valid
1.0ms16×body160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (9.0ms)

IterNodesCost
02286
12286

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.5b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- (exp x) 1.0) x)
4.5b
(- (exp x) 1.0)

rewrite11.0ms

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

series9.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04909534
14909534

prune86.0ms

Filtered
42 candidates to 57 candidates (-35.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh000
Picked101
Done000
Total54458

Merged error: 0.1b

Counts
58 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1 (* x (+ 1/2 (* x 1/6))))
0.1b
(* x (+ 1/2 (* x 1/6)))
0.4b
(* x 1/6)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
add-log-exp
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
+-commutative sum-log
Counts
3 → 53
Calls
3 calls:
3.0ms
(+ 1 (* x (+ 1/2 (* x 1/6))))
5.0ms
(* x (+ 1/2 (* x 1/6)))
3.0ms
(* x 1/6)

series11.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(+ 1 (* x (+ 1/2 (* x 1/6))))
6.0ms
(* x (+ 1/2 (* x 1/6)))
2.0ms
(* x 1/6)

simplify51.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04963483
14963483

prune71.0ms

Filtered
44 candidates to 62 candidates (-40.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New62062
Fresh033
Picked011
Done000
Total62466

Merged error: 0.1b

Counts
66 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (- (pow (exp x) 2) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
0.0b
(pow (exp x) 2)
0.0b
(/ (- (pow (exp x) 2) (* 1.0 1.0)) (+ (exp x) 1.0))
4.4b
(- (pow (exp x) 2) (* 1.0 1.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
242×times-frac
175×*-un-lft-identity
147×add-sqr-sqrt
103×add-cube-cbrt
88×difference-of-squares
41×associate-/l*
36×distribute-lft-out
25×unpow-prod-down
23×unpow2 sqr-pow
11×add-exp-log add-cbrt-cube
10×associate-/r/
associate-/r*
div-inv add-log-exp
pow1 flip3-+ flip-+
cbrt-undiv pow-pow div-exp
pow-unpow exp-prod div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
pow-to-exp sub-neg diff-log pow-exp
Counts
4 → 247
Calls
4 calls:
15.0ms
(/ (/ (- (pow (exp x) 2) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
3.0ms
(pow (exp x) 2)
10.0ms
(/ (- (pow (exp x) 2) (* 1.0 1.0)) (+ (exp x) 1.0))
5.0ms
(- (pow (exp x) 2) (* 1.0 1.0))

series32.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(/ (/ (- (pow (exp x) 2) (* 1.0 1.0)) (+ (exp x) 1.0)) x)
3.0ms
(pow (exp x) 2)
10.0ms
(/ (- (pow (exp x) 2) (* 1.0 1.0)) (+ (exp x) 1.0))
4.0ms
(- (pow (exp x) 2) (* 1.0 1.0))

simplify83.0ms

Algorithm
egg-herbie
Counts
259 → 259
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049444877
149444877

prune345.0ms

Filtered
168 candidates to 259 candidates (-54.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2572259
Fresh112
Picked101
Done011
Total2594263

Merged error: 0.0b

Counts
263 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cbrt (- (pow (exp x) 2) (* 1.0 1.0))) (/ (cbrt (- (pow (exp x) 2) (* 1.0 1.0))) (sqrt (+ (exp x) 1.0))))
4.4b
(- (pow (exp x) 2) (* 1.0 1.0))
4.4b
(- (pow (exp x) 2) (* 1.0 1.0))
4.4b
(- (pow (exp x) 2) (* 1.0 1.0))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt
78×times-frac
76×associate-*r*
65×cbrt-prod
61×*-un-lft-identity
44×sqrt-prod difference-of-squares
41×add-cube-cbrt
11×unpow-prod-down unpow2 sqr-pow
10×associate-*l* distribute-lft-out add-log-exp unswap-sqr
add-exp-log
pow1 add-cbrt-cube
flip3-- flip--
cbrt-div
sub-neg diff-log
frac-times sqrt-div associate-*l/ prod-exp associate-/r/ cbrt-unprod
cbrt-undiv flip3-+ associate-*r/ div-exp pow-prod-down *-commutative flip-+ div-inv
Counts
4 → 159
Calls
4 calls:
34.0ms
(* (cbrt (- (pow (exp x) 2) (* 1.0 1.0))) (/ (cbrt (- (pow (exp x) 2) (* 1.0 1.0))) (sqrt (+ (exp x) 1.0))))
5.0ms
(- (pow (exp x) 2) (* 1.0 1.0))
5.0ms
(- (pow (exp x) 2) (* 1.0 1.0))
5.0ms
(- (pow (exp x) 2) (* 1.0 1.0))

series54.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (cbrt (- (pow (exp x) 2) (* 1.0 1.0))) (/ (cbrt (- (pow (exp x) 2) (* 1.0 1.0))) (sqrt (+ (exp x) 1.0))))
4.0ms
(- (pow (exp x) 2) (* 1.0 1.0))
4.0ms
(- (pow (exp x) 2) (* 1.0 1.0))
4.0ms
(- (pow (exp x) 2) (* 1.0 1.0))

simplify72.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049413561
149413561

prune560.0ms

Filtered
114 candidates to 171 candidates (-50.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1710171
Fresh022
Picked011
Done011
Total1714175

Merged error: 0.0b

Counts
175 → 4

regimes38.0ms

Accuracy

98.7% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 21.5b

bsearch15.0ms

Steps
ItersRangePoint
8
-0.0013620247224148134
-9.61763392707139e-07
-0.00015264209877748183

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05433
15433

end0.0ms

sample895.0ms

Algorithm
intervals
Results
427.0ms2279×body1280valid
196.0ms1618×body640valid
69.0ms2847×body80valid
67.0ms811×body320valid
23.0ms445×body160valid

Profiling

Loading profile data...