
Time bar (total: 2.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 0% | 100% | 0% | 0% | 0% | 0 |
| 0% | 0% | 0% | 100% | 0% | 0% | 0% | 1 |
| 0% | 0% | 0% | 100% | 0% | 0% | 0% | 2 |
| 50% | 0% | 0% | 100% | 0% | 0% | 0% | 3 |
| 50% | 0% | 0% | 100% | 0% | 0% | 0% | 4 |
| 75% | 0% | 0% | 100% | 0% | 0% | 0% | 5 |
| 75% | 0% | 0% | 100% | 0% | 0% | 0% | 6 |
| 87.5% | 0% | 0% | 100% | 0% | 0% | 0% | 7 |
| 87.5% | 0% | 0% | 100% | 0% | 0% | 0% | 8 |
| 93.8% | 0% | 0% | 100% | 0% | 0% | 0% | 9 |
| 93.8% | 0% | 0% | 100% | 0% | 0% | 0% | 10 |
| 96.9% | 0% | 0% | 100% | 0% | 0% | 0% | 11 |
| 96.9% | 0% | 0% | 100% | 0% | 0% | 0% | 12 |
Compiled 23 to 16 computations (30.4% saved)
| 475.0ms | 8 256× | 0 | valid |
ival-add!: 260.0ms (83.5% of total)ival-mult!: 49.0ms (15.7% of total)ival-and: 1.0ms (0.3% of total)adjust: 1.0ms (0.3% of total)ival-<=: 1.0ms (0.3% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 36 |
| 1 | 75 | 32 |
| 2 | 301 | 32 |
| 3 | 1052 | 32 |
| 4 | 2328 | 32 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (+.f64 a b) (+.f64 a b)) |
(sort a b)
Compiled 10 to 8 computations (20% saved)
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 a b) |
a |
b |
| Outputs |
|---|
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (pow b 2))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* 2 (* a b)) (pow b 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* a (+ a (* 2 b))) (pow b 2)))) |
#s(approx (+ a b) #s(hole binary64 b)) |
#s(approx (+ a b) #s(hole binary64 (+ a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (pow a 2))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* 2 (/ b a)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))))) |
#s(approx (+ a b) #s(hole binary64 (* a (+ 1 (/ b a))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))))) |
#s(approx (+ a b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* 2 (* a b)) (pow a 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* b (+ b (* 2 a))) (pow a 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (* 2 (/ a b)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))))) |
#s(approx (+ a b) #s(hole binary64 (* b (+ 1 (/ a b))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))))) |
#s(approx (+ a b) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | inf | ((* (+ a b) (+ a b)) (+ a b) a b) |
| 1.0ms | a | @ | -inf | ((* (+ a b) (+ a b)) (+ a b) a b) |
| 1.0ms | b | @ | -inf | ((* (+ a b) (+ a b)) (+ a b) a b) |
| 0.0ms | b | @ | inf | ((* (+ a b) (+ a b)) (+ a b) a b) |
| 0.0ms | b | @ | 0 | ((* (+ a b) (+ a b)) (+ a b) a b) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 87 | 323 |
| 0 | 89 | 283 |
| 1 | 572 | 261 |
| 2 | 5808 | 261 |
| 0 | 8442 | 249 |
| 1 | 33008 | 249 |
| 1× | saturated |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
(+.f64 a b) |
a |
b |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (pow b 2))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* 2 (* a b)) (pow b 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* a (+ a (* 2 b))) (pow b 2)))) |
#s(approx (+ a b) #s(hole binary64 b)) |
#s(approx (+ a b) #s(hole binary64 (+ a b))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (pow a 2))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* 2 (/ b a)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))))) |
#s(approx (+ a b) #s(hole binary64 (* a (+ 1 (/ b a))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))))) |
#s(approx (+ a b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 1))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* 2 (* a b)) (pow a 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* b (+ b (* 2 a))) (pow a 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (* 2 (/ a b)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))))) |
#s(approx (+ a b) #s(hole binary64 (* b (+ 1 (/ a b))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))))) |
#s(approx (+ a b) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 1))))) |
| Outputs |
|---|
(*.f64 (fabs.f64 (fabs.f64 (+.f64 b a))) (fabs.f64 (fabs.f64 (+.f64 b a)))) |
(*.f64 (neg.f64 (fabs.f64 (+.f64 b a))) (neg.f64 (fabs.f64 (+.f64 b a)))) |
(*.f64 (fabs.f64 (+.f64 b a)) (fabs.f64 (+.f64 b a))) |
(*.f64 (-.f64 (neg.f64 b) a) (-.f64 (neg.f64 b) a)) |
(*.f64 (+.f64 b a) (+.f64 b a)) |
(pow.f64 (fabs.f64 (+.f64 b a)) #s(literal 2 binary64)) |
(pow.f64 (-.f64 (neg.f64 b) a) #s(literal 2 binary64)) |
(pow.f64 (+.f64 b a) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (+.f64 b a) (-.f64 (neg.f64 b) a))) |
(neg.f64 (*.f64 (-.f64 (neg.f64 b) a) (+.f64 b a))) |
(neg.f64 (-.f64 (*.f64 (neg.f64 b) b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a))) |
(neg.f64 (-.f64 (*.f64 (neg.f64 a) a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b))) |
(fma.f64 (fabs.f64 b) (fabs.f64 b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (neg.f64 b) (neg.f64 b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (fma.f64 #s(literal 2 binary64) a b) b (*.f64 a a)) |
(fma.f64 (+.f64 a a) b (fma.f64 b b (*.f64 a a))) |
(fma.f64 (+.f64 a a) b (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 #s(literal 1 binary64) (*.f64 b b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (fma.f64 #s(literal 2 binary64) b a) a (*.f64 b b)) |
(fma.f64 (+.f64 b b) a (fma.f64 b b (*.f64 a a))) |
(fma.f64 (+.f64 b b) a (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 (*.f64 b a) #s(literal 2 binary64) (fma.f64 b b (*.f64 a a))) |
(fma.f64 (*.f64 b a) #s(literal 2 binary64) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 #s(literal 2 binary64) (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 #s(literal 2 binary64) (*.f64 b a) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 (+.f64 b a) b (*.f64 (+.f64 b a) a)) |
(fma.f64 (+.f64 b a) a (*.f64 (+.f64 b a) b)) |
(fma.f64 b (fma.f64 #s(literal 2 binary64) a b) (*.f64 a a)) |
(fma.f64 b (+.f64 a a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (+.f64 a a) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 b (+.f64 b a) (*.f64 (+.f64 b a) a)) |
(fma.f64 b b (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 a (fma.f64 #s(literal 2 binary64) b a) (*.f64 b b)) |
(fma.f64 a (+.f64 b b) (fma.f64 b b (*.f64 a a))) |
(fma.f64 a (+.f64 b b) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 a (+.f64 b a) (*.f64 (+.f64 b a) b)) |
(fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(-.f64 (*.f64 (+.f64 b a) a) (*.f64 (-.f64 (neg.f64 b) a) b)) |
(-.f64 (*.f64 (+.f64 b a) a) (*.f64 (neg.f64 b) (+.f64 b a))) |
(-.f64 (*.f64 (+.f64 b a) a) (neg.f64 (*.f64 (+.f64 b a) b))) |
(-.f64 (*.f64 (fma.f64 #s(literal 2 binary64) a b) b) (*.f64 (neg.f64 a) a)) |
(-.f64 (*.f64 a a) (*.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) a b)) b)) |
(-.f64 (*.f64 a a) (*.f64 (neg.f64 b) (fma.f64 #s(literal 2 binary64) a b))) |
(-.f64 (*.f64 a a) (neg.f64 (*.f64 (fma.f64 #s(literal 2 binary64) a b) b))) |
(-.f64 (*.f64 (fma.f64 #s(literal 2 binary64) b a) a) (*.f64 (neg.f64 b) b)) |
(-.f64 (*.f64 (+.f64 a a) b) (-.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))) |
(-.f64 (*.f64 (+.f64 a a) b) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))) |
(-.f64 (*.f64 b b) (*.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) b a)) a)) |
(-.f64 (*.f64 b b) (*.f64 (neg.f64 a) (fma.f64 #s(literal 2 binary64) b a))) |
(-.f64 (*.f64 b b) (neg.f64 (*.f64 (fma.f64 #s(literal 2 binary64) b a) a))) |
(fabs.f64 (*.f64 (+.f64 b a) (+.f64 b a))) |
(+.f64 (fma.f64 b b (*.f64 a a)) (*.f64 (+.f64 a a) b)) |
(+.f64 (-.f64 (*.f64 a a) (*.f64 #s(literal 2 binary64) (*.f64 a (neg.f64 b)))) (*.f64 b b)) |
(+.f64 (fma.f64 a a (*.f64 b b)) (*.f64 (+.f64 a a) b)) |
(+.f64 (*.f64 (+.f64 b a) b) (*.f64 (+.f64 b a) a)) |
(+.f64 (*.f64 (+.f64 b a) a) (*.f64 (+.f64 b a) b)) |
(+.f64 (*.f64 (fma.f64 #s(literal 2 binary64) a b) b) (*.f64 a a)) |
(+.f64 (*.f64 a a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(+.f64 (*.f64 (fma.f64 #s(literal 2 binary64) b a) a) (*.f64 b b)) |
(+.f64 (*.f64 (+.f64 a a) b) (fma.f64 b b (*.f64 a a))) |
(+.f64 (*.f64 (+.f64 a a) b) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(+.f64 (*.f64 b b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(neg.f64 (-.f64 (neg.f64 b) a)) |
(-.f64 b (neg.f64 a)) |
(-.f64 a (neg.f64 b)) |
(+.f64 b a) |
(+.f64 a b) |
a |
b |
#s(approx (* (+ a b) (+ a b)) (*.f64 b b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (+.f64 b a) (+.f64 b a))) |
#s(approx (+ a b) b) |
#s(approx (+ a b) (+.f64 b a)) |
#s(approx a a) |
#s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (fma.f64 (/.f64 b a) #s(literal 2 binary64) #s(literal 1 binary64)) a) a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -2 binary64) b) (*.f64 b (/.f64 b a))) a)) a) a)) |
#s(approx (+ a b) (fma.f64 (/.f64 b a) a a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -2 binary64) b) (*.f64 b (/.f64 b a))) a)) a) a)) |
#s(approx (+ a b) (fma.f64 (/.f64 b a) a a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (+.f64 b a) (+.f64 b a))) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (fma.f64 (/.f64 a b) #s(literal 2 binary64) #s(literal 1 binary64)) b) b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -2 binary64) a) (*.f64 a (/.f64 a b))) b)) b) b)) |
#s(approx (+ a b) (fma.f64 (/.f64 a b) b b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (-.f64 (*.f64 #s(literal -2 binary64) a) (*.f64 a (/.f64 a b))) b)) b) b)) |
#s(approx (+ a b) (fma.f64 (/.f64 a b) b b)) |
Compiled 447 to 170 computations (62% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 82 | 3 | 85 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 82 | 4 | 86 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
| ✓ | 100.0% | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ▶ | 5.1% | #s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
| ▶ | 4.0% | #s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
Compiled 27 to 24 computations (11.1% saved)
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
(*.f64 a a) |
a |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(*.f64 (fma.f64 #s(literal 2 binary64) b a) a) |
(fma.f64 #s(literal 2 binary64) b a) |
#s(literal 2 binary64) |
b |
(fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(*.f64 (fma.f64 #s(literal 2 binary64) a b) b) |
(fma.f64 #s(literal 2 binary64) a b) |
| Outputs |
|---|
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (pow b 2))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* 2 (* a b)) (pow b 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* a (+ a (* 2 b))) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (* (+ (* 2 b) a) a) #s(hole binary64 (* 2 (* a b)))) |
#s(approx (* (+ (* 2 b) a) a) #s(hole binary64 (* a (+ a (* 2 b))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* 2 b))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (+ a (* 2 b)))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 b)) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (+ b (* 2 a)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* 2 (/ b a)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* a (+ 1 (* 2 (/ b a)))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* a (+ (* 2 b) (/ (pow b 2) a))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* 2 a))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* a (+ 2 (/ b a))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* -1 (* a (- (* -2 (/ b a)) 1))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* -1 (* a (+ (* -2 b) (* -1 (/ (pow b 2) a))))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 2))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* 2 (* a b)) (pow a 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* b (+ b (* 2 a))) (pow a 2)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* b (+ b (* 2 a))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (* 2 (/ a b)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))))) |
#s(approx (* (+ (* 2 b) a) a) #s(hole binary64 (* b (+ (* 2 a) (/ (pow a 2) b))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* b (+ 2 (/ a b))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* b (+ 1 (* 2 (/ a b)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))))) |
#s(approx (* (+ (* 2 b) a) a) #s(hole binary64 (* -1 (* b (+ (* -2 a) (* -1 (/ (pow a 2) b))))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 2))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* -1 (* b (- (* -2 (/ a b)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | a | @ | 0 | ((* (+ a b) (+ a b)) (* a a) a (* (+ a b) (+ a b)) (* (+ (* 2 b) a) a) (+ (* 2 b) a) 2 b (+ (* a a) (* (+ (* 2 a) b) b)) (* (+ (* 2 a) b) b) (+ (* 2 a) b)) |
| 1.0ms | a | @ | -inf | ((* (+ a b) (+ a b)) (* a a) a (* (+ a b) (+ a b)) (* (+ (* 2 b) a) a) (+ (* 2 b) a) 2 b (+ (* a a) (* (+ (* 2 a) b) b)) (* (+ (* 2 a) b) b) (+ (* 2 a) b)) |
| 1.0ms | a | @ | inf | ((* (+ a b) (+ a b)) (* a a) a (* (+ a b) (+ a b)) (* (+ (* 2 b) a) a) (+ (* 2 b) a) 2 b (+ (* a a) (* (+ (* 2 a) b) b)) (* (+ (* 2 a) b) b) (+ (* 2 a) b)) |
| 1.0ms | b | @ | -inf | ((* (+ a b) (+ a b)) (* a a) a (* (+ a b) (+ a b)) (* (+ (* 2 b) a) a) (+ (* 2 b) a) 2 b (+ (* a a) (* (+ (* 2 a) b) b)) (* (+ (* 2 a) b) b) (+ (* 2 a) b)) |
| 1.0ms | b | @ | inf | ((* (+ a b) (+ a b)) (* a a) a (* (+ a b) (+ a b)) (* (+ (* 2 b) a) a) (+ (* 2 b) a) 2 b (+ (* a a) (* (+ (* 2 a) b) b)) (* (+ (* 2 a) b) b) (+ (* 2 a) b)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 130 | 581 |
| 0 | 139 | 519 |
| 1 | 780 | 497 |
| 2 | 7361 | 497 |
| 0 | 8037 | 483 |
| 1 | 28731 | 483 |
| 1× | saturated |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
(*.f64 a a) |
a |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(*.f64 (fma.f64 #s(literal 2 binary64) b a) a) |
(fma.f64 #s(literal 2 binary64) b a) |
#s(literal 2 binary64) |
b |
(fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(*.f64 (fma.f64 #s(literal 2 binary64) a b) b) |
(fma.f64 #s(literal 2 binary64) a b) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (pow b 2))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* 2 (* a b)) (pow b 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* a (+ a (* 2 b))) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (* (+ (* 2 b) a) a) #s(hole binary64 (* 2 (* a b)))) |
#s(approx (* (+ (* 2 b) a) a) #s(hole binary64 (* a (+ a (* 2 b))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* 2 b))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (+ a (* 2 b)))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 b)) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (+ b (* 2 a)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* 2 (/ b a)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* a (+ 1 (* 2 (/ b a)))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* a (+ (* 2 b) (/ (pow b 2) a))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* 2 a))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* a (+ 2 (/ b a))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* -1 (* a (- (* -2 (/ b a)) 1))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* -1 (* a (+ (* -2 b) (* -1 (/ (pow b 2) a))))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 2))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* 2 (* a b)) (pow a 2)))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (+ (* b (+ b (* 2 a))) (pow a 2)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* b (+ b (* 2 a))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (* 2 (/ a b)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))))) |
#s(approx (* (+ (* 2 b) a) a) #s(hole binary64 (* b (+ (* 2 a) (/ (pow a 2) b))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* b (+ 2 (/ a b))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* b (+ 1 (* 2 (/ a b)))))) |
#s(approx (* (+ a b) (+ a b)) #s(hole binary64 (* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))))) |
#s(approx (* (+ (* 2 b) a) a) #s(hole binary64 (* -1 (* b (+ (* -2 a) (* -1 (/ (pow a 2) b))))))) |
#s(approx (+ (* 2 b) a) #s(hole binary64 (* -1 (* b (- (* -1 (/ a b)) 2))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* -1 (* b (- (* -2 (/ a b)) 1))))) |
| Outputs |
|---|
#s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a)) |
(*.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64))) |
(*.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a)) |
(*.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a))) |
(*.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a))) |
(*.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 a) (fabs.f64 a)) |
(*.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64))) |
(*.f64 (neg.f64 a) (neg.f64 a)) |
(*.f64 #s(literal 1 binary64) (*.f64 a a)) |
(*.f64 (*.f64 a a) #s(literal 1 binary64)) |
(*.f64 a a) |
(pow.f64 (fabs.f64 (fabs.f64 a)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 (fabs.f64 a)) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 a) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 a) #s(literal 2 binary64)) |
(pow.f64 a #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 a a) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 a a)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 a) a)) |
(sqrt.f64 (*.f64 (*.f64 (*.f64 a a) a) a)) |
(fabs.f64 (*.f64 (neg.f64 a) a)) |
(fabs.f64 (*.f64 a a)) |
(+.f64 (/.f64 (fma.f64 a a (/.f64 #s(literal 1 binary64) (*.f64 a a))) #s(literal 2 binary64)) (/.f64 (-.f64 (*.f64 a a) (/.f64 #s(literal 1 binary64) (*.f64 a a))) #s(literal 2 binary64))) |
a |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(*.f64 (fma.f64 #s(literal 2 binary64) b a) a) |
(*.f64 a (fma.f64 #s(literal 2 binary64) b a)) |
(neg.f64 (-.f64 (*.f64 (neg.f64 a) a) (*.f64 (+.f64 a a) b))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 (+.f64 a a) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (*.f64 (+.f64 a a) b)) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (+.f64 a a) b)) |
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (+.f64 a a) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 (+.f64 a a) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (*.f64 (+.f64 a a) b)) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (+.f64 a a) b)) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (+.f64 a a) b)) |
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (+.f64 a a) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (+.f64 a a) b)) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (+.f64 a a) b)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (+.f64 a a) b)) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 (+.f64 a a) b)) |
(fma.f64 (+.f64 a a) b (*.f64 a a)) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 (+.f64 a a) b)) |
(fma.f64 (+.f64 b b) a (*.f64 a a)) |
(fma.f64 (*.f64 b a) #s(literal 2 binary64) (*.f64 a a)) |
(fma.f64 #s(literal 2 binary64) (*.f64 b a) (*.f64 a a)) |
(fma.f64 (+.f64 b a) a (*.f64 b a)) |
(fma.f64 b (+.f64 a a) (*.f64 a a)) |
(fma.f64 b a (-.f64 (*.f64 b a) (*.f64 (neg.f64 a) a))) |
(fma.f64 b a (*.f64 (+.f64 b a) a)) |
(fma.f64 a (+.f64 b b) (*.f64 a a)) |
(fma.f64 a (+.f64 b a) (*.f64 b a)) |
(fma.f64 a b (-.f64 (*.f64 b a) (*.f64 (neg.f64 a) a))) |
(fma.f64 a b (*.f64 (+.f64 b a) a)) |
(fma.f64 a a (*.f64 (+.f64 a a) b)) |
(-.f64 (*.f64 a a) (*.f64 (neg.f64 a) (+.f64 b b))) |
(-.f64 (*.f64 a a) (*.f64 (neg.f64 (*.f64 b a)) #s(literal 2 binary64))) |
(-.f64 (*.f64 a a) (neg.f64 (*.f64 (+.f64 a a) b))) |
(-.f64 (*.f64 a a) (*.f64 (*.f64 #s(literal -2 binary64) a) b)) |
(-.f64 (*.f64 (+.f64 a a) b) (*.f64 (neg.f64 a) a)) |
(+.f64 (*.f64 (+.f64 b a) a) (*.f64 b a)) |
(+.f64 (*.f64 a a) (*.f64 (+.f64 a a) b)) |
(+.f64 (*.f64 (+.f64 a a) b) (*.f64 a a)) |
(+.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 (neg.f64 a) a))) |
(+.f64 (*.f64 b a) (*.f64 (+.f64 b a) a)) |
(neg.f64 (-.f64 (*.f64 #s(literal -2 binary64) b) a)) |
(neg.f64 (-.f64 (neg.f64 a) (+.f64 b b))) |
(fma.f64 #s(literal 2 binary64) b a) |
(fma.f64 b #s(literal 2 binary64) a) |
(-.f64 (+.f64 b b) (neg.f64 a)) |
(-.f64 a (*.f64 #s(literal -2 binary64) b)) |
(+.f64 (+.f64 b b) a) |
(+.f64 (+.f64 b a) b) |
(+.f64 b (+.f64 b a)) |
(+.f64 a (*.f64 (neg.f64 b) #s(literal -2 binary64))) |
(+.f64 a (neg.f64 (*.f64 #s(literal -2 binary64) b))) |
(+.f64 a (+.f64 b b)) |
#s(literal 2 binary64) |
b |
(*.f64 (fabs.f64 (fabs.f64 (+.f64 b a))) (fabs.f64 (fabs.f64 (+.f64 b a)))) |
(*.f64 (neg.f64 (fabs.f64 (+.f64 b a))) (neg.f64 (fabs.f64 (+.f64 b a)))) |
(*.f64 (fabs.f64 (+.f64 b a)) (fabs.f64 (+.f64 b a))) |
(*.f64 (-.f64 (neg.f64 b) a) (-.f64 (neg.f64 b) a)) |
(*.f64 (+.f64 b a) (+.f64 b a)) |
(pow.f64 (fabs.f64 (+.f64 b a)) #s(literal 2 binary64)) |
(pow.f64 (-.f64 (neg.f64 b) a) #s(literal 2 binary64)) |
(pow.f64 (+.f64 b a) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (+.f64 b a) (-.f64 (neg.f64 b) a))) |
(neg.f64 (*.f64 (-.f64 (neg.f64 b) a) (+.f64 b a))) |
(neg.f64 (-.f64 (*.f64 (neg.f64 b) b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a))) |
(neg.f64 (-.f64 (*.f64 (neg.f64 a) a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b))) |
(neg.f64 (-.f64 (*.f64 (-.f64 (*.f64 #s(literal -2 binary64) a) b) b) (*.f64 a a))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (fabs.f64 b) (fabs.f64 b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (neg.f64 b) (neg.f64 b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 #s(literal 1 binary64) (*.f64 b b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 (fma.f64 #s(literal 2 binary64) a b) b (*.f64 a a)) |
(fma.f64 (+.f64 a a) b (fma.f64 b b (*.f64 a a))) |
(fma.f64 (+.f64 a a) b (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 (fma.f64 #s(literal 2 binary64) b a) a (*.f64 b b)) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(fma.f64 (+.f64 b b) a (fma.f64 b b (*.f64 a a))) |
(fma.f64 (+.f64 b b) a (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 (*.f64 b a) #s(literal 2 binary64) (fma.f64 b b (*.f64 a a))) |
(fma.f64 (*.f64 b a) #s(literal 2 binary64) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 #s(literal 2 binary64) (*.f64 b a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 #s(literal 2 binary64) (*.f64 b a) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 (+.f64 b a) b (*.f64 (+.f64 b a) a)) |
(fma.f64 (+.f64 b a) a (*.f64 (+.f64 b a) b)) |
(fma.f64 b (fma.f64 #s(literal 2 binary64) a b) (*.f64 a a)) |
(fma.f64 b (+.f64 a a) (fma.f64 b b (*.f64 a a))) |
(fma.f64 b (+.f64 a a) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 b (+.f64 b a) (*.f64 (+.f64 b a) a)) |
(fma.f64 b b (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(fma.f64 a (fma.f64 #s(literal 2 binary64) b a) (*.f64 b b)) |
(fma.f64 a (+.f64 b b) (fma.f64 b b (*.f64 a a))) |
(fma.f64 a (+.f64 b b) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(fma.f64 a (+.f64 b a) (*.f64 (+.f64 b a) b)) |
(fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(-.f64 (*.f64 (+.f64 b a) a) (*.f64 (-.f64 (neg.f64 b) a) b)) |
(-.f64 (*.f64 (+.f64 b a) a) (*.f64 (neg.f64 b) (+.f64 b a))) |
(-.f64 (*.f64 (+.f64 b a) a) (neg.f64 (*.f64 (+.f64 b a) b))) |
(-.f64 (*.f64 (fma.f64 #s(literal 2 binary64) a b) b) (*.f64 (neg.f64 a) a)) |
(-.f64 (*.f64 a a) (*.f64 (-.f64 (*.f64 #s(literal -2 binary64) a) b) b)) |
(-.f64 (*.f64 (fma.f64 #s(literal 2 binary64) b a) a) (*.f64 (neg.f64 b) b)) |
(-.f64 (*.f64 (+.f64 a a) b) (-.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))) |
(-.f64 (*.f64 (+.f64 a a) b) (fma.f64 (neg.f64 b) b (*.f64 (neg.f64 a) a))) |
(-.f64 (*.f64 b b) (*.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) b a)) a)) |
(-.f64 (*.f64 b b) (*.f64 (neg.f64 a) (fma.f64 #s(literal 2 binary64) b a))) |
(-.f64 (*.f64 b b) (neg.f64 (*.f64 (fma.f64 #s(literal 2 binary64) b a) a))) |
(fabs.f64 (*.f64 (+.f64 b a) (+.f64 b a))) |
(+.f64 (fma.f64 b b (*.f64 a a)) (*.f64 (+.f64 a a) b)) |
(+.f64 (-.f64 (*.f64 a a) (*.f64 #s(literal 2 binary64) (*.f64 a (neg.f64 b)))) (*.f64 b b)) |
(+.f64 (fma.f64 a a (*.f64 b b)) (*.f64 (+.f64 a a) b)) |
(+.f64 (*.f64 (+.f64 b a) b) (*.f64 (+.f64 b a) a)) |
(+.f64 (*.f64 (+.f64 b a) a) (*.f64 (+.f64 b a) b)) |
(+.f64 (*.f64 (fma.f64 #s(literal 2 binary64) a b) b) (*.f64 a a)) |
(+.f64 (*.f64 a a) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
(+.f64 (*.f64 (fma.f64 #s(literal 2 binary64) b a) a) (*.f64 b b)) |
(+.f64 (*.f64 (+.f64 a a) b) (fma.f64 b b (*.f64 a a))) |
(+.f64 (*.f64 (+.f64 a a) b) (-.f64 (*.f64 b b) (*.f64 (neg.f64 a) a))) |
(+.f64 (*.f64 b b) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(*.f64 (fma.f64 #s(literal 2 binary64) a b) b) |
(*.f64 b (fma.f64 #s(literal 2 binary64) a b)) |
(neg.f64 (*.f64 (-.f64 (*.f64 #s(literal -2 binary64) a) b) b)) |
(fma.f64 (fabs.f64 b) (fabs.f64 b) (*.f64 (+.f64 a a) b)) |
(fma.f64 (neg.f64 b) (neg.f64 b) (*.f64 (+.f64 a a) b)) |
(fma.f64 #s(literal 1 binary64) (*.f64 b b) (*.f64 (+.f64 a a) b)) |
(fma.f64 (+.f64 a a) b (*.f64 b b)) |
(fma.f64 (+.f64 b b) a (*.f64 b b)) |
(fma.f64 (*.f64 b a) #s(literal 2 binary64) (*.f64 b b)) |
(fma.f64 (*.f64 b b) #s(literal 1 binary64) (*.f64 (+.f64 a a) b)) |
(fma.f64 #s(literal 2 binary64) (*.f64 b a) (*.f64 b b)) |
(fma.f64 (+.f64 b a) b (*.f64 b a)) |
(fma.f64 b (+.f64 a a) (*.f64 b b)) |
(fma.f64 b (+.f64 b a) (*.f64 b a)) |
(fma.f64 b b (*.f64 (+.f64 a a) b)) |
(fma.f64 b a (-.f64 (*.f64 b a) (*.f64 (neg.f64 b) b))) |
(fma.f64 b a (*.f64 (+.f64 b a) b)) |
(fma.f64 a (+.f64 b b) (*.f64 b b)) |
(fma.f64 a b (-.f64 (*.f64 b a) (*.f64 (neg.f64 b) b))) |
(fma.f64 a b (*.f64 (+.f64 b a) b)) |
(-.f64 (*.f64 (+.f64 a a) b) (*.f64 (neg.f64 b) b)) |
(-.f64 (*.f64 b b) (*.f64 (neg.f64 b) (+.f64 a a))) |
(-.f64 (*.f64 b b) (*.f64 (neg.f64 (*.f64 b a)) #s(literal 2 binary64))) |
(-.f64 (*.f64 b b) (neg.f64 (*.f64 (+.f64 a a) b))) |
(-.f64 (*.f64 b b) (*.f64 (*.f64 #s(literal -2 binary64) a) b)) |
(+.f64 (*.f64 (+.f64 b a) b) (*.f64 b a)) |
(+.f64 (*.f64 (+.f64 a a) b) (*.f64 b b)) |
(+.f64 (*.f64 b a) (-.f64 (*.f64 b a) (*.f64 (neg.f64 b) b))) |
(+.f64 (*.f64 b a) (*.f64 (+.f64 b a) b)) |
(+.f64 (*.f64 b b) (*.f64 (+.f64 a a) b)) |
(neg.f64 (-.f64 (*.f64 #s(literal -2 binary64) a) b)) |
(fma.f64 #s(literal 2 binary64) a b) |
(fma.f64 a #s(literal 2 binary64) b) |
(-.f64 (+.f64 a a) (neg.f64 b)) |
(-.f64 b (*.f64 #s(literal -2 binary64) a)) |
(+.f64 (+.f64 a a) b) |
(+.f64 (+.f64 b a) a) |
(+.f64 b (*.f64 (neg.f64 a) #s(literal -2 binary64))) |
(+.f64 b (neg.f64 (*.f64 #s(literal -2 binary64) a))) |
(+.f64 b (+.f64 a a)) |
(+.f64 a (+.f64 b a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 b b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (+.f64 b a) (+.f64 b a))) |
#s(approx (* a a) (*.f64 a a)) |
#s(approx a a) |
#s(approx (* (+ (* 2 b) a) a) (*.f64 (+.f64 a a) b)) |
#s(approx (* (+ (* 2 b) a) a) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
#s(approx (+ (* 2 b) a) (+.f64 b b)) |
#s(approx (+ (* 2 b) a) (fma.f64 #s(literal 2 binary64) b a)) |
#s(approx (+ (* 2 a) b) b) |
#s(approx (+ (* 2 a) b) (fma.f64 #s(literal 2 binary64) a b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 (/.f64 (+.f64 b b) a) a a) a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (-.f64 (/.f64 (fma.f64 b (/.f64 b a) (+.f64 b b)) a) #s(literal -1 binary64)) a) a)) |
#s(approx (+ (* 2 b) a) (fma.f64 (/.f64 (+.f64 b b) a) a a)) |
#s(approx (* (+ (* 2 a) b) b) (*.f64 (fma.f64 b (/.f64 b a) (+.f64 b b)) a)) |
#s(approx (+ (* 2 a) b) (+.f64 a a)) |
#s(approx (+ (* 2 a) b) (*.f64 (-.f64 (/.f64 b a) #s(literal -2 binary64)) a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (-.f64 (/.f64 (fma.f64 b (/.f64 b a) (+.f64 b b)) a) #s(literal -1 binary64)) a) a)) |
#s(approx (+ (* 2 b) a) (fma.f64 (/.f64 (+.f64 b b) a) a a)) |
#s(approx (* (+ (* 2 a) b) b) (*.f64 (fma.f64 b (/.f64 b a) (+.f64 b b)) a)) |
#s(approx (+ (* 2 a) b) (*.f64 (-.f64 (/.f64 b a) #s(literal -2 binary64)) a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (+.f64 b a) (+.f64 b a))) |
#s(approx (* (+ (* 2 a) b) b) (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 (/.f64 (+.f64 a a) b) b b) b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (-.f64 (/.f64 (fma.f64 a (/.f64 a b) (+.f64 a a)) b) #s(literal -1 binary64)) b) b)) |
#s(approx (* (+ (* 2 b) a) a) (*.f64 (fma.f64 a (/.f64 a b) (+.f64 a a)) b)) |
#s(approx (+ (* 2 b) a) (*.f64 (-.f64 (/.f64 a b) #s(literal -2 binary64)) b)) |
#s(approx (+ (* 2 a) b) (fma.f64 (/.f64 (+.f64 a a) b) b b)) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (*.f64 (-.f64 (/.f64 (fma.f64 a (/.f64 a b) (+.f64 a a)) b) #s(literal -1 binary64)) b) b)) |
#s(approx (* (+ (* 2 b) a) a) (*.f64 (fma.f64 a (/.f64 a b) (+.f64 a a)) b)) |
#s(approx (+ (* 2 b) a) (*.f64 (-.f64 (/.f64 a b) #s(literal -2 binary64)) b)) |
#s(approx (+ (* 2 a) b) (fma.f64 (/.f64 (+.f64 a a) b) b b)) |
Compiled 1 140 to 498 computations (56.3% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 214 | 1 | 215 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 214 | 5 | 219 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
| ▶ | 5.1% | (fma.f64 a a (*.f64 #s(approx (+ (* 2 a) b) (+.f64 a a)) b)) |
| ✓ | 100.0% | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ✓ | 5.1% | #s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
| ✓ | 4.0% | #s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
Compiled 36 to 33 computations (8.3% saved)
| Inputs |
|---|
(fma.f64 a a (*.f64 #s(approx (+ (* 2 a) b) (+.f64 a a)) b)) |
a |
(*.f64 #s(approx (+ (* 2 a) b) (+.f64 a a)) b) |
#s(approx (+ (* 2 a) b) (+.f64 a a)) |
(+.f64 a a) |
b |
| Outputs |
|---|
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (pow b 2))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* 2 (* a b)) (pow b 2)))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* a (+ a (* 2 b))) (pow b 2)))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (+ (* 2 a) b) #s(hole binary64 b)) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (+ b (* 2 a)))) |
#s(approx (+ a a) #s(hole binary64 (* 2 a))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (pow a 2))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (* 2 (/ b a)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* 2 (* a b)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* a (+ (* 2 b) (/ (pow b 2) a))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* a (+ 2 (/ b a))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* -1 (* a (+ (* -2 b) (* -1 (/ (pow b 2) a))))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 2))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* 2 (* a b)) (pow a 2)))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* b (+ b (* 2 a))) (pow a 2)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* b (+ b (* 2 a))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (* 2 (/ a b)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* b (+ 1 (* 2 (/ a b)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* -1 (* b (- (* -2 (/ a b)) 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | -inf | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ (* 2 a) b) (+ a a) b) |
| 1.0ms | a | @ | inf | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ (* 2 a) b) (+ a a) b) |
| 1.0ms | b | @ | -inf | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ (* 2 a) b) (+ a a) b) |
| 0.0ms | b | @ | inf | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ (* 2 a) b) (+ a a) b) |
| 0.0ms | a | @ | 0 | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ (* 2 a) b) (+ a a) b) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 100 | 491 |
| 0 | 103 | 477 |
| 1 | 643 | 297 |
| 2 | 7342 | 297 |
| 0 | 9070 | 286 |
| 1 | 36888 | 286 |
| 1× | saturated |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(fma.f64 a a (*.f64 #s(approx (+ (* 2 a) b) (+.f64 a a)) b)) |
a |
(*.f64 #s(approx (+ (* 2 a) b) (+.f64 a a)) b) |
#s(approx (+ (* 2 a) b) (+.f64 a a)) |
(+.f64 a a) |
b |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (pow b 2))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* 2 (* a b)) (pow b 2)))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* a (+ a (* 2 b))) (pow b 2)))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (+ (* 2 a) b) #s(hole binary64 b)) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (+ b (* 2 a)))) |
#s(approx (+ a a) #s(hole binary64 (* 2 a))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (pow a 2))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (* 2 (/ b a)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* 2 (* a b)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* a (+ (* 2 b) (/ (pow b 2) a))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* a (+ 2 (/ b a))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* -1 (* a (+ (* -2 b) (* -1 (/ (pow b 2) a))))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* -1 (* a (- (* -1 (/ b a)) 2))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* 2 (* a b)) (pow a 2)))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* b (+ b (* 2 a))) (pow a 2)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* b (+ b (* 2 a))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (* 2 (/ a b)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* b (+ 1 (* 2 (/ a b)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))))) |
#s(approx (+ (* 2 a) b) #s(hole binary64 (* -1 (* b (- (* -2 (/ a b)) 1))))) |
| Outputs |
|---|
(neg.f64 (-.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))) (*.f64 a a))) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) a (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) a (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) a (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b (*.f64 a a)) |
(fma.f64 b #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) (*.f64 a a)) |
(fma.f64 a (*.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 a (*.f64 a #s(literal 1 binary64)) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 a (*.f64 a #s(literal 1 binary64)) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(fma.f64 a a (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(fma.f64 a a (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(fma.f64 a a (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(-.f64 (*.f64 a a) (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) |
(-.f64 (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b) (*.f64 (neg.f64 a) a)) |
(+.f64 (*.f64 a a) (*.f64 (neg.f64 (neg.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)))) b)) |
(+.f64 (*.f64 a a) (neg.f64 (*.f64 (neg.f64 b) #s(approx (+ (* 2 a) b) #s(literal 2 binary64))))) |
(+.f64 (*.f64 a a) (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b)) |
(+.f64 (*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b) (*.f64 a a)) |
a |
(*.f64 #s(approx (+ (* 2 a) b) #s(literal 2 binary64)) b) |
(*.f64 b #s(approx (+ (* 2 a) b) #s(literal 2 binary64))) |
#s(approx (+ (* 2 a) b) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
b |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 b b)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (-.f64 b #s(literal -2 binary64)) b)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (fma.f64 (-.f64 b #s(literal -2 binary64)) b (*.f64 a a))) |
#s(approx a a) |
#s(approx (+ (* 2 a) b) b) |
#s(approx (+ (* 2 a) b) (-.f64 b #s(literal -2 binary64))) |
#s(approx (+ a a) #s(literal 2 binary64)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 a a)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (fma.f64 a a (+.f64 b b))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (*.f64 (fma.f64 (-.f64 b #s(literal -2 binary64)) b #s(literal 1 binary64)) a) a)) |
#s(approx (* (+ (* 2 a) b) b) (+.f64 b b)) |
#s(approx (* (+ (* 2 a) b) b) (*.f64 (*.f64 (-.f64 b #s(literal -2 binary64)) b) a)) |
#s(approx (+ (* 2 a) b) (fma.f64 b a #s(literal 2 binary64))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (*.f64 (fma.f64 (-.f64 b #s(literal -2 binary64)) b #s(literal 1 binary64)) a) a)) |
#s(approx (* (+ (* 2 a) b) b) (*.f64 (*.f64 (-.f64 b #s(literal -2 binary64)) b) a)) |
#s(approx (+ (* 2 a) b) (fma.f64 b a #s(literal 2 binary64))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (fma.f64 a a (+.f64 b b))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (fma.f64 (-.f64 b #s(literal -2 binary64)) b (*.f64 a a))) |
#s(approx (* (+ (* 2 a) b) b) (*.f64 (-.f64 b #s(literal -2 binary64)) b)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (fma.f64 (/.f64 #s(literal 2 binary64) b) b b) b)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (*.f64 (-.f64 (/.f64 (fma.f64 a (/.f64 a b) #s(literal 2 binary64)) b) #s(literal -1 binary64)) b) b)) |
#s(approx (+ (* 2 a) b) (fma.f64 (/.f64 #s(literal 2 binary64) b) b b)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (*.f64 (-.f64 (/.f64 (fma.f64 a (/.f64 a b) #s(literal 2 binary64)) b) #s(literal -1 binary64)) b) b)) |
#s(approx (+ (* 2 a) b) (fma.f64 (/.f64 #s(literal 2 binary64) b) b b)) |
Compiled 751 to 161 computations (78.6% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 89 | 1 | 90 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 89 | 6 | 95 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
| ✓ | 5.1% | (fma.f64 a a (*.f64 #s(approx (+ (* 2 a) b) (+.f64 a a)) b)) |
| ▶ | 17.4% | (fma.f64 a a #s(approx (* (+ (* 2 a) b) b) (+.f64 b b))) |
| ✓ | 100.0% | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ✓ | 5.1% | #s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
| ✓ | 4.0% | #s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
Compiled 45 to 42 computations (6.7% saved)
| Inputs |
|---|
(fma.f64 a a #s(approx (* (+ (* 2 a) b) b) (+.f64 b b))) |
a |
#s(approx (* (+ (* 2 a) b) b) (+.f64 b b)) |
(+.f64 b b) |
b |
| Outputs |
|---|
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (pow b 2))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* 2 (* a b)) (pow b 2)))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* a (+ a (* 2 b))) (pow b 2)))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (pow a 2))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (* 2 (/ b a)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* 2 (* a b)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* a (+ (* 2 b) (/ (pow b 2) a))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* -1 (* a (+ (* -2 b) (* -1 (/ (pow b 2) a))))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* 2 (* a b)) (pow a 2)))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* b (+ b (* 2 a))) (pow a 2)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* b (+ b (* 2 a))))) |
#s(approx (+ b b) #s(hole binary64 (* 2 b))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (* 2 (/ a b)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 24.0ms | b | @ | inf | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ b b) b) |
| 1.0ms | b | @ | -inf | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ b b) b) |
| 1.0ms | a | @ | -inf | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ b b) b) |
| 0.0ms | a | @ | inf | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ b b) b) |
| 0.0ms | b | @ | 0 | ((+ (* a a) (* (+ (* 2 a) b) b)) a (* (+ (* 2 a) b) b) (+ b b) b) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 405 |
| 0 | 85 | 391 |
| 1 | 551 | 261 |
| 2 | 6380 | 261 |
| 0 | 8010 | 246 |
| 1 | 36853 | 246 |
| 1× | saturated |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(fma.f64 a a #s(approx (* (+ (* 2 a) b) b) (+.f64 b b))) |
a |
#s(approx (* (+ (* 2 a) b) b) (+.f64 b b)) |
(+.f64 b b) |
b |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (pow b 2))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* 2 (* a b)) (pow b 2)))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* a (+ a (* 2 b))) (pow b 2)))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (pow a 2))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (* 2 (/ b a)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (+ (* 2 (/ b a)) (/ (pow b 2) (pow a 2))))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* 2 (* a b)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* a (+ (* 2 b) (/ (pow b 2) a))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (+ (* -2 b) (* -1 (/ (pow b 2) a))) a)))))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* -1 (* a (+ (* -2 b) (* -1 (/ (pow b 2) a))))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* 2 (* a b)) (pow a 2)))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (+ (* b (+ b (* 2 a))) (pow a 2)))) |
#s(approx (* (+ (* 2 a) b) b) #s(hole binary64 (* b (+ b (* 2 a))))) |
#s(approx (+ b b) #s(hole binary64 (* 2 b))) |
#s(approx b #s(hole binary64 b)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (* 2 (/ a b)))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (+ (* 2 (/ a b)) (/ (pow a 2) (pow b 2))))))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) #s(hole binary64 (* (pow b 2) (+ 1 (* -1 (/ (+ (* -2 a) (* -1 (/ (pow a 2) b))) b)))))) |
| Outputs |
|---|
(neg.f64 (-.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) (*.f64 a a))) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (/.f64 (fabs.f64 a) b) (/.f64 (fabs.f64 a) b) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (/.f64 (fabs.f64 a) b) (/.f64 (fabs.f64 a) b) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (/.f64 (neg.f64 a) b) (/.f64 (neg.f64 a) b) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (/.f64 (neg.f64 a) b) (/.f64 (neg.f64 a) b) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 (neg.f64 a) a) (/.f64 #s(literal 1 binary64) (*.f64 (neg.f64 b) b)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 (neg.f64 a) a) (/.f64 #s(literal 1 binary64) (*.f64 (neg.f64 b) b)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 (neg.f64 a) a) (/.f64 #s(literal 1 binary64) (neg.f64 b)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 (neg.f64 a) a) (/.f64 #s(literal 1 binary64) (neg.f64 b)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 (neg.f64 a) a) #s(literal -1 binary64) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 (neg.f64 a) a) #s(literal -1 binary64) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (fabs.f64 a) (/.f64 (fabs.f64 a) (*.f64 b b)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (fabs.f64 a) (/.f64 (fabs.f64 a) (*.f64 b b)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (fabs.f64 a) (/.f64 (fabs.f64 a) b) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (fabs.f64 a) (/.f64 (fabs.f64 a) b) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (neg.f64 a) (/.f64 (neg.f64 a) (*.f64 b b)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 a) (/.f64 (neg.f64 a) (*.f64 b b)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (neg.f64 a) (/.f64 (neg.f64 a) b) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 a) (/.f64 (neg.f64 a) b) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (neg.f64 a) (neg.f64 a) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (neg.f64 a) (neg.f64 a) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) a (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) a #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 a) a) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 a) a) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 a (/.f64 a (*.f64 b b)) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 a (/.f64 a (*.f64 b b)) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 a (*.f64 #s(literal 1 binary64) a) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 a (*.f64 #s(literal 1 binary64) a) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(fma.f64 a a (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(fma.f64 a a #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(-.f64 (*.f64 a a) (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64)))) |
(-.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64)) (*.f64 (neg.f64 a) a)) |
(+.f64 (*.f64 a a) (neg.f64 (neg.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))))) |
(+.f64 (*.f64 a a) #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64))) |
(+.f64 #s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64)) (*.f64 a a)) |
a |
#s(approx (* (+ (* 2 a) b) b) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
b |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 b b)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (fma.f64 b b (+.f64 a a))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (fma.f64 (-.f64 a #s(literal -2 binary64)) a (*.f64 b b))) |
#s(approx a a) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 a a)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (*.f64 (-.f64 (/.f64 #s(literal 2 binary64) a) #s(literal -1 binary64)) a) a)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (*.f64 (-.f64 (/.f64 (fma.f64 b (/.f64 b a) #s(literal 2 binary64)) a) #s(literal -1 binary64)) a) a)) |
#s(approx (* (+ (* 2 a) b) b) (+.f64 a a)) |
#s(approx (* (+ (* 2 a) b) b) (*.f64 (fma.f64 b (/.f64 b a) #s(literal 2 binary64)) a)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (*.f64 (-.f64 (/.f64 (fma.f64 b (/.f64 b a) #s(literal 2 binary64)) a) #s(literal -1 binary64)) a) a)) |
#s(approx (* (+ (* 2 a) b) b) (*.f64 (fma.f64 b (/.f64 b a) #s(literal 2 binary64)) a)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (-.f64 a #s(literal -2 binary64)) a)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (fma.f64 (-.f64 a #s(literal -2 binary64)) a (*.f64 b b))) |
#s(approx (* (+ (* 2 a) b) b) (fma.f64 b b (+.f64 a a))) |
#s(approx (+ b b) #s(literal 2 binary64)) |
#s(approx b b) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (fma.f64 b b (+.f64 a a))) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (*.f64 (fma.f64 (-.f64 a #s(literal -2 binary64)) a #s(literal 1 binary64)) b) b)) |
#s(approx (+ (* a a) (* (+ (* 2 a) b) b)) (*.f64 (*.f64 (fma.f64 (-.f64 a #s(literal -2 binary64)) a #s(literal 1 binary64)) b) b)) |
Compiled 699 to 149 computations (78.7% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 82 | 0 | 82 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 82 | 6 | 88 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
| ✓ | 5.1% | (fma.f64 a a (*.f64 #s(approx (+ (* 2 a) b) (+.f64 a a)) b)) |
| ✓ | 17.4% | (fma.f64 a a #s(approx (* (+ (* 2 a) b) b) (+.f64 b b))) |
| ✓ | 100.0% | (*.f64 (+.f64 a b) (+.f64 a b)) |
| ✓ | 5.1% | #s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
| ✓ | 4.0% | #s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
Compiled 78 to 68 computations (12.8% saved)
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
(fma.f64 a a #s(approx (* (+ (* 2 a) b) b) (+.f64 b b))) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(fma.f64 a a (*.f64 #s(approx (+ (* 2 a) b) (+.f64 a a)) b)) |
(fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
| Outputs |
|---|
(fma.f64 a a (*.f64 (fma.f64 #s(literal 2 binary64) a b) b)) |
4 calls:
| 2.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 2.0ms | (+.f64 a b) |
| 2.0ms | b |
| 2.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 a b) |
| 100.0% | 1 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 100.0% | 1 | a |
| 100.0% | 1 | b |
Compiled 10 to 11 computations (-10% saved)
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
(fma.f64 a a #s(approx (* (+ (* 2 a) b) b) (+.f64 b b))) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
(*.f64 (+.f64 a b) (+.f64 a b)) |
(fma.f64 a a (*.f64 #s(approx (+ (* 2 a) b) (+.f64 a a)) b)) |
| Outputs |
|---|
(*.f64 (+.f64 a b) (+.f64 a b)) |
4 calls:
| 7.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 2.0ms | (+.f64 a b) |
| 2.0ms | b |
| 2.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 a b) |
| 100.0% | 1 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 100.0% | 1 | a |
| 100.0% | 1 | b |
Compiled 10 to 11 computations (-10% saved)
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
(fma.f64 a a #s(approx (* (+ (* 2 a) b) b) (+.f64 b b))) |
#s(approx (* (+ a b) (+ a b)) (*.f64 (fma.f64 #s(literal 2 binary64) b a) a)) |
| Outputs |
|---|
(fma.f64 a a #s(approx (* (+ (* 2 a) b) b) (+.f64 b b))) |
4 calls:
| 2.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 2.0ms | b |
| 2.0ms | (+.f64 a b) |
| 1.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 17.4% | 1 | (+.f64 a b) |
| 17.4% | 1 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 17.4% | 1 | a |
| 17.4% | 1 | b |
Compiled 10 to 11 computations (-10% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
| Outputs |
|---|
#s(approx (* (+ a b) (+ a b)) (*.f64 a a)) |
4 calls:
| 1.0ms | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 1.0ms | a |
| 1.0ms | b |
| 1.0ms | (+.f64 a b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 4.0% | 1 | (+.f64 a b) |
| 4.0% | 1 | (*.f64 (+.f64 a b) (+.f64 a b)) |
| 4.0% | 1 | b |
| 4.0% | 1 | a |
Compiled 10 to 11 computations (-10% saved)
| 1× | done |
Compiled 21 to 19 computations (9.5% saved)
(sort a b)
Compiled 89 to 81 computations (9% saved)
Loading profile data...