
Time bar (total: 2.3s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 459.0ms | 8 256× | 0 | valid |
ival-mult: 133.0ms (64.1% of total)ival-add: 65.0ms (31.3% of total)ival-true: 6.0ms (2.9% of total)ival-assert: 3.0ms (1.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 11 | (1.7943078484674552e+176 -1.1708974208907228e+251) | 0 | - | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 0 | 0 | - | 0 | - | (*.f64 re re) |
| 0 | 0 | - | 0 | - | re |
| 0 | 0 | - | 0 | - | (*.f64 im im) |
| 0 | 0 | - | 0 | - | im |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
+.f64 | (+.f64 (*.f64 re re) (*.f64 im im)) | nan-rescue | 11 | 0 |
| ↳ | (*.f64 re re) | overflow | 58 | |
| ↳ | (*.f64 im im) | overflow | 59 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 11 | 245 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 11 | 0 | 245 |
| number | freq |
|---|---|
| 0 | 245 |
| 1 | 11 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 1 | 0 | 0 |
| 27.0ms | 512× | 0 | valid |
Compiled 86 to 34 computations (60.5% saved)
ival-mult: 8.0ms (77.1% of total)ival-add: 2.0ms (19.3% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 37 |
| 1 | 36 | 37 |
| 2 | 88 | 37 |
| 3 | 187 | 37 |
| 4 | 227 | 37 |
| 5 | 232 | 37 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 9 | 7 |
| 0 | 9 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
| Outputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
(fma.f64 im im (*.f64 re re)) |
(abs im)
(abs re)
(sort re im)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (+.f64 (*.f64 re re) (*.f64 im im)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 im im) | |
| cost-diff | 0 | (*.f64 re re) | |
| cost-diff | 128 | (+.f64 (*.f64 re re) (*.f64 im im)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 9 | 15 |
| 0 | 9 | 14 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
(*.f64 re re) |
re |
(*.f64 im im) |
im |
| Outputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
(fma.f64 im im (*.f64 re re)) |
(*.f64 re re) |
re |
(*.f64 im im) |
im |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 re re) | |
| accuracy | 0 | (*.f64 im im) | |
| accuracy | 0.00390625 | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 12.0ms | 256× | 0 | valid |
Compiled 32 to 12 computations (62.5% saved)
ival-mult: 3.0ms (63.5% of total)ival-add: 1.0ms (21.2% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ()) |
#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ()) |
#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow im 2) (taylor 0 re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor inf re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor inf re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor inf re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor -inf re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor -inf re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor -inf re) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor 0 im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor 0 im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor 0 im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor 0 im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor inf im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor inf im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor inf im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor -inf im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor -inf im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor -inf im) (#s(alt (+.f64 (*.f64 re re) (*.f64 im im)) (patch (+.f64 (*.f64 re re) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | ((+ (* re re) (* im im)) (* re re) (* im im)) |
| 1.0ms | re | @ | 0 | ((+ (* re re) (* im im)) (* re re) (* im im)) |
| 0.0ms | im | @ | inf | ((+ (* re re) (* im im)) (* re re) (* im im)) |
| 0.0ms | im | @ | -inf | ((+ (* re re) (* im im)) (* re re) (* im im)) |
| 0.0ms | re | @ | -inf | ((+ (* re re) (* im im)) (* re re) (* im im)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 216 |
| 1 | 34 | 216 |
| 2 | 84 | 216 |
| 3 | 339 | 216 |
| 4 | 1000 | 216 |
| 5 | 1883 | 216 |
| 6 | 2170 | 216 |
| 7 | 2681 | 216 |
| 8 | 3990 | 216 |
| 9 | 5169 | 216 |
| 10 | 5742 | 216 |
| 11 | 6153 | 216 |
| 12 | 6344 | 216 |
| 13 | 6378 | 216 |
| 14 | 6378 | 216 |
| 15 | 7576 | 216 |
| 0 | 8271 | 198 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow im 2) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
| Outputs |
|---|
(pow im 2) |
(*.f64 im im) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 25 | 13 |
| 2 | 179 | 13 |
| 3 | 1653 | 13 |
| 0 | 8258 | 12 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 re re) (*.f64 im im)) |
(*.f64 re re) |
(*.f64 im im) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 5 418 to 511 computations (90.6% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 218 | 2 | 220 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 219 | 2 | 221 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 im im (*.f64 re re)) |
| ▶ | 99.9% | #s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
Compiled 10 to 8 computations (20% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 re re) | |
| cost-diff | 0 | (fma.f64 im im (*.f64 re re)) | |
| cost-diff | 0 | (*.f64 im im) | |
| cost-diff | 0 | #s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 26 |
| 0 | 11 | 25 |
| 1 | 11 | 25 |
| 0 | 11 | 25 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
(*.f64 im im) |
im |
(fma.f64 im im (*.f64 re re)) |
im |
(*.f64 re re) |
re |
| Outputs |
|---|
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
(*.f64 im im) |
im |
(fma.f64 im im (*.f64 re re)) |
(fma.f64 re re (*.f64 im im)) |
im |
(*.f64 re re) |
re |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 im im (*.f64 re re)) | |
| accuracy | 0 | (*.f64 re re) | |
| accuracy | 0 | (*.f64 im im) | |
| accuracy | 0.08949230187116963 | #s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
| 15.0ms | 256× | 0 | valid |
Compiled 44 to 14 computations (68.2% saved)
ival-mult: 3.0ms (52.4% of total)ival-add: 2.0ms (34.9% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ()) |
#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ()) |
#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ()) |
#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow im 2) (taylor 0 re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor 0 re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor inf re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor inf re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor inf re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor inf re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor inf re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor inf re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor -inf re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor -inf re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor -inf re) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor -inf re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor -inf re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) (taylor -inf re) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor -inf re) (#s(alt (*.f64 re re) (patch (*.f64 re re) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor 0 im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor 0 im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor 0 im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor 0 im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow re 2) (taylor 0 im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (+ (pow im 2) (pow re 2)) (taylor 0 im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor inf im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor inf im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor inf im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor inf im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor inf im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor inf im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor inf im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor -inf im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor -inf im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor -inf im) (#s(alt #s(approx (+ (* re re) (* im im)) (*.f64 im im)) (patch #s(approx (+ (* re re) (* im im)) (*.f64 im im)) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (*.f64 im im) (patch (*.f64 im im) #<representation binary64>) () ())) ()) |
#s(alt (pow im 2) (taylor -inf im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor -inf im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor -inf im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) (taylor -inf im) (#s(alt (fma.f64 im im (*.f64 re re)) (patch (fma.f64 im im (*.f64 re re)) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | re | @ | inf | ((+ (* re re) (* im im)) (* im im) (+ (* im im) (* re re)) (* re re)) |
| 0.0ms | im | @ | inf | ((+ (* re re) (* im im)) (* im im) (+ (* im im) (* re re)) (* re re)) |
| 0.0ms | re | @ | -inf | ((+ (* re re) (* im im)) (* im im) (+ (* im im) (* re re)) (* re re)) |
| 0.0ms | im | @ | -inf | ((+ (* re re) (* im im)) (* im im) (+ (* im im) (* re re)) (* re re)) |
| 0.0ms | re | @ | 0 | ((+ (* re re) (* im im)) (* im im) (+ (* im im) (* re re)) (* re re)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 360 |
| 1 | 34 | 360 |
| 2 | 84 | 360 |
| 3 | 339 | 360 |
| 4 | 1000 | 360 |
| 5 | 1883 | 360 |
| 6 | 2170 | 360 |
| 7 | 2681 | 360 |
| 8 | 3990 | 360 |
| 9 | 5169 | 360 |
| 10 | 5742 | 360 |
| 11 | 6153 | 360 |
| 12 | 6344 | 360 |
| 13 | 6378 | 360 |
| 14 | 6378 | 360 |
| 15 | 7576 | 360 |
| 0 | 8271 | 324 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow im 2) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(pow im 2) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(pow re 2) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(pow re 2) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(pow re 2) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow re 2) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(+ (pow im 2) (pow re 2)) |
(pow im 2) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(pow im 2) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(pow im 2) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
| Outputs |
|---|
(pow im 2) |
(*.f64 im im) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(pow im 2) |
(*.f64 im im) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow re 2) |
(*.f64 re re) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow re 2) |
(*.f64 re re) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow re 2) (+ 1 (/ (pow im 2) (pow re 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(pow re 2) |
(*.f64 re re) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow re 2) |
(*.f64 re re) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(+ (pow im 2) (pow re 2)) |
(fma.f64 re re (*.f64 im im)) |
(pow im 2) |
(*.f64 im im) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow im 2) |
(*.f64 im im) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(pow im 2) |
(*.f64 im im) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
(* (pow im 2) (+ 1 (/ (pow re 2) (pow im 2)))) |
(fma.f64 re re (*.f64 im im)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 23 |
| 0 | 11 | 22 |
| 1 | 35 | 22 |
| 2 | 274 | 22 |
| 3 | 2979 | 22 |
| 0 | 8384 | 22 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
(*.f64 im im) |
(fma.f64 im im (*.f64 re re)) |
(*.f64 re re) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 7 367 to 735 computations (90% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 296 | 0 | 296 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 296 | 2 | 298 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 im im (*.f64 re re)) |
| ✓ | 99.9% | #s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
Compiled 27 to 15 computations (44.4% saved)
| Inputs |
|---|
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
(fma.f64 im im (*.f64 re re)) |
(+.f64 (*.f64 re re) (*.f64 im im)) |
| Outputs |
|---|
(fma.f64 im im (*.f64 re re)) |
5 calls:
| 50.0ms | (*.f64 im im) |
| 2.0ms | im |
| 2.0ms | re |
| 2.0ms | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 2.0ms | (*.f64 re re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | re |
| 100.0% | 1 | im |
| 100.0% | 1 | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 100.0% | 1 | (*.f64 re re) |
| 100.0% | 1 | (*.f64 im im) |
Compiled 15 to 15 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
| Outputs |
|---|
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
5 calls:
| 1.0ms | im |
| 1.0ms | re |
| 1.0ms | (*.f64 im im) |
| 1.0ms | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 1.0ms | (*.f64 re re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | re |
| 99.9% | 1 | im |
| 99.9% | 1 | (+.f64 (*.f64 re re) (*.f64 im im)) |
| 99.9% | 1 | (*.f64 re re) |
| 99.9% | 1 | (*.f64 im im) |
Compiled 15 to 15 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 17 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 im im (*.f64 re re)) |
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
| Outputs |
|---|
(fma.f64 im im (*.f64 re re)) |
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 216 |
| 1 | 34 | 216 |
| 2 | 84 | 216 |
| 3 | 339 | 216 |
| 4 | 1000 | 216 |
| 5 | 1883 | 216 |
| 6 | 2170 | 216 |
| 7 | 2681 | 216 |
| 8 | 3990 | 216 |
| 9 | 5169 | 216 |
| 10 | 5742 | 216 |
| 11 | 6153 | 216 |
| 12 | 6344 | 216 |
| 13 | 6378 | 216 |
| 14 | 6378 | 216 |
| 15 | 7576 | 216 |
| 0 | 8271 | 198 |
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 25 | 13 |
| 2 | 179 | 13 |
| 3 | 1653 | 13 |
| 0 | 8258 | 12 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 26 to 15 computations (42.3% saved)
(sort re im)
(abs re)
(abs im)
Compiled 70 to 46 computations (34.3% saved)
Loading profile data...