
Time bar (total: 1.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 477.0ms | 8 256× | 0 | valid |
ival-add: 158.0ms (58.9% of total)ival-mult: 54.0ms (20.1% of total)ival-sub: 52.0ms (19.4% of total)ival-assert: 3.0ms (1.1% of total)adjust: 2.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 (+.f64 x y) (-.f64 x y)) |
| 0 | 0 | - | 0 | - | (+.f64 x y) |
| 0 | 0 | - | 0 | - | (-.f64 x y) |
| 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 |
| 27.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-add: 8.0ms (54.1% of total)ival-sub: 3.0ms (20.3% of total)ival-mult: 3.0ms (20.3% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 51 |
| 1 | 41 | 45 |
| 2 | 106 | 42 |
| 3 | 367 | 42 |
| 4 | 603 | 42 |
| 5 | 1130 | 42 |
| 6 | 2052 | 42 |
| 7 | 3019 | 42 |
| 8 | 3325 | 42 |
| 9 | 3403 | 42 |
| 10 | 3403 | 42 |
| 11 | 3587 | 42 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 13 | 7 |
| 2 | 31 | 7 |
| 3 | 102 | 7 |
| 4 | 254 | 7 |
| 5 | 440 | 7 |
| 6 | 868 | 7 |
| 7 | 1404 | 7 |
| 8 | 2088 | 7 |
| 9 | 2904 | 7 |
| 10 | 3214 | 7 |
| 11 | 3276 | 7 |
| 12 | 3276 | 7 |
| 13 | 3354 | 7 |
| 0 | 3354 | 7 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(*.f64 (-.f64 x y) (+.f64 y x)) |
(abs x)
(abs y)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (+.f64 x y) (-.f64 x y)) |
Compiled 7 to 5 computations (28.6% saved)
| Inputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(+.f64 x y) |
x |
y |
(-.f64 x y) |
| Outputs |
|---|
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* -1 (pow y 2)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- x y) #s(hole binary64 (* -1 y))) |
#s(approx (- x y) #s(hole binary64 (- x y))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (- x y) #s(hole binary64 x)) |
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((* (+ x y) (- x y)) (+ x y) x y (- x y)) |
| 1.0ms | x | @ | inf | ((* (+ x y) (- x y)) (+ x y) x y (- x y)) |
| 1.0ms | y | @ | -inf | ((* (+ x y) (- x y)) (+ x y) x y (- x y)) |
| 1.0ms | y | @ | inf | ((* (+ x y) (- x y)) (+ x y) x y (- x y)) |
| 0.0ms | x | @ | 0 | ((* (+ x y) (- x y)) (+ x y) x y (- x y)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 120 | 475 |
| 0 | 121 | 428 |
| 0 | 703 | 419 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(+.f64 x y) |
x |
y |
(-.f64 x y) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* -1 (pow y 2)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))))) |
#s(approx (+ x y) #s(hole binary64 y)) |
#s(approx (+ x y) #s(hole binary64 (+ x y))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- x y) #s(hole binary64 (* -1 y))) |
#s(approx (- x y) #s(hole binary64 (- x y))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))))) |
#s(approx (+ x y) #s(hole binary64 x)) |
#s(approx (+ x y) #s(hole binary64 (* x (+ 1 (/ y x))))) |
#s(approx (- x y) #s(hole binary64 x)) |
#s(approx (- x y) #s(hole binary64 (* x (+ 1 (* -1 (/ y x)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* x (- (* -1 (/ y x)) 1))))) |
#s(approx (- x y) #s(hole binary64 (* -1 (* x (- (/ y x) 1))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (- x y) #s(hole binary64 (+ x (* -1 y)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)))) |
#s(approx (+ x y) #s(hole binary64 (* y (+ 1 (/ x y))))) |
#s(approx (- x y) #s(hole binary64 (* y (- (/ x y) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)))) |
#s(approx (+ x y) #s(hole binary64 (* -1 (* y (- (* -1 (/ x y)) 1))))) |
#s(approx (- x y) #s(hole binary64 (* -1 (* y (+ 1 (* -1 (/ x y))))))) |
| Outputs |
|---|
(*.f64 (-.f64 x y) (+.f64 y x)) |
(*.f64 (+.f64 y x) (-.f64 x y)) |
(-.f64 (*.f64 x x) (*.f64 y y)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 y y) (*.f64 x y)))) |
(/.f64 (*.f64 (-.f64 x y) (+.f64 y x)) (-.f64 x y)) |
(+.f64 y x) |
(+.f64 x y) |
x |
y |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 x x (fma.f64 y y (*.f64 x y)))) |
(/.f64 (*.f64 (-.f64 x y) (+.f64 y x)) (+.f64 y x)) |
(-.f64 x y) |
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) |
#s(approx (* (+ x y) (- x y)) (fma.f64 (*.f64 #s(literal 0 binary64) y) x (neg.f64 (*.f64 y y)))) |
#s(approx (* (+ x y) (- x y)) (fma.f64 (fma.f64 #s(literal 0 binary64) y x) x (neg.f64 (*.f64 y y)))) |
#s(approx (+ x y) y) |
#s(approx (+ x y) (+.f64 y x)) |
#s(approx x x) |
#s(approx (- x y) (neg.f64 y)) |
#s(approx (- x y) (-.f64 x y)) |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
#s(approx (* (+ x y) (- x y)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (*.f64 (+.f64 (fma.f64 (/.f64 y x) #s(literal -1 binary64) #s(literal 1 binary64)) (fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal -1 binary64) (/.f64 y x))) (*.f64 x x))) |
#s(approx (+ x y) x) |
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 y x) #s(literal 1 binary64)) x)) |
#s(approx (- x y) x) |
#s(approx (- x y) (*.f64 (fma.f64 (/.f64 y x) #s(literal -1 binary64) #s(literal 1 binary64)) x)) |
#s(approx (* (+ x y) (- x y)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) y) #s(literal -1 binary64) (/.f64 (*.f64 y y) x)) x) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (+ x y) (*.f64 (neg.f64 x) (-.f64 (/.f64 (neg.f64 y) x) #s(literal 1 binary64)))) |
#s(approx (- x y) (*.f64 (neg.f64 x) (-.f64 (/.f64 y x) #s(literal 1 binary64)))) |
#s(approx (* (+ x y) (- x y)) (fma.f64 (*.f64 #s(literal 0 binary64) x) y (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (fma.f64 (fma.f64 #s(literal 0 binary64) x (neg.f64 y)) y (*.f64 x x))) |
#s(approx y y) |
#s(approx (- x y) (fma.f64 #s(literal -1 binary64) y x)) |
#s(approx (* (+ x y) (- x y)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 x y)) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (* (+ x y) (- x y)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 x y) (/.f64 (*.f64 x x) (*.f64 y y))) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (+ x y) (*.f64 (+.f64 (/.f64 x y) #s(literal 1 binary64)) y)) |
#s(approx (- x y) (*.f64 (-.f64 (/.f64 x y) #s(literal 1 binary64)) y)) |
#s(approx (* (+ x y) (- x y)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 x y))) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (* (+ x y) (- x y)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) x (neg.f64 (/.f64 (*.f64 x x) y))) y)) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (+ x y) (*.f64 (neg.f64 y) (-.f64 (/.f64 (neg.f64 x) y) #s(literal 1 binary64)))) |
#s(approx (- x y) (*.f64 (neg.f64 y) (fma.f64 (/.f64 x y) #s(literal -1 binary64) #s(literal 1 binary64)))) |
Compiled 637 to 148 computations (76.8% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 2 | 46 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 44 | 3 | 47 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (+.f64 x y) (-.f64 x y)) |
| ▶ | 52.1% | #s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| ▶ | 53.9% | #s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) |
Compiled 30 to 20 computations (33.3% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) |
(neg.f64 (*.f64 y y)) |
(*.f64 y y) |
y |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
(*.f64 x x) |
x |
| Outputs |
|---|
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* -1 (pow y 2)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)))) |
#s(approx (neg (* y y)) #s(hole binary64 (* -1 (pow y 2)))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | -inf | ((* (+ x y) (- x y)) (neg (* y y)) (* y y) y (* (+ x y) (- x y)) (* x x) x) |
| 1.0ms | x | @ | -inf | ((* (+ x y) (- x y)) (neg (* y y)) (* y y) y (* (+ x y) (- x y)) (* x x) x) |
| 1.0ms | y | @ | inf | ((* (+ x y) (- x y)) (neg (* y y)) (* y y) y (* (+ x y) (- x y)) (* x x) x) |
| 1.0ms | x | @ | inf | ((* (+ x y) (- x y)) (neg (* y y)) (* y y) y (* (+ x y) (- x y)) (* x x) x) |
| 0.0ms | x | @ | 0 | ((* (+ x y) (- x y)) (neg (* y y)) (* y y) y (* (+ x y) (- x y)) (* x x) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 92 | 370 |
| 0 | 96 | 332 |
| 0 | 586 | 323 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) |
(neg.f64 (*.f64 y y)) |
(*.f64 y y) |
y |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* -1 (pow y 2)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ y (* -1 y)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* -1 (pow y 2)) (* x (+ x (+ y (* -1 y))))))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (/ y x)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* -1 (/ y x)) (+ (* -1 (/ (pow y 2) (pow x 2))) (/ y x))))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow x 2) (+ 1 (* -1 (/ (+ (* -1 (+ y (* -1 y))) (/ (pow y 2) x)) x)))))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (* -1 x))) (pow x 2)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (+ (* y (+ x (+ (* -1 x) (* -1 y)))) (pow x 2)))) |
#s(approx (neg (* y y)) #s(hole binary64 (* -1 (pow y 2)))) |
#s(approx (* y y) #s(hole binary64 (pow y 2))) |
#s(approx y #s(hole binary64 y)) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (/ x y)) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (+ (* -1 (/ x y)) (+ (/ x y) (/ (pow x 2) (pow y 2)))) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (* -1 x)) y)) 1)))) |
#s(approx (* (+ x y) (- x y)) #s(hole binary64 (* (pow y 2) (- (* -1 (/ (+ x (+ (* -1 x) (* -1 (/ (pow x 2) y)))) y)) 1)))) |
| Outputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
(*.f64 (neg.f64 y) y) |
(*.f64 (*.f64 y y) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.f64 y y)) |
(*.f64 y (neg.f64 y)) |
(neg.f64 (*.f64 y y)) |
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64))) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 y y) |
(pow.f64 y #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
y |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 x x) |
(pow.f64 x #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
x |
#s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) |
#s(approx (* (+ x y) (- x y)) (fma.f64 (neg.f64 y) y (*.f64 (*.f64 #s(literal 0 binary64) y) x))) |
#s(approx (* (+ x y) (- x y)) (fma.f64 (neg.f64 y) y (*.f64 (fma.f64 #s(literal 0 binary64) y x) x))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx x x) |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
#s(approx (* (+ x y) (- x y)) (*.f64 (fma.f64 #s(literal 0 binary64) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (*.f64 (+.f64 (+.f64 #s(literal 1 binary64) (/.f64 (neg.f64 y) x)) (fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) #s(literal -1 binary64) (/.f64 y x))) (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (*.f64 (fma.f64 (/.f64 (fma.f64 (*.f64 #s(literal 0 binary64) y) #s(literal -1 binary64) (/.f64 (*.f64 y y) x)) x) #s(literal -1 binary64) #s(literal 1 binary64)) (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (fma.f64 (*.f64 #s(literal 0 binary64) x) y (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (fma.f64 (fma.f64 #s(literal 0 binary64) x (neg.f64 y)) y (*.f64 x x))) |
#s(approx (neg (* y y)) (*.f64 (neg.f64 y) y)) |
#s(approx (* y y) (*.f64 y y)) |
#s(approx y y) |
#s(approx (* (+ x y) (- x y)) (*.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 x y)) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (* (+ x y) (- x y)) (*.f64 (-.f64 (fma.f64 #s(literal 0 binary64) (/.f64 x y) (/.f64 (*.f64 x x) (*.f64 y y))) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (* (+ x y) (- x y)) (*.f64 (-.f64 (neg.f64 (*.f64 #s(literal 0 binary64) (/.f64 x y))) #s(literal 1 binary64)) (*.f64 y y))) |
#s(approx (* (+ x y) (- x y)) (*.f64 (-.f64 (neg.f64 (/.f64 (fma.f64 #s(literal 0 binary64) x (neg.f64 (/.f64 (*.f64 x x) y))) y)) #s(literal 1 binary64)) (*.f64 y y))) |
Compiled 627 to 132 computations (78.9% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 0 | 41 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 41 | 3 | 44 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (+.f64 x y) (-.f64 x y)) |
| ✓ | 52.1% | #s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| ✓ | 53.9% | #s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) |
Compiled 60 to 33 computations (45% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) |
(*.f64 (+.f64 x y) (-.f64 x y)) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
3 calls:
| 2.0ms | y |
| 2.0ms | x |
| 1.0ms | (*.f64 (+.f64 x y) (-.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 (+.f64 x y) (-.f64 x y)) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 9 to 9 computations (0% saved)
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) |
| Outputs |
|---|
#s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
3 calls:
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (*.f64 (+.f64 x y) (-.f64 x y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.5% | 2 | (*.f64 (+.f64 x y) (-.f64 x y)) |
| 78.9% | 2 | x |
| 79.9% | 2 | y |
Compiled 9 to 9 computations (0% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| Outputs |
|---|
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
3 calls:
| 27.0ms | (*.f64 (+.f64 x y) (-.f64 x y)) |
| 1.0ms | x |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.1% | 1 | x |
| 52.1% | 1 | y |
| 52.1% | 1 | (*.f64 (+.f64 x y) (-.f64 x y)) |
Compiled 9 to 9 computations (0% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -1.3575565577858985e-308 | 0.0 |
Compiled 10 to 10 computations (0% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 51 |
| 1 | 30 | 51 |
| 2 | 51 | 51 |
| 3 | 123 | 51 |
| 4 | 275 | 51 |
| 5 | 461 | 51 |
| 6 | 887 | 51 |
| 7 | 1425 | 51 |
| 8 | 2109 | 51 |
| 9 | 2941 | 51 |
| 10 | 3251 | 51 |
| 11 | 3313 | 51 |
| 12 | 3313 | 51 |
| 13 | 3391 | 51 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(if (<=.f64 (*.f64 (+.f64 x y) (-.f64 x y)) #s(literal -1012011266536553/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392 binary64)) #s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) #s(approx (* (+ x y) (- x y)) (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| Outputs |
|---|
(*.f64 (+.f64 x y) (-.f64 x y)) |
(if (<=.f64 (*.f64 (+.f64 x y) (-.f64 x y)) #s(literal -1012011266536553/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392 binary64)) #s(approx (* (+ x y) (- x y)) (neg.f64 (*.f64 y y))) #s(approx (* (+ x y) (- x y)) (*.f64 x x))) |
(if (<=.f64 (*.f64 (+.f64 x y) (-.f64 x y)) #s(literal -1012011266536553/101201126653655309176247673359458653524778324882071059178450679013715169783997673445980191850718562247593538932158405955694904368692896738433506699970369254960758712138283180682233453871046608170619883839236372534281003741712346349309051677824579778170405028256179384776166707307615251266093163754323003131653853870546747392 binary64)) #s(approx (* (+ x y) (- x y)) (*.f64 (neg.f64 y) y)) #s(approx (* (+ x y) (- x y)) (*.f64 x x))) |
#s(approx (* (+ x y) (- x y)) (*.f64 x x)) |
| 1× | done |
Compiled 51 to 16 computations (68.6% saved)
(abs y)
(abs x)
Compiled 172 to 82 computations (52.3% saved)
Loading profile data...