
Time bar (total: 1.2s)
| 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)
| 505.0ms | 8 256× | 0 | valid |
ival-mult!: 135.0ms (87% of total)ival-sub!: 19.0ms (12.2% of total)adjust: 2.0ms (1.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 13 | 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 |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (*.f64 re re) (*.f64 im im)) | nan-rescue | 13 | 0 |
| ↳ | (*.f64 re re) | overflow | 62 | |
| ↳ | (*.f64 im im) | overflow | 59 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 13 | 0 |
| - | 0 | 243 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 13 | 0 | 0 |
| - | 0 | 0 | 243 |
| number | freq |
|---|---|
| 0 | 243 |
| 1 | 13 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 44.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-mult!: 15.0ms (93.6% of total)ival-sub!: 1.0ms (6.2% of total)adjust: 0.0ms (0% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 45 |
| 1 | 51 | 42 |
| 2 | 223 | 42 |
| 3 | 386 | 42 |
| 4 | 950 | 42 |
| 5 | 1955 | 42 |
| 6 | 2959 | 42 |
| 7 | 3299 | 42 |
| 8 | 3377 | 42 |
| 9 | 3377 | 42 |
| 10 | 3570 | 42 |
| 1× | saturated |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 94.9% | (-.f64 (*.f64 re re) (*.f64 im im)) |
(abs re)
(abs im)
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
(-.f64 (*.f64 re re) (*.f64 im im)) |
(*.f64 re re) |
re |
(*.f64 im im) |
im |
| Outputs |
|---|
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (- (pow re 2) (pow im 2)))) |
#s(approx (* re re) #s(hole binary64 (pow re 2))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (pow re 2))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2))))))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2)))) |
#s(approx (* im im) #s(hole binary64 (pow im 2))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | inf | ((- (* re re) (* im im)) (* re re) re (* im im) im) |
| 1.0ms | re | @ | -inf | ((- (* re re) (* im im)) (* re re) re (* im im) im) |
| 1.0ms | im | @ | inf | ((- (* re re) (* im im)) (* re re) re (* im im) im) |
| 1.0ms | im | @ | -inf | ((- (* re re) (* im im)) (* re re) re (* im im) im) |
| 1.0ms | re | @ | 0 | ((- (* re re) (* im im)) (* re re) re (* im im) im) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 135 |
| 0 | 36 | 131 |
| 1 | 136 | 130 |
| 0 | 1191 | 129 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(-.f64 (*.f64 re re) (*.f64 im im)) |
(*.f64 re re) |
re |
(*.f64 im im) |
im |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (- (pow re 2) (pow im 2)))) |
#s(approx (* re re) #s(hole binary64 (pow re 2))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (pow re 2))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2))))))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2)))) |
#s(approx (* im im) #s(hole binary64 (pow im 2))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
| Outputs |
|---|
(*.f64 (+.f64 (neg.f64 re) (neg.f64 im)) (-.f64 (neg.f64 re) (neg.f64 im))) |
(*.f64 (+.f64 (neg.f64 re) (fabs.f64 im)) (-.f64 (neg.f64 re) (fabs.f64 im))) |
(*.f64 (+.f64 (neg.f64 re) im) (-.f64 (neg.f64 re) im)) |
(*.f64 (+.f64 (fabs.f64 re) (neg.f64 im)) (-.f64 (fabs.f64 re) (neg.f64 im))) |
(*.f64 (+.f64 (fabs.f64 re) (fabs.f64 im)) (-.f64 (fabs.f64 re) (fabs.f64 im))) |
(*.f64 (+.f64 (fabs.f64 re) im) (-.f64 (fabs.f64 re) im)) |
(*.f64 (+.f64 re (neg.f64 im)) (-.f64 re (neg.f64 im))) |
(*.f64 (+.f64 re (fabs.f64 im)) (-.f64 re (fabs.f64 im))) |
(*.f64 (-.f64 re im) (+.f64 im re)) |
(*.f64 (+.f64 im re) (-.f64 re im)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64)))) (neg.f64 (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 im #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 re #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 re re) (fma.f64 im im (*.f64 re re)) (pow.f64 im #s(literal 4 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64)))) (neg.f64 (fma.f64 im im (*.f64 re re)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 im im) (fma.f64 im im (*.f64 re re)) (pow.f64 re #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (fma.f64 im im (*.f64 re re))) |
(/.f64 (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re))) |
(/.f64 (-.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (fma.f64 (*.f64 im im) (fma.f64 im im (*.f64 re re)) (pow.f64 re #s(literal 4 binary64)))) |
(/.f64 (fma.f64 (pow.f64 im #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 re #s(literal 6 binary64))) (+.f64 (pow.f64 re #s(literal 4 binary64)) (-.f64 (pow.f64 im #s(literal 4 binary64)) (neg.f64 (pow.f64 (*.f64 re im) #s(literal 2 binary64)))))) |
(/.f64 (fma.f64 (pow.f64 im #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 re #s(literal 6 binary64))) (fma.f64 (*.f64 re re) (fma.f64 im im (*.f64 re re)) (pow.f64 im #s(literal 4 binary64)))) |
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 im)) (neg.f64 im) (*.f64 re re)) |
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 im)) (fabs.f64 im) (*.f64 re re)) |
(fma.f64 (*.f64 #s(literal -1 binary64) im) im (*.f64 re re)) |
(fma.f64 (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 re #s(literal 1 binary64)) (*.f64 re #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (neg.f64 re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (fabs.f64 re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) re) (*.f64 #s(literal 1 binary64) re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) re) re (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 (neg.f64 im)) (neg.f64 im) (*.f64 re re)) |
(fma.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 im) (*.f64 re re)) |
(fma.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (exp.f64 (log.f64 re)) (exp.f64 (log.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 re) (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 re) (neg.f64 re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 im) (*.f64 (neg.f64 im) #s(literal -1 binary64)) (*.f64 re re)) |
(fma.f64 (neg.f64 im) (neg.f64 (neg.f64 im)) (*.f64 re re)) |
(fma.f64 (neg.f64 im) im (*.f64 re re)) |
(fma.f64 (fabs.f64 re) (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (fabs.f64 re) (fabs.f64 re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (fabs.f64 im) (*.f64 (fabs.f64 im) #s(literal -1 binary64)) (*.f64 re re)) |
(fma.f64 (fabs.f64 im) (neg.f64 (fabs.f64 im)) (*.f64 re re)) |
(fma.f64 #s(literal 1 binary64) (*.f64 re re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 re re) #s(literal 1 binary64) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 im im) #s(literal -1 binary64) (*.f64 re re)) |
(fma.f64 #s(literal -1 binary64) (*.f64 im im) (*.f64 re re)) |
(fma.f64 im (*.f64 im #s(literal -1 binary64)) (*.f64 re re)) |
(fma.f64 im (neg.f64 im) (*.f64 re re)) |
(fma.f64 re (*.f64 re #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 re re (*.f64 (neg.f64 im) im)) |
(-.f64 (/.f64 (pow.f64 im #s(literal 4 binary64)) (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re))) (/.f64 (pow.f64 re #s(literal 4 binary64)) (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re)))) |
(-.f64 (/.f64 (pow.f64 re #s(literal 4 binary64)) (fma.f64 im im (*.f64 re re))) (/.f64 (pow.f64 im #s(literal 4 binary64)) (fma.f64 im im (*.f64 re re)))) |
(-.f64 (/.f64 (pow.f64 re #s(literal 6 binary64)) (fma.f64 (*.f64 im im) (fma.f64 im im (*.f64 re re)) (pow.f64 re #s(literal 4 binary64)))) (/.f64 (pow.f64 im #s(literal 6 binary64)) (fma.f64 (*.f64 im im) (fma.f64 im im (*.f64 re re)) (pow.f64 re #s(literal 4 binary64))))) |
(-.f64 (*.f64 re re) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(-.f64 (*.f64 re re) (*.f64 (*.f64 (neg.f64 im) im) #s(literal -1 binary64))) |
(-.f64 (*.f64 re re) (*.f64 #s(literal 1 binary64) (*.f64 im im))) |
(-.f64 (*.f64 re re) (*.f64 im im)) |
(-.f64 (*.f64 (neg.f64 im) im) (*.f64 (neg.f64 re) re)) |
(+.f64 (/.f64 (neg.f64 (pow.f64 im #s(literal 6 binary64))) (fma.f64 (*.f64 re re) (fma.f64 im im (*.f64 re re)) (pow.f64 im #s(literal 4 binary64)))) (/.f64 (pow.f64 re #s(literal 6 binary64)) (fma.f64 (*.f64 re re) (fma.f64 im im (*.f64 re re)) (pow.f64 im #s(literal 4 binary64))))) |
(+.f64 (*.f64 re re) (*.f64 (neg.f64 im) im)) |
(+.f64 (*.f64 (neg.f64 im) im) (*.f64 re re)) |
(*.f64 (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 re) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (fabs.f64 re) #s(literal 1 binary64))) |
(*.f64 (*.f64 re #s(literal 1 binary64)) (*.f64 re #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 #s(literal 1 binary64) (neg.f64 re))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (neg.f64 re)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 #s(literal 1 binary64) (fabs.f64 re))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (fabs.f64 re)) |
(*.f64 (*.f64 #s(literal 1 binary64) re) (*.f64 #s(literal 1 binary64) re)) |
(*.f64 (*.f64 #s(literal 1 binary64) re) re) |
(*.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re))) |
(*.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re))) |
(*.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re))) |
(*.f64 (exp.f64 (log.f64 re)) (exp.f64 (log.f64 re))) |
(*.f64 (neg.f64 re) (*.f64 (neg.f64 re) #s(literal 1 binary64))) |
(*.f64 (neg.f64 re) (neg.f64 re)) |
(*.f64 (fabs.f64 re) (*.f64 (fabs.f64 re) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 re) (fabs.f64 re)) |
(*.f64 #s(literal 1 binary64) (*.f64 re re)) |
(*.f64 (*.f64 re re) #s(literal 1 binary64)) |
(*.f64 re (*.f64 re #s(literal 1 binary64))) |
(*.f64 re re) |
(pow.f64 (exp.f64 (log.f64 re)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 re) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 re) #s(literal 2 binary64)) |
(pow.f64 (*.f64 re re) #s(literal 1 binary64)) |
(pow.f64 re #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 re re)) #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 re re) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (*.f64 re re) #s(literal -1 binary64))) |
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 re re))) |
(neg.f64 (*.f64 (neg.f64 re) re)) |
(fabs.f64 (*.f64 re re)) |
(exp.f64 (fma.f64 (log.f64 re) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 re) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 re) #s(literal 2 binary64)))) |
re |
(*.f64 (neg.f64 (neg.f64 im)) (neg.f64 (neg.f64 im))) |
(*.f64 (neg.f64 (fabs.f64 im)) (neg.f64 (fabs.f64 im))) |
(*.f64 (fabs.f64 (fabs.f64 im)) (fabs.f64 (fabs.f64 im))) |
(*.f64 (exp.f64 (log.f64 im)) (exp.f64 (log.f64 im))) |
(*.f64 (neg.f64 im) (neg.f64 im)) |
(*.f64 (fabs.f64 im) (fabs.f64 im)) |
(*.f64 im im) |
(pow.f64 (exp.f64 (log.f64 im)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 im) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 im) #s(literal 2 binary64)) |
(pow.f64 (*.f64 im im) #s(literal 1 binary64)) |
(pow.f64 im #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 im) im)) |
(fabs.f64 (*.f64 im im)) |
(exp.f64 (*.f64 (log.f64 im) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 im) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 im) #s(literal 2 binary64)))) |
im |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
#s(approx (- (* re re) (* im im)) (*.f64 (-.f64 re im) (+.f64 im re))) |
#s(approx (* re re) (*.f64 re re)) |
#s(approx re re) |
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 (fma.f64 (/.f64 im re) (/.f64 im re) #s(literal -1 binary64))) (*.f64 re re))) |
#s(approx (- (* re re) (* im im)) (*.f64 (-.f64 re im) (+.f64 im re))) |
#s(approx (* im im) (*.f64 im im)) |
#s(approx im im) |
#s(approx (- (* re re) (* im im)) (*.f64 (fma.f64 (/.f64 re im) (/.f64 re im) #s(literal -1 binary64)) (*.f64 im im))) |
Compiled 1 428 to 298 computations (79.1% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 122 | 3 | 125 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 123 | 3 | 126 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 98.0% | (fma.f64 (neg.f64 im) im (*.f64 re re)) |
| ▶ | 54.3% | #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
| ▶ | 55.5% | #s(approx (- (* re re) (* im im)) (*.f64 re re)) |
Compiled 30 to 20 computations (33.3% saved)
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
(*.f64 re re) |
re |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
(*.f64 (neg.f64 im) im) |
(neg.f64 im) |
im |
(fma.f64 (neg.f64 im) im (*.f64 re re)) |
| Outputs |
|---|
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (- (pow re 2) (pow im 2)))) |
#s(approx (* re re) #s(hole binary64 (pow re 2))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (pow re 2))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2))))))) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (pow re 2))) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2))))))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2)))) |
#s(approx (* (neg im) im) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (neg im) #s(hole binary64 (* -1 im))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | im | @ | -inf | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (+ (* (neg im) im) (* re re))) |
| 1.0ms | re | @ | 0 | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (+ (* (neg im) im) (* re re))) |
| 1.0ms | im | @ | inf | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (+ (* (neg im) im) (* re re))) |
| 1.0ms | re | @ | inf | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (+ (* (neg im) im) (* re re))) |
| 1.0ms | re | @ | -inf | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (+ (* (neg im) im) (* re re))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 255 |
| 0 | 52 | 245 |
| 1 | 170 | 243 |
| 0 | 1241 | 241 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
(*.f64 re re) |
re |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
(*.f64 (neg.f64 im) im) |
(neg.f64 im) |
im |
(fma.f64 (neg.f64 im) im (*.f64 re re)) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (- (pow re 2) (pow im 2)))) |
#s(approx (* re re) #s(hole binary64 (pow re 2))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (pow re 2))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2))))))) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (pow re 2))) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2))))))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2)))) |
#s(approx (* (neg im) im) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (neg im) #s(hole binary64 (* -1 im))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
#s(approx (+ (* (neg im) im) (* re re)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
| Outputs |
|---|
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 re re)) |
(*.f64 (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 re) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (fabs.f64 re) #s(literal 1 binary64))) |
(*.f64 (*.f64 re #s(literal 1 binary64)) (*.f64 re #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 #s(literal 1 binary64) (neg.f64 re))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (neg.f64 re)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 #s(literal 1 binary64) (fabs.f64 re))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (fabs.f64 re)) |
(*.f64 (*.f64 #s(literal 1 binary64) re) (*.f64 #s(literal 1 binary64) re)) |
(*.f64 (*.f64 #s(literal 1 binary64) re) re) |
(*.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re))) |
(*.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re))) |
(*.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re))) |
(*.f64 (exp.f64 (log.f64 re)) (exp.f64 (log.f64 re))) |
(*.f64 (neg.f64 re) (*.f64 (neg.f64 re) #s(literal 1 binary64))) |
(*.f64 (neg.f64 re) (neg.f64 re)) |
(*.f64 (fabs.f64 re) (*.f64 (fabs.f64 re) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 re) (fabs.f64 re)) |
(*.f64 #s(literal 1 binary64) (*.f64 re re)) |
(*.f64 (*.f64 re re) #s(literal 1 binary64)) |
(*.f64 re (*.f64 re #s(literal 1 binary64))) |
(*.f64 re re) |
(pow.f64 (exp.f64 (log.f64 re)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 re) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 re) #s(literal 2 binary64)) |
(pow.f64 (*.f64 re re) #s(literal 1 binary64)) |
(pow.f64 re #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 re re) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 re re)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (*.f64 re re) #s(literal -1 binary64))) |
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 re re))) |
(neg.f64 (*.f64 (neg.f64 re) re)) |
(fabs.f64 (*.f64 re re)) |
(exp.f64 (fma.f64 (log.f64 re) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 re) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 re) #s(literal 2 binary64)))) |
re |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (neg.f64 im) im)) |
(*.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 im)) (fabs.f64 im)) |
(*.f64 (*.f64 #s(literal -1 binary64) (neg.f64 im)) (neg.f64 im)) |
(*.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 im)) |
(*.f64 (neg.f64 (neg.f64 im)) (neg.f64 im)) |
(*.f64 (fabs.f64 im) (*.f64 (fabs.f64 im) #s(literal -1 binary64))) |
(*.f64 (fabs.f64 im) (neg.f64 (fabs.f64 im))) |
(*.f64 (*.f64 im im) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.f64 im im)) |
(*.f64 (neg.f64 im) (*.f64 (neg.f64 im) #s(literal -1 binary64))) |
(*.f64 (neg.f64 im) (neg.f64 (neg.f64 im))) |
(*.f64 (neg.f64 im) im) |
(*.f64 im (neg.f64 im)) |
(neg.f64 (*.f64 im im)) |
(*.f64 #s(literal -1 binary64) im) |
(*.f64 im #s(literal -1 binary64)) |
(neg.f64 im) |
im |
(*.f64 (+.f64 (neg.f64 re) (fabs.f64 im)) (-.f64 (neg.f64 re) (fabs.f64 im))) |
(*.f64 (+.f64 (neg.f64 re) (neg.f64 im)) (-.f64 (neg.f64 re) (neg.f64 im))) |
(*.f64 (+.f64 (neg.f64 re) im) (-.f64 (neg.f64 re) im)) |
(*.f64 (+.f64 (fabs.f64 re) (fabs.f64 im)) (-.f64 (fabs.f64 re) (fabs.f64 im))) |
(*.f64 (+.f64 (fabs.f64 re) (neg.f64 im)) (-.f64 (fabs.f64 re) (neg.f64 im))) |
(*.f64 (+.f64 (fabs.f64 re) im) (-.f64 (fabs.f64 re) im)) |
(*.f64 (+.f64 re (fabs.f64 im)) (-.f64 re (fabs.f64 im))) |
(*.f64 (+.f64 re (neg.f64 im)) (-.f64 re (neg.f64 im))) |
(*.f64 (-.f64 re im) (+.f64 im re)) |
(*.f64 (+.f64 im re) (-.f64 re im)) |
(/.f64 (-.f64 (neg.f64 (pow.f64 im #s(literal 6 binary64))) (pow.f64 (*.f64 (neg.f64 re) re) #s(literal 3 binary64))) (+.f64 (pow.f64 im #s(literal 4 binary64)) (+.f64 (pow.f64 re #s(literal 4 binary64)) (*.f64 (*.f64 (neg.f64 im) im) (*.f64 (neg.f64 re) re))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64)))) (neg.f64 (fma.f64 im im (*.f64 re re)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64)))) (neg.f64 (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 im im) (fma.f64 im im (*.f64 re re)) (pow.f64 re #s(literal 4 binary64))))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 im #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 re #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 re re) (fma.f64 im im (*.f64 re re)) (pow.f64 im #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 re #s(literal 4 binary64)) (pow.f64 im #s(literal 4 binary64))) (fma.f64 im im (*.f64 re re))) |
(/.f64 (-.f64 (pow.f64 im #s(literal 4 binary64)) (pow.f64 re #s(literal 4 binary64))) (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re))) |
(/.f64 (-.f64 (pow.f64 re #s(literal 6 binary64)) (pow.f64 im #s(literal 6 binary64))) (fma.f64 (*.f64 im im) (fma.f64 im im (*.f64 re re)) (pow.f64 re #s(literal 4 binary64)))) |
(/.f64 (fma.f64 (pow.f64 im #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 re #s(literal 6 binary64))) (+.f64 (pow.f64 re #s(literal 4 binary64)) (-.f64 (pow.f64 im #s(literal 4 binary64)) (neg.f64 (pow.f64 (*.f64 re im) #s(literal 2 binary64)))))) |
(/.f64 (fma.f64 (pow.f64 im #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 re #s(literal 6 binary64))) (fma.f64 (*.f64 re re) (fma.f64 im im (*.f64 re re)) (pow.f64 im #s(literal 4 binary64)))) |
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 im)) (fabs.f64 im) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 im)) (fabs.f64 im) (*.f64 re re)) |
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 im)) (neg.f64 im) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 im)) (neg.f64 im) (*.f64 re re)) |
(fma.f64 (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 re #s(literal 1 binary64)) (*.f64 re #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (neg.f64 re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (fabs.f64 re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) re) (*.f64 #s(literal 1 binary64) re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 #s(literal 1 binary64) re) re (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 im) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (neg.f64 (fabs.f64 im)) (fabs.f64 im) (*.f64 re re)) |
(fma.f64 (neg.f64 (neg.f64 im)) (neg.f64 im) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (neg.f64 (neg.f64 im)) (neg.f64 im) (*.f64 re re)) |
(fma.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (exp.f64 (log.f64 re)) (exp.f64 (log.f64 re)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 re) (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 re) (neg.f64 re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (fabs.f64 im) (*.f64 (fabs.f64 im) #s(literal -1 binary64)) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (fabs.f64 im) (*.f64 (fabs.f64 im) #s(literal -1 binary64)) (*.f64 re re)) |
(fma.f64 (fabs.f64 im) (neg.f64 (fabs.f64 im)) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (fabs.f64 im) (neg.f64 (fabs.f64 im)) (*.f64 re re)) |
(fma.f64 (fabs.f64 re) (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 (fabs.f64 re) (fabs.f64 re) (*.f64 (neg.f64 im) im)) |
(fma.f64 #s(literal 1 binary64) (*.f64 re re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 re re) #s(literal 1 binary64) (*.f64 (neg.f64 im) im)) |
(fma.f64 (*.f64 im im) #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (*.f64 im im) #s(literal -1 binary64) (*.f64 re re)) |
(fma.f64 #s(literal -1 binary64) (*.f64 im im) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 #s(literal -1 binary64) (*.f64 im im) (*.f64 re re)) |
(fma.f64 (neg.f64 im) (*.f64 (neg.f64 im) #s(literal -1 binary64)) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (neg.f64 im) (*.f64 (neg.f64 im) #s(literal -1 binary64)) (*.f64 re re)) |
(fma.f64 (neg.f64 im) (neg.f64 (neg.f64 im)) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (neg.f64 im) (neg.f64 (neg.f64 im)) (*.f64 re re)) |
(fma.f64 (neg.f64 im) im (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 (neg.f64 im) im (*.f64 re re)) |
(fma.f64 im (neg.f64 im) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(fma.f64 im (neg.f64 im) (*.f64 re re)) |
(fma.f64 re (*.f64 re #s(literal 1 binary64)) (*.f64 (neg.f64 im) im)) |
(fma.f64 re re (*.f64 (neg.f64 im) im)) |
(-.f64 (/.f64 (pow.f64 re #s(literal 4 binary64)) (fma.f64 im im (*.f64 re re))) (/.f64 (pow.f64 im #s(literal 4 binary64)) (fma.f64 im im (*.f64 re re)))) |
(-.f64 (/.f64 (pow.f64 im #s(literal 4 binary64)) (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re))) (/.f64 (pow.f64 re #s(literal 4 binary64)) (fma.f64 (neg.f64 im) im (*.f64 (neg.f64 re) re)))) |
(-.f64 (/.f64 (pow.f64 re #s(literal 6 binary64)) (fma.f64 (*.f64 im im) (fma.f64 im im (*.f64 re re)) (pow.f64 re #s(literal 4 binary64)))) (/.f64 (pow.f64 im #s(literal 6 binary64)) (fma.f64 (*.f64 im im) (fma.f64 im im (*.f64 re re)) (pow.f64 re #s(literal 4 binary64))))) |
(-.f64 (*.f64 re re) (*.f64 (neg.f64 (neg.f64 im)) im)) |
(-.f64 (*.f64 re re) (*.f64 im im)) |
(-.f64 (*.f64 (neg.f64 im) im) (*.f64 (neg.f64 re) re)) |
(+.f64 (/.f64 (neg.f64 (pow.f64 im #s(literal 6 binary64))) (fma.f64 (*.f64 re re) (fma.f64 im im (*.f64 re re)) (pow.f64 im #s(literal 4 binary64)))) (/.f64 (pow.f64 re #s(literal 6 binary64)) (fma.f64 (*.f64 re re) (fma.f64 im im (*.f64 re re)) (pow.f64 im #s(literal 4 binary64))))) |
(+.f64 (*.f64 re re) (*.f64 (neg.f64 im) im)) |
(+.f64 (*.f64 (neg.f64 im) im) (*.f64 (neg.f64 (neg.f64 re)) re)) |
(+.f64 (*.f64 (neg.f64 im) im) (*.f64 re re)) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (neg.f64 im) im)) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (-.f64 re im) (+.f64 im re))) |
#s(approx (* re re) (*.f64 re re)) |
#s(approx re re) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (neg.f64 im) im)) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (-.f64 re im) (+.f64 im re))) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 re re)) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (neg.f64 (fma.f64 (/.f64 im re) (/.f64 im re) #s(literal -1 binary64))) (*.f64 re re))) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 re re)) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (neg.f64 (fma.f64 (/.f64 im re) (/.f64 im re) #s(literal -1 binary64))) (*.f64 re re))) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (-.f64 re im) (+.f64 im re))) |
#s(approx (* (neg im) im) (*.f64 (neg.f64 im) im)) |
#s(approx (neg im) (neg.f64 im)) |
#s(approx im im) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (fma.f64 (/.f64 re im) (/.f64 re im) #s(literal -1 binary64)) (*.f64 im im))) |
#s(approx (+ (* (neg im) im) (* re re)) (*.f64 (fma.f64 (/.f64 re im) (/.f64 re im) #s(literal -1 binary64)) (*.f64 im im))) |
Compiled 2 232 to 355 computations (84.1% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 177 | 1 | 178 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 0 | 0 |
| Total | 178 | 3 | 181 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.0% | (fma.f64 (neg.f64 im) im (*.f64 re re)) |
| ▶ | 55.5% | #s(approx (- (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64))) |
| ✓ | 54.3% | #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
Compiled 30 to 21 computations (30% saved)
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64))) |
(pow.f64 re #s(literal 2 binary64)) |
re |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (- (pow re 2) (pow im 2)))) |
#s(approx (pow re 2) #s(hole binary64 (pow re 2))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (pow re 2))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2))))))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | re | @ | -inf | ((- (* re re) (* im im)) (pow re 2) re 2) |
| 1.0ms | re | @ | inf | ((- (* re re) (* im im)) (pow re 2) re 2) |
| 0.0ms | re | @ | 0 | ((- (* re re) (* im im)) (pow re 2) re 2) |
| 0.0ms | im | @ | inf | ((- (* re re) (* im im)) (pow re 2) re 2) |
| 0.0ms | im | @ | -inf | ((- (* re re) (* im im)) (pow re 2) re 2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 126 |
| 0 | 30 | 122 |
| 1 | 127 | 121 |
| 0 | 1182 | 120 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64))) |
(pow.f64 re #s(literal 2 binary64)) |
re |
#s(literal 2 binary64) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (- (pow re 2) (pow im 2)))) |
#s(approx (pow re 2) #s(hole binary64 (pow re 2))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (pow re 2))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (pow im 2) (pow re 2))))))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (+ (* -1 (pow im 2)) (pow re 2)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
| Outputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
(*.f64 (*.f64 (neg.f64 re) #s(literal 1 binary64)) (*.f64 (neg.f64 re) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 re) #s(literal 1 binary64)) (*.f64 (fabs.f64 re) #s(literal 1 binary64))) |
(*.f64 (*.f64 re #s(literal 1 binary64)) (*.f64 re #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (*.f64 #s(literal 1 binary64) (neg.f64 re))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 re)) (neg.f64 re)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (*.f64 #s(literal 1 binary64) (fabs.f64 re))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 re)) (fabs.f64 re)) |
(*.f64 (*.f64 #s(literal 1 binary64) re) (*.f64 #s(literal 1 binary64) re)) |
(*.f64 (*.f64 #s(literal 1 binary64) re) re) |
(*.f64 (neg.f64 (neg.f64 re)) (neg.f64 (neg.f64 re))) |
(*.f64 (neg.f64 (fabs.f64 re)) (neg.f64 (fabs.f64 re))) |
(*.f64 (fabs.f64 (fabs.f64 re)) (fabs.f64 (fabs.f64 re))) |
(*.f64 (exp.f64 (log.f64 re)) (exp.f64 (log.f64 re))) |
(*.f64 (neg.f64 re) (*.f64 (neg.f64 re) #s(literal 1 binary64))) |
(*.f64 (neg.f64 re) (neg.f64 re)) |
(*.f64 (fabs.f64 re) (*.f64 (fabs.f64 re) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 re) (fabs.f64 re)) |
(*.f64 #s(literal 1 binary64) (*.f64 re re)) |
(*.f64 (*.f64 re re) #s(literal 1 binary64)) |
(*.f64 re (*.f64 re #s(literal 1 binary64))) |
(*.f64 re re) |
(pow.f64 (exp.f64 (log.f64 re)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 re) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 re) #s(literal 2 binary64)) |
(pow.f64 (*.f64 re re) #s(literal 1 binary64)) |
(pow.f64 re #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 re re)) #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 re re) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (*.f64 re re) #s(literal -1 binary64))) |
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 re re))) |
(neg.f64 (*.f64 (neg.f64 re) re)) |
(fabs.f64 (*.f64 re re)) |
(exp.f64 (fma.f64 (log.f64 re) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 re) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 re) #s(literal 2 binary64)))) |
re |
#s(literal 2 binary64) |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
#s(approx (- (* re re) (* im im)) (*.f64 (-.f64 re im) (+.f64 im re))) |
#s(approx (pow re 2) (*.f64 re re)) |
#s(approx re re) |
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 (fma.f64 (/.f64 im re) (/.f64 im re) #s(literal -1 binary64))) (*.f64 re re))) |
#s(approx (- (* re re) (* im im)) (*.f64 (-.f64 re im) (+.f64 im re))) |
#s(approx (- (* re re) (* im im)) (*.f64 (fma.f64 (/.f64 re im) (/.f64 re im) #s(literal -1 binary64)) (*.f64 im im))) |
Compiled 585 to 123 computations (79% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 0 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 40 | 3 | 43 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.0% | (fma.f64 (neg.f64 im) im (*.f64 re re)) |
| ✓ | 55.5% | #s(approx (- (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64))) |
| ✓ | 54.3% | #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
Compiled 78 to 37 computations (52.6% saved)
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
#s(approx (- (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64))) |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
(-.f64 (*.f64 re re) (*.f64 im im)) |
(fma.f64 (neg.f64 im) im (*.f64 re re)) |
| Outputs |
|---|
(fma.f64 (neg.f64 im) im (*.f64 re re)) |
5 calls:
| 7.0ms | (*.f64 im im) |
| 2.0ms | im |
| 2.0ms | re |
| 2.0ms | (*.f64 re re) |
| 2.0ms | (-.f64 (*.f64 re re) (*.f64 im im)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.0% | 1 | (*.f64 im im) |
| 98.0% | 1 | (*.f64 re re) |
| 98.0% | 1 | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 98.0% | 1 | re |
| 98.0% | 1 | im |
Compiled 15 to 15 computations (0% saved)
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
#s(approx (- (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64))) |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
(-.f64 (*.f64 re re) (*.f64 im im)) |
| Outputs |
|---|
(-.f64 (*.f64 re re) (*.f64 im im)) |
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
5 calls:
| 2.0ms | re |
| 2.0ms | im |
| 1.0ms | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 1.0ms | (*.f64 im im) |
| 1.0ms | (*.f64 re re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 96.9% | 2 | (*.f64 im im) |
| 98.0% | 2 | (*.f64 re re) |
| 98.0% | 2 | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 98.0% | 2 | re |
| 96.9% | 2 | im |
Compiled 15 to 15 computations (0% saved)
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
#s(approx (- (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64))) |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
| Outputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
3 calls:
| 2.0ms | re |
| 1.0ms | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 1.0ms | (*.f64 re re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 78.3% | 2 | (*.f64 re re) |
| 97.6% | 2 | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 78.3% | 2 | re |
Compiled 11 to 10 computations (9.1% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
#s(approx (- (* re re) (* im im)) (pow.f64 re #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
5 calls:
| 2.0ms | im |
| 1.0ms | re |
| 1.0ms | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 1.0ms | (*.f64 im im) |
| 1.0ms | (*.f64 re re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 55.5% | 1 | (*.f64 re re) |
| 55.5% | 1 | re |
| 55.5% | 1 | (*.f64 im im) |
| 55.5% | 1 | im |
| 55.5% | 1 | (-.f64 (*.f64 re re) (*.f64 im im)) |
Compiled 15 to 15 computations (0% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 7.0ms | 7.5226070104005e+144 | 8.771010735602447e+146 |
| 4.0ms | 112× | 0 | valid |
Compiled 136 to 108 computations (20.6% saved)
ival-mult!: 1.0ms (79.4% of total)ival-sub!: 0.0ms (0% of total)adjust: 0.0ms (0% of total)| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -2.5573269799548223e-284 | 0.0 |
Compiled 10 to 10 computations (0% saved)
| 1× | done |
Compiled 73 to 19 computations (74% saved)
(abs im)
(abs re)
Compiled 496 to 228 computations (54% saved)
Loading profile data...