Details

Time bar (total: 3.5s)

sample42.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
20.0ms95×body1280valid
5.0msbody320valid
5.0ms131×body80valid
3.0ms16×body640valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1246
2286
3306
4356
5376
6376

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.9b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
1.6b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
times-frac
add-log-exp
pow1
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg pow1/2 diff-log div-exp pow-prod-down clear-num sum-log sqrt-prod flip-- div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 66
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
3.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series41.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
7.0ms
(/ 1.0 (hypot 1.0 x))
13.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
14.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify65.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0221492
1697465
22309463
35002463

prune149.0ms

Filtered
55 candidates to 78 candidates (-41.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New73578
Fresh000
Picked101
Done000
Total74579

Merged error: 13.4b

Counts
79 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.1b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
21×add-sqr-sqrt add-cube-cbrt times-frac
10×associate-*r/
add-exp-log add-cbrt-cube
pow1 associate-/r*
associate-/l* add-log-exp
flip3-- associate--l+ frac-sub flip-- associate-/l/ distribute-lft-out
sub-neg
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in sqrt-pow1 flip3-+ sqrt-div div-exp clear-num associate-/r/ flip-+ div-inv
pow1/2 diff-log div-sub pow-prod-down sqrt-prod
Counts
4 → 96
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
11.0ms
(/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
8.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series58.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ 1.0 (hypot 1.0 x))
13.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
32.0ms
(/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify52.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04501238
117121158
250011154

prune291.0ms

Filtered
78 candidates to 108 candidates (-38.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1062108
Fresh314
Picked101
Done000
Total1103113

Merged error: 13.4b

Counts
113 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.1b
(/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.1b
(- (/ (* 1.0 (- 1.0 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) (/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
13×add-exp-log add-cbrt-cube
12×*-un-lft-identity
10×pow1
add-sqr-sqrt
add-cube-cbrt associate-/r/ add-log-exp
flip3-+ associate-*r/ flip-+
cbrt-undiv sqrt-pow1 times-frac sqrt-div div-exp associate-/r*
distribute-rgt-out-- div-inv
pow1/2 pow-prod-down prod-exp sqrt-prod cbrt-unprod distribute-lft-out
sub-neg flip3-- frac-2neg diff-log clear-num frac-sub flip-- associate-/l/ associate-/l* distribute-lft-out-- sub-div difference-of-squares
Counts
4 → 73
Calls
4 calls:
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
8.0ms
(/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
17.0ms
(- (/ (* 1.0 (- 1.0 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) (/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))

series123.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
13.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
33.0ms
(/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
64.0ms
(- (/ (* 1.0 (- 1.0 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) (/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))

simplify48.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04001251
116341129
250011102

prune289.0ms

Filtered
61 candidates to 85 candidates (-39.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New81485
Fresh202
Picked101
Done000
Total84488

Merged error: 13.2b

Counts
88 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
0.1b
(/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.1b
(/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
1.1b
(- (sqrt (/ (* 1.0 (- 1.0 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))) (sqrt (/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
22×add-exp-log sqrt-prod add-cbrt-cube
19×add-sqr-sqrt
12×times-frac
10×add-cube-cbrt associate-/r/
cbrt-undiv div-exp associate-/r*
add-log-exp
pow1 flip3-+ sqrt-div flip-+ div-inv distribute-lft-out
prod-exp cbrt-unprod difference-of-squares
distribute-rgt-out--
frac-2neg associate-*r/ clear-num associate-/l/ associate-/l* distribute-lft-out--
sub-neg rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log frac-sub flip-- sub-div
Counts
4 → 100
Calls
4 calls:
7.0ms
(sqrt (/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
8.0ms
(/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
10.0ms
(/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
20.0ms
(- (sqrt (/ (* 1.0 (- 1.0 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))) (sqrt (/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))

series184.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(sqrt (/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
34.0ms
(/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
31.0ms
(/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
78.0ms
(- (sqrt (/ (* 1.0 (- 1.0 0.5)) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))) (sqrt (/ (* 0.5 (/ 1.0 (hypot 1.0 x))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))))

simplify51.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03742043
114851812
250011811

prune708.0ms

Filtered
76 candidates to 112 candidates (-47.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1102112
Fresh123
Picked101
Done000
Total1124116

Merged error: 13.2b

Counts
116 → 4

regimes149.0ms

Accuracy

0% (0.3b remaining)

Error of 15.2b against oracle of 14.9b and baseline of 15.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02847
12847

end0.0ms

sample1.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
622.0ms2827×body1280valid
159.0ms4061×body80valid
111.0ms646×body640valid
38.0ms310×body320valid
12.0ms156×body160valid

Profiling

Loading profile data...