Details

Time bar (total: 2.8s)

sample38.0ms

Algorithm
intervals
Results
22.0ms443×body80valid

simplify283.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (6.0ms)

IterNodesCost
0146
1294
2504
3703
4823
51253
62293
73213
83363
94363
107903
1134923
1250013

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.1b
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
13×add-log-exp
sum-log
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate-+l+
Counts
2 → 33
Calls
2 calls:
6.0ms
(+ (* x x) (* y y))
9.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series61.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(+ (* x x) (* y y))
35.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify102.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0196257
1953206
23765190
35001186

prune81.0ms

Filtered
39 candidates to 30 candidates (76.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New33639
Fresh101
Picked101
Done000
Total35641

Merged error: 0.0b

Counts
41 → 6

localize6.0ms

Local error

Found 1 expressions with local error:

0.1b
(+ (+ (fma x x (* y y)) (* y y)) (* y y))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
fma-def sum-log
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
Counts
1 → 18
Calls
1 calls:
5.0ms
(+ (+ (fma x x (* y y)) (* y y)) (* y y))

series50.0ms

Counts
1 → 3
Calls
1 calls:
50.0ms
(+ (+ (fma x x (* y y)) (* y y)) (* y y))

simplify66.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0115156
1525127
22218115
35001112

prune52.0ms

Filtered
21 candidates to 17 candidates (81.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New17421
Fresh415
Picked011
Done000
Total21627

Merged error: 0.0b

Counts
27 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.2b
(fma (sqrt (+ (fma x x (* y y)) (* y y))) (sqrt (+ (fma x x (* y y)) (* y y))) (* y y))
7.7b
(sqrt (+ (fma x x (* y y)) (* y y)))
7.7b
(sqrt (+ (fma x x (* y y)) (* y y)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+ hypot-def
fma-udef
Counts
3 → 46
Calls
3 calls:
1.0ms
(fma (sqrt (+ (fma x x (* y y)) (* y y))) (sqrt (+ (fma x x (* y y)) (* y y))) (* y y))
5.0ms
(sqrt (+ (fma x x (* y y)) (* y y)))
3.0ms
(sqrt (+ (fma x x (* y y)) (* y y)))

series283.0ms

Counts
3 → 9
Calls
3 calls:
157.0ms
(fma (sqrt (+ (fma x x (* y y)) (* y y))) (sqrt (+ (fma x x (* y y)) (* y y))) (* y y))
64.0ms
(sqrt (+ (fma x x (* y y)) (* y y)))
62.0ms
(sqrt (+ (fma x x (* y y)) (* y y)))

simplify46.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0124447
1409374
21303373
35001363

prune153.0ms

Filtered
55 candidates to 49 candidates (89.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New51455
Fresh224
Picked011
Done011
Total53861

Merged error: 0.0b

Counts
61 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot (* (sqrt 2) y) x)
0.2b
(fma (sqrt (+ (fma x x (* y y)) (* y y))) (* 1 (hypot (* (sqrt 2) y) x)) (* y y))
0.5b
(* (sqrt 2) y)
7.7b
(sqrt (+ (fma x x (* y y)) (* y y)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log associate-*l* add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r*
sqrt-div unswap-sqr
rem-sqrt-square hypot-udef sqrt-pow1 flip3-+ pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ fma-udef hypot-def
Counts
4 → 62
Calls
4 calls:
1.0ms
(hypot (* (sqrt 2) y) x)
1.0ms
(fma (sqrt (+ (fma x x (* y y)) (* y y))) (* 1 (hypot (* (sqrt 2) y) x)) (* y y))
5.0ms
(* (sqrt 2) y)
3.0ms
(sqrt (+ (fma x x (* y y)) (* y y)))

series541.0ms

Counts
4 → 12
Calls
4 calls:
130.0ms
(hypot (* (sqrt 2) y) x)
307.0ms
(fma (sqrt (+ (fma x x (* y y)) (* y y))) (* 1 (hypot (* (sqrt 2) y) x)) (* y y))
42.0ms
(* (sqrt 2) y)
62.0ms
(sqrt (+ (fma x x (* y y)) (* y y)))

simplify37.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0214455
1812402
25001401

prune199.0ms

Filtered
74 candidates to 59 candidates (79.7%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New73174
Fresh145
Picked011
Done022
Total74882

Merged error: 0.0b

Counts
82 → 8

regimes90.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
086
186

end0.0ms

sample643.0ms

Algorithm
intervals
Results
414.0ms14283×body80valid