Details

Time bar (total: 2.9s)

sample42.0ms

Algorithm
intervals
Results
31.0ms480×body80valid

simplify286.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

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

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma 3 (* y y) (* x x))

series33.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03359
18452
226752
3108952
4500252

prune31.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×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
3 → 51
Calls
3 calls:
13.0ms
(+ (+ (* x x) (* y y)) (* y y))
3.0ms
(+ (* x x) (* y y))
55.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series100.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (+ (* x x) (* y y)) (* y y))
31.0ms
(+ (* x x) (* y y))
35.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify138.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
0237373
11141313
24748287
35001286

prune130.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.2b
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
4.9b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
4.9b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod add-log-exp
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
flip3-+ flip-+
rem-sqrt-square sqrt-pow1 pow1/2 hypot-def
+-commutative fma-def sum-log fma-udef
Counts
4 → 60
Calls
4 calls:
3.0ms
(+ (* x x) (* y y))
0.0ms
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
14.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
14.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

series261.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* x x) (* y y))
132.0ms
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
49.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
53.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

simplify83.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0200583
1838494
22618468
35001441

prune206.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (pow y 2) 3 (pow x 2))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma (pow y 2) 3 (pow x 2))

series35.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(fma (pow y 2) 3 (pow x 2))

simplify52.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02959
17852
226052
3109552
4500252

prune28.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes150.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
073

end0.0ms

sample1.1s

Algorithm
intervals
Results
887.0ms14402×body80valid