
Time bar (total: 4.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 3 |
| 28.6% | 25% | 62.4% | 0.1% | 0% | 12.5% | 0% | 4 |
| 46.2% | 37.5% | 43.7% | 0.1% | 0% | 18.7% | 0% | 5 |
| 52.2% | 37.5% | 34.3% | 0.1% | 0% | 28.1% | 0% | 6 |
| 65.1% | 43.7% | 23.4% | 0.1% | 0% | 32.8% | 0% | 7 |
| 70.9% | 43.7% | 18% | 0.1% | 0% | 38.2% | 0% | 8 |
| 79.5% | 46.8% | 12.1% | 0.1% | 0% | 41% | 0% | 9 |
| 83.6% | 46.8% | 9.2% | 0.1% | 0% | 43.9% | 0% | 10 |
| 88.7% | 48.4% | 6.1% | 0.1% | 0% | 45.4% | 0% | 11 |
| 91.3% | 48.4% | 4.6% | 0.1% | 0% | 46.9% | 0% | 12 |
Compiled 6 to 6 computations (0% saved)
| 507.0ms | 8 256× | 0 | valid |
| 21.0ms | 576× | 0 | invalid |
ival-sqrt: 180.0ms (83.4% of total)ival-add!: 34.0ms (15.8% of total)adjust: 2.0ms (0.9% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 30 |
| 1 | 31 | 26 |
| 2 | 59 | 26 |
| 3 | 141 | 26 |
| 4 | 343 | 26 |
| 5 | 885 | 26 |
| 6 | 4312 | 26 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (sqrt.f64 (+.f64 x y)) |
(sort x y)
Compiled 8 to 8 computations (0% saved)
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(+.f64 x y) |
x |
y |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 x (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 x y)) |
#s(approx x x) |
#s(approx (sqrt (+ x y)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64))))) |
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 #s(literal 1/2 binary64) (/.f64 y (sqrt.f64 x))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 #s(literal -1/8 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 y (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((sqrt (+ x y)) (+ x y) x y) |
| 1.0ms | x | @ | inf | ((sqrt (+ x y)) (+ x y) x y) |
| 1.0ms | y | @ | -inf | ((sqrt (+ x y)) (+ x y) x y) |
| 1.0ms | y | @ | inf | ((sqrt (+ x y)) (+ x y) x y) |
| 1.0ms | x | @ | 0 | ((sqrt (+ x y)) (+ x y) x y) |
| Inputs |
|---|
(sqrt.f64 (+.f64 x y)) |
(+.f64 x y) |
x |
y |
| Outputs |
|---|
(fabs.f64 (sqrt.f64 (+.f64 x y))) |
(fabs.f64 (neg.f64 (sqrt.f64 (+.f64 x y)))) |
(neg.f64 (neg.f64 (sqrt.f64 (+.f64 x y)))) |
(pow.f64 (+.f64 x y) #s(literal 1/2 binary64)) |
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)) #s(literal 2 binary64))) |
(sqrt.f64 (+.f64 x y)) |
(*.f64 (sqrt.f64 (+.f64 x y)) (sqrt.f64 (+.f64 x y))) |
(*.f64 (neg.f64 (sqrt.f64 (+.f64 x y))) (neg.f64 (sqrt.f64 (+.f64 x y)))) |
(fabs.f64 (+.f64 x y)) |
(fabs.f64 (-.f64 (neg.f64 y) x)) |
(+.f64 x y) |
(+.f64 y x) |
(-.f64 x (neg.f64 y)) |
(-.f64 y (neg.f64 x)) |
(neg.f64 (-.f64 (neg.f64 y) x)) |
(pow.f64 (+.f64 x y) (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
(pow.f64 (+.f64 x y) #s(literal 1 binary64)) |
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) #s(literal 1/2 binary64)) |
(pow.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) |
(pow.f64 (*.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (*.f64 (+.f64 x y) (+.f64 x y))) (/.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (+.f64 x y) (+.f64 x y)) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))) |
(pow.f64 (sqrt.f64 (+.f64 x y)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 (sqrt.f64 (+.f64 x y))) #s(literal 2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 x y) (+.f64 x y))) |
x |
(neg.f64 (neg.f64 x)) |
y |
(neg.f64 (neg.f64 y)) |
Compiled 551 to 228 computations (58.6% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 55 | 2 | 57 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 55 | 3 | 58 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (+.f64 x y)) |
| ▶ | 98.7% | (sqrt.f64 #s(approx (+ x y) y)) |
| ▶ | 3.3% | #s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
Compiled 15 to 15 computations (0% saved)
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
(sqrt.f64 #s(approx (+ x y) y)) |
#s(approx (+ x y) y) |
y |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 y)) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 y))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 #s(literal -1/8 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 x (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 x (pow.f64 (sqrt.f64 y) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 y) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 y))))))) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx x x) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 x y)) |
#s(approx (sqrt (+ x y)) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (+ x y) (*.f64 x (+.f64 #s(literal 1 binary64) (/.f64 y x)))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 y #s(literal 2 binary64)) (*.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 y #s(literal 3 binary64)) (*.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) x)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 y (*.f64 (pow.f64 x #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))))))))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 y x)) #s(literal 1 binary64))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 #s(literal 1/2 binary64) (/.f64 y (sqrt.f64 x))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 #s(literal -1/8 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (sqrt (+ x y)) (+.f64 (sqrt.f64 x) (*.f64 y (fma.f64 y (-.f64 (*.f64 #s(literal 1/16 binary64) (/.f64 y (pow.f64 (sqrt.f64 x) #s(literal 5 binary64)))) (*.f64 #s(literal 1/8 binary64) (/.f64 #s(literal 1 binary64) (pow.f64 (sqrt.f64 x) #s(literal 3 binary64))))) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) (sqrt.f64 x))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (+ x y) (*.f64 y (+.f64 #s(literal 1 binary64) (/.f64 x y)))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y)))))))))) |
#s(approx (sqrt (+ x y)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) (fma.f64 #s(literal -1/8 binary64) (/.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 3 binary64)))) (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (sqrt.f64 (/.f64 #s(literal 1 binary64) y)) #s(literal 5 binary64)))) (*.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 (pow.f64 y #s(literal 2 binary64)) (sqrt.f64 (/.f64 #s(literal 1 binary64) y))))))))))) |
#s(approx (+ x y) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (*.f64 #s(literal -1 binary64) (/.f64 x y)) #s(literal 1 binary64))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((sqrt (+ x y)) (sqrt x) x (sqrt (+ x y)) (+ x y) y) |
| 1.0ms | x | @ | inf | ((sqrt (+ x y)) (sqrt x) x (sqrt (+ x y)) (+ x y) y) |
| 1.0ms | y | @ | -inf | ((sqrt (+ x y)) (sqrt x) x (sqrt (+ x y)) (+ x y) y) |
| 1.0ms | x | @ | 0 | ((sqrt (+ x y)) (sqrt x) x (sqrt (+ x y)) (+ x y) y) |
| 1.0ms | y | @ | inf | ((sqrt (+ x y)) (sqrt x) x (sqrt (+ x y)) (+ x y) y) |
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(sqrt.f64 x) |
x |
(sqrt.f64 #s(approx (+ x y) y)) |
#s(approx (+ x y) y) |
y |
| Outputs |
|---|
#s(approx (sqrt (+ y x)) (sqrt.f64 x)) |
(fabs.f64 (sqrt.f64 x)) |
(fabs.f64 (neg.f64 (sqrt.f64 x))) |
(neg.f64 (neg.f64 (sqrt.f64 x))) |
(pow.f64 x #s(literal 1/2 binary64)) |
(pow.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64)) #s(literal 2 binary64))) |
(sqrt.f64 x) |
x |
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 (sqrt.f64 x))) |
(fabs.f64 x) |
(fabs.f64 (neg.f64 x)) |
(neg.f64 (neg.f64 x)) |
(pow.f64 x #s(literal 1 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow.f64 (*.f64 x x) (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64))) |
(pow.f64 (*.f64 x x) (/.f64 #s(literal 1 binary64) #s(literal 2 binary64))) |
(pow.f64 (sqrt.f64 x) #s(literal 2 binary64)) |
(pow.f64 x (+.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64))) |
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 #s(literal 1/2 binary64) #s(literal 2 binary64))) |
(pow.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (/.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)) #s(literal 2 binary64))) |
(pow.f64 (neg.f64 (sqrt.f64 x)) #s(literal 2 binary64)) |
(sqrt.f64 (*.f64 x x)) |
(sqrt.f64 #s(approx (+ y x) y)) |
#s(approx (+ y x) y) |
y |
(neg.f64 (neg.f64 y)) |
Compiled 533 to 243 computations (54.4% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 55 | 0 | 55 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 55 | 3 | 58 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (+.f64 x y)) |
| ✓ | 98.7% | (sqrt.f64 #s(approx (+ x y) y)) |
| ✓ | 3.3% | #s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
Compiled 26 to 25 computations (3.8% saved)
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(sqrt.f64 #s(approx (+ x y) y)) |
(sqrt.f64 (+.f64 x y)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x y)) |
4 calls:
| 4.0ms | (+.f64 x y) |
| 2.0ms | y |
| 2.0ms | (sqrt.f64 (+.f64 x y)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 x y) |
| 100.0% | 1 | (sqrt.f64 (+.f64 x y)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 9 to 11 computations (-22.2% saved)
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
(sqrt.f64 #s(approx (+ x y) y)) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ x y) y)) |
4 calls:
| 2.0ms | (+.f64 x y) |
| 2.0ms | (sqrt.f64 (+.f64 x y)) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.7% | 1 | (+.f64 x y) |
| 98.7% | 1 | (sqrt.f64 (+.f64 x y)) |
| 98.7% | 1 | x |
| 98.7% | 1 | y |
Compiled 9 to 11 computations (-22.2% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
| Outputs |
|---|
#s(approx (sqrt (+ x y)) (sqrt.f64 x)) |
4 calls:
| 2.0ms | (+.f64 x y) |
| 2.0ms | (sqrt.f64 (+.f64 x y)) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.3% | 1 | (+.f64 x y) |
| 3.3% | 1 | (sqrt.f64 (+.f64 x y)) |
| 3.3% | 1 | x |
| 3.3% | 1 | y |
Compiled 9 to 11 computations (-22.2% saved)
| 1× | done |
Compiled 11 to 10 computations (9.1% saved)
(sort x y)
Compiled 45 to 44 computations (2.2% saved)
Loading profile data...