
Time bar (total: 1.3s)
| 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)
| 616.0ms | 8 256× | 0 | valid |
ival-fabs: 47.0ms (38.6% of total)ival-div!: 43.0ms (35.4% of total)ival-sub!: 30.0ms (24.7% of total)adjust: 1.0ms (0.8% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 40 |
| 1 | 53 | 40 |
| 2 | 107 | 40 |
| 3 | 358 | 40 |
| 4 | 1893 | 40 |
| 5 | 5190 | 40 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(sort a b)
Compiled 12 to 12 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 (+ 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) |
| 0.0ms | b | @ | 0 | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) a b 2) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 51 | 173 |
| 0 | 55 | 156 |
| 1 | 206 | 153 |
| 0 | 1483 | 153 |
| 1× | iter-limit |
| 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) |
#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 (+ 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 |
|---|
(/.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 (fabs.f64 (-.f64 b a)) #s(literal -2 binary64))) |
(neg.f64 (/.f64 (neg.f64 (fabs.f64 (-.f64 b a))) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b))) |
(pow.f64 (*.f64 (-.f64 b a) (-.f64 b a)) #s(literal 1/2 binary64)) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(/.f64 (fabs.f64 (*.f64 (-.f64 b a) (+.f64 b a))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) (neg.f64 a)))) (fabs.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))) |
(sqrt.f64 (*.f64 (-.f64 b a) (-.f64 b a))) |
(fabs.f64 (-.f64 b a)) |
(fabs.f64 (-.f64 a b)) |
(/.f64 (*.f64 (-.f64 b a) (+.f64 b a)) (-.f64 (neg.f64 b) a)) |
(/.f64 (*.f64 (-.f64 b a) (+.f64 b a)) (neg.f64 (+.f64 b a))) |
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (neg.f64 (+.f64 b a))) |
(/.f64 (neg.f64 (*.f64 (-.f64 b a) (+.f64 b a))) (+.f64 b a)) |
(/.f64 (neg.f64 (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) (neg.f64 a)))) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (+.f64 b a)) |
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b))) |
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (fma.f64 b (+.f64 b a) (*.f64 a a))) |
(/.f64 (fma.f64 (*.f64 b b) b (*.f64 (*.f64 a a) (neg.f64 a))) (neg.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))) |
(neg.f64 (-.f64 b a)) |
(fma.f64 #s(literal -1 binary64) b a) |
(fma.f64 b #s(literal -1 binary64) a) |
(-.f64 (/.f64 (*.f64 a a) (+.f64 b a)) (/.f64 (*.f64 b b) (+.f64 b a))) |
(-.f64 (/.f64 (*.f64 (*.f64 a a) a) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (*.f64 (*.f64 b b) b) (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(-.f64 a (*.f64 (neg.f64 b) #s(literal -1 binary64))) |
(-.f64 a b) |
(+.f64 (/.f64 (*.f64 (*.f64 a a) a) (fma.f64 b (+.f64 b a) (*.f64 a a))) (/.f64 (*.f64 (*.f64 b b) (neg.f64 b)) (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(+.f64 (neg.f64 b) a) |
(+.f64 a (neg.f64 b)) |
a |
b |
#s(literal 2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) (neg.f64 b)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx a a) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx b b) |
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) b)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 b a))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b))) |
Compiled 311 to 168 computations (46% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 2 | 41 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 40 | 2 | 42 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 51.8% | (/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64)) |
| ▶ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
Compiled 19 to 19 computations (0% saved)
| 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 |
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64)) |
(fabs.f64 #s(approx (- a b) (neg.f64 b))) |
#s(approx (- a b) (neg.f64 b)) |
(neg.f64 b) |
#s(literal 2 binary64) |
| 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 a #s(hole binary64 a)) |
#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 (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#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 (* 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 (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 (- b a) #s(hole binary64 (- b a))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a 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 (* 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))))) |
#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 | |
|---|---|---|---|---|
| 30.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2) |
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2) |
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2) |
| 1.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b a (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b) 2) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 79 | 364 |
| 0 | 87 | 332 |
| 1 | 269 | 324 |
| 0 | 1786 | 324 |
| 1× | iter-limit |
| 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 |
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64)) |
(fabs.f64 #s(approx (- a b) (neg.f64 b))) |
#s(approx (- a b) (neg.f64 b)) |
(neg.f64 b) |
#s(literal 2 binary64) |
#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 a #s(hole binary64 a)) |
#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 (- b a) #s(hole binary64 (* -1 a))) |
#s(approx (- b a) #s(hole binary64 (* a (- (/ b a) 1)))) |
#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 (* 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 (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 (- b a) #s(hole binary64 (- b a))) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (- b a) #s(hole binary64 (* b (+ 1 (* -1 (/ a 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 (* 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))))) |
#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))) |
#s(literal 1/2 binary64) |
(*.f64 (sqrt.f64 (-.f64 b a)) (sqrt.f64 (-.f64 b a))) |
(*.f64 (sqrt.f64 (-.f64 a b)) (sqrt.f64 (-.f64 a b))) |
(pow.f64 (*.f64 (-.f64 a b) (-.f64 a b)) #s(literal 1/2 binary64)) |
(/.f64 (fabs.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a))) (fabs.f64 (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a))) |
(/.f64 (fabs.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (fabs.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(sqrt.f64 (*.f64 (-.f64 a b) (-.f64 a b))) |
(fabs.f64 (-.f64 a b)) |
(fabs.f64 (-.f64 b a)) |
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a))) (neg.f64 (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (+.f64 b a)) |
(/.f64 (neg.f64 (*.f64 (+.f64 b a) (-.f64 b a))) (neg.f64 (+.f64 b a))) |
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (fma.f64 b (+.f64 b a) (*.f64 a a))) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 b a)) (+.f64 b a)) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (-.f64 (neg.f64 a) b)) |
(/.f64 (*.f64 (+.f64 b a) (-.f64 a b)) (neg.f64 (+.f64 b a))) |
(/.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a)) (fma.f64 b b (*.f64 a (+.f64 b a)))) |
(/.f64 (-.f64 (*.f64 (*.f64 b b) b) (*.f64 (*.f64 a a) a)) (fma.f64 b (+.f64 b a) (*.f64 a a))) |
(/.f64 (-.f64 (*.f64 (*.f64 a a) a) (*.f64 (*.f64 b b) b)) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a a)))) |
(neg.f64 (-.f64 a b)) |
(fma.f64 #s(literal -1 binary64) a b) |
(fma.f64 a #s(literal -1 binary64) b) |
(-.f64 (/.f64 (*.f64 b b) (+.f64 b a)) (/.f64 (*.f64 a a) (+.f64 b a))) |
(-.f64 (/.f64 (*.f64 (*.f64 b b) b) (fma.f64 b b (*.f64 a (+.f64 b a)))) (/.f64 (*.f64 (*.f64 a a) a) (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(-.f64 b a) |
(+.f64 (/.f64 (*.f64 (*.f64 b b) b) (fma.f64 b b (*.f64 a (+.f64 b a)))) (/.f64 (*.f64 (*.f64 a a) (neg.f64 a)) (fma.f64 b b (*.f64 a (+.f64 b a))))) |
(+.f64 (neg.f64 a) b) |
(+.f64 b (neg.f64 a)) |
b |
a |
(/.f64 (neg.f64 (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))))) #s(literal 2 binary64)) |
(/.f64 (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal -2 binary64)) |
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64)) |
(neg.f64 (/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal -2 binary64))) |
(neg.f64 (/.f64 (neg.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b)))) #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(approx (- a b) (neg.f64 b))) (sqrt.f64 #s(approx (- a b) (neg.f64 b)))) |
(pow.f64 (*.f64 #s(approx (- a b) (neg.f64 b)) #s(approx (- a b) (neg.f64 b))) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(approx (- a b) (neg.f64 b)) #s(approx (- a b) (neg.f64 b)))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) (neg.f64 b))))) |
(fabs.f64 (neg.f64 #s(approx (- a b) (neg.f64 b)))) |
(fabs.f64 #s(approx (- a b) (neg.f64 b))) |
#s(approx (- a b) (neg.f64 b)) |
(*.f64 #s(literal -1 binary64) b) |
(*.f64 b #s(literal -1 binary64)) |
(neg.f64 b) |
#s(literal 2 binary64) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (* 1/2 (fabs (- b a))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) b) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx a a) |
#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 (- b a) (neg.f64 a)) |
#s(approx (- b a) (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) a)) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) 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))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) (neg.f64 a))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) a)) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
#s(approx (- a b) (*.f64 (-.f64 (/.f64 a b) #s(literal 1 binary64)) 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))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
#s(approx (fabs (- a b)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b))) |
Compiled 441 to 246 computations (44.2% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 52 | 2 | 54 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 0 | 0 |
| Total | 53 | 3 | 56 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
| ▶ | 51.3% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
| ▶ | 51.8% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
Compiled 36 to 36 computations (0% saved)
| 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)))) |
(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) #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 a #s(hole binary64 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))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a) |
| 1.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a) |
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a) |
| 1.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b (/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) (fabs (- b a)) (- b a) (neg a) a) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 279 |
| 0 | 73 | 259 |
| 1 | 255 | 254 |
| 0 | 1719 | 254 |
| 1× | iter-limit |
| 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)))) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
a |
#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 a #s(hole binary64 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) (*.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))) |
#s(literal 1/2 binary64) |
(*.f64 (sqrt.f64 #s(approx (- b a) b)) (sqrt.f64 #s(approx (- b a) b))) |
(pow.f64 (*.f64 #s(approx (- b a) b) #s(approx (- b a) b)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(approx (- b a) b) #s(approx (- b a) b))) |
(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) |
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 (*.f64 #s(approx (- b a) (neg.f64 a)) #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(approx (- b a) (neg.f64 a)) #s(approx (- b a) (neg.f64 a)))) |
(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)) |
(*.f64 #s(literal -1 binary64) a) |
(*.f64 a #s(literal -1 binary64)) |
(neg.f64 a) |
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))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) b) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (neg a) (neg.f64 a)) |
#s(approx a a) |
#s(approx (- b a) (*.f64 (-.f64 (/.f64 b a) #s(literal 1 binary64)) 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))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 b a)) (neg.f64 a))) |
#s(approx (- b a) (-.f64 b a)) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) 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))) (*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64))) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
Compiled 199 to 116 computations (41.7% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 0 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 25 | 3 | 28 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
| ✓ | 51.3% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a))))) |
| ✓ | 51.8% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
Compiled 67 to 65 computations (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))))) |
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64)) |
#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:
| 21.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 2.0ms | (fabs.f64 (-.f64 a b)) |
| 2.0ms | b |
| 2.0ms | a |
| 2.0ms | (-.f64 a b) |
| 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))))) |
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64)) |
| 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:
| 2.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 1.0ms | b |
| 1.0ms | (fabs.f64 (-.f64 a b)) |
| 1.0ms | a |
| 1.0ms | (-.f64 a b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 57.3% | 2 | (-.f64 a b) |
| 57.3% | 2 | (fabs.f64 (-.f64 a b)) |
| 57.3% | 2 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 80.5% | 2 | a |
| 86.0% | 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:
| 4.0ms | (fabs.f64 (-.f64 a b)) |
| 1.0ms | (-.f64 a b) |
| 1.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 1.0ms | b |
| 1.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.8% | 1 | (-.f64 a b) |
| 51.8% | 1 | (fabs.f64 (-.f64 a b)) |
| 51.8% | 1 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 51.8% | 1 | a |
| 51.8% | 1 | b |
Compiled 15 to 17 computations (-13.3% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 9.0ms | 1.167759428098333e-67 | 6.2139196552759575e-65 |
| 4.0ms | 128× | 0 | valid |
Compiled 209 to 227 computations (-8.6% saved)
ival-fabs: 1.0ms (58% of total)ival-div!: 1.0ms (58% of total)ival-sub!: 0.0ms (0% of total)adjust: 0.0ms (0% of total)| 1× | done |
Compiled 25 to 24 computations (4% saved)
Compiled 119 to 116 computations (2.5% saved)
Loading profile data...