Details

Time bar (total: 3.4s)

sample24.0ms

Algorithm
intervals
Results
11.0ms497×body80valid

simplify312.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (10.0ms)

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

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize6.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))

series48.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
03359
18452
226752
3108952
4500252

prune31.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite174.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
sum-log
fma-def
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
2 → 37
Calls
2 calls:
37.0ms
(+ (+ (* x x) (* y y)) (* y y))
136.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series92.0ms

Counts
2 → 6
Calls
2 calls:
49.0ms
(+ (+ (* x x) (* y y)) (* y y))
43.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify127.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
0178305
1842249
24026226
35001221

prune117.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* y y))
0.1b
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
8.3b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
8.3b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

rewrite109.0ms

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

series300.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (+ (* x x) (* y y)) (* y y))
148.0ms
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
54.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
60.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

simplify102.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0175645
1742534
23044495
35001493

prune274.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2) y)
0.5b
(* (sqrt 2) y)
8.3b
(sqrt (* (hypot x (* (sqrt 2) y)) (hypot x (* (sqrt 2) y))))
8.3b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
17×pow1
12×associate-*l* sqrt-prod
11×add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
sqrt-pow1
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down
rem-sqrt-square pow1/2 sqrt-div prod-exp *-commutative cbrt-unprod
pow2 flip3-+ pow-plus pow-sqr pow-prod-up flip-+ hypot-def
Counts
4 → 84
Calls
4 calls:
11.0ms
(* (sqrt 2) y)
10.0ms
(* (sqrt 2) y)
5.0ms
(sqrt (* (hypot x (* (sqrt 2) y)) (hypot x (* (sqrt 2) y))))
40.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

series301.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (sqrt 2) y)
54.0ms
(* (sqrt 2) y)
139.0ms
(sqrt (* (hypot x (* (sqrt 2) y)) (hypot x (* (sqrt 2) y))))
65.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

simplify130.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0174443
1572420
23320376
35001376

prune333.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes146.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
063

end0.0ms

sample613.0ms

Algorithm
intervals
Results
323.0ms14127×body80valid