Details

Time bar (total: 2.3s)

analyze315.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%62.5%12.5%4
25%56.2%18.8%5
28.1%50%21.9%6
29.7%46.9%23.5%7
30.5%45.3%24.3%8
30.8%44.9%24.3%9
31.2%44.5%24.3%10
31.3%44.4%24.3%11
31.4%44.3%24.3%12
31.4%44.2%24.3%13
31.5%44.2%24.3%14

sample30.0ms

Algorithm
intervals
Results
13.0ms75×body1280valid
7.0ms62×body640valid
2.0ms85×body80valid
2.0ms21×body320valid
1.0ms13×body160valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049997
149997

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 42.8b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (exp x) (- (exp x) 1.0))
3.8b
(- (exp x) 1.0)

rewrite12.0ms

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

series9.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(/ (exp x) (- (exp x) 1.0))
3.0ms
(- (exp x) 1.0)

simplify58.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
05019574

prune266.0ms

Filtered
41 candidates to 56 candidates (-36.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New53356
Fresh000
Picked101
Done000
Total54357

Merged error: 0b

Counts
57 → 3

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1/2 (+ (* x 1/12) (/ 1 x)))
0.0b
(+ (* x 1/12) (/ 1 x))
0.4b
(* x 1/12)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sum-log
associate-*r* associate-*l*
+-commutative flip3-+ flip-+
associate-+r+ pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
3 → 43
Calls
3 calls:
8.0ms
(+ 1/2 (+ (* x 1/12) (/ 1 x)))
6.0ms
(+ (* x 1/12) (/ 1 x))
3.0ms
(* x 1/12)

series8.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(+ 1/2 (+ (* x 1/12) (/ 1 x)))
4.0ms
(+ (* x 1/12) (/ 1 x))
2.0ms
(* x 1/12)

simplify44.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04846420
14846420

prune56.0ms

Filtered
36 candidates to 52 candidates (-44.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New52052
Fresh022
Picked011
Done000
Total52355

Merged error: 0b

Counts
55 → 3

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (exp x))
0.0b
(/ 1 (- 1 (/ 1.0 (exp x))))
3.8b
(- 1 (/ 1.0 (exp x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
64×add-sqr-sqrt
44×*-un-lft-identity
43×times-frac
24×add-cube-cbrt
20×difference-of-squares
11×associate-/r*
add-exp-log
add-cbrt-cube
associate-/l*
distribute-lft-out-- add-log-exp
pow1
div-exp
cbrt-undiv flip3-- frac-2neg clear-num associate-/r/ flip-- div-inv
sub-neg rec-exp pow-flip diff-log 1-exp inv-pow
Counts
3 → 96
Calls
3 calls:
6.0ms
(/ 1.0 (exp x))
9.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
7.0ms
(- 1 (/ 1.0 (exp x)))

series19.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ 1.0 (exp x))
9.0ms
(/ 1 (- 1 (/ 1.0 (exp x))))
6.0ms
(- 1 (/ 1.0 (exp x)))

simplify70.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
048711130
148711130

prune97.0ms

Filtered
65 candidates to 105 candidates (-61.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh011
Picked011
Done011
Total1053108

Merged error: 0b

Counts
108 → 3

localize6.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (exp x))
0.3b
(* (sqrt (exp x)) (/ (sqrt (exp x)) (- (exp x) 1.0)))
0.3b
(/ (sqrt (exp x)) (- (exp x) 1.0))
3.8b
(- (exp x) 1.0)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
89×add-sqr-sqrt
72×*-un-lft-identity
64×times-frac
44×add-cube-cbrt sqrt-prod
36×associate-*r*
14×distribute-lft-out-- difference-of-squares
11×add-exp-log add-cbrt-cube
pow1
associate-*l* associate-/l* add-log-exp unswap-sqr
associate-/r*
sqrt-pow1 associate-/r/
exp-prod flip3-- flip--
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
sub-neg rem-sqrt-square frac-2neg pow1/2 diff-log associate-*r/ pow-prod-down clear-num *-commutative
Counts
4 → 146
Calls
4 calls:
2.0ms
(sqrt (exp x))
19.0ms
(* (sqrt (exp x)) (/ (sqrt (exp x)) (- (exp x) 1.0)))
8.0ms
(/ (sqrt (exp x)) (- (exp x) 1.0))
4.0ms
(- (exp x) 1.0)

series22.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
050781732

prune124.0ms

Filtered
98 candidates to 158 candidates (-61.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1580158
Fresh000
Picked011
Done022
Total1583161

Merged error: 0b

Counts
161 → 3

regimes80.0ms

Accuracy

97.4% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03126
13126

end0.0ms

sample851.0ms

Algorithm
intervals
Results
401.0ms2304×body1280valid
181.0ms1632×body640valid
68.0ms2821×body80valid
59.0ms805×body320valid
22.0ms438×body160valid
0.0msbody1280invalid

Profiling

Loading profile data...