
Time bar (total: 1.6s)
| 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)
| 516.0ms | 8 004× | 0 | valid |
ival-mult: 133.0ms (69.9% of total)ival-add: 47.0ms (24.7% of total)ival-true: 6.0ms (3.2% of total)ival-assert: 3.0ms (1.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 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 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 4 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 4 |
| number | freq |
|---|---|
| 0 | 4 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 0.0ms | 8× | 0 | valid |
Compiled 56 to 24 computations (57.1% saved)
ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-mult: 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 (*.f64 re re) (*.f64 im im)) | |
| accuracy | 0 | (*.f64 re re) | |
| accuracy | 0 | (*.f64 im im) |
| 0.0ms | 4× | 0 | valid |
Compiled 32 to 12 computations (62.5% saved)
ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-mult: 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 | re | @ | -inf | ((+ (* re re) (* im im)) (* re re) (* im im)) |
| 0.0ms | im | @ | 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)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 219 | 1 | 220 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 220 | 1 | 221 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
Compiled 4 to 4 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| 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 | 7 | 15 |
| 0 | 8 | 15 |
| 1 | 9 | 15 |
| 0 | 9 | 14 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
(*.f64 im im) |
im |
| Outputs |
|---|
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
(*.f64 im im) |
im |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 im im) | |
| accuracy | 0 | #s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
| 0.0ms | 4× | 0 | valid |
Compiled 21 to 11 computations (47.6% saved)
ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-mult: 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>) () ()) |
| 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 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 #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 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 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 #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>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | im | @ | inf | ((+ (* re re) (* im im)) (* im im)) |
| 0.0ms | im | @ | -inf | ((+ (* re re) (* im im)) (* im im)) |
| 0.0ms | re | @ | -inf | ((+ (* re re) (* im im)) (* im im)) |
| 0.0ms | re | @ | inf | ((+ (* re re) (* im im)) (* im im)) |
| 0.0ms | im | @ | 0 | ((+ (* re re) (* im im)) (* im im)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 180 |
| 1 | 34 | 180 |
| 2 | 84 | 180 |
| 3 | 339 | 180 |
| 4 | 1000 | 180 |
| 5 | 1883 | 180 |
| 6 | 2170 | 180 |
| 7 | 2681 | 180 |
| 8 | 3990 | 180 |
| 9 | 5169 | 180 |
| 10 | 5742 | 180 |
| 11 | 6153 | 180 |
| 12 | 6344 | 180 |
| 13 | 6378 | 180 |
| 14 | 6378 | 180 |
| 15 | 7576 | 180 |
| 0 | 8271 | 162 |
| 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) (+ 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 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) (+ 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 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 | 7 | 14 |
| 0 | 8 | 14 |
| 1 | 25 | 14 |
| 2 | 179 | 14 |
| 3 | 1655 | 14 |
| 0 | 8248 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
(*.f64 im im) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 268 to 36 computations (86.6% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 0 | 46 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 46 | 1 | 47 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (+ (* re re) (* im im)) (*.f64 im im)) |
Compiled 15 to 10 computations (33.3% saved)
Compiled 3 to 3 computations (0% saved)
1 calls:
| 0.0ms | (*.f64 im im) |
Loading profile data...