
Time bar (total: 988.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 8 to 7 computations (12.5% saved)
| 404.0ms | 8 256× | 0 | valid |
ival-pow2: 97.0ms (41.2% of total)ival-sqrt: 96.0ms (40.8% of total)ival-mult!: 40.0ms (17% of total)adjust: 2.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 118 | 0 | - | 1 | (5.767814215362851e-157) | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 0 | 0 | - | 0 | - | (pow.f64 x #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) | uflow-rescue | 61 | 0 |
| ↳ | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) | underflow | 61 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | underflow | 61 | |
sqrt.f64 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) | oflow-rescue | 56 | 0 |
| ↳ | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) | overflow | 56 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | overflow | 56 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 117 | 1 |
| - | 0 | 138 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 117 | 0 | 1 |
| - | 0 | 0 | 138 |
| number | freq |
|---|---|
| 0 | 139 |
| 1 | 117 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 27.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-pow2: 10.0ms (61.4% of total)ival-sqrt: 4.0ms (24.6% of total)ival-mult!: 2.0ms (12.3% of total)adjust: 0.0ms (0% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 18 | 19 |
| 2 | 55 | 19 |
| 3 | 167 | 19 |
| 4 | 408 | 19 |
| 5 | 1304 | 19 |
| 6 | 5101 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 57.3% | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(abs x)
Compiled 12 to 10 computations (16.7% saved)
| Inputs |
|---|
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 2 binary64)) |
x |
| Outputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* 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 (* 2 (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((sqrt (* 2 (pow x 2))) (* 2 (pow x 2)) 2 (pow x 2) x) |
| 1.0ms | x | @ | 0 | ((sqrt (* 2 (pow x 2))) (* 2 (pow x 2)) 2 (pow x 2) x) |
| 1.0ms | x | @ | -inf | ((sqrt (* 2 (pow x 2))) (* 2 (pow x 2)) 2 (pow x 2) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 61 |
| 0 | 21 | 60 |
| 1 | 42 | 54 |
| 0 | 138 | 49 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 2 binary64)) |
x |
#s(approx (sqrt (* 2 (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* 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 (* 2 (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 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 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 x))) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 x)) |
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(hypot.f64 (exp.f64 (log.f64 x)) x) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (exp.f64 (log.f64 x))) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x x))) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(*.f64 x (+.f64 x x)) |
(*.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))))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 x x)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 x x (*.f64 x x)) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
#s(literal 2 binary64) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
x |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* 2 (pow x 2)) (*.f64 x (+.f64 x x))) |
#s(approx (pow x 2) (*.f64 x x)) |
#s(approx x x) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 372 to 109 computations (70.7% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 37 | 4 | 41 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 38 | 4 | 42 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 99.4% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| ▶ | 57.3% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ▶ | 2.3% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 25 to 20 computations (20% saved)
| Inputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 x) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(hypot.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (neg x) (sqrt 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx x #s(hole binary64 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 x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* 2 (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (* x (+ x x))) #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 (* 2 (pow x 2))) (* (neg x) (sqrt 2)) (neg x) x (sqrt 2) 2 (sqrt (* x (+ x x))) (* x (+ x x)) (+ x x) (* (sqrt 2) x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | 0 | ((sqrt (* 2 (pow x 2))) (* (neg x) (sqrt 2)) (neg x) x (sqrt 2) 2 (sqrt (* x (+ x x))) (* x (+ x x)) (+ x x) (* (sqrt 2) x) (sqrt (+ (* x x) (* x x)))) |
| 1.0ms | x | @ | inf | ((sqrt (* 2 (pow x 2))) (* (neg x) (sqrt 2)) (neg x) x (sqrt 2) 2 (sqrt (* x (+ x x))) (* x (+ x x)) (+ x x) (* (sqrt 2) x) (sqrt (+ (* x x) (* x x)))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 158 |
| 0 | 50 | 128 |
| 1 | 102 | 82 |
| 0 | 432 | 82 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(neg.f64 x) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(hypot.f64 x x) |
#s(approx (sqrt (* 2 (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (neg x) (sqrt 2)) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx x #s(hole binary64 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 x) #s(hole binary64 (* 2 x))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (sqrt (* 2 (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (* x (+ x x))) #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 (* x (+ x x))) (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (neg.f64 (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 x (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(neg.f64 (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 #s(literal -1 binary64) x) |
(*.f64 x #s(literal -1 binary64)) |
(neg.f64 x) |
x |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 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)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 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)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
#s(literal 2 binary64) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 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)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 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)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 (*.f64 x x) x) x #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(approx (sqrt (* x (+ x x))) (sqrt.f64 #s(literal 2 binary64))) |
#s(approx (* (neg x) (sqrt 2)) (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx x x) |
#s(approx (sqrt (* x (+ x x))) (sqrt.f64 #s(literal 2 binary64))) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(approx (sqrt (* x (+ x x))) (sqrt.f64 #s(literal 2 binary64))) |
#s(approx (sqrt (* x (+ x x))) (sqrt.f64 #s(literal 2 binary64))) |
#s(approx (sqrt (* x (+ x x))) (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (* x (+ x x))) (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (* x (+ x x))) (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 488 to 120 computations (75.4% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 2 | 42 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 0 | 0 |
| Total | 40 | 6 | 46 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.4% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| ▶ | 99.1% | (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) |
| ✓ | 57.3% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ▶ | 5.3% | (sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
| ✓ | 2.3% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 40 to 33 computations (17.5% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(log.f64 #s(literal 2 binary64)) |
#s(literal 1/2 binary64) |
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 (* (exp (* (log 2) 1/2)) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | -inf | ((sqrt (* x (+ x x))) (* x (+ x x)) 2 (* (exp (* (log 2) 1/2)) x) (exp (* (log 2) 1/2)) (* (log 2) 1/2) (log 2) 1/2 x) |
| 1.0ms | x | @ | inf | ((sqrt (* x (+ x x))) (* x (+ x x)) 2 (* (exp (* (log 2) 1/2)) x) (exp (* (log 2) 1/2)) (* (log 2) 1/2) (log 2) 1/2 x) |
| 1.0ms | x | @ | 0 | ((sqrt (* x (+ x x))) (* x (+ x x)) 2 (* (exp (* (log 2) 1/2)) x) (exp (* (log 2) 1/2)) (* (log 2) 1/2) (log 2) 1/2 x) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 86 |
| 0 | 31 | 72 |
| 1 | 73 | 51 |
| 0 | 299 | 51 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(log.f64 #s(literal 2 binary64)) |
#s(literal 1/2 binary64) |
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 (* (exp (* (log 2) 1/2)) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (sqrt (* x (+ x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
| Outputs |
|---|
(*.f64 (pow.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) #s(literal 1/2 binary64))) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(fma.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(+.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(+.f64 (*.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x x))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(pow.f64 (exp.f64 #s(literal 1/2 binary64)) (log.f64 #s(literal 2 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) (-.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (-.f64 (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(+.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) |
(+.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) |
(*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(log.f64 (sqrt.f64 #s(literal 2 binary64))) |
(log.f64 #s(literal 2 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(approx (sqrt (* x (+ x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* x (+ x x)) #s(literal 2 binary64)) |
#s(approx (* (exp (* (log 2) 1/2)) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx x x) |
#s(approx (sqrt (* x (+ x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 342 to 102 computations (70.2% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 29 | 0 | 29 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 29 | 6 | 35 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 99.4% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| ✓ | 99.1% | (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) |
| ✓ | 57.3% | (sqrt.f64 (*.f64 x (+.f64 x x))) |
| ✓ | 5.3% | (sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
| ✓ | 2.3% | #s(approx (sqrt (* 2 (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 86 to 60 computations (30.2% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(hypot.f64 x x) |
(sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 2.0ms | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 2.0ms | (pow.f64 x #s(literal 2 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 100.0% | 1 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 100.0% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 100.0% | 1 | x |
Compiled 15 to 13 computations (13.3% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
#s(approx (sqrt (* 2 (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
4 calls:
| 3.0ms | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 2.0ms | x |
| 2.0ms | (pow.f64 x #s(literal 2 binary64)) |
| 2.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.4% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 99.4% | 1 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 99.4% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 99.4% | 1 | x |
Compiled 15 to 13 computations (13.3% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
| Outputs |
|---|
(sqrt.f64 #s(approx (* x (+ x x)) #s(literal 2 binary64))) |
4 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 1.0ms | (pow.f64 x #s(literal 2 binary64)) |
| 1.0ms | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 5.3% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 5.3% | 1 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64))) |
| 5.3% | 1 | (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 2 binary64)))) |
| 5.3% | 1 | x |
Compiled 15 to 13 computations (13.3% saved)
| 1× | done |
Compiled 15 to 9 computations (40% saved)
(abs x)
Compiled 72 to 52 computations (27.8% saved)
Loading profile data...