
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)
| 444.0ms | 8 256× | 0 | valid |
ival-mult: 210.0ms (82.6% of total)ival-sub: 35.0ms (13.8% of total)ival-true: 6.0ms (2.4% of total)ival-assert: 3.0ms (1.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 18 | 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 | 18 | 0 |
| ↳ | (*.f64 a a) | overflow | 55 | |
| ↳ | (*.f64 b b) | overflow | 63 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 18 | 0 |
| - | 0 | 238 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 18 | 0 | 0 |
| - | 0 | 0 | 238 |
| number | freq |
|---|---|
| 0 | 238 |
| 1 | 18 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 26.0ms | 512× | 0 | valid |
Compiled 56 to 24 computations (57.1% saved)
ival-mult: 11.0ms (80.3% of total)ival-sub: 2.0ms (14.6% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
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 |
|---|---|---|
| ▶ | 92.9% | (-.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)) |
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 | 4.21091272996247 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 10.0ms | 256× | 0 | valid |
Compiled 32 to 12 computations (62.5% saved)
ival-mult: 3.0ms (67.2% of total)ival-sub: 1.0ms (22.4% 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 | a | @ | inf | ((- (* 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)) |
| 1× | egg-herbie |
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) |
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)) |
| ▶ | 56.6% | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| ▶ | 51.9% | #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)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 49 |
| 0 | 19 | 49 |
| 1 | 37 | 49 |
| 2 | 64 | 49 |
| 3 | 144 | 49 |
| 4 | 288 | 49 |
| 5 | 589 | 49 |
| 6 | 1508 | 49 |
| 7 | 2913 | 49 |
| 8 | 4014 | 49 |
| 9 | 4572 | 49 |
| 10 | 4811 | 49 |
| 11 | 4941 | 49 |
| 12 | 4963 | 49 |
| 13 | 4963 | 49 |
| 14 | 4963 | 49 |
| 0 | 8697 | 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 | 27.80125783247168 | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) | |
| accuracy | 0 | (*.f64 a a) | |
| accuracy | 30.773247583920067 | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| 24.0ms | 256× | 0 | valid |
Compiled 77 to 22 computations (71.4% saved)
ival-sub: 8.0ms (47.8% of total)ival-mult: 6.0ms (35.9% of total)ival-add: 1.0ms (6% of total)ival-neg: 1.0ms (6% 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 | |
|---|---|---|---|---|
| 15.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.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 | 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 |
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) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 45 |
| 0 | 19 | 45 |
| 1 | 70 | 45 |
| 2 | 507 | 45 |
| 3 | 6735 | 36 |
| 0 | 9263 | 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)) |
| ✓ | 56.6% | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| ✓ | 51.9% | #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:
| 81.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)) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
5 calls:
| 4.0ms | a |
| 3.0ms | b |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 b b) |
| 1.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 77.0% | 2 | a |
| 82.8% | 2 | b |
| 96.6% | 3 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 77.0% | 2 | (*.f64 a a) |
| 82.8% | 2 | (*.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:
| 13.0ms | a |
| 2.0ms | b |
| 2.0ms | (*.f64 a a) |
| 2.0ms | (*.f64 b b) |
| 2.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.9% | 1 | a |
| 51.9% | 1 | (*.f64 a a) |
| 51.9% | 1 | b |
| 51.9% | 1 | (*.f64 b b) |
| 51.9% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 15 to 15 computations (0% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | +inf | NaN |
| 0.0ms | -2.8e-322 | 0.0 |
Compiled 10 to 10 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 73 |
| 1 | 32 | 73 |
| 2 | 38 | 73 |
| 3 | 41 | 73 |
| 4 | 42 | 73 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 b a)) |
(if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal -5/25300281663413827294061918339864663381194581220517764794612669753428792445999418361495047962679640561898384733039601488923726092173224184608376674992592313740189678034570795170558363467761652042654970959809093133570250935428086587327262919456144944542601257064044846194041676826903812816523290938580750782913463467636686848 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal +inf.0 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 a a)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)))) |
#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 -5/25300281663413827294061918339864663381194581220517764794612669753428792445999418361495047962679640561898384733039601488923726092173224184608376674992592313740189678034570795170558363467761652042654970959809093133570250935428086587327262919456144944542601257064044846194041676826903812816523290938580750782913463467636686848 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) (if (<=.f64 (-.f64 (*.f64 a a) (*.f64 b b)) #s(literal +inf.0 binary64)) #s(approx (- (* a a) (* b b)) (*.f64 a a)) #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)))) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
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 69 to 36 computations (47.8% saved)
(abs a)
(abs b)
Compiled 174 to 96 computations (44.8% saved)
Loading profile data...