
Time bar (total: 1.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 8 to 8 computations (0% saved)
| 500.0ms | 8 256× | 0 | valid |
ival-fabs: 75.0ms (38.5% of total)ival-div!: 63.0ms (32.3% of total)ival-sub!: 56.0ms (28.7% of total)adjust: 1.0ms (0.5% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 40 |
| 1 | 41 | 40 |
| 2 | 62 | 40 |
| 3 | 120 | 40 |
| 4 | 240 | 40 |
| 5 | 419 | 40 |
| 6 | 1472 | 40 |
| 7 | 5212 | 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)) |
#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 | 52 | 178 |
| 0 | 56 | 161 |
| 1 | 207 | 158 |
| 0 | 1505 | 158 |
| 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)) |
#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 (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 (*.f64 (-.f64 b a) (-.f64 b a)) #s(literal 1/2 binary64)) |
(/.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 a a) (neg.f64 a) (*.f64 (*.f64 b b) b))) (fabs.f64 (fma.f64 (neg.f64 a) (-.f64 (neg.f64 a) b) (*.f64 b b)))) |
(/.f64 (fabs.f64 (*.f64 (+.f64 b a) (-.f64 a b))) (fabs.f64 (+.f64 b a))) |
(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 b a) (-.f64 a b))) (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 b a))) (+.f64 b a)) |
(/.f64 (neg.f64 (fma.f64 (*.f64 a a) (neg.f64 a) (*.f64 (*.f64 b b) b))) (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 b (+.f64 b a) (*.f64 a 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 (fma.f64 (*.f64 a a) (neg.f64 a) (*.f64 (*.f64 b b) b)) (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) 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 315 to 170 computations (46% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 3 | 42 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 40 | 3 | 43 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.9% | (/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64)) |
| ▶ | 50.3% | (/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64)) |
| ▶ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
Compiled 26 to 26 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) a)) #s(literal 2 binary64)) |
(fabs.f64 #s(approx (- a b) a)) |
#s(approx (- a b) a) |
#s(literal 2 binary64) |
(/.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) |
| 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)) |
#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 b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (neg b) #s(hole binary64 (* -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 | |
|---|---|---|---|---|
| 7.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) 2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b)) |
| 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) 2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b)) |
| 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) 2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b)) |
| 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) 2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b)) |
| 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) 2 (/ (fabs (- a b)) 2) (fabs (- a b)) (- a b) (neg b)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 85 | 397 |
| 0 | 95 | 364 |
| 1 | 284 | 356 |
| 0 | 1844 | 356 |
| 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) a)) #s(literal 2 binary64)) |
(fabs.f64 #s(approx (- a b) a)) |
#s(approx (- a b) a) |
#s(literal 2 binary64) |
(/.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(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)) |
#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 b #s(hole binary64 b)) |
#s(approx (- a b) #s(hole binary64 (+ a (* -1 b)))) |
#s(approx (neg b) #s(hole binary64 (* -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 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)))) |
(/.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))))) |
(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 (*.f64 a a) a) (*.f64 (*.f64 b b) b))) (fma.f64 b (+.f64 b a) (*.f64 a 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 (*.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 a a) a) (*.f64 (*.f64 b b) b)) (neg.f64 (fma.f64 b (+.f64 b a) (*.f64 a 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))) |
(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) a)))) #s(literal 2 binary64)) |
(/.f64 (neg.f64 (fabs.f64 #s(approx (- a b) a))) #s(literal -2 binary64)) |
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64)) |
(neg.f64 (/.f64 (neg.f64 (fabs.f64 #s(approx (- a b) a))) #s(literal 2 binary64))) |
(neg.f64 (/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal -2 binary64))) |
(*.f64 (sqrt.f64 #s(approx (- a b) a)) (sqrt.f64 #s(approx (- a b) a))) |
(pow.f64 (*.f64 #s(approx (- a b) a) #s(approx (- a b) a)) #s(literal 1/2 binary64)) |
(sqrt.f64 (*.f64 #s(approx (- a b) a) #s(approx (- a b) a))) |
(fabs.f64 (neg.f64 (neg.f64 #s(approx (- a b) a)))) |
(fabs.f64 (neg.f64 #s(approx (- a b) a))) |
(fabs.f64 #s(approx (- a b) a)) |
#s(approx (- a b) a) |
#s(literal 2 binary64) |
(/.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 (neg.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))) |
(*.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(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 a a) |
#s(approx (fabs (- b a)) (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) 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 (- 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 (fabs (- b a)) (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 b b) |
#s(approx (- a b) (-.f64 a b)) |
#s(approx (neg b) (neg.f64 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 (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- b a) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) b)) |
#s(approx (fabs (- b a)) (fabs.f64 (-.f64 a b))) |
#s(approx (- a b) (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 a b)) (neg.f64 b))) |
Compiled 517 to 287 computations (44.5% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 66 | 1 | 67 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 0 | 0 |
| Total | 67 | 3 | 70 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 50.3% | (/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64)) |
| ✓ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
| ▶ | 52.9% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
Compiled 30 to 30 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 |
| 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 #s(hole binary64 b)) |
#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))) 1/2 (fabs (- b a)) (- b a) b) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b) |
| 0.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b) |
| 0.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b) |
| 0.0ms | a | @ | 0 | ((/ (fabs (- a b)) 2) (* 1/2 (fabs (- b a))) 1/2 (fabs (- b a)) (- b a) b) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 62 | 239 |
| 0 | 64 | 219 |
| 1 | 240 | 214 |
| 0 | 1720 | 214 |
| 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) #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 #s(hole binary64 b)) |
#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 (-.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 (- b a) (neg.f64 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 b) |
#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 125 to 79 computations (36.8% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 0 | 16 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 16 | 3 | 19 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 50.3% | (/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64)) |
| ✓ | 100.0% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a)))) |
| ✓ | 52.9% | #s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
Compiled 59 to 57 computations (3.4% saved)
| Inputs |
|---|
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64)) |
(/.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:
| 2.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 2.0ms | (fabs.f64 (-.f64 a b)) |
| 2.0ms | a |
| 2.0ms | (-.f64 a b) |
| 2.0ms | 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)))) |
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64)) |
(/.f64 (fabs.f64 #s(approx (- a b) (neg.f64 b))) #s(literal 2 binary64)) |
| Outputs |
|---|
(/.f64 (fabs.f64 #s(approx (- a b) a)) #s(literal 2 binary64)) |
#s(approx (/ (fabs (- a b)) 2) (*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) b)))) |
5 calls:
| 16.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 |
|---|---|---|
| 61.5% | 4 | (-.f64 a b) |
| 61.5% | 4 | (fabs.f64 (-.f64 a b)) |
| 61.5% | 4 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 83.2% | 2 | a |
| 85.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:
| 1.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 1.0ms | b |
| 1.0ms | a |
| 1.0ms | (fabs.f64 (-.f64 a b)) |
| 1.0ms | (-.f64 a b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.9% | 1 | (-.f64 a b) |
| 52.9% | 1 | (fabs.f64 (-.f64 a b)) |
| 52.9% | 1 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 52.9% | 1 | a |
| 52.9% | 1 | b |
Compiled 15 to 17 computations (-13.3% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 8.0ms | 4.0578930127334605e-47 | 4.04419144036129e-45 |
| 4.0ms | 112× | 0 | valid |
Compiled 142 to 158 computations (-11.3% saved)
ival-fabs: 1.0ms (64.4% of total)ival-div!: 1.0ms (64.4% of total)ival-sub!: 0.0ms (0% of total)adjust: 0.0ms (0% of total)| 1× | done |
Compiled 24 to 23 computations (4.2% saved)
Compiled 116 to 113 computations (2.6% saved)
Loading profile data...