
Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 8 to 7 computations (12.5% saved)
| 329.0ms | 8 256× | 0 | valid |
ival-mult!: 85.0ms (51% of total)ival-sqrt: 80.0ms (48% of total)adjust: 2.0ms (1.2% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 19 |
| 1 | 35 | 19 |
| 2 | 114 | 19 |
| 3 | 252 | 19 |
| 4 | 1070 | 19 |
| 5 | 7207 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 49.3% | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(abs x)
Compiled 12 to 10 computations (16.7% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
#s(literal 2 binary64) |
(*.f64 x x) |
x |
| Outputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* 2 (* x x)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (* x x) (pow.f64 x #s(literal 2 binary64))) |
#s(approx x x) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 1.0ms | x | -inf |
| 1.0ms | x | inf |
| 1.0ms | x | 0 |
| Inputs |
|---|
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
#s(literal 2 binary64) |
(*.f64 x x) |
x |
| Outputs |
|---|
(fabs.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)))) |
(hypot.f64 x x) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
#s(literal 2 binary64) |
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
(*.f64 x x) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(pow.f64 x #s(literal 2 binary64)) |
x |
Compiled 184 to 64 computations (65.2% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 23 | 3 | 26 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 23 | 4 | 27 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ✓ | 49.3% | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| ▶ | 99.3% | #s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 2.1% | #s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
Compiled 33 to 27 computations (18.2% saved)
| Inputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(literal -1 binary64) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* -1 (* x (sqrt 2))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
#s(approx x x) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 3.0ms | x | inf |
| 3.0ms | x | -inf |
| 2.0ms | x | 0 |
| Inputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(literal -1 binary64) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 x #s(literal -2 binary64))) |
(*.f64 x #s(literal -2 binary64)) |
(*.f64 #s(literal -2 binary64) x) |
(*.f64 #s(literal -1 binary64) (+.f64 x x)) |
(*.f64 (+.f64 x x) #s(literal -1 binary64)) |
(*.f64 (neg.f64 x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (neg.f64 x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(+.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(fma.f64 #s(literal 1 binary64) (neg.f64 x) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(fma.f64 (neg.f64 x) #s(literal 1 binary64) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(neg.f64 (+.f64 x x)) |
#s(literal -1 binary64) |
(neg.f64 #s(literal 1 binary64)) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
(+.f64 x x) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(-.f64 x (neg.f64 x)) |
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x)) |
x |
#s(literal 2 binary64) |
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64)) |
(fabs.f64 #s(literal 2 binary64)) |
(fabs.f64 #s(literal -2 binary64)) |
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) #s(literal -1 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
(sqrt.f64 #s(literal 4 binary64)) |
#s(literal 2 binary64) |
(*.f64 #s(literal 2 binary64) #s(literal 1 binary64)) |
(fabs.f64 #s(literal 2 binary64)) |
(fabs.f64 #s(literal -2 binary64)) |
(+.f64 #s(literal 1 binary64) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) #s(literal -1 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
(sqrt.f64 #s(literal 4 binary64)) |
#s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
(fabs.f64 (sqrt.f64 (*.f64 (+.f64 x x) x))) |
(fabs.f64 (neg.f64 (sqrt.f64 (*.f64 (+.f64 x x) x)))) |
(hypot.f64 x x) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) x) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) x) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) x) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 x)) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 x (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x))) |
(hypot.f64 x (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x))) |
(hypot.f64 x (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 x))) |
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(sqrt.f64 (*.f64 (sqrt.f64 (*.f64 (+.f64 x x) x)) (sqrt.f64 (*.f64 (+.f64 x x) x)))) |
Compiled 901 to 174 computations (80.7% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 89 | 3 | 92 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 1 | 0 | 1 |
| Total | 90 | 6 | 96 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 49.3% | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ▶ | 20.3% | #s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
| ✓ | 99.3% | #s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 2.1% | #s(approx (sqrt (* 2 (* x x))) (*.f64 x #s(literal -2 binary64))) |
| ✓ | 2.1% | #s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
Compiled 53 to 41 computations (22.6% saved)
| Inputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 x #s(literal -2 binary64))) |
(*.f64 x #s(literal -2 binary64)) |
x |
#s(literal -2 binary64) |
#s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
(+.f64 x x) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(*.f64 (+.f64 x x) x) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* x -2) (*.f64 #s(literal -2 binary64) x)) |
#s(approx x x) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (* (+ x x) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
3 calls:
| Time | Variable | Point |
|---|---|---|
| 3.0ms | x | inf |
| 2.0ms | x | -inf |
| 2.0ms | x | 0 |
| Inputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 x #s(literal -2 binary64))) |
(*.f64 x #s(literal -2 binary64)) |
x |
#s(literal -2 binary64) |
#s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
(+.f64 x x) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(*.f64 (+.f64 x x) x) |
| Outputs |
|---|
#s(approx (sqrt (* (* x x) 2)) (*.f64 x #s(literal -2 binary64))) |
(*.f64 x #s(literal -2 binary64)) |
(*.f64 #s(literal -2 binary64) x) |
x |
#s(literal -2 binary64) |
#s(approx (sqrt (* (* x x) 2)) (+.f64 x x)) |
(*.f64 #s(literal 2 binary64) x) |
(+.f64 x x) |
(-.f64 x (neg.f64 x)) |
(fabs.f64 (sqrt.f64 (*.f64 (+.f64 x x) x))) |
(hypot.f64 x x) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(*.f64 (+.f64 x x) x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x (+.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
Compiled 253 to 74 computations (70.8% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 31 | 0 | 31 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 3 | 3 |
| Total | 31 | 6 | 37 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 49.3% | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ✓ | 20.3% | #s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
| ✓ | 99.3% | #s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 2.1% | #s(approx (sqrt (* 2 (* x x))) (*.f64 x #s(literal -2 binary64))) |
| ✓ | 2.1% | #s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
Compiled 53 to 41 computations (22.6% saved)
Total -11.7b remaining (-22.7%)
Threshold costs -11.7b (-22.7%)
| Inputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 x #s(literal -2 binary64))) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
| Inputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 x #s(literal -2 binary64))) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| Inputs |
|---|
#s(approx (sqrt (* 2 (* x x))) (+.f64 x x)) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 x #s(literal -2 binary64))) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
#s(approx (sqrt (* 2 (* x x))) (*.f64 #s(literal -1 binary64) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(hypot.f64 x x) |
| Outputs |
|---|
(hypot.f64 x x) |
12 calls:
| 8.0ms | (*.f64 x x) |
| 4.0ms | x |
| 3.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 3.0ms | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 3.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 20.3% | 1 | (*.f64 x x) |
| 20.3% | 1 | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 20.3% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 20.3% | 1 | x |
| 99.3% | 1 | (*.f64 x x) |
| 99.3% | 1 | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 99.3% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 99.3% | 1 | x |
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (*.f64 #s(literal 2 binary64) (*.f64 x x)) |
| 100.0% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
| 100.0% | 1 | x |
Compiled 104 to 59 computations (43.3% saved)
| 1× | done |
Compiled 24 to 12 computations (50% saved)
Compiled 78 to 53 computations (32.1% saved)
Loading profile data...