Details

Time bar (total: 3.4s)

sample71.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.012207%

Guaranteed chance to sample good point: 99.991861%

Results
34.0ms73×body1280valid
18.0ms60×body640valid
3.0ms29×body320valid
2.0ms85×body80valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
052
152

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.3b

Counts
2 → 1

localize3.0ms

Local error

Found 1 expressions with local error:

3.2b
(log (+ 1.0 x))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
log-prod *-un-lft-identity
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt log-div
flip3-+ rem-log-exp log-pow add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
1 → 15
Calls
1 calls:
3.0ms
(log (+ 1.0 x))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(log (+ 1.0 x))

simplify39.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
012897
135487
2128081
3500178

prune33.0ms

Filtered
13 candidates to 18 candidates (-38.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New16218
Fresh000
Picked011
Done000
Total16319

Merged error: 0.1b

Counts
19 → 3

localize12.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 1/2 (/ (pow x 2) (pow 1.0 2)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
80×times-frac
69×add-sqr-sqrt
68×associate-*r*
56×unpow-prod-down
35×add-cube-cbrt *-un-lft-identity
24×add-exp-log unpow2 sqr-pow
17×unswap-sqr
10×prod-exp
div-exp
pow-to-exp pow-exp add-cbrt-cube
pow1 associate-*l*
cbrt-unprod
cbrt-undiv associate-*r/ pow-prod-down *-commutative div-inv add-log-exp
Counts
1 → 110
Calls
1 calls:
18.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))

series5.0ms

Counts
1 → 3
Calls
1 calls:
5.0ms
(* 1/2 (/ (pow x 2) (pow 1.0 2)))

simplify55.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0531638
12305526
25001525

prune171.0ms

Filtered
68 candidates to 113 candidates (-66.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1130113
Fresh011
Picked011
Done011
Total1133116

Merged error: 0.1b

Counts
116 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
1.0b
(log (- (* 1.0 1.0) (* x x)))
3.2b
(log (- 1.0 x))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
18×log-prod
15×*-un-lft-identity
13×add-sqr-sqrt
pow1
log-div
add-cube-cbrt
log-pow distribute-lft-out--
add-exp-log flip3-- flip-- associate--r+ difference-of-squares
associate--l+
add-cbrt-cube add-log-exp
associate--l- rem-log-exp associate--r-
sub-neg diff-log
Counts
3 → 61
Calls
3 calls:
8.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
3.0ms
(log (- (* 1.0 1.0) (* x x)))
3.0ms
(log (- 1.0 x))

series18.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(- (log (- (* 1.0 1.0) (* x x))) (log (- 1.0 x)))
8.0ms
(log (- (* 1.0 1.0) (* x x)))
3.0ms
(log (- 1.0 x))

simplify181.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (172.0ms)

IterNodesCost
0361557
11160525
24983479
35002469

prune113.0ms

Filtered
55 candidates to 70 candidates (-27.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New69170
Fresh000
Picked101
Done022
Total70373

Merged error: 0.0b

Counts
73 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
0.0b
(* x (- 1.0 (* 1.0 x)))
0.1b
(* 1/3 (/ (pow x 3) (pow 1.0 3)))
8.0b
(+ (+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2)))) (* x (- 1.0 (* 1.0 x))))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
160×times-frac
151×associate-*r*
124×add-sqr-sqrt
80×add-cube-cbrt unpow-prod-down *-un-lft-identity cube-prod
32×sqr-pow
29×add-exp-log
24×cube-mult unpow3
18×unswap-sqr
15×associate-*r/
11×prod-exp add-cbrt-cube add-log-exp
div-exp frac-add
pow1
pow-to-exp associate-*l* pow-exp
distribute-rgt-in sub-neg associate-+r+ flip3-- distribute-lft-in flip3-+ sum-log flip-- flip-+
cbrt-unprod
+-commutative pow-prod-down *-commutative
cbrt-undiv associate-+l+ div-inv
Counts
4 → 249
Calls
4 calls:
14.0ms
(+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
5.0ms
(* x (- 1.0 (* 1.0 x)))
35.0ms
(* 1/3 (/ (pow x 3) (pow 1.0 3)))
17.0ms
(+ (+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2)))) (* x (- 1.0 (* 1.0 x))))

series37.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2))))
5.0ms
(* x (- 1.0 (* 1.0 x)))
6.0ms
(* 1/3 (/ (pow x 3) (pow 1.0 3)))
7.0ms
(+ (+ (* 1/3 (/ (pow x 3) (pow 1.0 3))) (* 1/2 (/ (pow x 2) (pow 1.0 2)))) (* x (- 1.0 (* 1.0 x))))

simplify52.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010582016
150011824

prune527.0ms

Filtered
136 candidates to 261 candidates (-91.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2601261
Fresh000
Picked101
Done112
Total2622264

Merged error: 0b

Counts
264 → 2

regimes82.0ms

Accuracy

99.5% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12310

end0.0ms

sample1.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.012207%

Guaranteed chance to sample good point: 99.991861%

Results
1.1s2256×body1280valid
389.0ms1647×body640valid
108.0ms858×body320valid
85.0ms2857×body80valid
28.0ms382×body160valid

Profiling

Loading profile data...