Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 5 |
| 33.3% | 25% | 50% | 0.1% | 25% | 0% | 0% | 6 |
| 44.4% | 25% | 31.2% | 0.1% | 43.7% | 0% | 0% | 7 |
| 55.6% | 31.2% | 25% | 0.1% | 43.7% | 0% | 0% | 8 |
| 69.4% | 39% | 17.2% | 0.1% | 43.7% | 0% | 0% | 9 |
| 76.4% | 42.9% | 13.3% | 0.1% | 43.7% | 0% | 0% | 10 |
| 84% | 47.2% | 9% | 0.1% | 43.7% | 0% | 0% | 11 |
| 87.8% | 49.4% | 6.8% | 0.1% | 43.7% | 0% | 0% | 12 |
Compiled 10 to 6 computations (40% saved)
| 846.0ms | 8256× | body | 256 | valid |
| 0.0ms | 5× | body | 256 | infinite |
| 2× | egg-herbie |
| 4× | fma-def |
| 2× | swap-x-y |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 30 |
| 1 | 11 | 30 |
| 0 | 2 | 2 |
| 1 | 2 | 2 |
| 1× | unsound |
| 1× | saturated |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
0 |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(fma.f64 x x (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 x x (*.f64 y y)) |
(sort x y)
Compiled 11 to 7 computations (36.4% saved)
| 1× | egg-herbie |
| 4× | fma-def |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 1 | 10 | 15 |
| 2 | 11 | 15 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
(fma.f64 x x (*.f64 y y)) |
Compiled 15 to 6 computations (60% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (fma.f64 x x (*.f64 y y)) |
| ▶ | 0.0b | (+.f64 (*.f64 x x) (*.f64 y y)) |
Compiled 17 to 9 computations (47.1% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 x x) (*.f64 y y)) |
Compiled 17 to 5 computations (70.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | y | @ | 0 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | x | @ | inf | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | y | @ | inf | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0ms | y | @ | -inf | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 1534× | add-sqr-sqrt |
| 1514× | *-un-lft-identity |
| 1414× | add-cube-cbrt |
| 1402× | add-cbrt-cube |
| 1392× | add-exp-log |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 1 | 150 | 13 |
| 2 | 2020 | 13 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 (*.f64 x x) (*.f64 y y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (*.f64 x x) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x y) (hypot.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) (cbrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 2)) (cbrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 (pow.f64 x 4) (pow.f64 y 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))) (+.f64 (pow.f64 x 6) (pow.f64 y 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x y) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (*.f64 x x) (*.f64 y y))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (*.f64 x x) (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y y (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x x) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 y y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 y y)))))) |
| 1× | egg-herbie |
| 1006× | associate-*r* |
| 938× | associate-+r+ |
| 918× | associate-*r/ |
| 820× | associate-*l* |
| 730× | associate-+l+ |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 93 | 1358 |
| 1 | 230 | 1328 |
| 2 | 890 | 1246 |
| 3 | 4366 | 1246 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(-.f64 (+.f64 1 (+.f64 (*.f64 x x) (*.f64 y y))) 1) |
(-.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x x) (*.f64 y y)))) |
(*.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 1) |
(*.f64 1 (+.f64 (*.f64 x x) (*.f64 y y))) |
(*.f64 (hypot.f64 x y) (hypot.f64 x y)) |
(*.f64 (cbrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) (cbrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 2))) |
(*.f64 (cbrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 2)) (cbrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(*.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x x) (*.f64 y y)))) |
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))))) |
(/.f64 1 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 (pow.f64 x 4) (pow.f64 y 4)))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))) (+.f64 (pow.f64 x 6) (pow.f64 y 6)))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)))) |
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x x) (*.f64 y y)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))))) |
(pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 1) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 (cbrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) 3) |
(pow.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 3) 1/3) |
(sqrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 2)) |
(log.f64 (exp.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(cbrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 3)) |
(expm1.f64 (log1p.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(exp.f64 (log.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(exp.f64 (*.f64 (log.f64 (+.f64 (*.f64 x x) (*.f64 y y))) 1)) |
(log1p.f64 (expm1.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(fma.f64 x x (*.f64 y y)) |
(fma.f64 y y (*.f64 x x)) |
(fma.f64 1 (*.f64 x x) (*.f64 y y)) |
(fma.f64 1 (*.f64 y y) (*.f64 x x)) |
(fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x x)) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 y y)) |
| Outputs |
|---|
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(-.f64 (+.f64 1 (+.f64 (*.f64 x x) (*.f64 y y))) 1) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(-.f64 (/.f64 (pow.f64 x 4) (-.f64 (*.f64 x x) (*.f64 y y))) (/.f64 (pow.f64 y 4) (-.f64 (*.f64 x x) (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x))) |
(*.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 1) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(*.f64 1 (+.f64 (*.f64 x x) (*.f64 y y))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(*.f64 (hypot.f64 x y) (hypot.f64 x y)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(*.f64 (cbrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) (cbrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 2))) |
(*.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) (cbrt.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 2))) |
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 2))) |
(*.f64 (cbrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 2)) (cbrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(*.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) (cbrt.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 2))) |
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 y x) 2)) (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 y x) 2) 2))) |
(*.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (/.f64 1 (-.f64 (*.f64 x x) (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x))) |
(*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (/.f64 1 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 1 (/.f64 (-.f64 (*.f64 x x) (*.f64 y y)) (-.f64 (pow.f64 x 4) (pow.f64 y 4)))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x))) |
(/.f64 1 (/.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))) (+.f64 (pow.f64 x 6) (pow.f64 y 6)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 x y) 2)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4))) (neg.f64 (-.f64 (*.f64 x x) (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6))) (neg.f64 (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 x y) 2))))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) 1) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (pow.f64 (*.f64 y x) 2)))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (pow.f64 (*.f64 y x) 2)))) |
(pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 1) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 (hypot.f64 x y) 2) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 (cbrt.f64 (+.f64 (*.f64 x x) (*.f64 y y))) 3) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 3) 1/3) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(sqrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(log.f64 (exp.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(cbrt.f64 (pow.f64 (+.f64 (*.f64 x x) (*.f64 y y)) 3)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(expm1.f64 (log1p.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(exp.f64 (log.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(exp.f64 (*.f64 (log.f64 (+.f64 (*.f64 x x) (*.f64 y y))) 1)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(log1p.f64 (expm1.f64 (+.f64 (*.f64 x x) (*.f64 y y)))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(fma.f64 x x (*.f64 y y)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(fma.f64 1 (*.f64 x x) (*.f64 y y)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(fma.f64 1 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(fma.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2) (*.f64 x x)) |
(fma.f64 x x (*.f64 (cbrt.f64 (pow.f64 y 4)) (pow.f64 (cbrt.f64 y) 2))) |
(fma.f64 (cbrt.f64 (pow.f64 x 4)) (cbrt.f64 (*.f64 x x)) (*.f64 y y)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 x x (*.f64 y y)) |
Compiled 13 to 4 computations (69.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | (fma.f64 x x (*.f64 y y)) |
| 0.0ms | x | @ | inf | (fma.f64 x x (*.f64 y y)) |
| 0.0ms | x | @ | 0 | (fma.f64 x x (*.f64 y y)) |
| 0.0ms | y | @ | 0 | (fma.f64 x x (*.f64 y y)) |
| 0.0ms | y | @ | inf | (fma.f64 x x (*.f64 y y)) |
| 1× | batch-egg-rewrite |
| 1254× | add-sqr-sqrt |
| 1242× | *-un-lft-identity |
| 1144× | add-cube-cbrt |
| 1132× | add-cbrt-cube |
| 1120× | add-exp-log |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 1 | 137 | 13 |
| 2 | 1607 | 13 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 x x (*.f64 y y)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x x (*.f64 y y))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x x (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x x (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x y) (hypot.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) 2) (cbrt.f64 (fma.f64 x x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 y y) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (pow.f64 y 4) (*.f64 (*.f64 x x) (*.f64 y y)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x x (*.f64 y y)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x y) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x x (*.f64 y y))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x x (*.f64 y y)))))))) |
| 1× | egg-herbie |
| 1306× | associate-/l* |
| 946× | associate-*r* |
| 782× | associate-*l* |
| 778× | associate-+r+ |
| 682× | associate-+l+ |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 59 | 739 |
| 1 | 158 | 707 |
| 2 | 686 | 629 |
| 3 | 3074 | 605 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 y y)) |
(-.f64 (+.f64 1 (fma.f64 x x (*.f64 y y))) 1) |
(*.f64 (fma.f64 x x (*.f64 y y)) 1) |
(*.f64 1 (fma.f64 x x (*.f64 y y))) |
(*.f64 (hypot.f64 x y) (hypot.f64 x y)) |
(*.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) 2) (cbrt.f64 (fma.f64 x x (*.f64 y y)))) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 y y) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (pow.f64 y 4) (*.f64 (*.f64 x x) (*.f64 y y))))) |
(pow.f64 (fma.f64 x x (*.f64 y y)) 1) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) 3) |
(pow.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) 3) 1/3) |
(sqrt.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) 2)) |
(log.f64 (exp.f64 (fma.f64 x x (*.f64 y y)))) |
(cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) 3)) |
(expm1.f64 (log1p.f64 (fma.f64 x x (*.f64 y y)))) |
(exp.f64 (log.f64 (fma.f64 x x (*.f64 y y)))) |
(log1p.f64 (expm1.f64 (fma.f64 x x (*.f64 y y)))) |
| Outputs |
|---|
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 y y)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(-.f64 (+.f64 1 (fma.f64 x x (*.f64 y y))) 1) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(*.f64 (fma.f64 x x (*.f64 y y)) 1) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(*.f64 1 (fma.f64 x x (*.f64 y y))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(*.f64 (hypot.f64 x y) (hypot.f64 x y)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(*.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) 2) (cbrt.f64 (fma.f64 x x (*.f64 y y)))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (pow.f64 y 4)) (-.f64 (*.f64 x x) (*.f64 y y))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (*.f64 (+.f64 y x) (-.f64 x y))) |
(/.f64 (-.f64 (pow.f64 x 4) (pow.f64 y 4)) (fma.f64 y (neg.f64 y) (*.f64 x x))) |
(/.f64 (pow.f64 (hypot.f64 y x) 2) 1) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 y y) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (pow.f64 y 4) (*.f64 (*.f64 x x) (*.f64 y y))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 y y) 3)) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (pow.f64 y 4) (*.f64 (*.f64 x y) (*.f64 x y))))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (+.f64 (pow.f64 x 4) (-.f64 (pow.f64 y 4) (*.f64 y (*.f64 y (*.f64 x x)))))) |
(/.f64 (+.f64 (pow.f64 x 6) (pow.f64 y 6)) (fma.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x)) (pow.f64 x 4))) |
(pow.f64 (fma.f64 x x (*.f64 y y)) 1) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 (hypot.f64 x y) 2) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 (cbrt.f64 (fma.f64 x x (*.f64 y y))) 3) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) 3) 1/3) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(sqrt.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) 2)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(log.f64 (exp.f64 (fma.f64 x x (*.f64 y y)))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(cbrt.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) 3)) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(expm1.f64 (log1p.f64 (fma.f64 x x (*.f64 y y)))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(exp.f64 (log.f64 (fma.f64 x x (*.f64 y y)))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
(log1p.f64 (expm1.f64 (fma.f64 x x (*.f64 y y)))) |
(fma.f64 y y (*.f64 x x)) |
(pow.f64 (hypot.f64 y x) 2) |
Compiled 957 to 400 computations (58.2% saved)
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 78 | 3 | 81 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 78 | 5 | 83 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (fma.f64 y y (*.f64 x x)) |
| ✓ | 0.0b | (fma.f64 x x (*.f64 y y)) |
| ✓ | 0.0b | (+.f64 (*.f64 x x) (*.f64 y y)) |
| ▶ | 27.0b | (*.f64 y y) |
| ▶ | 28.1b | (*.f64 x x) |
Compiled 35 to 19 computations (45.7% saved)
Compiled 6 to 3 computations (50% saved)
Compiled 6 to 3 computations (50% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 y y (*.f64 x x)) |
Compiled 13 to 4 computations (69.2% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | -inf | (fma.f64 y y (*.f64 x x)) |
| 0.0ms | y | @ | inf | (fma.f64 y y (*.f64 x x)) |
| 0.0ms | y | @ | 0 | (fma.f64 y y (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (fma.f64 y y (*.f64 x x)) |
| 0.0ms | x | @ | inf | (fma.f64 y y (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1254× | add-sqr-sqrt |
| 1242× | *-un-lft-identity |
| 1144× | add-cube-cbrt |
| 1132× | add-cbrt-cube |
| 1120× | add-exp-log |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 1 | 137 | 13 |
| 2 | 1607 | 13 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 y y (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 y y))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 y y) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 y y) 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 y y (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 y y (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 y y (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 y x) (hypot.f64 y x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) 2) (cbrt.f64 (fma.f64 y y (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 y y) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 y y) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 y y (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 y x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 y y (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 y y (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 y y (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 y y (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1306× | associate-/l* |
| 946× | associate-*r* |
| 782× | associate-*l* |
| 778× | associate-+r+ |
| 682× | associate-+l+ |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 59 | 739 |
| 1 | 158 | 707 |
| 2 | 686 | 629 |
| 3 | 3074 | 605 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 y 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(pow.f64 x 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(+.f64 (*.f64 (*.f64 y y) 1) (*.f64 x x)) |
(-.f64 (+.f64 1 (fma.f64 y y (*.f64 x x))) 1) |
(*.f64 (fma.f64 y y (*.f64 x x)) 1) |
(*.f64 1 (fma.f64 y y (*.f64 x x))) |
(*.f64 (hypot.f64 y x) (hypot.f64 y x)) |
(*.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) 2) (cbrt.f64 (fma.f64 y y (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y y) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 y y) (*.f64 x x))))) |
(pow.f64 (fma.f64 y y (*.f64 x x)) 1) |
(pow.f64 (hypot.f64 y x) 2) |
(pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 3) 1/3) |
(sqrt.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 2)) |
(log.f64 (exp.f64 (fma.f64 y y (*.f64 x x)))) |
(cbrt.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (fma.f64 y y (*.f64 x x)))) |
(exp.f64 (log.f64 (fma.f64 y y (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (fma.f64 y y (*.f64 x x)))) |
| Outputs |
|---|
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 y 2) |
(*.f64 y y) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 x 2) |
(*.f64 x x) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (pow.f64 y 2) (pow.f64 x 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(+.f64 (*.f64 (*.f64 y y) 1) (*.f64 x x)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(-.f64 (+.f64 1 (fma.f64 y y (*.f64 x x))) 1) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(*.f64 (fma.f64 y y (*.f64 x x)) 1) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(*.f64 1 (fma.f64 y y (*.f64 x x))) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(*.f64 (hypot.f64 y x) (hypot.f64 y x)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(*.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) (pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) 2) (cbrt.f64 (fma.f64 y y (*.f64 x x)))) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(/.f64 (-.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (pow.f64 x 4)) (-.f64 (*.f64 y y) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (*.f64 (+.f64 x y) (-.f64 y x))) |
(/.f64 (-.f64 (pow.f64 y 4) (pow.f64 x 4)) (fma.f64 x (neg.f64 x) (*.f64 y y))) |
(/.f64 (pow.f64 (hypot.f64 x y) 2) 1) |
(/.f64 (+.f64 (pow.f64 (*.f64 y y) 3) (pow.f64 (*.f64 x x) 3)) (+.f64 (*.f64 (*.f64 y y) (*.f64 y y)) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 y y) (*.f64 x x))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 y y) 3) (pow.f64 (*.f64 x x) 3)) (fma.f64 (*.f64 y y) (*.f64 y y) (-.f64 (pow.f64 x 4) (*.f64 (*.f64 y x) (*.f64 y x))))) |
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (+.f64 (pow.f64 y 4) (-.f64 (pow.f64 x 4) (*.f64 x (*.f64 x (*.f64 y y)))))) |
(/.f64 (+.f64 (pow.f64 y 6) (pow.f64 x 6)) (fma.f64 (*.f64 x x) (-.f64 (*.f64 x x) (*.f64 y y)) (pow.f64 y 4))) |
(pow.f64 (fma.f64 y y (*.f64 x x)) 1) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 (hypot.f64 y x) 2) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 (cbrt.f64 (fma.f64 y y (*.f64 x x))) 3) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(pow.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 3) 1/3) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(sqrt.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 2)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(log.f64 (exp.f64 (fma.f64 y y (*.f64 x x)))) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(cbrt.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) 3)) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(expm1.f64 (log1p.f64 (fma.f64 y y (*.f64 x x)))) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(exp.f64 (log.f64 (fma.f64 y y (*.f64 x x)))) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
(log1p.f64 (expm1.f64 (fma.f64 y y (*.f64 x x)))) |
(fma.f64 x x (*.f64 y y)) |
(pow.f64 (hypot.f64 x y) 2) |
Compiled 366 to 138 computations (62.3% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 34 | 0 | 34 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 34 | 5 | 39 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 y y (*.f64 x x)) |
| ✓ | 0.0b | (fma.f64 x x (*.f64 y y)) |
| ✓ | 0.0b | (+.f64 (*.f64 x x) (*.f64 y y)) |
| ✓ | 27.0b | (*.f64 y y) |
| ✓ | 28.1b | (*.f64 x x) |
Compiled 35 to 19 computations (45.7% saved)
| Inputs |
|---|
(*.f64 x x) |
(*.f64 y y) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(fma.f64 x x (*.f64 y y)) |
(fma.f64 y y (*.f64 x x)) |
| Outputs |
|---|
(fma.f64 x x (*.f64 y y)) |
5 calls:
| 5.0ms | x |
| 4.0ms | y |
| 4.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 3.0ms | (*.f64 x x) |
| 3.0ms | (*.f64 y y) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0b | 1 | (*.f64 x x) |
| 0.0b | 1 | (*.f64 y y) |
Compiled 52 to 22 computations (57.7% saved)
| Inputs |
|---|
(*.f64 x x) |
(*.f64 y y) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 y y)) |
5 calls:
| 4.0ms | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 3.0ms | x |
| 3.0ms | y |
| 3.0ms | (*.f64 y y) |
| 2.0ms | (*.f64 x x) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | y |
| 0.0b | 1 | (+.f64 (*.f64 x x) (*.f64 y y)) |
| 0.0b | 1 | (*.f64 x x) |
| 0.0b | 1 | (*.f64 y y) |
Compiled 40 to 20 computations (50% saved)
Total -48.7b remaining (-829%)
Threshold costs -48.7b (-829%)
| Inputs |
|---|
(*.f64 x x) |
(*.f64 y y) |
| Outputs |
|---|
(*.f64 x x) |
(*.f64 y y) |
4 calls:
| 25.0ms | (*.f64 y y) |
| 8.0ms | (*.f64 x x) |
| 6.0ms | x |
| 6.0ms | y |
| Error | Segments | Branch |
|---|---|---|
| 5.9b | 2 | x |
| 7.2b | 2 | y |
| 8.8b | 4 | (*.f64 x x) |
| 10.5b | 8 | (*.f64 y y) |
Compiled 24 to 14 computations (41.7% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 7.0ms | -4.374489000461262e-115 | -1.7439331164282643e-115 |
| 7.0ms | 80× | body | 256 | valid |
Compiled 74 to 49 computations (33.8% saved)
| 1× | egg-herbie |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 64 |
| 1 | 16 | 64 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 x x (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(if (<=.f64 x -6210780114830625/22181357552966518876627313473144669627491496603006532601363836644916970462445004984319795248833116624779129687691228574631793262592) (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
| Outputs |
|---|
(fma.f64 x x (*.f64 y y)) |
(+.f64 (*.f64 x x) (*.f64 y y)) |
(+.f64 (*.f64 y y) (*.f64 x x)) |
(if (<=.f64 x -6210780114830625/22181357552966518876627313473144669627491496603006532601363836644916970462445004984319795248833116624779129687691228574631793262592) (*.f64 x x) (*.f64 y y)) |
(*.f64 x x) |
Compiled 34 to 19 computations (44.1% saved)
| 1× | egg-herbie |
| 4× | fma-def |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 1 | 10 | 15 |
| 2 | 11 | 15 |
| 1× | saturated |
Compiled 15 to 6 computations (60% saved)
(sort x y)
Compiled 44 to 17 computations (61.4% saved)
Loading profile data...