
Time bar (total: 2.7s)
| 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 7 to 6 computations (14.3% saved)
| 410.0ms | 8 256× | 0 | valid |
ival-sub: 76.0ms (54.8% of total)ival-add: 53.0ms (38.2% of total)exact: 5.0ms (3.6% of total)adjust: 2.0ms (1.4% of total)ival-assert: 2.0ms (1.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 19.0ms | 512× | 0 | valid |
Compiled 29 to 16 computations (44.8% saved)
ival-sub: 5.0ms (54.9% of total)ival-add: 3.0ms (32.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 18 | 16 |
| 2 | 32 | 16 |
| 3 | 63 | 16 |
| 4 | 186 | 16 |
| 5 | 879 | 15 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 12 | 5 |
| 2 | 18 | 5 |
| 3 | 34 | 5 |
| 4 | 107 | 5 |
| 5 | 595 | 5 |
| 6 | 5537 | 5 |
| 0 | 8040 | 4 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
Compiled 5 to 4 computations (20% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
Compiled 5 to 4 computations (20% saved)
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x x) | |
| cost-diff | 1 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 0 | 6 | 10 |
| 1 | 12 | 10 |
| 2 | 18 | 10 |
| 3 | 34 | 10 |
| 4 | 107 | 10 |
| 5 | 595 | 10 |
| 6 | 5537 | 10 |
| 0 | 8040 | 9 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(+.f64 x x) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
#s(literal 1 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) | |
| accuracy | 0.0 | (+.f64 x x) |
| 7.0ms | 256× | 0 | valid |
Compiled 12 to 6 computations (50% saved)
ival-sub: 1.0ms (34.4% of total)ival-add: 1.0ms (34.4% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(hole binary64 -1)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | -inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1) (+ x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 56 |
| 1 | 34 | 56 |
| 2 | 59 | 56 |
| 3 | 110 | 56 |
| 4 | 459 | 56 |
| 5 | 2646 | 56 |
| 6 | 7111 | 56 |
| 0 | 8522 | 48 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(hole binary64 -1)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(hole binary64 -1)) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (- (+ x x) 1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (- (+ x x) 1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
#s(approx (- (+ x x) 1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 34 | 8 |
| 0 | 326 | 7 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(+.f64 x x) |
| Outputs |
|---|
(*.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
(*.f64 (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))) (-.f64 x (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))) (*.f64 x (-.f64 x #s(literal 1 binary64)))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(fma.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x #s(literal -1 binary64)) |
(fma.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) #s(literal -1 binary64)) |
(fma.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)) (neg.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64)) |
(fma.f64 (fabs.f64 (*.f64 #s(literal 2 binary64) x)) (fabs.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 4 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(expm1.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(-.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))))) |
(-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(+.f64 (-.f64 x #s(literal 1 binary64)) x) |
(+.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(+.f64 x (-.f64 x #s(literal 1 binary64))) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64))) |
(*.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)) (neg.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (fabs.f64 (*.f64 #s(literal 2 binary64) x)) (fabs.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 4 binary64) (*.f64 x x)) |
(*.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) x)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) x)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 3 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(+.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x)) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(+.f64 x x) |
Compiled 676 to 159 computations (76.5% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 64 | 2 | 66 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 64 | 3 | 67 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ▶ | 49.4% | #s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
| ▶ | 51.5% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 21 to 17 computations (19% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | #s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) | |
| cost-diff | 0 | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 22 |
| 0 | 10 | 22 |
| 1 | 17 | 22 |
| 2 | 26 | 22 |
| 3 | 59 | 22 |
| 4 | 237 | 22 |
| 5 | 1138 | 22 |
| 6 | 7879 | 22 |
| 0 | 8163 | 20 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 32.371894319154286 | #s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) | |
| accuracy | 31.068828065167057 | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| 10.0ms | 256× | 0 | valid |
Compiled 18 to 9 computations (50% saved)
ival-sub: 1.0ms (21.9% of total)ival-add: 1.0ms (21.9% of total)ival-mult: 1.0ms (21.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(hole binary64 -1)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((- (+ x x) 1) (- (+ x x) 1) (* 2 x)) |
| 0.0ms | x | @ | inf | ((- (+ x x) 1) (- (+ x x) 1) (* 2 x)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1) (- (+ x x) 1) (* 2 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 56 |
| 1 | 33 | 56 |
| 2 | 58 | 56 |
| 3 | 109 | 56 |
| 4 | 458 | 56 |
| 5 | 2645 | 56 |
| 6 | 7110 | 56 |
| 0 | 8521 | 48 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(hole binary64 -1)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(hole binary64 -1)) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (- (+ x x) 1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (- (+ x x) 1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
#s(approx (- (+ x x) 1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 19 |
| 0 | 10 | 19 |
| 0 | 39 | 19 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) 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)))) |
(+.f64 x x) |
Compiled 107 to 30 computations (72% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 8 | 1 | 9 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 1 | 1 |
| Total | 9 | 3 | 12 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ▶ | 49.4% | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| ✓ | 51.5% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 21 to 16 computations (23.8% saved)
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x x) | |
| cost-diff | 0 | #s(approx (- (+ x x) 1) (+.f64 x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 7 | 13 |
| 1 | 13 | 13 |
| 2 | 19 | 13 |
| 3 | 35 | 13 |
| 4 | 108 | 13 |
| 5 | 596 | 13 |
| 6 | 5548 | 13 |
| 0 | 8051 | 12 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
(+.f64 x x) |
x |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x x) | |
| accuracy | 32.371894319154286 | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| 19.0ms | 256× | 0 | valid |
Compiled 11 to 6 computations (45.5% saved)
ival-sub: 1.0ms (33.5% of total)ival-add: 1.0ms (33.5% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(hole binary64 -1)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | -inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1) (+ x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 56 |
| 1 | 34 | 56 |
| 2 | 59 | 56 |
| 3 | 110 | 56 |
| 4 | 459 | 56 |
| 5 | 2646 | 56 |
| 6 | 7111 | 56 |
| 0 | 8522 | 48 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(hole binary64 -1)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(hole binary64 -1)) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (- (+ x x) 1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (- (+ x x) 1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
#s(approx (- (+ x x) 1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
#s(approx (- (+ x x) 1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 12 |
| 0 | 7 | 12 |
| 1 | 35 | 12 |
| 0 | 327 | 11 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64))) |
(*.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)) (neg.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 (fabs.f64 (*.f64 #s(literal 2 binary64) x)) (fabs.f64 (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 4 binary64) (*.f64 x x)) |
(*.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) x)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) x)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 3 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(+.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x)) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(+.f64 x x) |
Compiled 549 to 114 computations (79.2% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 38 | 0 | 38 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 38 | 3 | 41 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ✓ | 49.4% | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| ✓ | 51.5% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 51 to 29 computations (43.1% saved)
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
3 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 x x) |
| 2.0ms | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 x x) |
| 100.0% | 1 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 100.0% | 1 | x |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (+.f64 x x)) |
3 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 x x) |
| 1.0ms | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.4% | 3 | (+.f64 x x) |
| 97.4% | 3 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 97.4% | 3 | x |
Compiled 9 to 7 computations (22.2% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
3 calls:
| 3.0ms | (+.f64 x x) |
| 1.0ms | x |
| 1.0ms | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.5% | 1 | (+.f64 x x) |
| 51.5% | 1 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 51.5% | 1 | x |
Compiled 9 to 7 computations (22.2% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 0.014800921058135044 | 94.36781108304396 |
| 8.0ms | -358.4357992915485 | -0.4916708481587397 |
| 7.0ms | 256× | 0 | valid |
Compiled 264 to 232 computations (12.1% saved)
ival-sub: 1.0ms (35.9% of total)ival-add: 1.0ms (35.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 37 |
| 1 | 26 | 37 |
| 2 | 35 | 37 |
| 3 | 63 | 37 |
| 4 | 154 | 37 |
| 5 | 1149 | 37 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(if (<=.f64 x #s(literal -1/2 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)) (if (<=.f64 x #s(literal 1/2 binary64)) #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)))) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(if (<=.f64 x #s(literal -1/2 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)) (if (<=.f64 x #s(literal 1/2 binary64)) #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)))) |
(if (or (<=.f64 x #s(literal -1/2 binary64)) (not (<=.f64 x #s(literal 1/2 binary64)))) #s(approx (- (+ x x) 1) (+.f64 x x)) #s(approx (- (+ x x) 1) #s(literal -1 binary64))) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| 1× | done |
Compiled 37 to 17 computations (54.1% saved)
Compiled 84 to 42 computations (50% saved)
Loading profile data...