Time bar (total: 1.6s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 99.9% | 0.1% | 0 |
| 0% | 99.9% | 0.1% | 1 |
| 0% | 99.9% | 0.1% | 2 |
| 0% | 99.9% | 0.1% | 3 |
| 0% | 99.9% | 0.1% | 4 |
| 25% | 74.9% | 0.1% | 5 |
| 25% | 50% | 25.1% | 6 |
| 25% | 31.2% | 43.8% | 7 |
| 25% | 21.9% | 53.2% | 8 |
| 25% | 14% | 61% | 9 |
| 28.1% | 10.9% | 61% | 10 |
| 31.6% | 7.4% | 61% | 11 |
| 33.4% | 5.7% | 61% | 12 |
| 35.2% | 3.8% | 61% | 13 |
| 36.1% | 2.9% | 61% | 14 |
Compiled 20 to 13 computations (35% saved)
| 966.0ms | 8256× | body | 128 | valid |
| 0.0ms | 4× | body | 128 | invalid |
Compiled 40 to 26 computations (35% saved)
| 2× | egg-herbie |
| 931× | fma-def_binary64 |
| 495× | fma-neg_binary64 |
| 420× | associate-+l+_binary64 |
| 334× | associate-+r+_binary64 |
| 241× | cancel-sign-sub-inv_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 46 |
| 1 | 48 | 42 |
| 2 | 99 | 42 |
| 3 | 288 | 42 |
| 4 | 1136 | 34 |
| 5 | 3734 | 34 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1) |
| Outputs |
|---|
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(+.f64 (+.f64 (*.f64 (*.f64 b b) 4) (pow.f64 (fma.f64 b b (*.f64 a a)) 2)) -1) |
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 (*.f64 b b) 4 -1)) |
(+.f64 (fma.f64 b (*.f64 b 4) (pow.f64 (fma.f64 a a (*.f64 b b)) 2)) -1) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1)) |
(+.f64 (fma.f64 b (*.f64 b 4) (pow.f64 (hypot.f64 a b) 4)) -1) |
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (*.f64 a a))) 1) |
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (-.f64 (*.f64 (*.f64 4 a) a) 1)) |
(+.f64 (pow.f64 (fma.f64 b b (*.f64 a a)) 2) (fma.f64 (*.f64 a a) 4 -1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 a (*.f64 a 4) -1)) |
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 a (*.f64 a 4) -1)) |
Compiled 19 to 12 computations (36.8% saved)
| 1× | egg-herbie |
| 612× | fma-def_binary64 |
| 603× | associate-*l*_binary64 |
| 311× | fma-neg_binary64 |
| 233× | associate-+l+_binary64 |
| 216× | cancel-sign-sub-inv_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 23 |
| 1 | 30 | 21 |
| 2 | 64 | 21 |
| 3 | 193 | 21 |
| 4 | 779 | 17 |
| 5 | 2634 | 17 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
| Outputs |
|---|
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (-.f64 (*.f64 (*.f64 b b) 4) 1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 (*.f64 b b) 4 -1)) |
(+.f64 (pow.f64 (fma.f64 a a (*.f64 b b)) 2) (fma.f64 b (*.f64 b 4) -1)) |
(fma.f64 (hypot.f64 a b) (pow.f64 (hypot.f64 a b) 3) (fma.f64 b (*.f64 b 4) -1)) |
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
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 | (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)) |
| 0.2b | (-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1) |
Compiled 97 to 64 computations (34% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (pow.f64 (hypot.f64 a b) 4) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | a | @ | 0 | (pow.f64 (hypot.f64 a b) 4) |
| 2.0ms | b | @ | 0 | (pow.f64 (hypot.f64 a b) 4) |
| 2.0ms | b | @ | -inf | (pow.f64 (hypot.f64 a b) 4) |
| 1.0ms | a | @ | inf | (pow.f64 (hypot.f64 a b) 4) |
| 1.0ms | b | @ | inf | (pow.f64 (hypot.f64 a b) 4) |
| 1× | batch-egg-rewrite |
| 513× | pow1_binary64 |
| 473× | add-log-exp_binary64 |
| 473× | log1p-expm1-u_binary64 |
| 473× | expm1-log1p-u_binary64 |
| 461× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 125 | 7 |
| 2 | 1353 | 7 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (hypot.f64 a b) 4) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (hypot.f64 a b) 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 a b) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 a b) 2) (pow.f64 (hypot.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 8)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 8)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 a b)) 2) 4) (pow.f64 (cbrt.f64 (hypot.f64 a b)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4) (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 a b) 8))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 4 (log.f64 (hypot.f64 a b)))))))) |
| 1× | egg-herbie |
| 759× | fma-def_binary64 |
| 544× | associate-+l+_binary64 |
| 495× | associate-*l*_binary64 |
| 492× | associate-*r*_binary64 |
| 209× | associate-/r*_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 101 | 746 |
| 1 | 323 | 659 |
| 2 | 1233 | 545 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 b 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 -1 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (*.f64 1/16 (/.f64 1 (pow.f64 b 6))))) (*.f64 5/64 (/.f64 1 (pow.f64 b 6)))) (*.f64 (pow.f64 a 8) (pow.f64 b 2)))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) |
(pow.f64 a 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))) |
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 b 4)) (*.f64 1/4 (pow.f64 b 4))) (pow.f64 b 2)) (pow.f64 a 2)))))))))) |
(pow.f64 a 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))) |
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 b 4)) (*.f64 1/4 (pow.f64 b 4))) (pow.f64 b 2)) (pow.f64 a 2)))))))))) |
(pow.f64 a 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4)) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (*.f64 (pow.f64 b 8) (+.f64 (*.f64 -1 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 a 6))) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2))) (*.f64 5/64 (/.f64 1 (pow.f64 a 6))))))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) |
(pow.f64 b 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)) |
(+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))) |
(+.f64 (*.f64 1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 a 2)) (pow.f64 b 2)))))))))) |
(pow.f64 b 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)) |
(+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))) |
(+.f64 (*.f64 1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 a 2)) (pow.f64 b 2)))))))))) |
| Outputs |
|---|
(pow.f64 b 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)) |
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) |
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 b 4)) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) |
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) |
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 2 (*.f64 (+.f64 (*.f64 -1 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (*.f64 1/16 (/.f64 1 (pow.f64 b 6))))) (*.f64 5/64 (/.f64 1 (pow.f64 b 6)))) (*.f64 (pow.f64 a 8) (pow.f64 b 2)))) (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) |
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 2 (*.f64 (fma.f64 -1 (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (/.f64 1/16 (pow.f64 b 6))) (/.f64 5/64 (pow.f64 b 6))) (*.f64 (*.f64 b b) (pow.f64 a 8))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) |
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (fma.f64 2 (*.f64 (*.f64 b b) (*.f64 (-.f64 (/.f64 5/64 (pow.f64 b 6)) (+.f64 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (/.f64 1/16 (pow.f64 b 6)))) (pow.f64 a 8))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) |
(+.f64 (fma.f64 2 (*.f64 (*.f64 b b) (+.f64 (*.f64 a a) (*.f64 (fma.f64 -1 (pow.f64 (/.f64 -1/8 (pow.f64 b 3)) 2) (*.f64 (/.f64 1 (pow.f64 b 6)) 1/64)) (pow.f64 a 8)))) (pow.f64 a 4)) (pow.f64 b 4)) |
(pow.f64 a 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4)) |
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)) |
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))) |
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) |
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 b 4)) (*.f64 1/4 (pow.f64 b 4))) (pow.f64 b 2)) (pow.f64 a 2)))))))))) |
(fma.f64 -1/2 (pow.f64 b 4) (fma.f64 1/2 (pow.f64 b 4) (fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (+.f64 (pow.f64 a 4) (fma.f64 1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (/.f64 (*.f64 2 (*.f64 (*.f64 b b) (*.f64 (pow.f64 b 4) 0))) (*.f64 a a)))))))) |
(+.f64 (fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (+.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) (fma.f64 (/.f64 (pow.f64 b 6) (*.f64 a a)) 1/4 (*.f64 (/.f64 0 (*.f64 a a)) (*.f64 b b))))) 0) |
(fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (fma.f64 (/.f64 (pow.f64 b 6) (*.f64 a a)) 1/4 (pow.f64 a 4)))) |
(pow.f64 a 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4)) |
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)) |
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))))) |
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) |
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) |
(+.f64 (*.f64 -1/2 (pow.f64 b 4)) (+.f64 (*.f64 1/2 (pow.f64 b 4)) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 1/4 (/.f64 (pow.f64 b 6) (pow.f64 a 2))) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 b 4)) (*.f64 1/4 (pow.f64 b 4))) (pow.f64 b 2)) (pow.f64 a 2)))))))))) |
(fma.f64 -1/2 (pow.f64 b 4) (fma.f64 1/2 (pow.f64 b 4) (fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (+.f64 (pow.f64 a 4) (fma.f64 1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (/.f64 (*.f64 2 (*.f64 (*.f64 b b) (*.f64 (pow.f64 b 4) 0))) (*.f64 a a)))))))) |
(+.f64 (fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (+.f64 (+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) (fma.f64 (/.f64 (pow.f64 b 6) (*.f64 a a)) 1/4 (*.f64 (/.f64 0 (*.f64 a a)) (*.f64 b b))))) 0) |
(fma.f64 -1/4 (/.f64 (pow.f64 b 6) (*.f64 a a)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (fma.f64 (/.f64 (pow.f64 b 6) (*.f64 a a)) 1/4 (pow.f64 a 4)))) |
(pow.f64 a 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 a 4)) |
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 a 4)) |
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4)) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) |
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) |
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (*.f64 (pow.f64 b 8) (+.f64 (*.f64 -1 (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 a 6))) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2))) (*.f64 5/64 (/.f64 1 (pow.f64 a 6))))))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) |
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 2 (*.f64 (*.f64 (*.f64 a a) (pow.f64 b 8)) (fma.f64 -1 (+.f64 (/.f64 1/16 (pow.f64 a 6)) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2)) (/.f64 5/64 (pow.f64 a 6)))) (+.f64 (pow.f64 b 4) (pow.f64 a 4)))) |
(+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 (*.f64 2 (*.f64 a a)) (+.f64 (*.f64 b b) (*.f64 (pow.f64 b 8) (-.f64 (/.f64 5/64 (pow.f64 a 6)) (+.f64 (/.f64 1/16 (pow.f64 a 6)) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2))))))) |
(+.f64 (fma.f64 (*.f64 2 (*.f64 a a)) (fma.f64 b b (*.f64 (pow.f64 b 8) (-.f64 (*.f64 (/.f64 1 (pow.f64 a 6)) 1/64) (pow.f64 (/.f64 -1/8 (pow.f64 a 3)) 2)))) (pow.f64 b 4)) (pow.f64 a 4)) |
(pow.f64 b 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)) |
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) |
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 b 4)) |
(+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))) |
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) |
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) |
(+.f64 (*.f64 1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 a 2)) (pow.f64 b 2)))))))))) |
(fma.f64 1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (fma.f64 1/2 (pow.f64 a 4) (fma.f64 -1/2 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 -1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 2 (/.f64 (*.f64 (pow.f64 a 4) 0) (/.f64 (*.f64 b b) (*.f64 a a)))))))))) |
(fma.f64 1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (+.f64 (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (+.f64 (+.f64 (pow.f64 b 4) (/.f64 (/.f64 (*.f64 (pow.f64 a 6) 0) b) b)) (fma.f64 -1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (pow.f64 a 4)))) 0)) |
(fma.f64 1/4 (/.f64 (/.f64 (pow.f64 a 6) b) b) (fma.f64 -1/4 (/.f64 (/.f64 (pow.f64 a 6) b) b) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)))) |
(pow.f64 b 4) |
(+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (pow.f64 b 4)) |
(fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) |
(fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 b 4)) |
(+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))))) |
(+.f64 (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (pow.f64 b 4)) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (pow.f64 a 4))) |
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) |
(+.f64 (*.f64 1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (*.f64 1/2 (pow.f64 a 4)) (+.f64 (*.f64 -1/2 (pow.f64 a 4)) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 -1/4 (/.f64 (pow.f64 a 6) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (pow.f64 b 4) (*.f64 2 (/.f64 (*.f64 (+.f64 (*.f64 -1/4 (pow.f64 a 4)) (*.f64 1/4 (pow.f64 a 4))) (pow.f64 a 2)) (pow.f64 b 2)))))))))) |
(fma.f64 1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (fma.f64 1/2 (pow.f64 a 4) (fma.f64 -1/2 (pow.f64 a 4) (fma.f64 2 (*.f64 (*.f64 a a) (*.f64 b b)) (fma.f64 -1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (+.f64 (+.f64 (pow.f64 b 4) (pow.f64 a 4)) (*.f64 2 (/.f64 (*.f64 (pow.f64 a 4) 0) (/.f64 (*.f64 b b) (*.f64 a a)))))))))) |
(fma.f64 1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (+.f64 (fma.f64 2 (*.f64 b (*.f64 b (*.f64 a a))) (+.f64 (+.f64 (pow.f64 b 4) (/.f64 (/.f64 (*.f64 (pow.f64 a 6) 0) b) b)) (fma.f64 -1/4 (/.f64 (pow.f64 a 6) (*.f64 b b)) (pow.f64 a 4)))) 0)) |
(fma.f64 1/4 (/.f64 (/.f64 (pow.f64 a 6) b) b) (fma.f64 -1/4 (/.f64 (/.f64 (pow.f64 a 6) b) b) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)))) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 32 | 1 | 33 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 34 | 1 | 35 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0b | (+.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1)) |
Compiled 964 to 680 computations (29.5% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (pow.f64 a 4) (pow.f64 b 4)) |
| ✓ | 0.0b | (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) |
| ✓ | 3.4b | (*.f64 (pow.f64 a 2) (pow.f64 b 2)) |
18 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | b | @ | inf | (*.f64 (pow.f64 a 2) (pow.f64 b 2)) |
| 1.0ms | a | @ | 0 | (*.f64 (pow.f64 a 2) (pow.f64 b 2)) |
| 1.0ms | a | @ | -inf | (+.f64 (pow.f64 a 4) (pow.f64 b 4)) |
| 1.0ms | a | @ | inf | (+.f64 (pow.f64 a 4) (pow.f64 b 4)) |
| 1.0ms | b | @ | inf | (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) |
| 1× | batch-egg-rewrite |
| 809× | prod-diff_binary64 |
| 195× | expm1-udef_binary64 |
| 195× | log1p-udef_binary64 |
| 123× | pow1_binary64 |
| 122× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 27 |
| 1 | 263 | 27 |
| 2 | 3091 | 27 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (pow.f64 a 2) (pow.f64 b 2)) |
(*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) |
(+.f64 (pow.f64 a 4) (pow.f64 b 4)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 a b) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (*.f64 a b) 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 a b) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 a b) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 a b) 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 a 6) (pow.f64 b 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 b 6) (pow.f64 a 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (*.f64 a b))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (*.f64 a b))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 a b)) 2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (*.f64 a b) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (pow.f64 (*.f64 a b) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 2 (pow.f64 (*.f64 a b) 2))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 a 8) (-.f64 (pow.f64 a 4) (pow.f64 b 4))) (/.f64 (pow.f64 b 8) (-.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (pow.f64 (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 2) (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 (*.f64 a a) (*.f64 b b)) (hypot.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 a 12) (pow.f64 b 12)) (/.f64 1 (+.f64 (pow.f64 a 8) (-.f64 (pow.f64 b 8) (pow.f64 (*.f64 a b) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 a 8) (pow.f64 b 8)) (/.f64 1 (-.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 a 8) (-.f64 (pow.f64 b 8) (pow.f64 (*.f64 a b) 4))) (+.f64 (pow.f64 a 12) (pow.f64 b 12))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4)) (-.f64 (pow.f64 a 8) (pow.f64 b 8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 a 12) (pow.f64 b 12)) (+.f64 (pow.f64 a 8) (-.f64 (pow.f64 b 8) (pow.f64 (*.f64 a b) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 a 12) (pow.f64 b 12)) (+.f64 (pow.f64 b 8) (-.f64 (pow.f64 a 8) (pow.f64 (*.f64 a b) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 a 8) (pow.f64 b 8)) (-.f64 (pow.f64 a 4) (pow.f64 b 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 a 12) (pow.f64 b 12))) (neg.f64 (+.f64 (pow.f64 a 8) (-.f64 (pow.f64 b 8) (pow.f64 (*.f64 a b) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 a 8) (pow.f64 b 8))) (neg.f64 (-.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 b 8) (pow.f64 a 8)) (-.f64 (pow.f64 b 4) (pow.f64 a 4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 (*.f64 a a) (*.f64 b b)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 a a) (*.f64 a a) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 b b) (*.f64 b b) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 a 4) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 b 4) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 b 8)) (cbrt.f64 (pow.f64 b 4)) (pow.f64 a 4))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 a 8)) (cbrt.f64 (pow.f64 a 4)) (pow.f64 b 4))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 (pow.f64 a 4) (pow.f64 b 4))) 1)))))) |
| 1× | egg-herbie |
| 700× | sqr-pow_binary64 |
| 684× | unswap-sqr_binary64 |
| 291× | associate-*l*_binary64 |
| 284× | cube-prod_binary64 |
| 244× | pow-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 114 |
| 1 | 14 | 114 |
| 2 | 25 | 114 |
| 3 | 42 | 114 |
| 4 | 92 | 114 |
| 5 | 258 | 114 |
| 6 | 941 | 114 |
| 7 | 2238 | 114 |
| 8 | 2479 | 114 |
| 9 | 2783 | 114 |
| 10 | 3144 | 114 |
| 11 | 3644 | 114 |
| 12 | 4304 | 114 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 b 4) |
(pow.f64 a 4) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(pow.f64 a 4) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(pow.f64 a 4) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(pow.f64 b 4) |
(pow.f64 b 4) |
| Outputs |
|---|
(pow.f64 b 4) |
(pow.f64 a 4) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(pow.f64 a 4) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(pow.f64 a 4) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(+.f64 (pow.f64 b 4) (pow.f64 a 4)) |
(pow.f64 b 4) |
(pow.f64 b 4) |
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 67 | 0 | 67 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 67 | 1 | 68 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0b | (+.f64 (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1)) |
Compiled 1874 to 1371 computations (26.8% saved)
Total 0.0b remaining (5.5%)
Threshold costs 0.0b (5.5%)
Compiled 532 to 344 computations (35.3% saved)
| 1× | egg-herbie |
| 3× | +-commutative_binary64 |
| 3× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 34 |
| 1 | 23 | 34 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (+.f64 (pow.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1)) |
| Outputs |
|---|
(+.f64 (+.f64 (pow.f64 (*.f64 (sqrt.f64 2) (*.f64 a b)) 2) (+.f64 (pow.f64 a 4) (pow.f64 b 4))) (fma.f64 b (*.f64 b 4) -1)) |
| 1× | done |
Compiled 76 to 58 computations (23.7% saved)
Loading profile data...