
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)
| 371.0ms | 8 256× | 0 | valid |
ival-mult!: 164.0ms (86.9% of total)ival-sub!: 24.0ms (12.7% of total)adjust: 2.0ms (1.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 18 | 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 | 18 | 0 |
| ↳ | (*.f64 re re) | overflow | 70 | |
| ↳ | (*.f64 im im) | overflow | 58 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 18 | 0 |
| - | 0 | 238 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 18 | 0 | 0 |
| - | 0 | 0 | 238 |
| number | freq |
|---|---|
| 0 | 238 |
| 1 | 18 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 21.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-mult!: 5.0ms (78.9% of total)ival-sub!: 1.0ms (15.8% of total)adjust: 0.0ms (0% of total)Useful iterations: 0 (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 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 21 | 7 |
| 2 | 81 | 7 |
| 3 | 223 | 7 |
| 4 | 403 | 7 |
| 5 | 836 | 7 |
| 6 | 1385 | 7 |
| 7 | 2069 | 7 |
| 8 | 2898 | 7 |
| 9 | 3208 | 7 |
| 10 | 3270 | 7 |
| 11 | 3270 | 7 |
| 12 | 3348 | 7 |
| 0 | 3348 | 7 |
| 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)) |
(*.f64 (-.f64 re im) (+.f64 im re)) |
(abs re)
(abs im)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 93.0% | (-.f64 (*.f64 re re) (*.f64 im im)) |
Compiled 7 to 5 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 | |
|---|---|---|---|---|
| 6.0ms | re | @ | 0 | ((- (* 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 | 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) |
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 477 to 299 computations (79.8% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 129 | 3 | 132 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 130 | 3 | 133 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (-.f64 re im) (+.f64 im re)) |
| ▶ | 50.0% | #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
| ▶ | 54.8% | #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 |
(*.f64 (-.f64 re im) (+.f64 im re)) |
(-.f64 re im) |
(+.f64 im 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 (* (- re im) (+ im re)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (* -1 im)))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (+ re (* -1 im))))))) |
#s(approx (- re im) #s(hole binary64 (* -1 im))) |
#s(approx (- re im) #s(hole binary64 (- re im))) |
#s(approx (+ im re) #s(hole binary64 im)) |
#s(approx (+ im re) #s(hole binary64 (+ im 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 im) (+ im re)) #s(hole binary64 (pow re 2))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (/ im re)))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (+ (* -1 (/ (pow im 2) (pow re 2))) (/ im re))))))) |
#s(approx (- re im) #s(hole binary64 re)) |
#s(approx (- re im) #s(hole binary64 (* re (+ 1 (* -1 (/ im re)))))) |
#s(approx (+ im re) #s(hole binary64 re)) |
#s(approx (+ im re) #s(hole binary64 (* re (+ 1 (/ im re))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (+ (* -1 (+ im (* -1 im))) (/ (pow im 2) re)) re)))))) |
#s(approx (- re im) #s(hole binary64 (* -1 (* re (- (/ im re) 1))))) |
#s(approx (+ im re) #s(hole binary64 (* -1 (* re (- (* -1 (/ im re)) 1))))) |
#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 im) (+ im re)) #s(hole binary64 (+ (* im (+ re (* -1 re))) (pow re 2)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (+ (* -1 im) (* -1 re)))) (pow re 2)))) |
#s(approx (- re im) #s(hole binary64 (+ re (* -1 im)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (/ re im)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (+ (/ re im) (/ (pow re 2) (pow im 2)))) 1)))) |
#s(approx (- re im) #s(hole binary64 (* im (- (/ re im) 1)))) |
#s(approx (+ im re) #s(hole binary64 (* im (+ 1 (/ re im))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (* -1 re)) im)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (+ (* -1 re) (* -1 (/ (pow re 2) im)))) im)) 1)))) |
#s(approx (- re im) #s(hole binary64 (* -1 (* im (+ 1 (* -1 (/ re im))))))) |
#s(approx (+ im re) #s(hole binary64 (* -1 (* im (- (* -1 (/ re im)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | im | @ | inf | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (* (- re im) (+ im re)) (- re im) (+ im re)) |
| 1.0ms | im | @ | -inf | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (* (- re im) (+ im re)) (- re im) (+ im re)) |
| 1.0ms | re | @ | -inf | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (* (- re im) (+ im re)) (- re im) (+ im re)) |
| 1.0ms | re | @ | inf | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (* (- re im) (+ im re)) (- re im) (+ im re)) |
| 1.0ms | re | @ | 0 | ((- (* re re) (* im im)) (* re re) re (- (* re re) (* im im)) (* (neg im) im) (neg im) im (* (- re im) (+ im re)) (- re im) (+ im re)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 145 | 630 |
| 0 | 149 | 579 |
| 0 | 813 | 571 |
| 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 |
(*.f64 (-.f64 re im) (+.f64 im re)) |
(-.f64 re im) |
(+.f64 im 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 (* (- re im) (+ im re)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (* -1 im)))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (+ re (* -1 im))))))) |
#s(approx (- re im) #s(hole binary64 (* -1 im))) |
#s(approx (- re im) #s(hole binary64 (- re im))) |
#s(approx (+ im re) #s(hole binary64 im)) |
#s(approx (+ im re) #s(hole binary64 (+ im 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 im) (+ im re)) #s(hole binary64 (pow re 2))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (/ im re)))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (+ (* -1 (/ (pow im 2) (pow re 2))) (/ im re))))))) |
#s(approx (- re im) #s(hole binary64 re)) |
#s(approx (- re im) #s(hole binary64 (* re (+ 1 (* -1 (/ im re)))))) |
#s(approx (+ im re) #s(hole binary64 re)) |
#s(approx (+ im re) #s(hole binary64 (* re (+ 1 (/ im re))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (+ (* -1 (+ im (* -1 im))) (/ (pow im 2) re)) re)))))) |
#s(approx (- re im) #s(hole binary64 (* -1 (* re (- (/ im re) 1))))) |
#s(approx (+ im re) #s(hole binary64 (* -1 (* re (- (* -1 (/ im re)) 1))))) |
#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 im) (+ im re)) #s(hole binary64 (+ (* im (+ re (* -1 re))) (pow re 2)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (+ (* -1 im) (* -1 re)))) (pow re 2)))) |
#s(approx (- re im) #s(hole binary64 (+ re (* -1 im)))) |
#s(approx (- (* re re) (* im im)) #s(hole binary64 (* (pow im 2) (- (/ (pow re 2) (pow im 2)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (/ re im)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (+ (/ re im) (/ (pow re 2) (pow im 2)))) 1)))) |
#s(approx (- re im) #s(hole binary64 (* im (- (/ re im) 1)))) |
#s(approx (+ im re) #s(hole binary64 (* im (+ 1 (/ re im))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (* -1 re)) im)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (+ (* -1 re) (* -1 (/ (pow re 2) im)))) im)) 1)))) |
#s(approx (- re im) #s(hole binary64 (* -1 (* im (+ 1 (* -1 (/ re im))))))) |
#s(approx (+ im re) #s(hole binary64 (* -1 (* im (- (* -1 (/ re im)) 1))))) |
| Outputs |
|---|
#s(approx (* (- re im) (+ im re)) (*.f64 re re)) |
(*.f64 (pow.f64 re #s(literal 1 binary64)) (pow.f64 re #s(literal 1 binary64))) |
(*.f64 (fabs.f64 re) (fabs.f64 re)) |
(*.f64 (neg.f64 re) (neg.f64 re)) |
(*.f64 re re) |
(pow.f64 re #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 re) #s(literal 2 binary64))) |
re |
#s(approx (* (- re im) (+ im re)) (*.f64 (neg.f64 im) im)) |
(*.f64 (neg.f64 im) im) |
(*.f64 (*.f64 im im) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.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 im re) (-.f64 re im)) |
(*.f64 (-.f64 re im) (+.f64 im re)) |
(/.f64 (-.f64 (*.f64 (*.f64 re re) (*.f64 re re)) (*.f64 (*.f64 im im) (*.f64 im im))) (fma.f64 re re (*.f64 im im))) |
(/.f64 (-.f64 (*.f64 (*.f64 (neg.f64 im) im) (*.f64 (neg.f64 im) im)) (*.f64 (*.f64 re re) (*.f64 re re))) (-.f64 (*.f64 (neg.f64 im) im) (*.f64 re re))) |
(/.f64 (-.f64 (pow.f64 (*.f64 re re) #s(literal 3 binary64)) (pow.f64 (*.f64 im im) #s(literal 3 binary64))) (fma.f64 (*.f64 re re) (*.f64 re re) (fma.f64 (*.f64 im im) (*.f64 im im) (*.f64 (*.f64 re re) (*.f64 im im))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 (neg.f64 im) im) #s(literal 3 binary64)) (pow.f64 (*.f64 re re) #s(literal 3 binary64))) (fma.f64 (*.f64 (neg.f64 im) im) (*.f64 (neg.f64 im) im) (-.f64 (*.f64 (*.f64 re re) (*.f64 re re)) (*.f64 (*.f64 (neg.f64 im) im) (*.f64 re re))))) |
(fma.f64 (pow.f64 re #s(literal 1 binary64)) (pow.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 (neg.f64 re) (neg.f64 re) (*.f64 (neg.f64 im) im)) |
(fma.f64 (neg.f64 im) im (*.f64 re re)) |
(fma.f64 (-.f64 re im) im (*.f64 (-.f64 re im) re)) |
(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 (neg.f64 im) (*.f64 re re)) |
(fma.f64 im (-.f64 re im) (*.f64 re (-.f64 re im))) |
(fma.f64 re re (*.f64 (neg.f64 im) im)) |
(-.f64 (*.f64 re re) (*.f64 im im)) |
(+.f64 (*.f64 im (-.f64 re im)) (*.f64 re (-.f64 re im))) |
(+.f64 (*.f64 (-.f64 re im) im) (*.f64 (-.f64 re im) re)) |
(+.f64 (*.f64 re re) (*.f64 (neg.f64 im) im)) |
(+.f64 (*.f64 (neg.f64 im) im) (*.f64 re re)) |
(/.f64 (-.f64 (pow.f64 re #s(literal 3 binary64)) (pow.f64 im #s(literal 3 binary64))) (fma.f64 re re (fma.f64 im im (*.f64 re im)))) |
(/.f64 (*.f64 (+.f64 im re) (-.f64 re im)) (+.f64 im re)) |
(-.f64 re im) |
(/.f64 (-.f64 (*.f64 im im) (*.f64 re re)) (-.f64 im re)) |
(/.f64 (+.f64 (pow.f64 im #s(literal 3 binary64)) (pow.f64 re #s(literal 3 binary64))) (fma.f64 im im (-.f64 (*.f64 re re) (*.f64 im re)))) |
(+.f64 im re) |
(+.f64 re im) |
#s(approx (* (- re im) (+ im re)) (*.f64 (neg.f64 im) im)) |
#s(approx (* (- re im) (+ im re)) (*.f64 (+.f64 im re) (-.f64 re im))) |
#s(approx (* re re) (*.f64 re re)) |
#s(approx re re) |
#s(approx (* (- re im) (+ im re)) (*.f64 (neg.f64 im) im)) |
#s(approx (* (- re im) (+ im re)) (fma.f64 (neg.f64 im) im (*.f64 (*.f64 #s(literal 0 binary64) im) re))) |
#s(approx (* (- re im) (+ im re)) (fma.f64 (neg.f64 im) im (*.f64 (+.f64 (fma.f64 #s(literal -1 binary64) im re) im) re))) |
#s(approx (- re im) (neg.f64 im)) |
#s(approx (- re im) (-.f64 re im)) |
#s(approx (+ im re) im) |
#s(approx (+ im re) (+.f64 im re)) |
#s(approx (* (- re im) (+ im re)) (*.f64 re re)) |
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 (/.f64 (*.f64 im im) (*.f64 re re)) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 re re))) |
#s(approx (* (- re im) (+ im re)) (*.f64 re re)) |
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 im re) #s(literal 1 binary64)) (*.f64 re re))) |
#s(approx (* (- re im) (+ im re)) (*.f64 (+.f64 (fma.f64 (/.f64 im re) #s(literal -1 binary64) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 im im) (*.f64 re re)) #s(literal -1 binary64) (/.f64 im re))) (*.f64 re re))) |
#s(approx (- re im) re) |
#s(approx (- re im) (*.f64 (fma.f64 (/.f64 im re) #s(literal -1 binary64) #s(literal 1 binary64)) re)) |
#s(approx (+ im re) re) |
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 im re) #s(literal 1 binary64)) re)) |
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) im) #s(literal -1 binary64) (/.f64 (*.f64 im im) re)) re) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 re re))) |
#s(approx (- re im) (*.f64 (neg.f64 re) (-.f64 (/.f64 im re) #s(literal 1 binary64)))) |
#s(approx (+ im re) (*.f64 (neg.f64 re) (-.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64)))) |
#s(approx (* (- re im) (+ im re)) (*.f64 (+.f64 im re) (-.f64 re im))) |
#s(approx (* (neg im) im) (*.f64 (neg.f64 im) im)) |
#s(approx (neg im) (neg.f64 im)) |
#s(approx im im) |
#s(approx (* (- re im) (+ im re)) (fma.f64 (*.f64 #s(literal 0 binary64) re) im (*.f64 re re))) |
#s(approx (* (- re im) (+ im re)) (fma.f64 (fma.f64 #s(literal -1 binary64) (+.f64 im re) re) im (*.f64 re re))) |
#s(approx (- re im) (fma.f64 #s(literal -1 binary64) im re)) |
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (/.f64 (*.f64 re re) (*.f64 im im)) #s(literal 1 binary64)) (*.f64 im im))) |
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 re im)) #s(literal 1 binary64)) (*.f64 im im))) |
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 re im) (/.f64 (*.f64 re re) (*.f64 im im))) #s(literal 1 binary64)) (*.f64 im im))) |
#s(approx (- re im) (*.f64 (-.f64 (/.f64 re im) #s(literal 1 binary64)) im)) |
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 re im) #s(literal 1 binary64)) im)) |
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 re im))) #s(literal 1 binary64)) (*.f64 im im))) |
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) re (neg.f64 (/.f64 (*.f64 re re) im))) im)) #s(literal 1 binary64)) (*.f64 im im))) |
#s(approx (- re im) (*.f64 (neg.f64 im) (fma.f64 (/.f64 re im) #s(literal -1 binary64) #s(literal 1 binary64)))) |
#s(approx (+ im re) (*.f64 (neg.f64 im) (-.f64 (/.f64 (neg.f64 re) im) #s(literal 1 binary64)))) |
Compiled 1 264 to 252 computations (80.1% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 91 | 1 | 92 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 91 | 4 | 95 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (-.f64 re im) (+.f64 im re)) |
| ▶ | 59.4% | (*.f64 (-.f64 re im) #s(approx (+ im re) im)) |
| ✓ | 50.0% | #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
| ✓ | 54.8% | #s(approx (- (* re re) (* im im)) (*.f64 re re)) |
Compiled 39 to 26 computations (33.3% saved)
| Inputs |
|---|
(*.f64 (-.f64 re im) #s(approx (+ im re) im)) |
(-.f64 re im) |
re |
im |
#s(approx (+ im re) im) |
| Outputs |
|---|
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (* -1 im)))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (+ re (* -1 im))))))) |
#s(approx (- re im) #s(hole binary64 (* -1 im))) |
#s(approx (- re im) #s(hole binary64 (- re im))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (+ im re) #s(hole binary64 im)) |
#s(approx (+ im re) #s(hole binary64 (+ im re))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (pow re 2))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (/ im re)))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (+ (* -1 (/ (pow im 2) (pow re 2))) (/ im re))))))) |
#s(approx (- re im) #s(hole binary64 re)) |
#s(approx (- re im) #s(hole binary64 (* re (+ 1 (* -1 (/ im re)))))) |
#s(approx (+ im re) #s(hole binary64 re)) |
#s(approx (+ im re) #s(hole binary64 (* re (+ 1 (/ im re))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (+ (* -1 (+ im (* -1 im))) (/ (pow im 2) re)) re)))))) |
#s(approx (- re im) #s(hole binary64 (* -1 (* re (- (/ im re) 1))))) |
#s(approx (+ im re) #s(hole binary64 (* -1 (* re (- (* -1 (/ im re)) 1))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (* -1 re))) (pow re 2)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (+ (* -1 im) (* -1 re)))) (pow re 2)))) |
#s(approx (- re im) #s(hole binary64 (+ re (* -1 im)))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (/ re im)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (+ (/ re im) (/ (pow re 2) (pow im 2)))) 1)))) |
#s(approx (- re im) #s(hole binary64 (* im (- (/ re im) 1)))) |
#s(approx (+ im re) #s(hole binary64 (* im (+ 1 (/ re im))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (* -1 re)) im)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (+ (* -1 re) (* -1 (/ (pow re 2) im)))) im)) 1)))) |
#s(approx (- re im) #s(hole binary64 (* -1 (* im (+ 1 (* -1 (/ re im))))))) |
#s(approx (+ im re) #s(hole binary64 (* -1 (* im (- (* -1 (/ re im)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | re | @ | -inf | ((* (- re im) (+ im re)) (- re im) re im (+ im re)) |
| 0.0ms | im | @ | -inf | ((* (- re im) (+ im re)) (- re im) re im (+ im re)) |
| 0.0ms | re | @ | inf | ((* (- re im) (+ im re)) (- re im) re im (+ im re)) |
| 0.0ms | im | @ | inf | ((* (- re im) (+ im re)) (- re im) re im (+ im re)) |
| 0.0ms | re | @ | 0 | ((* (- re im) (+ im re)) (- re im) re im (+ im re)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 119 | 479 |
| 0 | 121 | 434 |
| 0 | 714 | 426 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (-.f64 re im) #s(approx (+ im re) im)) |
(-.f64 re im) |
re |
im |
#s(approx (+ im re) im) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* -1 (pow im 2)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (* -1 im)))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* -1 (pow im 2)) (* re (+ im (+ re (* -1 im))))))) |
#s(approx (- re im) #s(hole binary64 (* -1 im))) |
#s(approx (- re im) #s(hole binary64 (- re im))) |
#s(approx re #s(hole binary64 re)) |
#s(approx (+ im re) #s(hole binary64 im)) |
#s(approx (+ im re) #s(hole binary64 (+ im re))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (pow re 2))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (/ im re)))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (+ (* -1 (/ im re)) (+ (* -1 (/ (pow im 2) (pow re 2))) (/ im re))))))) |
#s(approx (- re im) #s(hole binary64 re)) |
#s(approx (- re im) #s(hole binary64 (* re (+ 1 (* -1 (/ im re)))))) |
#s(approx (+ im re) #s(hole binary64 re)) |
#s(approx (+ im re) #s(hole binary64 (* re (+ 1 (/ im re))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow re 2) (+ 1 (* -1 (/ (+ (* -1 (+ im (* -1 im))) (/ (pow im 2) re)) re)))))) |
#s(approx (- re im) #s(hole binary64 (* -1 (* re (- (/ im re) 1))))) |
#s(approx (+ im re) #s(hole binary64 (* -1 (* re (- (* -1 (/ im re)) 1))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (* -1 re))) (pow re 2)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (+ (* im (+ re (+ (* -1 im) (* -1 re)))) (pow re 2)))) |
#s(approx (- re im) #s(hole binary64 (+ re (* -1 im)))) |
#s(approx im #s(hole binary64 im)) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (/ re im)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (+ (* -1 (/ re im)) (+ (/ re im) (/ (pow re 2) (pow im 2)))) 1)))) |
#s(approx (- re im) #s(hole binary64 (* im (- (/ re im) 1)))) |
#s(approx (+ im re) #s(hole binary64 (* im (+ 1 (/ re im))))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (* -1 re)) im)) 1)))) |
#s(approx (* (- re im) (+ im re)) #s(hole binary64 (* (pow im 2) (- (* -1 (/ (+ re (+ (* -1 re) (* -1 (/ (pow re 2) im)))) im)) 1)))) |
#s(approx (- re im) #s(hole binary64 (* -1 (* im (+ 1 (* -1 (/ re im))))))) |
#s(approx (+ im re) #s(hole binary64 (* -1 (* im (- (* -1 (/ re im)) 1))))) |
| Outputs |
|---|
(*.f64 (-.f64 re im) #s(approx (+ im re) im)) |
(*.f64 #s(approx (+ im re) im) (-.f64 re im)) |
(/.f64 (-.f64 (*.f64 re re) (*.f64 im im)) (+.f64 im re)) |
(/.f64 (-.f64 (pow.f64 re #s(literal 3 binary64)) (pow.f64 im #s(literal 3 binary64))) (fma.f64 re re (fma.f64 im im (*.f64 re im)))) |
(-.f64 re im) |
re |
im |
#s(approx (+ im re) im) |
#s(approx (* (- re im) (+ im re)) (neg.f64 (*.f64 im im))) |
#s(approx (* (- re im) (+ im re)) (fma.f64 (*.f64 #s(literal 0 binary64) im) re (neg.f64 (*.f64 im im)))) |
#s(approx (* (- re im) (+ im re)) (fma.f64 (+.f64 (fma.f64 #s(literal -1 binary64) im re) im) re (neg.f64 (*.f64 im im)))) |
#s(approx (- re im) (neg.f64 im)) |
#s(approx (- re im) (-.f64 re im)) |
#s(approx re re) |
#s(approx (+ im re) im) |
#s(approx (+ im re) (+.f64 im re)) |
#s(approx (* (- re im) (+ im re)) (*.f64 re re)) |
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 im re) #s(literal 1 binary64)) (*.f64 re re))) |
#s(approx (* (- re im) (+ im re)) (*.f64 (+.f64 (fma.f64 (/.f64 im re) #s(literal -1 binary64) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 im im) (*.f64 re re)) #s(literal -1 binary64) (/.f64 im re))) (*.f64 re re))) |
#s(approx (- re im) re) |
#s(approx (- re im) (*.f64 (fma.f64 (/.f64 im re) #s(literal -1 binary64) #s(literal 1 binary64)) re)) |
#s(approx (+ im re) re) |
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 im re) #s(literal 1 binary64)) re)) |
#s(approx (* (- re im) (+ im re)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) im) #s(literal -1 binary64) (/.f64 (*.f64 im im) re)) re) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 re re))) |
#s(approx (- re im) (*.f64 (neg.f64 re) (-.f64 (/.f64 im re) #s(literal 1 binary64)))) |
#s(approx (+ im re) (*.f64 (neg.f64 re) (-.f64 (/.f64 (neg.f64 im) re) #s(literal 1 binary64)))) |
#s(approx (* (- re im) (+ im re)) (fma.f64 (*.f64 #s(literal 0 binary64) re) im (*.f64 re re))) |
#s(approx (* (- re im) (+ im re)) (fma.f64 (fma.f64 #s(literal -1 binary64) (+.f64 im re) re) im (*.f64 re re))) |
#s(approx (- re im) (fma.f64 #s(literal -1 binary64) im re)) |
#s(approx im im) |
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 re im)) #s(literal 1 binary64)) (*.f64 im im))) |
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 re im) (/.f64 (*.f64 re re) (*.f64 im im))) #s(literal 1 binary64)) (*.f64 im im))) |
#s(approx (- re im) (*.f64 (-.f64 (/.f64 re im) #s(literal 1 binary64)) im)) |
#s(approx (+ im re) (*.f64 (+.f64 (/.f64 re im) #s(literal 1 binary64)) im)) |
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 re im))) #s(literal 1 binary64)) (*.f64 im im))) |
#s(approx (* (- re im) (+ im re)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) re (neg.f64 (/.f64 (*.f64 re re) im))) im)) #s(literal 1 binary64)) (*.f64 im im))) |
#s(approx (- re im) (*.f64 (neg.f64 im) (fma.f64 (/.f64 re im) #s(literal -1 binary64) #s(literal 1 binary64)))) |
#s(approx (+ im re) (*.f64 (neg.f64 im) (-.f64 (/.f64 (neg.f64 re) im) #s(literal 1 binary64)))) |
Compiled 604 to 136 computations (77.5% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 0 | 39 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 39 | 4 | 43 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (-.f64 re im) (+.f64 im re)) |
| ✓ | 59.4% | (*.f64 (-.f64 re im) #s(approx (+ im re) im)) |
| ✓ | 50.0% | #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
| ✓ | 54.8% | #s(approx (- (* re re) (* im im)) (*.f64 re re)) |
Compiled 85 to 44 computations (48.2% saved)
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
(*.f64 (-.f64 re im) #s(approx (+ im re) im)) |
(*.f64 (-.f64 re im) (+.f64 im re)) |
(-.f64 (*.f64 re re) (*.f64 im im)) |
| Outputs |
|---|
(*.f64 (-.f64 re im) (+.f64 im re)) |
5 calls:
| 2.0ms | im |
| 2.0ms | re |
| 2.0ms | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 2.0ms | (*.f64 im im) |
| 2.0ms | (*.f64 re re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 im im) |
| 100.0% | 1 | (*.f64 re re) |
| 100.0% | 1 | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 100.0% | 1 | re |
| 100.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)) (*.f64 (neg.f64 im) im)) |
(*.f64 (-.f64 re im) #s(approx (+ im re) im)) |
| Outputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) |
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
(*.f64 (-.f64 re im) #s(approx (+ im re) im)) |
5 calls:
| 6.0ms | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 2.0ms | im |
| 2.0ms | re |
| 1.0ms | (*.f64 im im) |
| 1.0ms | (*.f64 re re) |
| Accuracy | Segments | Branch |
|---|---|---|
| 85.9% | 2 | (*.f64 im im) |
| 81.2% | 4 | (*.f64 re re) |
| 99.4% | 3 | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 81.2% | 4 | re |
| 85.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)) (*.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)) |
1 calls:
| 1.0ms | (-.f64 (*.f64 re re) (*.f64 im im)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.4% | 2 | (-.f64 (*.f64 re re) (*.f64 im im)) |
Compiled 7 to 5 computations (28.6% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
| Outputs |
|---|
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
5 calls:
| 1.0ms | im |
| 1.0ms | re |
| 1.0ms | (*.f64 re re) |
| 1.0ms | (-.f64 (*.f64 re re) (*.f64 im im)) |
| 1.0ms | (*.f64 im im) |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.8% | 1 | (*.f64 re re) |
| 54.8% | 1 | re |
| 54.8% | 1 | (*.f64 im im) |
| 54.8% | 1 | im |
| 54.8% | 1 | (-.f64 (*.f64 re re) (*.f64 im im)) |
Compiled 15 to 15 computations (0% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | +inf | NaN |
| 0.0ms | -7.075825884698963e-296 | 0.0 |
Compiled 10 to 10 computations (0% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -7.075825884698963e-296 | 0.0 |
Compiled 10 to 10 computations (0% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 103 |
| 1 | 47 | 103 |
| 2 | 111 | 103 |
| 3 | 254 | 103 |
| 4 | 434 | 103 |
| 5 | 869 | 103 |
| 6 | 1420 | 103 |
| 7 | 2104 | 103 |
| 8 | 2937 | 103 |
| 9 | 3247 | 103 |
| 10 | 3309 | 103 |
| 11 | 3309 | 103 |
| 12 | 3387 | 103 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (-.f64 re im) (+.f64 im re)) |
(if (<=.f64 (-.f64 (*.f64 re re) (*.f64 im im)) #s(literal -4602094425247529/92041888504950574475740425768398066361240421321846096523996201552759130012416493123946740389072658442813498306494153399121300361632981310716337884487410751681417161433531128461466736435838000189159978471467522953645133149359340995314643512596903545427635461470508184698852989920501614748075702440767602758254592 binary64)) #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) (if (<=.f64 (-.f64 (*.f64 re re) (*.f64 im im)) #s(literal +inf.0 binary64)) #s(approx (- (* re re) (* im im)) (*.f64 re re)) (*.f64 (-.f64 re im) #s(approx (+ im re) im)))) |
(if (<=.f64 (-.f64 (*.f64 re re) (*.f64 im im)) #s(literal -4602094425247529/92041888504950574475740425768398066361240421321846096523996201552759130012416493123946740389072658442813498306494153399121300361632981310716337884487410751681417161433531128461466736435838000189159978471467522953645133149359340995314643512596903545427635461470508184698852989920501614748075702440767602758254592 binary64)) #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) #s(approx (- (* re re) (* im im)) (*.f64 re re))) |
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
| Outputs |
|---|
(*.f64 (-.f64 re im) (+.f64 im re)) |
(if (<=.f64 (-.f64 (*.f64 re re) (*.f64 im im)) #s(literal -4602094425247529/92041888504950574475740425768398066361240421321846096523996201552759130012416493123946740389072658442813498306494153399121300361632981310716337884487410751681417161433531128461466736435838000189159978471467522953645133149359340995314643512596903545427635461470508184698852989920501614748075702440767602758254592 binary64)) #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) (if (<=.f64 (-.f64 (*.f64 re re) (*.f64 im im)) #s(literal +inf.0 binary64)) #s(approx (- (* re re) (* im im)) (*.f64 re re)) (*.f64 (-.f64 re im) #s(approx (+ im re) im)))) |
(if (<=.f64 (-.f64 (*.f64 re re) (*.f64 im im)) #s(literal -4602094425247529/92041888504950574475740425768398066361240421321846096523996201552759130012416493123946740389072658442813498306494153399121300361632981310716337884487410751681417161433531128461466736435838000189159978471467522953645133149359340995314643512596903545427635461470508184698852989920501614748075702440767602758254592 binary64)) #s(approx (- (* re re) (* im im)) (*.f64 (neg.f64 im) im)) #s(approx (- (* re re) (* im im)) (*.f64 re re))) |
#s(approx (- (* re re) (* im im)) (*.f64 re re)) |
| 1× | done |
Compiled 103 to 25 computations (75.7% saved)
(abs im)
(abs re)
Compiled 248 to 80 computations (67.7% saved)
Loading profile data...