
Time bar (total: 1.4s)
| 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 8 to 8 computations (0% saved)
| 432.0ms | 8 256× | 0 | valid |
ival-sub: 62.0ms (34.2% of total)ival-div: 62.0ms (34.2% of total)ival-fabs: 46.0ms (25.4% of total)exact: 6.0ms (3.3% of total)ival-assert: 3.0ms (1.7% of total)adjust: 2.0ms (1.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (fabs.f64 (-.f64 a b)) |
| 0 | 0 | - | 0 | - | (-.f64 a b) |
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 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 |
| 32.0ms | 512× | 0 | valid |
Compiled 42 to 22 computations (47.6% saved)
ival-div: 7.0ms (50.7% of total)ival-sub: 3.0ms (21.7% of total)ival-fabs: 3.0ms (21.7% 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 | 22 | 40 |
| 1 | 46 | 40 |
| 2 | 67 | 40 |
| 3 | 125 | 40 |
| 4 | 245 | 40 |
| 5 | 423 | 40 |
| 6 | 1476 | 40 |
| 7 | 5219 | 40 |
| 0 | 10 | 6 |
| 0 | 15 | 6 |
| 1 | 17 | 6 |
| 2 | 20 | 6 |
| 3 | 25 | 6 |
| 4 | 45 | 6 |
| 5 | 122 | 6 |
| 6 | 575 | 6 |
| 7 | 4689 | 6 |
| 0 | 8421 | 6 |
| 1× | saturated |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| Outputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(sort a b)
Compiled 6 to 6 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
Compiled 6 to 6 computations (0% saved)
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
a |
b |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
| 1.0ms | b | @ | 0 | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 71 | 204 |
| 1 | 109 | 202 |
| 2 | 110 | 200 |
| 3 | 111 | 200 |
| 4 | 112 | 200 |
| 0 | 112 | 177 |
| 1 | 263 | 174 |
| 0 | 1561 | 172 |
| 1 | 1747 | 166 |
| 2 | 2376 | 166 |
| 3 | 3060 | 166 |
| 4 | 3307 | 166 |
| 5 | 3381 | 166 |
| 6 | 3390 | 166 |
| 1× | saturated |
| 1× | iter limit |
| 1× | node limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
a |
b |
#s(literal 2 binary64) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
| Outputs |
|---|
(neg.f64 (/.f64 (fabs.f64 (-.f64 a b)) #s(literal -2 binary64))) |
(neg.f64 (/.f64 (neg.f64 (fabs.f64 (-.f64 a b))) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(/.f64 (neg.f64 (fabs.f64 (-.f64 a b))) #s(literal -2 binary64)) |
(/.f64 (neg.f64 (neg.f64 (fabs.f64 (-.f64 a b)))) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(fabs.f64 (-.f64 b a)) |
(sqrt.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 b #s(literal 2 binary64)))) (fabs.f64 (+.f64 a b))) |
(/.f64 (fabs.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64)))) (fabs.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (pow.f64 b #s(literal 2 binary64))))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) (fabs.f64 (+.f64 a b))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 a a (*.f64 b (+.f64 a b))))) |
(pow.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b))) |
(+.f64 a (neg.f64 b)) |
(+.f64 (neg.f64 b) a) |
(+.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))) (/.f64 (pow.f64 (neg.f64 b) #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b))))) |
(-.f64 a b) |
(-.f64 a (*.f64 (neg.f64 b) #s(literal -1 binary64))) |
(-.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b))))) |
(-.f64 (/.f64 (pow.f64 a #s(literal 2 binary64)) (+.f64 a b)) (/.f64 (pow.f64 b #s(literal 2 binary64)) (+.f64 a b))) |
(fma.f64 b #s(literal -1 binary64) a) |
(fma.f64 #s(literal -1 binary64) b a) |
(neg.f64 (-.f64 b a)) |
(/.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64))) (neg.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (pow.f64 b #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (pow.f64 b #s(literal 2 binary64)))) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (*.f64 b (+.f64 a b)))) |
(/.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 b #s(literal 2 binary64))) (+.f64 a b)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 2 binary64)) (pow.f64 b #s(literal 2 binary64)))) (neg.f64 (+.f64 a b))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64)))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (pow.f64 b #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64)))) (+.f64 a b)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 a a (*.f64 b (+.f64 a b))))) |
(/.f64 (-.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (neg.f64 (+.f64 a b))) |
(/.f64 (-.f64 (pow.f64 b #s(literal 2 binary64)) (pow.f64 a #s(literal 2 binary64))) (-.f64 (neg.f64 b) a)) |
a |
b |
#s(literal 2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (neg.f64 b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx a a) |
#s(approx (- a b) a) |
#s(approx (- a b) (fma.f64 a (/.f64 b (neg.f64 a)) a)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (fma.f64 a (/.f64 b (neg.f64 a)) a)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx b b) |
#s(approx (- a b) (*.f64 b (+.f64 (/.f64 a b) #s(literal -1 binary64)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (neg.f64 (-.f64 b (*.f64 (/.f64 a b) b)))) |
Compiled 584 to 174 computations (70.2% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 46 | 1 | 47 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 47 | 1 | 48 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
Compiled 13 to 11 computations (15.4% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
a |
b |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a b 1/2) |
| 0.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a b 1/2) |
| 0.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a b 1/2) |
| 0.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a b 1/2) |
| 0.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a b 1/2) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 76 | 267 |
| 1 | 120 | 265 |
| 2 | 121 | 263 |
| 3 | 122 | 263 |
| 4 | 123 | 263 |
| 5 | 125 | 263 |
| 0 | 125 | 223 |
| 1 | 276 | 220 |
| 0 | 1575 | 218 |
| 1 | 1750 | 212 |
| 2 | 2376 | 212 |
| 3 | 3060 | 212 |
| 4 | 3307 | 212 |
| 5 | 3381 | 212 |
| 6 | 3390 | 212 |
| 1× | saturated |
| 1× | iter limit |
| 1× | node limit |
| 1× | saturated |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
a |
b |
#s(literal 1/2 binary64) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))) |
(fabs.f64 (-.f64 a b)) |
(fabs.f64 (-.f64 b a)) |
(sqrt.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64))) |
(/.f64 (fabs.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64)))) (fabs.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))) |
(/.f64 (fabs.f64 (-.f64 (*.f64 b b) (*.f64 a a))) (fabs.f64 (+.f64 a b))) |
(/.f64 (fabs.f64 (-.f64 (*.f64 a a) (*.f64 b b))) (fabs.f64 (+.f64 a b))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 a a (*.f64 b (+.f64 a b))))) |
(pow.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b))) |
(+.f64 a (neg.f64 b)) |
(+.f64 (neg.f64 b) a) |
(+.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))) (/.f64 (pow.f64 (neg.f64 b) #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b))))) |
(-.f64 a b) |
(-.f64 a (*.f64 (neg.f64 b) #s(literal -1 binary64))) |
(-.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b)))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 a a (*.f64 b (+.f64 a b))))) |
(-.f64 (/.f64 (*.f64 a a) (+.f64 a b)) (/.f64 (*.f64 b b) (+.f64 a b))) |
(fma.f64 b #s(literal -1 binary64) a) |
(fma.f64 #s(literal -1 binary64) b a) |
(neg.f64 (-.f64 b a)) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 a a (*.f64 b (+.f64 a b)))) |
(/.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64))) (neg.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))) |
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (+.f64 a b)) |
(/.f64 (neg.f64 (+.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 (neg.f64 a) #s(literal 3 binary64)))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))) |
(/.f64 (neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))) (+.f64 a b)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 a a (*.f64 b (+.f64 a b))))) |
(/.f64 (neg.f64 (-.f64 (*.f64 a a) (*.f64 b b))) (neg.f64 (+.f64 a b))) |
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (neg.f64 (+.f64 a b))) |
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) (-.f64 (neg.f64 b) a)) |
a |
b |
#s(literal 1/2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* (fabs (- a b)) 1/2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (neg.f64 b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx a a) |
#s(approx (- a b) a) |
#s(approx (- a b) (fma.f64 a (/.f64 b (neg.f64 a)) a)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* (fabs (- a b)) 1/2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (fma.f64 a (/.f64 b (neg.f64 a)) a)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx b b) |
#s(approx (- a b) (*.f64 b (+.f64 (/.f64 a b) #s(literal -1 binary64)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* (fabs (- a b)) 1/2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (neg.f64 (-.f64 b (*.f64 (/.f64 a b) b)))) |
Compiled 881 to 206 computations (76.6% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 43 | 2 | 45 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 43 | 3 | 46 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
| ▶ | 49.3% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))) |
| ▶ | 53.2% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
Compiled 44 to 34 computations (22.7% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- a b) a)) |
#s(approx (- a b) a) |
a |
#s(literal 1/2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- a b) (neg.f64 b))) |
#s(approx (- a b) (neg.f64 b)) |
(neg.f64 b) |
b |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (neg b) #s(hole binary64 (* -1 b))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) (neg b) b) |
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) (neg b) b) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) (neg b) b) |
| 0.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) (neg b) b) |
| 0.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) a 1/2 (/ (fabs (- a b)) 2) (* (fabs (- a b)) 1/2) (fabs (- a b)) (- a b) (neg b) b) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 323 |
| 1 | 129 | 323 |
| 2 | 132 | 323 |
| 3 | 136 | 323 |
| 4 | 140 | 323 |
| 5 | 142 | 323 |
| 6 | 144 | 323 |
| 0 | 144 | 296 |
| 1 | 308 | 293 |
| 0 | 1622 | 271 |
| 1 | 1819 | 265 |
| 2 | 2459 | 265 |
| 3 | 3143 | 265 |
| 4 | 3390 | 265 |
| 5 | 3464 | 265 |
| 6 | 3473 | 265 |
| 1× | saturated |
| 1× | iter limit |
| 1× | node limit |
| 1× | saturated |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- a b) a)) |
#s(approx (- a b) a) |
a |
#s(literal 1/2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- a b) (neg.f64 b))) |
#s(approx (- a b) (neg.f64 b)) |
(neg.f64 b) |
b |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (neg b) #s(hole binary64 (* -1 b))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* (fabs (- a b)) 1/2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) a))) |
(fabs.f64 #s(approx (- a b) a)) |
(fabs.f64 (neg.f64 #s(approx (- a b) a))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) a)))) |
(sqrt.f64 (pow.f64 #s(approx (- a b) a) #s(literal 2 binary64))) |
(pow.f64 (pow.f64 #s(approx (- a b) a) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(*.f64 (sqrt.f64 #s(approx (- a b) a)) (sqrt.f64 #s(approx (- a b) a))) |
#s(approx (- a b) a) |
a |
#s(literal 1/2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b))))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- a b) (neg.f64 b)))) |
(*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- a b) (neg.f64 b))) |
(fabs.f64 (neg.f64 #s(approx (- a b) (neg.f64 b)))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) (neg.f64 b))))) |
(sqrt.f64 (pow.f64 #s(approx (- a b) (neg.f64 b)) #s(literal 2 binary64))) |
(pow.f64 (pow.f64 #s(approx (- a b) (neg.f64 b)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(*.f64 (sqrt.f64 #s(approx (- a b) (neg.f64 b))) (sqrt.f64 #s(approx (- a b) (neg.f64 b)))) |
#s(approx (- a b) (neg.f64 b)) |
(neg.f64 b) |
(*.f64 b #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) b) |
b |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (* (fabs (- a b)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (neg.f64 b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx a a) |
#s(approx (- a b) a) |
#s(approx (- a b) (fma.f64 a (/.f64 b (neg.f64 a)) a)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (* (fabs (- a b)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (fma.f64 a (/.f64 b (neg.f64 a)) a)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (neg b) (neg.f64 b)) |
#s(approx b b) |
#s(approx (- a b) (*.f64 b (+.f64 (/.f64 a b) #s(literal -1 binary64)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (* (fabs (- a b)) 1/2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (neg.f64 (-.f64 b (*.f64 (/.f64 a b) b)))) |
Compiled 639 to 123 computations (80.8% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 37 | 0 | 37 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 37 | 3 | 40 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
| ✓ | 49.3% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))) |
| ✓ | 53.2% | #s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
Compiled 94 to 56 computations (40.4% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
5 calls:
| 2.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 2.0ms | b |
| 2.0ms | (fabs.f64 (-.f64 a b)) |
| 2.0ms | (-.f64 a b) |
| 2.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (-.f64 a b) |
| 100.0% | 1 | (fabs.f64 (-.f64 a b)) |
| 100.0% | 1 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 100.0% | 1 | a |
| 100.0% | 1 | b |
Compiled 15 to 17 computations (-13.3% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64))) |
5 calls:
| 10.0ms | b |
| 1.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 1.0ms | a |
| 1.0ms | (fabs.f64 (-.f64 a b)) |
| 1.0ms | (-.f64 a b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 59.2% | 2 | (-.f64 a b) |
| 59.2% | 2 | (fabs.f64 (-.f64 a b)) |
| 59.2% | 2 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 80.8% | 2 | a |
| 86.8% | 2 | b |
Compiled 15 to 17 computations (-13.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 1/2 binary64))) |
5 calls:
| 1.0ms | b |
| 1.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 1.0ms | (-.f64 a b) |
| 1.0ms | a |
| 1.0ms | (fabs.f64 (-.f64 a b)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.2% | 1 | (-.f64 a b) |
| 53.2% | 1 | (fabs.f64 (-.f64 a b)) |
| 53.2% | 1 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 53.2% | 1 | a |
| 53.2% | 1 | b |
Compiled 15 to 17 computations (-13.3% saved)
| 1× | binary-search |
| 1× | done |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 10.0ms | 1.1832030484447743e-35 | 1.6164831239619e-33 |
| 5.0ms | 112× | 0 | valid |
Compiled 289 to 209 computations (27.7% saved)
ival-sub: 1.0ms (45.8% of total)ival-div: 1.0ms (45.8% of total)ival-fabs: 1.0ms (45.8% 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)(sort a b)
Compiled 216 to 124 computations (42.6% saved)
Loading profile data...