
Time bar (total: 1.1s)
| 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)
| 411.0ms | 8 256× | 0 | valid |
ival-mult!: 83.0ms (66.8% of total)ival-sub!: 39.0ms (31.4% of total)adjust: 1.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 15 | 0 | - | 0 | - | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0 | 0 | - | 0 | - | (*.f64 a a) |
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | (*.f64 b b) |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (*.f64 a a) (*.f64 b b)) | nan-rescue | 15 | 0 |
| ↳ | (*.f64 a a) | overflow | 58 | |
| ↳ | (*.f64 b b) | overflow | 74 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 15 | 0 |
| - | 0 | 241 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 15 | 0 | 0 |
| - | 0 | 0 | 241 |
| number | freq |
|---|---|
| 0 | 241 |
| 1 | 15 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 19.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-mult!: 5.0ms (79.8% of total)ival-sub!: 1.0ms (16% 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.1% | (-.f64 (*.f64 a a) (*.f64 b b)) |
(abs a)
(abs b)
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (* b b) #s(hole binary64 (pow b 2))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | inf | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | a | @ | -inf | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | b | @ | inf | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | b | @ | -inf | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | a | @ | 0 | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
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 a a) (*.f64 b b)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (* b b) #s(hole binary64 (pow b 2))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
| Outputs |
|---|
(*.f64 (+.f64 (neg.f64 a) (neg.f64 b)) (-.f64 (neg.f64 a) (neg.f64 b))) |
(*.f64 (+.f64 (neg.f64 a) (fabs.f64 b)) (-.f64 (neg.f64 a) (fabs.f64 b))) |
(*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)) |
(*.f64 (+.f64 (fabs.f64 a) (neg.f64 b)) (-.f64 (fabs.f64 a) (neg.f64 b))) |
(*.f64 (+.f64 (fabs.f64 a) (fabs.f64 b)) (-.f64 (fabs.f64 a) (fabs.f64 b))) |
(*.f64 (+.f64 (fabs.f64 a) b) (-.f64 (fabs.f64 a) b)) |
(*.f64 (+.f64 a (neg.f64 b)) (-.f64 a (neg.f64 b))) |
(*.f64 (+.f64 a (fabs.f64 b)) (-.f64 a (fabs.f64 b))) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (neg.f64 (*.f64 (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a)))) (neg.f64 (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)))))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)) (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)))) (neg.f64 (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 b b) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)))))) |
(/.f64 (*.f64 (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)) (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b))) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))) |
(/.f64 (*.f64 (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))) |
(/.f64 (-.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (pow.f64 (*.f64 b b) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 a a) a) a (-.f64 (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 2 binary64)) (*.f64 (*.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) a) a)))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 a a) #s(literal 3/2 binary64)) (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))) |
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 b)) (neg.f64 b) (*.f64 a a)) |
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 b)) (fabs.f64 b) (*.f64 a a)) |
(fma.f64 (*.f64 #s(literal -1 binary64) b) b (*.f64 a a)) |
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) a (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (neg.f64 (neg.f64 b)) (neg.f64 b) (*.f64 a a)) |
(fma.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b) (*.f64 a a)) |
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (exp.f64 (log.f64 a)) (exp.f64 (log.f64 a)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (neg.f64 b) (*.f64 (neg.f64 b) #s(literal -1 binary64)) (*.f64 a a)) |
(fma.f64 (neg.f64 b) (neg.f64 (neg.f64 b)) (*.f64 a a)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (fabs.f64 b) (*.f64 (fabs.f64 b) #s(literal -1 binary64)) (*.f64 a a)) |
(fma.f64 (fabs.f64 b) (neg.f64 (fabs.f64 b)) (*.f64 a a)) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 a a)) |
(fma.f64 #s(literal -1 binary64) (*.f64 b b) (*.f64 a a)) |
(fma.f64 b (*.f64 b #s(literal -1 binary64)) (*.f64 a a)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(fma.f64 a (*.f64 a #s(literal 1 binary64)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fma.f64 a a (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 2 binary64)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))) (/.f64 (pow.f64 (*.f64 a a) #s(literal 2 binary64)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a)))) |
(-.f64 (/.f64 (pow.f64 (*.f64 a a) #s(literal 2 binary64)) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))) (/.f64 (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 2 binary64)) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)))) |
(-.f64 (/.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))) (/.f64 (pow.f64 (*.f64 b b) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)))))) |
(-.f64 (*.f64 a a) (*.f64 (neg.f64 (neg.f64 b)) b)) |
(-.f64 (*.f64 a a) (*.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal -1 binary64))) |
(-.f64 (*.f64 a a) (*.f64 #s(literal 1 binary64) (*.f64 b b))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(-.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) (*.f64 (neg.f64 a) a)) |
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b))))) (/.f64 (pow.f64 (*.f64 a a) #s(literal 3 binary64)) (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 b b)))))) |
(+.f64 (*.f64 a a) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(+.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) (*.f64 a a)) |
(*.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64))) |
(*.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a)) |
(*.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a)) |
(*.f64 (*.f64 #s(literal 1 binary64) a) a) |
(*.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a))) |
(*.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a))) |
(*.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a))) |
(*.f64 (exp.f64 (log.f64 a)) (exp.f64 (log.f64 a))) |
(*.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64))) |
(*.f64 (neg.f64 a) (neg.f64 a)) |
(*.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 a) (fabs.f64 a)) |
(*.f64 #s(literal 1 binary64) (*.f64 a a)) |
(*.f64 (*.f64 a a) #s(literal 1 binary64)) |
(*.f64 a (*.f64 a #s(literal 1 binary64))) |
(*.f64 a a) |
(pow.f64 (exp.f64 (log.f64 a)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 a) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 a) #s(literal 2 binary64)) |
(pow.f64 (*.f64 a a) #s(literal 1 binary64)) |
(pow.f64 a #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 a a)) #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 a a) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (*.f64 a a) #s(literal -1 binary64))) |
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 a a))) |
(neg.f64 (*.f64 (neg.f64 a) a)) |
(fabs.f64 (*.f64 a a)) |
(exp.f64 (fma.f64 (log.f64 a) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 a) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 a) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 a) #s(literal 2 binary64)))) |
a |
(*.f64 (neg.f64 (neg.f64 b)) (neg.f64 (neg.f64 b))) |
(*.f64 (neg.f64 (fabs.f64 b)) (neg.f64 (fabs.f64 b))) |
(*.f64 (fabs.f64 (fabs.f64 b)) (fabs.f64 (fabs.f64 b))) |
(*.f64 (exp.f64 (log.f64 b)) (exp.f64 (log.f64 b))) |
(*.f64 (neg.f64 b) (neg.f64 b)) |
(*.f64 (fabs.f64 b) (fabs.f64 b)) |
(*.f64 b b) |
(pow.f64 (exp.f64 (log.f64 b)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 b) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 b) #s(literal 2 binary64)) |
(pow.f64 (*.f64 b b) #s(literal 1 binary64)) |
(pow.f64 b #s(literal 2 binary64)) |
(neg.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
(fabs.f64 (*.f64 b b)) |
(exp.f64 (*.f64 (log.f64 b) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 b) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 b) #s(literal 2 binary64)))) |
b |
#s(approx (- (* a a) (* b b)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b))) |
#s(approx (* a a) (*.f64 a a)) |
#s(approx a a) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (/.f64 (fma.f64 (*.f64 (*.f64 b b) #s(literal -1 binary64)) #s(literal 2 binary64) (*.f64 (*.f64 a a) #s(literal 2 binary64))) (*.f64 (*.f64 a a) #s(literal 2 binary64))) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b))) |
#s(approx (* b b) (*.f64 b b)) |
#s(approx b b) |
#s(approx (- (* a a) (* b b)) (*.f64 (fma.f64 (/.f64 (neg.f64 a) b) (/.f64 (neg.f64 a) b) #s(literal -1 binary64)) (*.f64 b b))) |
Compiled 1 686 to 302 computations (82.1% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 131 | 1 | 132 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 132 | 1 | 133 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (-.f64 a b) (+.f64 b a)) |
Compiled 7 to 5 computations (28.6% saved)
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 b a)) |
(-.f64 a b) |
a |
b |
(+.f64 b a) |
| Outputs |
|---|
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ b (* -1 b)))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (+ b a) #s(hole binary64 b)) |
#s(approx (+ b a) #s(hole binary64 (+ a b))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (pow a 2))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))))) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (+ b a) #s(hole binary64 a)) |
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* b (+ a (* -1 a))) (pow a 2)))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1)))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)))) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1)))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 22.0ms | a | @ | -inf | ((* (- a b) (+ b a)) (- a b) a b (+ b a)) |
| 1.0ms | a | @ | 0 | ((* (- a b) (+ b a)) (- a b) a b (+ b a)) |
| 1.0ms | a | @ | inf | ((* (- a b) (+ b a)) (- a b) a b (+ b a)) |
| 1.0ms | b | @ | -inf | ((* (- a b) (+ b a)) (- a b) a b (+ b a)) |
| 1.0ms | b | @ | inf | ((* (- a b) (+ b a)) (- a b) a b (+ b a)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 121 | 475 |
| 0 | 122 | 428 |
| 0 | 718 | 419 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 b a)) |
(-.f64 a b) |
a |
b |
(+.f64 b a) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ b (* -1 b)))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (+ b a) #s(hole binary64 b)) |
#s(approx (+ b a) #s(hole binary64 (+ a b))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (pow a 2))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))))) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (+ b a) #s(hole binary64 a)) |
#s(approx (+ b a) #s(hole binary64 (* a (+ 1 (/ b a))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (+ b a) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* b (+ a (* -1 a))) (pow a 2)))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1)))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)))) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (+ b a) #s(hole binary64 (* b (+ 1 (/ a b))))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1)))) |
#s(approx (* (- a b) (+ b a)) #s(hole binary64 (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
#s(approx (+ b a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1))))) |
| Outputs |
|---|
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(fma.f64 (-.f64 a b) b (*.f64 (-.f64 a b) a)) |
(fma.f64 b (-.f64 a b) (*.f64 a (-.f64 a b))) |
(+.f64 (*.f64 b (-.f64 a b)) (*.f64 a (-.f64 a b))) |
(+.f64 (*.f64 (-.f64 a b) b) (*.f64 (-.f64 a b) a)) |
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 b a)) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (fma.f64 b b (*.f64 a b)))) |
(-.f64 a b) |
a |
b |
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (-.f64 b a)) |
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (-.f64 a b)) |
(/.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64))) (fma.f64 (pow.f64 b #s(literal 1 binary64)) (pow.f64 b #s(literal 1 binary64)) (-.f64 (*.f64 a a) (*.f64 b a)))) |
(/.f64 (+.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 (pow.f64 a #s(literal 1 binary64)) (pow.f64 a #s(literal 1 binary64)) (-.f64 (*.f64 b b) (*.f64 a b)))) |
(+.f64 b a) |
(+.f64 a b) |
#s(approx (* (- a b) (+ b a)) (*.f64 (*.f64 b b) #s(literal -1 binary64))) |
#s(approx (* (- a b) (+ b a)) (fma.f64 (*.f64 #s(literal 0 binary64) b) a (*.f64 (*.f64 b b) #s(literal -1 binary64)))) |
#s(approx (* (- a b) (+ b a)) (fma.f64 (fma.f64 #s(literal 0 binary64) b a) a (*.f64 (*.f64 b b) #s(literal -1 binary64)))) |
#s(approx (- a b) (*.f64 #s(literal -1 binary64) b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx a a) |
#s(approx (+ b a) b) |
#s(approx (+ b a) (+.f64 b a)) |
#s(approx (* (- a b) (+ b a)) (*.f64 a a)) |
#s(approx (* (- a b) (+ b a)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 b a) #s(literal 1 binary64)) (*.f64 a a))) |
#s(approx (* (- a b) (+ b a)) (*.f64 (+.f64 (fma.f64 (/.f64 b a) #s(literal -1 binary64) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 b b) (*.f64 a a)) #s(literal -1 binary64) (/.f64 b a))) (*.f64 a a))) |
#s(approx (- a b) a) |
#s(approx (- a b) (*.f64 (fma.f64 (/.f64 b a) #s(literal -1 binary64) #s(literal 1 binary64)) a)) |
#s(approx (+ b a) a) |
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 b a) #s(literal 1 binary64)) a)) |
#s(approx (* (- a b) (+ b a)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) b) #s(literal -1 binary64) (/.f64 (*.f64 b b) a)) a) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 a a))) |
#s(approx (- a b) (*.f64 (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) a) #s(literal -1 binary64))) |
#s(approx (+ b a) (*.f64 (*.f64 (-.f64 (*.f64 (/.f64 b a) #s(literal -1 binary64)) #s(literal 1 binary64)) a) #s(literal -1 binary64))) |
#s(approx (* (- a b) (+ b a)) (fma.f64 (*.f64 #s(literal 0 binary64) a) b (*.f64 a a))) |
#s(approx (* (- a b) (+ b a)) (fma.f64 (fma.f64 #s(literal 0 binary64) a (*.f64 #s(literal -1 binary64) b)) b (*.f64 a a))) |
#s(approx (- a b) (fma.f64 #s(literal -1 binary64) b a)) |
#s(approx b b) |
#s(approx (* (- a b) (+ b a)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (* (- a b) (+ b a)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 a b) (/.f64 (*.f64 a a) (*.f64 b b))) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b)) |
#s(approx (+ b a) (*.f64 (+.f64 (/.f64 a b) #s(literal 1 binary64)) b)) |
#s(approx (* (- a b) (+ b a)) (*.f64 (-.f64 (*.f64 (*.f64 #s(literal 0 binary64) (/.f64 a b)) #s(literal -1 binary64)) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (* (- a b) (+ b a)) (*.f64 (-.f64 (*.f64 (/.f64 (fma.f64 #s(literal 0 binary64) a (*.f64 (/.f64 (*.f64 a a) b) #s(literal -1 binary64))) b) #s(literal -1 binary64)) #s(literal 1 binary64)) (*.f64 b b))) |
#s(approx (- a b) (*.f64 (*.f64 (fma.f64 (/.f64 a b) #s(literal -1 binary64) #s(literal 1 binary64)) b) #s(literal -1 binary64))) |
#s(approx (+ b a) (*.f64 (*.f64 (-.f64 (*.f64 (/.f64 a b) #s(literal -1 binary64)) #s(literal 1 binary64)) b) #s(literal -1 binary64))) |
Compiled 731 to 171 computations (76.6% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 51 | 0 | 51 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 51 | 1 | 52 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (-.f64 a b) (+.f64 b a)) |
Compiled 21 to 13 computations (38.1% saved)
Total -3.8b remaining (-∞%)
Threshold costs -3.8b (-∞%)
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 b a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(*.f64 (-.f64 a b) (+.f64 b a)) |
5 calls:
| 5.0ms | (*.f64 b b) |
| 1.0ms | b |
| 1.0ms | a |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 b b) |
| 100.0% | 1 | (*.f64 a a) |
| 100.0% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 100.0% | 1 | a |
| 100.0% | 1 | b |
Compiled 15 to 15 computations (0% saved)
| 1× | done |
Compiled 7 to 5 computations (28.6% saved)
(abs b)
(abs a)
Compiled 56 to 40 computations (28.6% saved)
Loading profile data...