
Time bar (total: 4.3s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 482.0ms | 8 256× | 0 | valid |
ival-mult: 174.0ms (63.6% of total)ival-sub: 91.0ms (33.2% of total)ival-true: 5.0ms (1.8% of total)ival-assert: 3.0ms (1.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 17 | 0 | - | 0 | - | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0 | 0 | - | 0 | - | (*.f64 a a) |
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | (*.f64 b b) |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (*.f64 a a) (*.f64 b b)) | nan-rescue | 17 | 0 |
| ↳ | (*.f64 a a) | overflow | 68 | |
| ↳ | (*.f64 b b) | overflow | 70 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 17 | 0 |
| - | 0 | 239 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 17 | 0 | 0 |
| - | 0 | 0 | 239 |
| number | freq |
|---|---|
| 0 | 239 |
| 1 | 17 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 20.0ms | 512× | 0 | valid |
Compiled 41 to 19 computations (53.7% saved)
ival-mult: 7.0ms (75.2% of total)ival-sub: 2.0ms (21.5% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 24 584× | lower-fma.f64 |
| 24 584× | lower-fma.f32 |
| 5 200× | lower-+.f64 |
| 5 200× | lower-+.f32 |
| 3 934× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 38 |
| 1 | 51 | 35 |
| 2 | 144 | 35 |
| 3 | 366 | 35 |
| 4 | 892 | 35 |
| 5 | 1223 | 35 |
| 6 | 1754 | 35 |
| 7 | 2340 | 35 |
| 8 | 4152 | 35 |
| 9 | 4727 | 35 |
| 10 | 4840 | 35 |
| 11 | 4954 | 35 |
| 12 | 5034 | 35 |
| 13 | 5034 | 35 |
| 14 | 6415 | 35 |
| 15 | 7393 | 35 |
| 16 | 7877 | 35 |
| 17 | 7893 | 35 |
| 18 | 7893 | 35 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 16 | 7 |
| 2 | 27 | 7 |
| 3 | 53 | 7 |
| 4 | 114 | 7 |
| 5 | 315 | 7 |
| 6 | 567 | 7 |
| 7 | 1238 | 7 |
| 8 | 2495 | 7 |
| 9 | 4124 | 7 |
| 10 | 4997 | 7 |
| 11 | 5366 | 7 |
| 12 | 5596 | 7 |
| 13 | 5710 | 7 |
| 14 | 5710 | 7 |
| 15 | 6670 | 7 |
| 16 | 6830 | 7 |
| 17 | 7150 | 7 |
| 18 | 7150 | 7 |
| 19 | 7550 | 7 |
| 20 | 7710 | 7 |
| 21 | 7790 | 7 |
| 22 | 7790 | 7 |
| 23 | 7790 | 7 |
| 0 | 10268 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(abs b)
(abs a)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 93.3% | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 b b) | |
| cost-diff | 0 | (*.f64 a a) | |
| cost-diff | 0 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 24 584× | lower-fma.f64 |
| 24 584× | lower-fma.f32 |
| 5 200× | lower-+.f64 |
| 5 200× | lower-+.f32 |
| 3 934× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 16 | 15 |
| 2 | 27 | 15 |
| 3 | 53 | 15 |
| 4 | 114 | 15 |
| 5 | 315 | 15 |
| 6 | 567 | 15 |
| 7 | 1238 | 15 |
| 8 | 2495 | 15 |
| 9 | 4124 | 15 |
| 10 | 4997 | 15 |
| 11 | 5366 | 15 |
| 12 | 5596 | 15 |
| 13 | 5710 | 15 |
| 14 | 5710 | 15 |
| 15 | 6670 | 15 |
| 16 | 6830 | 15 |
| 17 | 7150 | 15 |
| 18 | 7150 | 15 |
| 19 | 7550 | 15 |
| 20 | 7710 | 15 |
| 21 | 7790 | 15 |
| 22 | 7790 | 15 |
| 23 | 7790 | 15 |
| 0 | 10268 | 15 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 b b) | |
| accuracy | 0 | (*.f64 a a) | |
| accuracy | 3.800764736641647 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 27.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-mult: 20.0ms (94.2% of total)ival-sub: 1.0ms (4.7% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ()) |
#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ()) |
#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow a 2) (taylor 0 b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor 0 b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor 0 b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor 0 b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor 0 b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor -inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor -inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor -inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (pow b 2) (taylor -inf b) (#s(alt (*.f64 b b) (patch (*.f64 b b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor 0 a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt (-.f64 (*.f64 a a) (*.f64 b b)) (patch (-.f64 (*.f64 a a) (*.f64 b b)) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | b | @ | inf | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 1.0ms | b | @ | 0 | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 0.0ms | b | @ | -inf | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 0.0ms | a | @ | inf | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 0.0ms | a | @ | -inf | ((- (* a a) (* b b)) (* a a) (* b b)) |
| 1× | egg-herbie |
| 12 540× | lower-fma.f64 |
| 12 540× | lower-fma.f32 |
| 3 658× | lower-*.f64 |
| 3 658× | lower-*.f32 |
| 1 136× | lower-neg.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 219 |
| 1 | 39 | 219 |
| 2 | 113 | 219 |
| 3 | 469 | 219 |
| 4 | 1679 | 219 |
| 5 | 2846 | 219 |
| 6 | 5006 | 219 |
| 0 | 8448 | 219 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow a 2) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(pow b 2) |
(pow b 2) |
(pow b 2) |
(pow b 2) |
(* -1 (pow b 2)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(pow b 2) |
(pow b 2) |
(pow b 2) |
(pow b 2) |
(* -1 (pow b 2)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(pow b 2) |
(pow b 2) |
(pow b 2) |
(pow b 2) |
(* -1 (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
| Outputs |
|---|
(pow a 2) |
(*.f64 a a) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(pow b 2) |
(*.f64 b b) |
(pow b 2) |
(*.f64 b b) |
(pow b 2) |
(*.f64 b b) |
(pow b 2) |
(*.f64 b b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(pow b 2) |
(*.f64 b b) |
(pow b 2) |
(*.f64 b b) |
(pow b 2) |
(*.f64 b b) |
(pow b 2) |
(*.f64 b b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(pow b 2) |
(*.f64 b b) |
(pow b 2) |
(*.f64 b b) |
(pow b 2) |
(*.f64 b b) |
(pow b 2) |
(*.f64 b b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(- (pow a 2) (pow b 2)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(- (pow a 2) (pow b 2)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(- (pow a 2) (pow b 2)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
| 8 026× | lower-fma.f64 |
| 8 026× | lower-fma.f32 |
| 4 450× | lower-/.f64 |
| 4 450× | lower-/.f32 |
| 3 184× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 32 | 13 |
| 2 | 216 | 13 |
| 3 | 1967 | 13 |
| 0 | 8778 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
(*.f64 b b) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 8 583 to 756 computations (91.2% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 297 | 3 | 300 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 298 | 3 | 301 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (-.f64 a b) (+.f64 b a)) |
| ▶ | 54.1% | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| ▶ | 53.0% | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
Compiled 16 to 14 computations (12.5% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 b a) | |
| cost-diff | 0 | (-.f64 a b) | |
| cost-diff | 0 | (*.f64 (-.f64 a b) (+.f64 b a)) | |
| cost-diff | 0 | (neg.f64 b) | |
| cost-diff | 0 | (*.f64 (neg.f64 b) b) | |
| cost-diff | 0 | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) | |
| cost-diff | 0 | (*.f64 a a) | |
| cost-diff | 0 | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| 31 184× | lower-fma.f64 |
| 31 184× | lower-fma.f32 |
| 7 084× | lower-+.f32 |
| 7 082× | lower-+.f64 |
| 3 784× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 49 |
| 0 | 19 | 49 |
| 1 | 37 | 49 |
| 2 | 64 | 49 |
| 3 | 144 | 49 |
| 4 | 285 | 49 |
| 5 | 590 | 49 |
| 6 | 1490 | 49 |
| 7 | 2883 | 49 |
| 8 | 3991 | 49 |
| 9 | 4558 | 49 |
| 10 | 4797 | 49 |
| 11 | 4927 | 49 |
| 12 | 4949 | 49 |
| 13 | 4949 | 49 |
| 14 | 4949 | 49 |
| 0 | 8683 | 49 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
a |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (neg.f64 b) b) |
(neg.f64 b) |
b |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(-.f64 a b) |
a |
b |
(+.f64 b a) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
a |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (neg.f64 b) b) |
(neg.f64 b) |
b |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(-.f64 a b) |
a |
b |
(+.f64 b a) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 a b) | |
| accuracy | 0 | (+.f64 b a) | |
| accuracy | 0 | (*.f64 (-.f64 a b) (+.f64 b a)) | |
| accuracy | 0 | (*.f64 (neg.f64 b) b) | |
| accuracy | 0 | (neg.f64 b) | |
| accuracy | 29.37962229645946 | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) | |
| accuracy | 0 | (*.f64 a a) | |
| accuracy | 30.11055415660807 | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| 20.0ms | 256× | 0 | valid |
Compiled 42 to 12 computations (71.4% saved)
ival-mult: 6.0ms (55.9% of total)ival-sub: 2.0ms (18.6% of total)ival-add: 1.0ms (9.3% of total)ival-neg: 1.0ms (9.3% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ()) |
#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ()) |
#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ()) |
#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ()) |
#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ()) |
#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ()) |
#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow a 2) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (pow a 2)) (taylor 0 b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor 0 b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor 0 b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor 0 b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor 0 b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor 0 b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor 0 b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor 0 b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor 0 b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* b (+ a (* -1 a))) (pow a 2)) (taylor 0 b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)) (taylor 0 b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)) (taylor 0 b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt a (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (+ a (* -1 b)) (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (+ a (* -1 b)) (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (+ a (* -1 b)) (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt a (taylor 0 b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (+ a b) (taylor 0 b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (+ a b) (taylor 0 b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (+ a b) (taylor 0 b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1)) (taylor inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)) (taylor inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)) (taylor inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* b (- (/ a b) 1)) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* b (- (/ a b) 1)) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* b (- (/ a b) 1)) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt b (taylor inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (/ a b))) (taylor inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (/ a b))) (taylor inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (/ a b))) (taylor inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) (taylor -inf b) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (neg.f64 b) b) (patch (*.f64 (neg.f64 b) b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor -inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor -inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor -inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor -inf b) (#s(alt (neg.f64 b) (patch (neg.f64 b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor -inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1)) (taylor -inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)) (taylor -inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)) (taylor -inf b) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (+ 1 (* -1 (/ a b))))) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (+ 1 (* -1 (/ a b))))) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (+ 1 (* -1 (/ a b))))) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt b (taylor -inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (* -1 (/ a b)) 1))) (taylor -inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (* -1 (/ a b)) 1))) (taylor -inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (* -1 (/ a b)) 1))) (taylor -inf b) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor 0 a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (- (pow a 2) (pow b 2)) (taylor 0 a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow b 2)) (taylor 0 a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (* a (+ b (* -1 b)))) (taylor 0 a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))) (taylor 0 a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))) (taylor 0 a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (- a b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (- a b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (- a b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt b (taylor 0 a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (+ a b) (taylor 0 a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (+ a b) (taylor 0 a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (+ a b) (taylor 0 a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))) (taylor inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))) (taylor inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))) (taylor inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt a (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* a (+ 1 (* -1 (/ b a)))) (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* a (+ 1 (* -1 (/ b a)))) (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* a (+ 1 (* -1 (/ b a)))) (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt a (taylor inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* a (+ 1 (/ b a))) (taylor inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* a (+ 1 (/ b a))) (taylor inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* a (+ 1 (/ b a))) (taylor inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 a a)) (patch #s(approx (- (* a a) (* b b)) (*.f64 a a)) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 a a) (patch (*.f64 a a) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) (taylor -inf a) (#s(alt #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (patch #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #<representation binary64>) () ())) ()) |
#s(alt (pow a 2) (taylor -inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))) (taylor -inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))) (taylor -inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))) (taylor -inf a) (#s(alt (*.f64 (-.f64 a b) (+.f64 b a)) (patch (*.f64 (-.f64 a b) (+.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt a (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (- (/ b a) 1))) (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (- (/ b a) 1))) (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (- (/ b a) 1))) (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt a (taylor -inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (- (* -1 (/ b a)) 1))) (taylor -inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (- (* -1 (/ b a)) 1))) (taylor -inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (- (* -1 (/ b a)) 1))) (taylor -inf a) (#s(alt (+.f64 b a) (patch (+.f64 b a) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | -inf | ((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a)) |
| 1.0ms | b | @ | inf | ((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a)) |
| 1.0ms | b | @ | 0 | ((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a)) |
| 1.0ms | b | @ | -inf | ((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a)) |
| 1.0ms | a | @ | inf | ((- (* a a) (* b b)) (* a a) (- (* a a) (* b b)) (* (neg b) b) (neg b) (* (- a b) (+ b a)) (- a b) (+ b a)) |
| 1× | egg-herbie |
| 15 540× | lower-fma.f64 |
| 15 540× | lower-fma.f32 |
| 2 570× | lower--.f64 |
| 2 570× | lower--.f32 |
| 2 510× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 92 | 651 |
| 1 | 281 | 651 |
| 2 | 829 | 651 |
| 3 | 3560 | 651 |
| 0 | 8744 | 651 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow a 2) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(pow a 2) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(* -1 (pow b 2)) |
(* -1 (pow b 2)) |
(* -1 (pow b 2)) |
(* -1 (pow b 2)) |
(* -1 b) |
(* -1 b) |
(* -1 b) |
(* -1 b) |
(pow a 2) |
(+ (* b (+ a (* -1 a))) (pow a 2)) |
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)) |
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)) |
a |
(+ a (* -1 b)) |
(+ a (* -1 b)) |
(+ a (* -1 b)) |
a |
(+ a b) |
(+ a b) |
(+ a b) |
(* -1 (pow b 2)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* -1 (pow b 2)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* -1 (pow b 2)) |
(* -1 (pow b 2)) |
(* -1 (pow b 2)) |
(* -1 (pow b 2)) |
(* -1 b) |
(* -1 b) |
(* -1 b) |
(* -1 b) |
(* -1 (pow b 2)) |
(* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1)) |
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)) |
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)) |
(* -1 b) |
(* b (- (/ a b) 1)) |
(* b (- (/ a b) 1)) |
(* b (- (/ a b) 1)) |
b |
(* b (+ 1 (/ a b))) |
(* b (+ 1 (/ a b))) |
(* b (+ 1 (/ a b))) |
(* -1 (pow b 2)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* -1 (pow b 2)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(* -1 (pow b 2)) |
(* -1 (pow b 2)) |
(* -1 (pow b 2)) |
(* -1 (pow b 2)) |
(* -1 b) |
(* -1 b) |
(* -1 b) |
(* -1 b) |
(* -1 (pow b 2)) |
(* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1)) |
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)) |
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)) |
(* -1 b) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
b |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
(* -1 (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(* -1 (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(- (pow a 2) (pow b 2)) |
(* -1 (pow b 2)) |
(+ (* -1 (pow b 2)) (* a (+ b (* -1 b)))) |
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))) |
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))) |
(* -1 b) |
(- a b) |
(- a b) |
(- a b) |
b |
(+ a b) |
(+ a b) |
(+ a b) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(pow a 2) |
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))) |
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))) |
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))) |
a |
(* a (+ 1 (* -1 (/ b a)))) |
(* a (+ 1 (* -1 (/ b a)))) |
(* a (+ 1 (* -1 (/ b a)))) |
a |
(* a (+ 1 (/ b a))) |
(* a (+ 1 (/ b a))) |
(* a (+ 1 (/ b a))) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(pow a 2) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(pow a 2) |
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))) |
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))) |
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))) |
a |
(* -1 (* a (- (/ b a) 1))) |
(* -1 (* a (- (/ b a) 1))) |
(* -1 (* a (- (/ b a) 1))) |
a |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
| Outputs |
|---|
(pow a 2) |
(*.f64 a a) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(pow a 2) |
(*.f64 a a) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(+ (* -1 (pow b 2)) (pow a 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 b) |
(neg.f64 b) |
(* -1 b) |
(neg.f64 b) |
(* -1 b) |
(neg.f64 b) |
(* -1 b) |
(neg.f64 b) |
(pow a 2) |
(*.f64 a a) |
(+ (* b (+ a (* -1 a))) (pow a 2)) |
(*.f64 a a) |
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(+ (* b (+ a (+ (* -1 a) (* -1 b)))) (pow a 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
a |
(+ a (* -1 b)) |
(-.f64 a b) |
(+ a (* -1 b)) |
(-.f64 a b) |
(+ a (* -1 b)) |
(-.f64 a b) |
a |
(+ a b) |
(+.f64 b a) |
(+ a b) |
(+.f64 b a) |
(+ a b) |
(+.f64 b a) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 b) |
(neg.f64 b) |
(* -1 b) |
(neg.f64 b) |
(* -1 b) |
(neg.f64 b) |
(* -1 b) |
(neg.f64 b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (+ (* -1 (/ a b)) (/ a b)) 1)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (+ (* -1 (/ a b)) (+ (/ a b) (/ (pow a 2) (pow b 2)))) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* -1 b) |
(neg.f64 b) |
(* b (- (/ a b) 1)) |
(-.f64 a b) |
(* b (- (/ a b) 1)) |
(-.f64 a b) |
(* b (- (/ a b) 1)) |
(-.f64 a b) |
b |
(* b (+ 1 (/ a b))) |
(+.f64 b a) |
(* b (+ 1 (/ a b))) |
(+.f64 b a) |
(* b (+ 1 (/ a b))) |
(+.f64 b a) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* -1 b) |
(neg.f64 b) |
(* -1 b) |
(neg.f64 b) |
(* -1 b) |
(neg.f64 b) |
(* -1 b) |
(neg.f64 b) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (* -1 (/ (+ a (* -1 a)) b)) 1)) |
(*.f64 (neg.f64 b) b) |
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow b 2) (- (* -1 (/ (+ a (+ (* -1 a) (* -1 (/ (pow a 2) b)))) b)) 1)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* -1 b) |
(neg.f64 b) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(-.f64 a b) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(-.f64 a b) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(-.f64 a b) |
b |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
(+.f64 b a) |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
(+.f64 b a) |
(* -1 (* b (- (* -1 (/ a b)) 1))) |
(+.f64 b a) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(- (pow a 2) (pow b 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(- (pow a 2) (pow b 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(- (pow a 2) (pow b 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(- (pow a 2) (pow b 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(- (pow a 2) (pow b 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(- (pow a 2) (pow b 2)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* -1 (pow b 2)) |
(*.f64 (neg.f64 b) b) |
(+ (* -1 (pow b 2)) (* a (+ b (* -1 b)))) |
(*.f64 (neg.f64 b) b) |
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(+ (* -1 (pow b 2)) (* a (+ a (+ b (* -1 b))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* -1 b) |
(neg.f64 b) |
(- a b) |
(-.f64 a b) |
(- a b) |
(-.f64 a b) |
(- a b) |
(-.f64 a b) |
b |
(+ a b) |
(+.f64 b a) |
(+ a b) |
(+.f64 b a) |
(+ a b) |
(+.f64 b a) |
(pow a 2) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(pow a 2) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (+ (* -1 (/ (pow b 2) (pow a 2))) (/ b a))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
a |
(* a (+ 1 (* -1 (/ b a)))) |
(-.f64 a b) |
(* a (+ 1 (* -1 (/ b a)))) |
(-.f64 a b) |
(* a (+ 1 (* -1 (/ b a)))) |
(-.f64 a b) |
a |
(* a (+ 1 (/ b a))) |
(+.f64 b a) |
(* a (+ 1 (/ b a))) |
(+.f64 b a) |
(* a (+ 1 (/ b a))) |
(+.f64 b a) |
(pow a 2) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(pow a 2) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(pow a 2) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (+ (* -1 (/ b a)) (/ b a)))) |
(*.f64 a a) |
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(* (pow a 2) (+ 1 (* -1 (/ (+ (* -1 (+ b (* -1 b))) (/ (pow b 2) a)) a)))) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
a |
(* -1 (* a (- (/ b a) 1))) |
(-.f64 a b) |
(* -1 (* a (- (/ b a) 1))) |
(-.f64 a b) |
(* -1 (* a (- (/ b a) 1))) |
(-.f64 a b) |
a |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
(+.f64 b a) |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
(+.f64 b a) |
(* -1 (* a (- (* -1 (/ b a)) 1))) |
(+.f64 b a) |
| 4 964× | lower-fma.f64 |
| 4 964× | lower-fma.f32 |
| 3 312× | lower-*.f32 |
| 3 306× | lower-*.f64 |
| 2 364× | lower-/.f64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 45 |
| 0 | 19 | 45 |
| 1 | 70 | 45 |
| 2 | 511 | 45 |
| 3 | 6763 | 36 |
| 0 | 9290 | 36 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (neg.f64 b) b) |
(neg.f64 b) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(-.f64 a b) |
(+.f64 b a) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 17 707 to 1 561 computations (91.2% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 880 | 0 | 880 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 880 | 3 | 883 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (-.f64 a b) (+.f64 b a)) |
| ✓ | 54.1% | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| ✓ | 53.0% | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
Compiled 39 to 26 computations (33.3% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(*.f64 (-.f64 a b) (+.f64 b a)) |
5 calls:
| 3.0ms | a |
| 2.0ms | b |
| 2.0ms | (*.f64 b b) |
| 2.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 2.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | a |
| 100.0% | 1 | b |
| 100.0% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 100.0% | 1 | (*.f64 a a) |
| 100.0% | 1 | (*.f64 b b) |
Compiled 15 to 15 computations (0% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
5 calls:
| 2.0ms | b |
| 2.0ms | a |
| 2.0ms | (*.f64 b b) |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 79.3% | 2 | a |
| 82.2% | 4 | b |
| 96.5% | 2 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 79.3% | 2 | (*.f64 a a) |
| 82.2% | 4 | (*.f64 b b) |
Compiled 15 to 15 computations (0% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
5 calls:
| 4.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | a |
| 1.0ms | b |
| 1.0ms | (*.f64 b b) |
| 1.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.0% | 1 | b |
| 53.0% | 1 | (*.f64 b b) |
| 53.0% | 1 | a |
| 53.0% | 1 | (*.f64 a a) |
| 53.0% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 15 to 15 computations (0% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -1.3536540217102466e-287 | 0.0 |
Compiled 10 to 10 computations (0% saved)
| 1× | egg-herbie |
| 10× | +-commutative-binary64-+.f64 |
| 8× | *-commutative-binary64-*.f64 |
| 8× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 4× | neg-sub0-binary64--.f64-neg.f64 |
| 4× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 51 |
| 1 | 29 | 51 |
| 2 | 35 | 51 |
| 3 | 38 | 51 |
| 4 | 39 | 51 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 b a)) |
(if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal -6857655085992111/685765508599211085406992031398401158759299079491541508764000248557024672719959118395646962442045349201660590667234013968119772982843080987903012964780708787451812337588750783066948774723991753080189067657794974398949244241113521123786594812548932026532556574571938698730267509225767960757581162756440064 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #s(approx (- (* a a) (* b b)) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| Outputs |
|---|
(*.f64 (-.f64 a b) (+.f64 b a)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal -6857655085992111/685765508599211085406992031398401158759299079491541508764000248557024672719959118395646962442045349201660590667234013968119772982843080987903012964780708787451812337588750783066948774723991753080189067657794974398949244241113521123786594812548932026532556574571938698730267509225767960757581162756440064 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) #s(approx (- (* a a) (* b b)) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| 12 540× | lower-fma.f64 |
| 12 540× | lower-fma.f32 |
| 8 026× | lower-fma.f64 |
| 8 026× | lower-fma.f32 |
| 4 450× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 219 |
| 1 | 39 | 219 |
| 2 | 113 | 219 |
| 3 | 469 | 219 |
| 4 | 1679 | 219 |
| 5 | 2846 | 219 |
| 6 | 5006 | 219 |
| 0 | 8448 | 219 |
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 32 | 13 |
| 2 | 216 | 13 |
| 3 | 1967 | 13 |
| 0 | 8778 | 13 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 54 to 33 computations (38.9% saved)
(abs a)
(abs b)
Compiled 144 to 90 computations (37.5% saved)
Loading profile data...