Details

Time bar (total: 5.3s)

sample106.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 50.021362%

Guaranteed chance to sample good point: 99.981682%

Results
58.0ms114×body1280valid
25.0ms83×body640valid
6.0ms34×body320valid
2.0ms20×body160valid
0.0msbody80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0186
1256
2406
3616
4886
51046
61136
71136

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.8b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ 1.0 x) (- 1.0 x))
5.1b
(log (/ (+ 1.0 x) (- 1.0 x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
63×*-un-lft-identity
41×add-sqr-sqrt
40×times-frac
26×log-prod
23×add-cube-cbrt
11×distribute-lft-out
distribute-lft-out-- difference-of-squares
add-exp-log
associate-/r*
associate-/r/ add-cbrt-cube associate-/l*
pow1
flip3-- div-exp rem-log-exp flip-- div-inv associate-/l/ add-log-exp
cbrt-undiv log-div frac-2neg flip3-+ clear-num log-pow flip-+
Counts
2 → 82
Calls
2 calls:
7.0ms
(/ (+ 1.0 x) (- 1.0 x))
7.0ms
(log (/ (+ 1.0 x) (- 1.0 x)))

series12.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(/ (+ 1.0 x) (- 1.0 x))
10.0ms
(log (/ (+ 1.0 x) (- 1.0 x)))

simplify114.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0318660
11025624
24261602
35003602

prune145.0ms

Filtered
58 candidates to 88 candidates (-51.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New84488
Fresh000
Picked101
Done000
Total85489

Merged error: 0.1b

Counts
89 → 4

localize16.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
0.0b
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
71×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
37×add-cube-cbrt *-un-lft-identity
25×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
div-exp
add-cbrt-cube
pow-to-exp pow-exp add-log-exp
associate-+r+ associate-*r/
pow1 frac-add
log-prod flip3-+ associate-*l* associate--l+ flip-+
associate-+l+ flip3-- sum-log flip-- cbrt-unprod
cbrt-undiv +-commutative distribute-rgt-in associate-+r- sub-neg distribute-lft-in diff-log pow-prod-down *-commutative div-inv
Counts
2 → 134
Calls
2 calls:
11.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
19.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

series35.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
5.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))

simplify91.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07991100
13634972
25002968

prune315.0ms

Filtered
90 candidates to 140 candidates (-55.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1391140
Fresh033
Picked011
Done000
Total1395144

Merged error: 0.1b

Counts
144 → 5

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
0.0b
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
2.8b
(exp (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
74×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
40×add-cube-cbrt *-un-lft-identity
26×add-exp-log
24×unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
associate-*r/ div-exp
frac-add add-cbrt-cube
add-log-exp
pow1 pow-to-exp log-div log-prod flip3-+ exp-diff pow-exp flip-+
associate-+r+
exp-prod flip3-- flip--
associate-*l* exp-sum associate--l+
associate-+l+ sum-log cbrt-unprod
cbrt-undiv +-commutative distribute-rgt-in associate-+r- sub-neg distribute-lft-in diff-log pow-prod-down log-pow *-commutative div-inv rem-exp-log
Counts
3 → 155
Calls
3 calls:
13.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
19.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
11.0ms
(exp (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

series58.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
5.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
27.0ms
(exp (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

simplify98.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
08591600
137571451
250021420

prune459.0ms

Filtered
107 candidates to 164 candidates (-53.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1631164
Fresh033
Picked101
Done011
Total1645169

Merged error: 0.1b

Counts
169 → 5

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
0.0b
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
2.9b
(pow E (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
75×add-sqr-sqrt
68×associate-*r*
59×unpow-prod-down
41×add-cube-cbrt *-un-lft-identity
27×add-exp-log
25×sqr-pow
24×unpow2
17×unswap-sqr
10×prod-exp
associate-*r/ div-exp
frac-add pow-exp add-cbrt-cube
pow1 pow-to-exp add-log-exp
log-div log-prod flip3-+ flip-+ pow-sub
associate-+r+
pow-unpow flip3-- flip--
unpow-prod-up associate-*l* associate--l+
associate-+l+ sum-log cbrt-unprod
cbrt-undiv +-commutative distribute-rgt-in associate-+r- sub-neg e-exp-1 pow-pow distribute-lft-in diff-log pow-prod-down log-pow *-commutative div-inv
Counts
3 → 162
Calls
3 calls:
11.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
19.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
12.0ms
(pow E (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

series49.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))
5.0ms
(* 2.0 (/ (pow x 2) (pow 1.0 2)))
18.0ms
(pow E (log (+ (* 2.0 (+ (pow x 2) x)) (- (log 1.0) (* 2.0 (/ (pow x 2) (pow 1.0 2)))))))

simplify44.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
010761947
150011740

prune514.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1701171
Fresh033
Picked101
Done011
Total1715176

Merged error: 0.1b

Counts
176 → 5

regimes54.0ms

Accuracy

0% (0.5b remaining)

Error of 0.7b against oracle of 0.2b and baseline of 0.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample3.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 50.021362%

Guaranteed chance to sample good point: 99.981682%

Results
1.7s3353×body1280valid
764.0ms2570×body640valid
221.0ms1212×body320valid
77.0ms661×body160valid
11.0ms204×body80valid

Profiling

Loading profile data...