
Time bar (total: 912.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)
| 296.0ms | 8 256× | 0 | valid |
ival-pow2: 92.0ms (53.7% of total)ival-sqrt: 58.0ms (33.8% of total)ival-add!: 20.0ms (11.7% of total)adjust: 1.0ms (0.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 112 | 0 | - | 1 | (7.983644412343856e-161) | (sqrt.f64 (+.f64 (pow.f64 x #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 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) | oflow-rescue | 65 | 0 |
| ↳ | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) | overflow | 65 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | overflow | 130 | |
sqrt.f64 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) | uflow-rescue | 46 | 0 |
| ↳ | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) | underflow | 46 | |
| ↳ | (pow.f64 x #s(literal 2 binary64)) | underflow | 92 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 111 | 1 |
| - | 0 | 144 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 111 | 0 | 1 |
| - | 0 | 0 | 144 |
| number | freq |
|---|---|
| 0 | 145 |
| 1 | 111 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 21.0ms | 512× | 0 | valid |
Compiled 52 to 19 computations (63.5% saved)
ival-pow2: 6.0ms (56.6% of total)ival-sqrt: 3.0ms (28.3% of total)ival-add!: 1.0ms (9.4% of total)adjust: 0.0ms (0% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 20 |
| 1 | 16 | 19 |
| 2 | 46 | 19 |
| 3 | 125 | 19 |
| 4 | 271 | 19 |
| 5 | 817 | 19 |
| 6 | 4664 | 19 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 59.3% | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(abs x)
Compiled 16 to 10 computations (37.5% 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: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 71 |
| 0 | 22 | 56 |
| 1 | 50 | 36 |
| 0 | 246 | 36 |
| 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 |
|---|
(*.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 #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))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.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(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)) #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))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 328 to 95 computations (71% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 29 | 5 | 34 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 30 | 5 | 35 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 59.3% | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
| ▶ | 56.4% | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))) |
| ▶ | 5.9% | (sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) |
| ▶ | 99.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ▶ | 2.0% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 110 to 80 computations (27.3% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.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 |
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64)) |
#s(approx (sqrt (+ (pow x 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) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(pow.f64 x #s(literal 2 binary64)) |
(*.f64 x x) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 (log.f64 x) #s(literal 2 binary64)) |
(log.f64 x) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 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 (sqrt (+ (pow x 2) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (* x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (pow x 2) (exp (* (log x) 2)))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (exp (* (log x) 2)) #s(hole binary64 (pow x 2))) |
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (log x)))) |
#s(approx (log x) #s(hole binary64 (log x))) |
#s(approx (* (log x) 2) #s(hole binary64 (* -2 (log (/ 1 x))))) |
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (pow x 2) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (pow x 2) (exp (* (log x) 2)))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (+ (log -1) (* -1 (log (/ -1 x))))))) |
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 24.0ms | x | @ | 0 | ((sqrt (+ (pow x 2) (pow x 2))) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (sqrt 2)) (neg x) (sqrt (+ (pow x 2) (* x x))) (+ (pow x 2) (* x x)) (pow x 2) (* x x) (sqrt (+ (pow x 2) (exp (* (log x) 2)))) (+ (pow x 2) (exp (* (log x) 2))) (exp (* (log x) 2)) (* (log x) 2) (log x)) |
| 17.0ms | x | @ | -inf | ((sqrt (+ (pow x 2) (pow x 2))) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (sqrt 2)) (neg x) (sqrt (+ (pow x 2) (* x x))) (+ (pow x 2) (* x x)) (pow x 2) (* x x) (sqrt (+ (pow x 2) (exp (* (log x) 2)))) (+ (pow x 2) (exp (* (log x) 2))) (exp (* (log x) 2)) (* (log x) 2) (log x)) |
| 12.0ms | x | @ | inf | ((sqrt (+ (pow x 2) (pow x 2))) (* (sqrt 2) x) (sqrt 2) 2 x (sqrt (+ (pow x 2) (pow x 2))) (+ (pow x 2) (pow x 2)) (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (sqrt 2)) (neg x) (sqrt (+ (pow x 2) (* x x))) (+ (pow x 2) (* x x)) (pow x 2) (* x x) (sqrt (+ (pow x 2) (exp (* (log x) 2)))) (+ (pow x 2) (exp (* (log x) 2))) (exp (* (log x) 2)) (* (log x) 2) (log x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 74 | 356 |
| 0 | 96 | 267 |
| 1 | 188 | 212 |
| 0 | 912 | 211 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.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 |
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) |
#s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64)) |
#s(approx (sqrt (+ (pow x 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) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(pow.f64 x #s(literal 2 binary64)) |
(*.f64 x x) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))) |
(+.f64 (pow.f64 x #s(literal 2 binary64)) (exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(*.f64 (log.f64 x) #s(literal 2 binary64)) |
(log.f64 x) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (sqrt 2) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ (pow x 2) (pow x 2)) #s(hole binary64 (* 2 (pow x 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 (sqrt (+ (pow x 2) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (* x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (pow x 2) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (pow x 2) (exp (* (log x) 2)))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (exp (* (log x) 2)) #s(hole binary64 (pow x 2))) |
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (log x)))) |
#s(approx (log x) #s(hole binary64 (log x))) |
#s(approx (* (log x) 2) #s(hole binary64 (* -2 (log (/ 1 x))))) |
#s(approx (log x) #s(hole binary64 (* -1 (log (/ 1 x))))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (pow x 2) (* x x))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (sqrt (+ (pow x 2) (exp (* (log x) 2)))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (* (log x) 2) #s(hole binary64 (* 2 (+ (log -1) (* -1 (log (/ -1 x))))))) |
#s(approx (log x) #s(hole binary64 (+ (log -1) (* -1 (log (/ -1 x)))))) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (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 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
x |
(*.f64 (pow.f64 #s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(literal 2 binary64)) #s(literal 1/4 binary64))) |
(pow.f64 #s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log.f64 #s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(literal 2 binary64))) #s(literal 1/2 binary64))) |
#s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(literal 2 binary64)) |
#s(approx (sqrt (+ (pow x 2) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64)) x) |
(*.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 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64))) |
(*.f64 x (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(neg.f64 (*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) #s(literal 1 binary64))) |
(neg.f64 (*.f64 #s(literal 1 binary64) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 #s(literal -1 binary64) x) |
(*.f64 x #s(literal -1 binary64)) |
(neg.f64 (*.f64 x #s(literal 1 binary64))) |
(neg.f64 (*.f64 #s(literal 1 binary64) x)) |
(neg.f64 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 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x))) |
(*.f64 x x) |
(pow.f64 (exp.f64 #s(literal 2 binary64)) (log.f64 x)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.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))))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (-.f64 (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.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))))))) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fma.f64 #s(literal 2 binary64) (*.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x))) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (cosh.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)))) |
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x))) |
(*.f64 x x) |
(pow.f64 (exp.f64 #s(literal 2 binary64)) (log.f64 x)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.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))))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (-.f64 (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.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))))))) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fma.f64 #s(literal 2 binary64) (*.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x))) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (cosh.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)))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 2 binary64) |
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x))) |
(*.f64 x x) |
(pow.f64 (exp.f64 #s(literal 2 binary64)) (log.f64 x)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.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))))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (-.f64 (*.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.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))))))) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fma.f64 #s(literal 2 binary64) (*.f64 (sinh.f64 (log.f64 x)) (cosh.f64 (log.f64 x))) (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (cosh.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)))) |
(*.f64 (neg.f64 (log.f64 x)) #s(literal -2 binary64)) |
(*.f64 #s(literal -2 binary64) (neg.f64 (log.f64 x))) |
(*.f64 (log.f64 x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (log.f64 x)) |
(/.f64 (-.f64 (*.f64 (log.f64 x) (log.f64 x)) (*.f64 (log.f64 x) (log.f64 x))) (-.f64 (log.f64 x) (log.f64 x))) |
(/.f64 (+.f64 (pow.f64 (log.f64 x) #s(literal 3 binary64)) (pow.f64 (log.f64 x) #s(literal 3 binary64))) (fma.f64 (log.f64 x) (log.f64 x) (-.f64 (*.f64 (log.f64 x) (log.f64 x)) (*.f64 (log.f64 x) (log.f64 x))))) |
(neg.f64 (*.f64 #s(literal -2 binary64) (log.f64 x))) |
(neg.f64 (*.f64 (log.f64 x) #s(literal -2 binary64))) |
(fma.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64) (log.f64 x)) |
(fma.f64 #s(literal 1 binary64) (log.f64 x) (*.f64 #s(literal 1 binary64) (log.f64 x))) |
(fma.f64 (log.f64 x) #s(literal 1 binary64) (*.f64 (log.f64 x) #s(literal 1 binary64))) |
(fma.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x)) (log.f64 x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (log.f64 x)) (*.f64 #s(literal 1 binary64) (log.f64 x))) |
(+.f64 (*.f64 (log.f64 x) #s(literal 1 binary64)) (*.f64 (log.f64 x) #s(literal 1 binary64))) |
(+.f64 (log.f64 (fabs.f64 x)) (log.f64 (fabs.f64 x))) |
(+.f64 (log.f64 (neg.f64 x)) (log.f64 (neg.f64 x))) |
(+.f64 (log.f64 x) (log.f64 x)) |
(log.f64 (*.f64 x x)) |
(*.f64 (neg.f64 (log.f64 x)) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (neg.f64 (log.f64 x))) |
(neg.f64 (*.f64 (neg.f64 (log.f64 x)) #s(literal 1 binary64))) |
(neg.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (log.f64 x)))) |
(neg.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))) |
(neg.f64 (neg.f64 (log.f64 x))) |
(log.f64 x) |
#s(approx (sqrt (+ (pow x 2) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (sqrt 2) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx x x) |
#s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(literal 2 binary64)) |
#s(approx (* (neg x) (sqrt 2)) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (sqrt (+ (pow x 2) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(literal 2 binary64)) |
#s(approx (exp (* (log x) 2)) (*.f64 x x)) |
#s(approx (exp (* (log x) 2)) (*.f64 x x)) |
#s(approx (sqrt (+ (pow x 2) (* x x))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (+ (pow x 2) (exp (* (log x) 2))) #s(literal 2 binary64)) |
#s(approx (exp (* (log x) 2)) (*.f64 x x)) |
#s(approx (* (log x) 2) (*.f64 (log.f64 x) #s(literal 2 binary64))) |
#s(approx (log x) (log.f64 x)) |
#s(approx (* (log x) 2) (*.f64 (log.f64 x) #s(literal 2 binary64))) |
#s(approx (log x) (log.f64 x)) |
#s(approx (sqrt (+ (pow x 2) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (pow x 2) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (pow x 2) (* x x))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (* (log x) 2) (fma.f64 (neg.f64 (log.f64 (neg.f64 x))) #s(literal -2 binary64) #s(literal 0 binary64))) |
#s(approx (log x) (log.f64 (*.f64 (/.f64 #s(literal 1 binary64) (/.f64 #s(literal -1 binary64) x)) #s(literal -1 binary64)))) |
Compiled 2 006 to 461 computations (77% saved)
6 alts after pruning (3 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 128 | 3 | 131 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 3 | 5 |
| Done | 0 | 0 | 0 |
| Total | 130 | 6 | 136 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 59.3% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| ✓ | 5.9% | (sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) |
| ✓ | 99.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ✓ | 2.0% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 2.0% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
| ▶ | 99.1% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
Compiled 78 to 55 computations (29.5% saved)
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
(*.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 2 binary64) |
#s(literal 1/2 binary64) |
x |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
(neg.f64 x) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (exp (* (log 2) 1/2)) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (neg x) (exp (* (log 2) 1/2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (pow x 2) (pow 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))) (* (exp (* (log 2) 1/2)) x) (exp (* (log 2) 1/2)) (* (log 2) 1/2) (log 2) 2 1/2 x (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (exp (* (log 2) 1/2))) (neg x) (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* x x)) |
| 1.0ms | x | @ | inf | ((sqrt (+ (pow x 2) (pow x 2))) (* (exp (* (log 2) 1/2)) x) (exp (* (log 2) 1/2)) (* (log 2) 1/2) (log 2) 2 1/2 x (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (exp (* (log 2) 1/2))) (neg x) (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* x x)) |
| 1.0ms | x | @ | 0 | ((sqrt (+ (pow x 2) (pow x 2))) (* (exp (* (log 2) 1/2)) x) (exp (* (log 2) 1/2)) (* (log 2) 1/2) (log 2) 2 1/2 x (sqrt (+ (pow x 2) (pow x 2))) (* (neg x) (exp (* (log 2) 1/2))) (neg x) (sqrt (+ (* x x) (* x x))) (+ (* x x) (* x x)) (* x x)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 42 | 194 |
| 0 | 53 | 143 |
| 1 | 102 | 110 |
| 0 | 438 | 110 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | unsound |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
(*.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 2 binary64) |
#s(literal 1/2 binary64) |
x |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)))) |
(neg.f64 x) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (* (exp (* (log 2) 1/2)) x) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (neg x) (exp (* (log 2) 1/2))) #s(hole binary64 (* -1 (* x (sqrt 2))))) |
#s(approx (neg x) #s(hole binary64 (* -1 x))) |
#s(approx (sqrt (+ (* x x) (* x x))) #s(hole binary64 (* x (sqrt 2)))) |
#s(approx (+ (* x x) (* x x)) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (sqrt (+ (pow x 2) (pow 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)) x)) |
(*.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 x) (sqrt.f64 (+.f64 x x))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (+.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.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 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.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 2 binary64) |
#s(literal 1/2 binary64) |
x |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64))) x) |
(*.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64)) x) |
(*.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 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) #s(literal -1 binary64))) |
(*.f64 x (neg.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(neg.f64 (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (neg.f64 x) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (neg.f64 x))) |
(fma.f64 (neg.f64 x) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (*.f64 (neg.f64 x) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(+.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (neg.f64 x)) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (neg.f64 x))) |
(+.f64 (*.f64 (neg.f64 x) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (neg.f64 x) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(*.f64 #s(literal -1 binary64) x) |
(*.f64 x #s(literal -1 binary64)) |
(neg.f64 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 (+.f64 x x))) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (+.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.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 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) #s(literal 2 binary64))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.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))))) |
#s(literal 2 binary64) |
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x))) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(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)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (* (exp (* (log 2) 1/2)) x) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx x x) |
#s(approx (* (neg x) (exp (* (log 2) 1/2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (neg x) (neg.f64 x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
#s(approx (+ (* x x) (* x x)) #s(literal 2 binary64)) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 1 780 to 343 computations (80.7% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 111 | 0 | 111 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 3 | 3 |
| Total | 111 | 6 | 117 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 59.3% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| ✓ | 5.9% | (sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) |
| ✓ | 99.3% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ✓ | 2.0% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 2.0% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
| ✓ | 99.1% | #s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
Compiled 182 to 90 computations (50.5% saved)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) |
#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 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
#s(approx (sqrt (+ (pow x 2) (pow x 2))) (*.f64 (neg.f64 x) (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))))) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (*.f64 x x))) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
(sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (exp.f64 (*.f64 (log.f64 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:
| 13.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 3.0ms | x |
| 3.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.3% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 99.3% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 99.3% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 99.3% | 1 | x |
Compiled 19 to 13 computations (31.6% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) |
| Outputs |
|---|
(sqrt.f64 #s(approx (+ (pow x 2) (pow x 2)) #s(literal 2 binary64))) |
4 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 1.0ms | (pow.f64 x #s(literal 2 binary64)) |
| 1.0ms | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 5.9% | 1 | (pow.f64 x #s(literal 2 binary64)) |
| 5.9% | 1 | (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64))) |
| 5.9% | 1 | (sqrt.f64 (+.f64 (pow.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 2 binary64)))) |
| 5.9% | 1 | x |
Compiled 19 to 13 computations (31.6% saved)
| 1× | done |
Compiled 23 to 11 computations (52.2% saved)
(abs x)
Compiled 108 to 64 computations (40.7% saved)
Loading profile data...