
Time bar (total: 874.0ms)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 10 to 6 computations (40% saved)
| 364.0ms | 8 256× | 0 | valid |
ival-pow2: 102.0ms (49.5% of total)ival-sqrt: 81.0ms (39.3% of total)ival-add!: 21.0ms (10.2% of total)adjust: 1.0ms (0.5% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 25 | 19 |
| 2 | 70 | 19 |
| 3 | 191 | 19 |
| 4 | 422 | 19 |
| 5 | 1968 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 56.1% | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(abs x)
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (pow x 2) x 2) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (pow x 2) x 2) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (pow x 2) x 2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 71 |
| 0 | 22 | 60 |
| 0 | 53 | 51 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
(pow.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(neg.f64 (-.f64 (neg.f64 (*.f64 x x)) (*.f64 x x))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 x x) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
x |
#s(literal 2 binary64) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (+ (pow x 2) (pow x 2)) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (pow x 2) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 130 to 62 computations (52.3% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 18 | 4 | 22 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 19 | 4 | 23 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 56.1% | (sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ▶ | 99.2% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ▶ | 2.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 28 to 26 computations (7.1% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (neg (* (sqrt 2) x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((sqrt (+ (pow x 2) (pow x 2))) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (pow x 2) (pow x 2))) (sqrt (* (* x x) 2)) (* (* x x) 2) (* x x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | inf | ((sqrt (+ (pow x 2) (pow x 2))) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (pow x 2) (pow x 2))) (sqrt (* (* x x) 2)) (* (* x x) 2) (* x x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (pow x 2) (pow x 2))) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (pow x 2) (pow x 2))) (sqrt (* (* x x) 2)) (* (* x x) 2) (* x x) (sqrt (+ (* x x) (* x x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 169 |
| 0 | 46 | 136 |
| 0 | 96 | 136 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(hypot.f64 x x) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (neg (* (sqrt 2) x)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (* (* x x) 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal -1 binary64) x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 #s(literal -1 binary64) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) #s(literal -1 binary64)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 2 binary64))) |
(pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(*.f64 x (+.f64 x x)) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) (-.f64 (*.f64 x x) (*.f64 x x))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(neg.f64 (-.f64 (neg.f64 (*.f64 x x)) (*.f64 x x))) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 2 binary64))) |
(pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (fabs.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 (neg.f64 x) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x x) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (neg (* (sqrt 2) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx x x) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (* x x) 2) (*.f64 x (+.f64 x x))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x))) |
Compiled 249 to 132 computations (47% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 1 | 54 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 0 | 0 |
| Total | 54 | 4 | 58 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 56.2% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 99.2% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ✓ | 2.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 27 to 25 computations (7.4% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
x |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x)) |
| 1.0ms | x | @ | inf | ((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x)) |
| 1.0ms | x | @ | 0 | ((sqrt (* x (+ x x))) (* x (+ x x)) x (+ x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 60 |
| 0 | 24 | 59 |
| 0 | 61 | 50 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
x |
(+.f64 x x) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* x (+ x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(pow.f64 (*.f64 (+.f64 x x) x) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 x x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 (+.f64 x x) x) |
(*.f64 x (+.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
x |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x)))) |
(neg.f64 (-.f64 (neg.f64 x) x)) |
(+.f64 x x) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* x (+ x x)) (*.f64 (+.f64 x x) x)) |
#s(approx x x) |
#s(approx (+ x x) (+.f64 x x)) |
#s(approx (sqrt (* x (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 101 to 66 computations (34.7% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 21 | 1 | 22 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 21 | 5 | 26 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 56.2% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 99.2% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ✓ | 2.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 32 to 30 computations (6.3% saved)
| Inputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 x) |
x |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((* (sqrt x) (sqrt (+ x x))) (sqrt x) x (sqrt (+ x x)) (+ x x)) |
| 1.0ms | x | @ | 0 | ((* (sqrt x) (sqrt (+ x x))) (sqrt x) x (sqrt (+ x x)) (+ x x)) |
| 1.0ms | x | @ | inf | ((* (sqrt x) (sqrt (+ x x))) (sqrt x) x (sqrt (+ x x)) (+ x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 34 | 98 |
| 0 | 39 | 81 |
| 0 | 101 | 81 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 x) |
x |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt x) #s(hole binary64 (sqrt x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* (sqrt x) (sqrt 2)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt x) (sqrt (+ x x))) #s(hole binary64 (* -1 (* x (* (sqrt -2) (sqrt -1)))))) |
#s(approx (sqrt x) #s(hole binary64 (* -1 (* (sqrt x) (pow (sqrt -1) 2))))) |
#s(approx (sqrt (+ x x)) #s(hole binary64 (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(pow.f64 x #s(literal 1/2 binary64)) |
(sqrt.f64 x) |
x |
(*.f64 (*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal -2 binary64))) (sqrt.f64 #s(literal -1 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(pow.f64 (+.f64 x x) #s(literal 1/2 binary64)) |
(sqrt.f64 (+.f64 x x)) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x)))) |
(neg.f64 (-.f64 (neg.f64 x) x)) |
(+.f64 x x) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt x) (sqrt.f64 x)) |
#s(approx x x) |
#s(approx (sqrt (+ x x)) (sqrt.f64 (+.f64 x x))) |
#s(approx (+ x x) (+.f64 x x)) |
#s(approx (* (sqrt x) (sqrt (+ x x))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
#s(approx (sqrt x) (neg.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 x)))) |
#s(approx (sqrt (+ x x)) (neg.f64 (sqrt.f64 (+.f64 x x)))) |
Compiled 110 to 74 computations (32.7% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 19 | 0 | 19 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 19 | 5 | 24 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 56.2% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 99.2% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ✓ | 2.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
Compiled 66 to 54 computations (18.2% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(hypot.f64 x x) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 7.0ms | (pow.f64 x #s(literal 2 binary64)) |
| 2.0ms | x |
| 2.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 2.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 100.0% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 100.0% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 100.0% | 1 | x |
Compiled 17 to 13 computations (23.5% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
4 calls:
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 2.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 2.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.5% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 99.5% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 99.5% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 99.5% | 1 | x |
Compiled 17 to 13 computations (23.5% saved)
Total -62.1b remaining (-12920.2%)
Threshold costs -62.1b (-12920.2%)
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(sqrt.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
4 calls:
| 2.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 1.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 1.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 99.2% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 99.2% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 99.2% | 1 | x |
Compiled 17 to 13 computations (23.5% saved)
| 1× | done |
Compiled 15 to 14 computations (6.7% saved)
Compiled 56 to 51 computations (8.9% saved)
Loading profile data...