Details

Time bar (total: 8.4s)

sample41.0ms

Algorithm
intervals
Results
22.0ms104×body1280valid
5.0ms116×body80valid
4.0ms22×body640valid
1.0msbody320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1266
2336
3356
4416
5446
6446

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.8b

Counts
2 → 1

localize11.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 (hypot 1.0 x)))
1.5b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
23×add-sqr-sqrt
21×add-cube-cbrt
12×prod-diff
times-frac
add-log-exp
pow1
add-exp-log add-cbrt-cube
expm1-log1p-u sqrt-prod log1p-expm1-u
fma-def fma-neg 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 flip-- div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 92
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series812.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ 1.0 (hypot 1.0 x))
269.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
99.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
342.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify59.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05331129
12036878
25001876

prune249.0ms

Filtered
104 candidates to 84 candidates (80.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1004104
Fresh000
Picked101
Done000
Total1014105

Merged error: 16.2b

Counts
105 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
10×add-log-exp
fma-def
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
fma-udef
Counts
4 → 61
Calls
4 calls:
3.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series677.0ms

Counts
4 → 12
Calls
4 calls:
320.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
103.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
102.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
152.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0412549
11441494
25001493

prune240.0ms

Filtered
73 candidates to 67 candidates (91.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New71273
Fresh213
Picked101
Done000
Total74377

Merged error: 0.2b

Counts
77 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
1.0b
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
1.1b
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt add-log-exp
fma-def
pow1
add-exp-log expm1-log1p-u log-prod log-pow add-cbrt-cube log1p-expm1-u
exp-prod
+-commutative flip3-+ sum-log flip-+ fma-udef distribute-lft-out
rem-log-exp exp-sum
Counts
4 → 62
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
2.0ms
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
1.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

series523.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
104.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
155.0ms
(log (exp (fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))))
154.0ms
(fma (- 0.5) (+ 1.0 (/ 1.0 (hypot 1.0 x))) (* 1.0 1.0))

simplify107.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0263531
1822468
23994468
35001460

prune244.0ms

Filtered
74 candidates to 67 candidates (90.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New74074
Fresh022
Picked011
Done000
Total74377

Merged error: 0.2b

Counts
77 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (+ (sqrt 1.0) (sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) (- (sqrt 1.0) (sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
0.4b
(sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
0.4b
(sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
1.5b
(- (sqrt 1.0) (sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
180×sqrt-prod
126×prod-diff
108×add-sqr-sqrt
100×*-un-lft-identity
88×add-cube-cbrt
44×distribute-rgt-in distribute-lft-in
14×pow1
12×sqrt-pow1
associate-*r*
sqrt-div difference-of-squares
add-exp-log fma-neg associate-*r/ add-cbrt-cube add-log-exp
flip3-+ associate-*l* flip-+
expm1-log1p-u frac-times flip3-- pow1/2 flip-- log1p-expm1-u distribute-lft-out--
sub-neg pow-prod-down
rem-sqrt-square associate-*l/ distribute-lft-out
diff-log prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 234
Calls
4 calls:
18.0ms
(* (+ (sqrt 1.0) (sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) (- (sqrt 1.0) (sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
8.0ms
(sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
11.0ms
(sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
7.0ms
(- (sqrt 1.0) (sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))

series3.2s

Counts
4 → 12
Calls
4 calls:
1.5s
(* (+ (sqrt 1.0) (sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) (- (sqrt 1.0) (sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
503.0ms
(sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
489.0ms
(sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
633.0ms
(- (sqrt 1.0) (sqrt (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))

simplify149.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
09978787
143856187
250016171

prune482.0ms

Filtered
246 candidates to 126 candidates (51.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2460246
Fresh011
Picked011
Done011
Total2463249

Merged error: 0.2b

Counts
249 → 3

regimes198.0ms

Accuracy

100% (0.0b remaining)

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

bsearch151.0ms

Steps
ItersRangePoint
7
1.578317661697433e-06
0.0002141056345597589
0.00013624945209359787
11
-4.816760182774211e+16
-0.0014803844373699059
-0.002831278663826302

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05036
15036

end0.0ms

sample1.1s

Algorithm
intervals
Results
635.0ms2845×body1280valid
164.0ms4046×body80valid
110.0ms625×body640valid
38.0ms314×body320valid
13.0ms170×body160valid