
Time bar (total: 2.0s)
| 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)
| 1.1s | 8 256× | 0 | valid |
ival-mult: 833.0ms (93.5% of total)ival-sub: 54.0ms (6.1% of total)ival-assert: 3.0ms (0.3% of total)adjust: 2.0ms (0.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 13 | 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 | 13 | 0 |
| ↳ | (*.f64 a a) | overflow | 51 | |
| ↳ | (*.f64 b b) | overflow | 62 |
| 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 |
| 37.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-mult: 23.0ms (90.4% of total)ival-sub: 2.0ms (7.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 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 a a) (*.f64 b b)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(abs a)
(abs b)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 94.9% | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 7 to 5 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 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64)))) (neg.f64 (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 b #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 a #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 a a) (fma.f64 b b (*.f64 a a)) (pow.f64 b #s(literal 4 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 4 binary64)) (pow.f64 b #s(literal 4 binary64)))) (neg.f64 (fma.f64 b b (*.f64 a a)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 6 binary64)) (pow.f64 b #s(literal 6 binary64)))) (neg.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64))))) |
(/.f64 (-.f64 (pow.f64 a #s(literal 4 binary64)) (pow.f64 b #s(literal 4 binary64))) (fma.f64 b b (*.f64 a a))) |
(/.f64 (-.f64 (pow.f64 b #s(literal 4 binary64)) (pow.f64 a #s(literal 4 binary64))) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))) |
(/.f64 (-.f64 (pow.f64 a #s(literal 6 binary64)) (pow.f64 b #s(literal 6 binary64))) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64)))) |
(/.f64 (fma.f64 (pow.f64 b #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 a #s(literal 6 binary64))) (+.f64 (pow.f64 a #s(literal 4 binary64)) (-.f64 (pow.f64 b #s(literal 4 binary64)) (neg.f64 (pow.f64 (*.f64 a b) #s(literal 2 binary64)))))) |
(/.f64 (fma.f64 (pow.f64 b #s(literal 6 binary64)) #s(literal -1 binary64) (pow.f64 a #s(literal 6 binary64))) (fma.f64 (*.f64 a a) (fma.f64 b b (*.f64 a a)) (pow.f64 b #s(literal 4 binary64)))) |
(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 (neg.f64 b) b)) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) a (*.f64 (neg.f64 b) b)) |
(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 (neg.f64 b) b)) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (exp.f64 (log.f64 a)) (exp.f64 (log.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b)) |
(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 (neg.f64 b) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b)) |
(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 (neg.f64 b) b)) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 (neg.f64 b) b)) |
(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 (neg.f64 b) b)) |
(fma.f64 a a (*.f64 (neg.f64 b) b)) |
(-.f64 (/.f64 (pow.f64 b #s(literal 4 binary64)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))) (/.f64 (pow.f64 a #s(literal 4 binary64)) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a)))) |
(-.f64 (/.f64 (pow.f64 a #s(literal 4 binary64)) (fma.f64 b b (*.f64 a a))) (/.f64 (pow.f64 b #s(literal 4 binary64)) (fma.f64 b b (*.f64 a a)))) |
(-.f64 (/.f64 (pow.f64 a #s(literal 6 binary64)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64)))) (/.f64 (pow.f64 b #s(literal 6 binary64)) (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)) (pow.f64 a #s(literal 4 binary64))))) |
(-.f64 (*.f64 a a) (*.f64 (neg.f64 (neg.f64 b)) b)) |
(-.f64 (*.f64 a a) (*.f64 (*.f64 (neg.f64 b) b) #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 (neg.f64 b) b) (*.f64 (neg.f64 a) a)) |
(+.f64 (/.f64 (neg.f64 (pow.f64 b #s(literal 6 binary64))) (fma.f64 (*.f64 a a) (fma.f64 b b (*.f64 a a)) (pow.f64 b #s(literal 4 binary64)))) (/.f64 (pow.f64 a #s(literal 6 binary64)) (fma.f64 (*.f64 a a) (fma.f64 b b (*.f64 a a)) (pow.f64 b #s(literal 4 binary64))))) |
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)) |
(+.f64 (*.f64 (neg.f64 b) b) (*.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 (neg.f64 b) b)) |
(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 (neg.f64 b) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#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 (neg.f64 (fma.f64 (/.f64 b a) (/.f64 b a) #s(literal -1 binary64))) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#s(approx (* b b) (*.f64 b b)) |
#s(approx b b) |
#s(approx (- (* a a) (* b b)) (*.f64 (fma.f64 (/.f64 a b) (/.f64 a b) #s(literal -1 binary64)) (*.f64 b b))) |
Compiled 1 477 to 299 computations (79.8% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 130 | 2 | 132 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 131 | 2 | 133 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 54.1% | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| ▶ | 54.3% | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
Compiled 23 to 15 computations (34.8% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
a |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (neg.f64 b) b) |
(neg.f64 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 (* (neg b) b) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (neg b) #s(hole binary64 (* -1 b))) |
#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 | b | @ | -inf | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
| 1.0ms | b | @ | inf | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
| 1.0ms | b | @ | 0 | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
| 1.0ms | a | @ | inf | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
| 1.0ms | a | @ | -inf | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 39 | 163 |
| 0 | 42 | 157 |
| 1 | 142 | 156 |
| 0 | 1200 | 155 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
a |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (neg.f64 b) b) |
(neg.f64 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 (* (neg b) b) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (neg b) #s(hole binary64 (* -1 b))) |
#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 |
|---|
#s(approx (- (* a a) (* b b)) (*.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 |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 b)) (fabs.f64 b)) |
(*.f64 (*.f64 #s(literal -1 binary64) (neg.f64 b)) (neg.f64 b)) |
(*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)) |
(*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)) |
(*.f64 (fabs.f64 b) (*.f64 (fabs.f64 b) #s(literal -1 binary64))) |
(*.f64 (fabs.f64 b) (neg.f64 (fabs.f64 b))) |
(*.f64 (neg.f64 b) (*.f64 (neg.f64 b) #s(literal -1 binary64))) |
(*.f64 (neg.f64 b) (neg.f64 (neg.f64 b))) |
(*.f64 (neg.f64 b) b) |
(*.f64 (*.f64 b b) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.f64 b b)) |
(*.f64 b (neg.f64 b)) |
(neg.f64 (*.f64 b b)) |
(*.f64 #s(literal -1 binary64) b) |
(*.f64 b #s(literal -1 binary64)) |
(neg.f64 b) |
b |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#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 (neg.f64 (fma.f64 (/.f64 b a) (/.f64 b a) #s(literal -1 binary64))) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#s(approx (* (neg b) b) (*.f64 (neg.f64 b) b)) |
#s(approx (neg b) (neg.f64 b)) |
#s(approx b b) |
#s(approx (- (* a a) (* b b)) (*.f64 (fma.f64 (/.f64 a b) (/.f64 a b) #s(literal -1 binary64)) (*.f64 b b))) |
Compiled 954 to 178 computations (81.3% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 68 | 0 | 68 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 68 | 2 | 70 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 54.1% | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| ✓ | 54.3% | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
Compiled 53 to 27 computations (49.1% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
5 calls:
| 2.0ms | b |
| 2.0ms | a |
| 1.0ms | (*.f64 b b) |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.3% | 2 | (*.f64 b b) |
| 97.7% | 2 | (*.f64 a a) |
| 97.7% | 2 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 97.7% | 2 | a |
| 97.3% | 2 | b |
Compiled 15 to 15 computations (0% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
3 calls:
| 1.0ms | a |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 82.9% | 2 | (*.f64 a a) |
| 97.7% | 2 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 82.9% | 2 | a |
Compiled 11 to 10 computations (9.1% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
5 calls:
| 4.0ms | (*.f64 a a) |
| 1.0ms | a |
| 1.0ms | b |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 b b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.3% | 1 | (*.f64 a a) |
| 54.3% | 1 | a |
| 54.3% | 1 | (*.f64 b b) |
| 54.3% | 1 | b |
| 54.3% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 15 to 15 computations (0% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 1.3800870199187034e+151 | 3.208865680725636e+153 |
| 4.0ms | 112× | 0 | valid |
Compiled 136 to 108 computations (20.6% saved)
ival-mult: 1.0ms (50.3% of total)ival-sub: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -1.29241e-318 | 0.0 |
Compiled 10 to 10 computations (0% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 66 |
| 1 | 38 | 66 |
| 2 | 103 | 66 |
| 3 | 246 | 66 |
| 4 | 426 | 66 |
| 5 | 855 | 66 |
| 6 | 1406 | 66 |
| 7 | 2090 | 66 |
| 8 | 2929 | 66 |
| 9 | 3239 | 66 |
| 10 | 3301 | 66 |
| 11 | 3301 | 66 |
| 12 | 3379 | 66 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 a #s(literal 3200000000000000148003460348934383168039240716642326031740439270440721720120948829548269436230509604223669198415670098909420726064526137492312064291504128 binary64)) (-.f64 (*.f64 a a) (*.f64 b b)) #s(approx (- (* a a) (* b b)) (*.f64 a a))) |
(if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal -101201/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #s(approx (- (* a a) (* b b)) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| Outputs |
|---|
(if (<=.f64 a #s(literal 3200000000000000148003460348934383168039240716642326031740439270440721720120948829548269436230509604223669198415670098909420726064526137492312064291504128 binary64)) (-.f64 (*.f64 a a) (*.f64 b b)) #s(approx (- (* a a) (* b b)) (*.f64 a a))) |
(if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal -101201/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #s(approx (- (* a a) (* b b)) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| 1× | done |
Compiled 66 to 18 computations (72.7% saved)
(abs b)
Compiled 292 to 128 computations (56.2% saved)
Loading profile data...