
Time bar (total: 2.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)
| 486.0ms | 8 256× | 0 | valid |
ival-div: 111.0ms (50.5% of total)ival-sub: 49.0ms (22.3% of total)ival-fabs: 43.0ms (19.6% of total)ival-true: 6.0ms (2.7% of total)exact: 6.0ms (2.7% of total)ival-assert: 3.0ms (1.4% of total)adjust: 2.0ms (0.9% 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 |
| 24.0ms | 512× | 0 | valid |
Compiled 42 to 22 computations (47.6% saved)
ival-sub: 3.0ms (29.4% of total)ival-div: 3.0ms (29.4% of total)ival-fabs: 3.0ms (29.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)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 34 |
| 1 | 38 | 34 |
| 2 | 59 | 34 |
| 3 | 111 | 34 |
| 4 | 229 | 34 |
| 5 | 417 | 34 |
| 6 | 1472 | 34 |
| 7 | 5213 | 34 |
| 0 | 6 | 6 |
| 0 | 9 | 6 |
| 1 | 15 | 6 |
| 2 | 23 | 6 |
| 3 | 43 | 6 |
| 4 | 92 | 6 |
| 5 | 198 | 6 |
| 6 | 770 | 6 |
| 7 | 5212 | 6 |
| 0 | 8049 | 6 |
| 1× | iter limit |
| 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)) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/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)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 a b) | |
| cost-diff | 0 | (fabs.f64 (-.f64 a b)) | |
| cost-diff | 0 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 0 | 9 | 16 |
| 1 | 15 | 16 |
| 2 | 23 | 16 |
| 3 | 43 | 16 |
| 4 | 92 | 16 |
| 5 | 198 | 16 |
| 6 | 770 | 16 |
| 7 | 5212 | 16 |
| 0 | 8049 | 16 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 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 |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(fabs.f64 (-.f64 b a)) |
(-.f64 a b) |
a |
b |
#s(literal 2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) | |
| accuracy | 0.0 | (-.f64 a b) | |
| accuracy | 0.0 | (fabs.f64 (-.f64 a b)) |
| 11.0ms | 256× | 0 | valid |
Compiled 18 to 8 computations (55.6% saved)
ival-div: 2.0ms (39.9% of total)ival-sub: 1.0ms (19.9% of total)ival-fabs: 1.0ms (19.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 |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
| 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 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 (- 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 | |
|---|---|---|---|---|
| 2.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
| 0.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 119 |
| 1 | 108 | 119 |
| 2 | 290 | 119 |
| 3 | 836 | 119 |
| 4 | 3382 | 119 |
| 0 | 8608 | 119 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#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 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 (- 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 |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (- a b)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) #s(hole binary64 (* -1 b))) |
#s(approx (- a b) (neg.f64 b)) |
#s(approx (- a b) #s(hole binary64 (- a b))) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (- a b) #s(hole binary64 a)) |
#s(approx (- a b) a) |
#s(approx (- a b) #s(hole binary64 (* a (+ 1 (* -1 (/ b a)))))) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (neg (+ b (* -1 a)))))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* a (- (/ b a) 1))))) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (- a b) #s(hole binary64 (* b (- (/ a b) 1)))) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- a b)) #s(hole binary64 (fabs (+ a (* -1 b))))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) #s(hole binary64 (* -1 (* b (+ 1 (* -1 (/ a b))))))) |
#s(approx (- a b) (-.f64 a b)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 9 | 13 |
| 1 | 34 | 13 |
| 0 | 203 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
| Outputs |
|---|
(/.f64 (neg.f64 (neg.f64 (fabs.f64 (-.f64 b a)))) #s(literal 2 binary64)) |
(/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal -2 binary64)) |
(/.f64 (fabs.f64 (-.f64 b a)) #s(literal 2 binary64)) |
(neg.f64 (/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal 2 binary64))) |
(neg.f64 (/.f64 (fabs.f64 (-.f64 b a)) #s(literal -2 binary64))) |
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b))) |
(pow.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(sqrt.f64 (*.f64 (-.f64 b a) (-.f64 b a))) |
(sqrt.f64 (pow.f64 (-.f64 a b) #s(literal 2 binary64))) |
(fabs.f64 (neg.f64 (-.f64 b a))) |
(fabs.f64 (neg.f64 (neg.f64 (-.f64 a b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs.f64 (neg.f64 (-.f64 a b))) |
(fabs.f64 (-.f64 a b)) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (neg.f64 (+.f64 b a))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 b a)) |
(/.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64))) (fma.f64 b (+.f64 b a) (*.f64 a a))) |
(-.f64 (/.f64 (*.f64 a a) (+.f64 b a)) (/.f64 (*.f64 b b) (+.f64 b a))) |
(-.f64 (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(-.f64 a b) |
Compiled 316 to 100 computations (68.4% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 1 | 28 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 28 | 1 | 29 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
Compiled 13 to 11 computations (15.4% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 b a) | |
| cost-diff | 0 | (fabs.f64 (-.f64 b a)) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) | |
| cost-diff | 0 | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 29 |
| 0 | 14 | 29 |
| 1 | 22 | 29 |
| 2 | 30 | 29 |
| 3 | 56 | 29 |
| 4 | 107 | 29 |
| 5 | 202 | 29 |
| 6 | 783 | 29 |
| 7 | 5324 | 29 |
| 0 | 8161 | 29 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
#s(literal 1/2 binary64) |
(fabs.f64 (-.f64 b a)) |
(-.f64 b a) |
b |
a |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
(fabs.f64 (-.f64 b a)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 b a) |
b |
a |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 b a) | |
| accuracy | 0.0 | (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) | |
| accuracy | 0.0 | (fabs.f64 (-.f64 b a)) | |
| accuracy | 0.0 | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
| 19.0ms | 256× | 0 | valid |
Compiled 24 to 12 computations (50% saved)
ival-sub: 3.0ms (33% of total)ival-div: 2.0ms (22% of total)ival-fabs: 2.0ms (22% of total)ival-mult: 1.0ms (11% 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 (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
(fabs.f64 (-.f64 b a)) |
(-.f64 b a) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a)) |
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a)) |
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a)) |
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a)) |
| 1.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 58 | 164 |
| 1 | 129 | 158 |
| 2 | 337 | 158 |
| 3 | 946 | 158 |
| 4 | 3334 | 158 |
| 5 | 7413 | 158 |
| 0 | 8010 | 158 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) b) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) (neg.f64 a)) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
#s(approx (- b a) (-.f64 b a)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 26 |
| 0 | 14 | 26 |
| 1 | 51 | 26 |
| 0 | 324 | 26 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
(fabs.f64 (-.f64 b a)) |
(-.f64 b a) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b))) |
(*.f64 (sqrt.f64 (-.f64 b a)) (sqrt.f64 (-.f64 b a))) |
(pow.f64 (pow.f64 (-.f64 b a) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (-.f64 (pow.f64 a #s(literal 3 binary64)) (pow.f64 b #s(literal 3 binary64)))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(sqrt.f64 (pow.f64 (-.f64 b a) #s(literal 2 binary64))) |
(fabs.f64 (neg.f64 (neg.f64 (-.f64 a b)))) |
(fabs.f64 (neg.f64 (neg.f64 (-.f64 b a)))) |
(fabs.f64 (neg.f64 (-.f64 a b))) |
(fabs.f64 (neg.f64 (-.f64 b a))) |
(fabs.f64 (-.f64 b a)) |
(fabs.f64 (-.f64 a b)) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (neg.f64 (+.f64 b a))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64)))) (neg.f64 (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (+.f64 b a)) |
(/.f64 (-.f64 (pow.f64 b #s(literal 3 binary64)) (pow.f64 a #s(literal 3 binary64))) (fma.f64 b b (*.f64 a (+.f64 b a)))) |
(-.f64 (/.f64 (*.f64 b b) (+.f64 b a)) (/.f64 (*.f64 a a) (+.f64 b a))) |
(-.f64 (/.f64 (pow.f64 b #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a)))) (/.f64 (pow.f64 a #s(literal 3 binary64)) (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(-.f64 b a) |
Compiled 558 to 137 computations (75.4% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 28 | 2 | 30 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 28 | 3 | 31 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
| ▶ | 50.9% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
| ▶ | 52.6% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
Compiled 44 to 36 computations (18.2% saved)
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- b a) (neg.f64 a)) | |
| cost-diff | 0 | (fabs.f64 #s(approx (- b a) (neg.f64 a))) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) | |
| cost-diff | 0 | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) | |
| cost-diff | 0 | #s(approx (- b a) b) | |
| cost-diff | 0 | (fabs.f64 #s(approx (- b a) b)) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) | |
| cost-diff | 0 | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 78 |
| 0 | 22 | 78 |
| 1 | 33 | 78 |
| 2 | 47 | 78 |
| 3 | 91 | 78 |
| 4 | 178 | 78 |
| 5 | 309 | 78 |
| 6 | 896 | 78 |
| 7 | 5443 | 78 |
| 0 | 8281 | 78 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) |
#s(literal 1/2 binary64) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
b |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) |
#s(literal 1/2 binary64) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
a |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) |
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
b |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) |
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
#s(literal 1/2 binary64) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
a |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (neg.f64 a) | |
| accuracy | 0.0 | (fabs.f64 #s(approx (- b a) (neg.f64 a))) | |
| accuracy | 0.0 | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) | |
| accuracy | 31.91786559499346 | #s(approx (- b a) (neg.f64 a)) | |
| accuracy | 0.0 | (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) | |
| accuracy | 0.0 | (fabs.f64 #s(approx (- b a) b)) | |
| accuracy | 0.0 | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) | |
| accuracy | 30.748334810661557 | #s(approx (- b a) b) |
| 79.0ms | 256× | 0 | valid |
Compiled 46 to 13 computations (71.7% saved)
ival-sub: 51.0ms (71.5% of total)ival-fabs: 15.0ms (21% of total)ival-div: 2.0ms (2.8% of total)ival-mult: 1.0ms (1.4% of total)ival-neg: 1.0ms (1.4% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (neg a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a)) |
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a)) |
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a)) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a)) |
| 0.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 169 |
| 1 | 131 | 163 |
| 2 | 340 | 163 |
| 3 | 946 | 163 |
| 4 | 3321 | 163 |
| 5 | 7400 | 163 |
| 0 | 8044 | 163 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (neg a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (- a b))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (- b a))))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (- b a)))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) #s(hole binary64 b)) |
#s(approx (- b a) b) |
#s(approx (- b a) #s(hole binary64 (+ b (* -1 a)))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (neg a) #s(hole binary64 (* -1 a))) |
#s(approx (neg a) (neg.f64 a)) |
#s(approx (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) (neg.f64 a)) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (neg (+ b (* -1 a))))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (+ b (* -1 a)))))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (+ b (* -1 a))))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* a (+ 1 (* -1 (/ b a))))))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (- b a) #s(hole binary64 (- b a))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a b)))))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (/ (fabs (- a b)) 2) #s(hole binary64 (* 1/2 (fabs (+ a (* -1 b)))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) #s(hole binary64 (* 1/2 (fabs (neg (+ a (* -1 b))))))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) #s(hole binary64 (fabs (neg (+ a (* -1 b)))))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) #s(hole binary64 (* -1 (* b (- (/ a b) 1))))) |
#s(approx (- b a) (-.f64 b a)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 74 |
| 0 | 22 | 74 |
| 1 | 64 | 74 |
| 0 | 318 | 74 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- b a) b)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))) |
(*.f64 (sqrt.f64 #s(approx (- b a) b)) (sqrt.f64 #s(approx (- b a) b))) |
(pow.f64 (pow.f64 #s(approx (- b a) b) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (pow.f64 #s(approx (- b a) b) #s(literal 2 binary64))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- b a) b)))) |
(fabs.f64 (neg.f64 #s(approx (- b a) b))) |
(fabs.f64 #s(approx (- b a) b)) |
#s(approx (- b a) b) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64))) |
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) |
(*.f64 (sqrt.f64 #s(approx (- b a) (neg.f64 a))) (sqrt.f64 #s(approx (- b a) (neg.f64 a)))) |
(pow.f64 (pow.f64 #s(approx (- b a) (neg.f64 a)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(sqrt.f64 (pow.f64 #s(approx (- b a) (neg.f64 a)) #s(literal 2 binary64))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- b a) (neg.f64 a))))) |
(fabs.f64 (neg.f64 #s(approx (- b a) (neg.f64 a)))) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
Compiled 444 to 83 computations (81.3% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 26 | 0 | 26 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 26 | 3 | 29 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
| ✓ | 50.9% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
| ✓ | 52.6% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
Compiled 94 to 61 computations (35.1% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
5 calls:
| 2.0ms | b |
| 2.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 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 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
5 calls:
| 1.0ms | (-.f64 a b) |
| 1.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 1.0ms | (fabs.f64 (-.f64 a b)) |
| 1.0ms | b |
| 1.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 64.3% | 6 | (-.f64 a b) |
| 64.3% | 6 | (fabs.f64 (-.f64 a b)) |
| 64.3% | 6 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 83.1% | 2 | a |
| 83.5% | 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 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
5 calls:
| 6.0ms | a |
| 1.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 1.0ms | b |
| 1.0ms | (fabs.f64 (-.f64 a b)) |
| 1.0ms | (-.f64 a b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.6% | 1 | (-.f64 a b) |
| 52.6% | 1 | (fabs.f64 (-.f64 a b)) |
| 52.6% | 1 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 52.6% | 1 | a |
| 52.6% | 1 | b |
Compiled 15 to 17 computations (-13.3% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 4.494909348068666e-165 | 3.4082932515303713e-158 |
| 6.0ms | 144× | 0 | valid |
Compiled 288 to 254 computations (11.8% saved)
ival-sub: 1.0ms (34.9% of total)ival-div: 1.0ms (34.9% of total)ival-fabs: 1.0ms (34.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 | 24 | 63 |
| 1 | 43 | 63 |
| 2 | 72 | 63 |
| 3 | 141 | 63 |
| 4 | 271 | 63 |
| 5 | 738 | 63 |
| 6 | 3979 | 63 |
| 1× | node limit |
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
(if (<=.f64 b #s(literal 4204616825042777/123665200736552267030251260509823595017565674550605919957031528046448612553265933585158200530621522494798835713008069669675682517153375604983773077550946583958303386074349568 binary64)) #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
| Outputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b)))) |
(if (<=.f64 b #s(literal 4204616825042777/123665200736552267030251260509823595017565674550605919957031528046448612553265933585158200530621522494798835713008069669675682517153375604983773077550946583958303386074349568 binary64)) #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b))))) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
| 1× | done |
Compiled 63 to 24 computations (61.9% saved)
(sort a b)
Compiled 190 to 104 computations (45.3% saved)
Loading profile data...