
Time bar (total: 5.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 9 to 7 computations (22.2% saved)
| 578.0ms | 8 256× | 0 | valid |
ival-div: 61.0ms (34.5% of total)ival-mult: 61.0ms (34.5% of total)ival-add: 41.0ms (23.2% of total)ival-true: 6.0ms (3.4% of total)exact: 5.0ms (2.8% of total)ival-assert: 3.0ms (1.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 64 | 0 | - | 0 | - | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
/.f64 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) | n/o | 64 | 0 |
| ↳ | (*.f64 x x) | overflow | 64 | |
| ↳ | (+.f64 (*.f64 x x) #s(literal 1 binary64)) | overflow | 64 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 64 | 0 |
| - | 0 | 192 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 64 | 0 | 0 |
| - | 0 | 0 | 192 |
| number | freq |
|---|---|
| 0 | 192 |
| 1 | 64 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 23.0ms | 512× | 0 | valid |
Compiled 45 to 19 computations (57.8% saved)
ival-mult: 4.0ms (37.4% of total)ival-div: 3.0ms (28.1% of total)ival-add: 2.0ms (18.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 46× | associate-*l* |
| 42× | times-frac |
| 30× | unsub-neg |
| 28× | distribute-lft-neg-in |
| 26× | distribute-neg-frac2 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 26 | 15 |
| 2 | 62 | 14 |
| 3 | 128 | 14 |
| 4 | 232 | 14 |
| 5 | 331 | 14 |
| 6 | 344 | 14 |
| 7 | 346 | 14 |
| 8 | 350 | 14 |
| 0 | 5 | 7 |
| 0 | 8 | 7 |
| 1 | 11 | 7 |
| 0 | 11 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(negabs x)
Compiled 7 to 5 computations (28.6% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 76.7% | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
Compiled 7 to 5 computations (28.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) | |
| cost-diff | 128 | (+.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 4× | lower-+.f32 |
| 2× | lift-+.f64 |
| 2× | lift-/.f64 |
| 2× | lower-fma.f64 |
| 2× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 17 |
| 0 | 8 | 17 |
| 1 | 11 | 17 |
| 0 | 11 | 15 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
x |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
x |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 (*.f64 x x) #s(literal 1 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 14.913303818488254 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 10.0ms | 256× | 0 | valid |
Compiled 19 to 7 computations (63.2% saved)
ival-div: 2.0ms (39.5% of total)ival-mult: 2.0ms (39.5% of total)ival-add: 1.0ms (19.8% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt 1 (taylor 0 x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (+.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((+ (* x x) 1) (/ x (+ (* x x) 1)) (* x x)) |
| 1.0ms | x | @ | 0 | ((+ (* x x) 1) (/ x (+ (* x x) 1)) (* x x)) |
| 1.0ms | x | @ | -inf | ((+ (* x x) 1) (/ x (+ (* x x) 1)) (* x x)) |
| 1× | egg-herbie |
| 12 662× | lower-fma.f64 |
| 12 662× | lower-fma.f32 |
| 2 988× | lower-*.f64 |
| 2 988× | lower-*.f32 |
| 1 640× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 45 | 226 |
| 1 | 131 | 224 |
| 2 | 312 | 216 |
| 3 | 883 | 212 |
| 4 | 2385 | 210 |
| 5 | 5560 | 210 |
| 6 | 7661 | 210 |
| 0 | 8081 | 197 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (+.f64 (pow.f64 x #s(literal 5 binary64)) x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 3 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
| 4 942× | lower-/.f32 |
| 4 940× | lower-/.f64 |
| 4 762× | lower-fma.f64 |
| 4 762× | lower-fma.f32 |
| 3 572× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 33 | 15 |
| 2 | 202 | 15 |
| 3 | 1766 | 15 |
| 0 | 8562 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(*.f64 x x) |
| 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> |
Compiled 7 796 to 1 076 computations (86.2% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 357 | 5 | 362 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 358 | 5 | 363 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 76.7% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ▶ | 24.2% | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| ▶ | 55.1% | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
| ▶ | 47.5% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| ▶ | 54.3% | #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
Compiled 52 to 42 computations (19.2% saved)
| 1× | egg-herbie |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| cost-diff | 0 | (-.f64 x (pow.f64 x #s(literal 3 binary64))) | |
| cost-diff | 0 | #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x x) 1) (*.f64 x x)) | |
| cost-diff | 0 | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) | |
| cost-diff | 0 | #s(approx (+ (* x x) 1) #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) | |
| cost-diff | 0 | (fma.f64 x x #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| 15 632× | lower-fma.f32 |
| 15 630× | lower-fma.f64 |
| 3 620× | lower-+.f64 |
| 3 620× | lower-+.f32 |
| 3 292× | distribute-lft-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 87 |
| 0 | 26 | 87 |
| 1 | 33 | 87 |
| 2 | 45 | 87 |
| 3 | 59 | 87 |
| 4 | 80 | 87 |
| 5 | 153 | 87 |
| 6 | 265 | 87 |
| 7 | 497 | 87 |
| 8 | 1020 | 87 |
| 9 | 1783 | 87 |
| 10 | 3148 | 87 |
| 11 | 4002 | 87 |
| 12 | 5286 | 87 |
| 13 | 5757 | 87 |
| 14 | 5901 | 87 |
| 15 | 5929 | 87 |
| 16 | 5965 | 87 |
| 17 | 5989 | 87 |
| 18 | 6227 | 87 |
| 19 | 6257 | 87 |
| 20 | 6257 | 87 |
| 0 | 8169 | 87 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
x |
(fma.f64 x x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
x |
#s(approx (+ (* x x) 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
x |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
x |
(pow.f64 x #s(literal 3 binary64)) |
#s(literal 3 binary64) |
| Outputs |
|---|
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
x |
(fma.f64 x x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
x |
#s(approx (+ (* x x) 1) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
x |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
x |
(pow.f64 x #s(literal 3 binary64)) |
#s(literal 3 binary64) |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| accuracy | 0 | (-.f64 x (pow.f64 x #s(literal 3 binary64))) | |
| accuracy | 29.257057760057172 | #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 14.913303818488254 | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) | |
| accuracy | 33.43804906844177 | #s(approx (+ (* x x) 1) (*.f64 x x)) | |
| accuracy | 14.913303818488254 | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) | |
| accuracy | 28.56781262956733 | #s(approx (+ (* x x) 1) #s(literal 1 binary64)) | |
| accuracy | 0 | (/.f64 #s(literal 1 binary64) x) | |
| accuracy | 33.58150186296678 | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) | |
| accuracy | 0 | (fma.f64 x x #s(literal 1 binary64)) | |
| accuracy | 14.913303818488254 | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| 20.0ms | 256× | 0 | valid |
Compiled 75 to 11 computations (85.3% saved)
ival-div: 3.0ms (27.8% of total)ival-pow: 3.0ms (27.8% of total)ival-mult: 2.0ms (18.5% of total)ival-sub: 1.0ms (9.3% of total)ival-add: 1.0ms (9.3% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ()) |
#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ()) |
#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ()) |
#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ()) |
#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (pow x 2)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 3)) (taylor inf x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1)) (taylor inf x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1)) (taylor inf x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1)) (taylor inf x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 x x #s(literal 1 binary64)) (patch (fma.f64 x x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) (patch #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) #s(literal 1 binary64)) (patch #s(approx (+ (* x x) 1) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) (patch (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) 1) (*.f64 x x)) (patch #s(approx (+ (* x x) 1) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) (patch #s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 3)) (taylor -inf x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (-.f64 x (pow.f64 x #s(literal 3 binary64))) (patch (-.f64 x (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (/ 1 x) (/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (+ (* x x) 1) (* x x) (/ x (+ (* x x) 1)) (- x (pow x 3)) (pow x 3)) |
| 1.0ms | x | @ | inf | ((/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (/ 1 x) (/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (+ (* x x) 1) (* x x) (/ x (+ (* x x) 1)) (- x (pow x 3)) (pow x 3)) |
| 1.0ms | x | @ | 0 | ((/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (/ 1 x) (/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1)) (+ (* x x) 1) (* x x) (/ x (+ (* x x) 1)) (- x (pow x 3)) (pow x 3)) |
| 1× | egg-herbie |
| 16 304× | lower-fma.f64 |
| 16 304× | lower-fma.f32 |
| 3 366× | lower-*.f64 |
| 3 366× | lower-*.f32 |
| 1 760× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 51 | 1035 |
| 1 | 146 | 977 |
| 2 | 366 | 958 |
| 3 | 1172 | 938 |
| 4 | 4116 | 938 |
| 0 | 8045 | 871 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
1 |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
1 |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
1 |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(+ 1 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* -1 (pow x 2)))) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(* -1 (pow x 3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (pow x 3)) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(* -1 (pow x 3)) |
(neg.f64 (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (fma.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 x x #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 6 binary64))) #s(literal -1 binary64))) x) |
(* -1 (pow x 3)) |
(neg.f64 (pow.f64 x #s(literal 3 binary64))) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
| 7 072× | lower-fma.f32 |
| 7 070× | lower-fma.f64 |
| 3 396× | lower-*.f32 |
| 3 394× | lower-*.f64 |
| 2 402× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 78 |
| 0 | 26 | 78 |
| 1 | 90 | 78 |
| 2 | 470 | 78 |
| 3 | 4130 | 78 |
| 0 | 8337 | 78 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(fma.f64 x x #s(literal 1 binary64)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
#s(approx (+ (* x x) 1) #s(literal 1 binary64)) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(pow.f64 x #s(literal 3 binary64)) |
| 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> |
Compiled 8 100 to 1 282 computations (84.2% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 608 | 1 | 609 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 609 | 5 | 614 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 76.7% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ✓ | 24.2% | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| ✓ | 55.1% | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
| ▶ | 54.3% | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
| ✓ | 47.5% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
Compiled 28 to 21 computations (25% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -5824 | (fma.f64 (*.f64 (neg.f64 x) x) x x) | |
| cost-diff | 0 | (neg.f64 x) | |
| cost-diff | 0 | (*.f64 (neg.f64 x) x) | |
| cost-diff | 0 | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
| 10 488× | lower-fma.f32 |
| 10 486× | lower-fma.f64 |
| 2 338× | lower-*.f32 |
| 2 336× | lower-*.f64 |
| 2 098× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 29 |
| 0 | 13 | 29 |
| 1 | 26 | 29 |
| 2 | 39 | 25 |
| 3 | 69 | 25 |
| 4 | 94 | 25 |
| 5 | 157 | 25 |
| 6 | 297 | 25 |
| 7 | 779 | 25 |
| 8 | 1285 | 25 |
| 9 | 2454 | 25 |
| 10 | 3689 | 25 |
| 11 | 5505 | 25 |
| 12 | 7187 | 25 |
| 13 | 7872 | 25 |
| 0 | 8022 | 24 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
(fma.f64 (*.f64 (neg.f64 x) x) x x) |
(*.f64 (neg.f64 x) x) |
(neg.f64 x) |
x |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
#s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
(fma.f64 (*.f64 (neg.f64 x) x) x x) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(*.f64 (neg.f64 x) x) |
(neg.f64 x) |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 (neg.f64 x) x) | |
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 0.0546875 | (fma.f64 (*.f64 (neg.f64 x) x) x x) | |
| accuracy | 29.257057760057172 | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
| 60.0ms | 256× | 0 | valid |
Compiled 24 to 11 computations (54.2% saved)
ival-mult: 5.0ms (49.1% of total)ival-div: 2.0ms (19.6% of total)ival-add: 2.0ms (19.6% of total)ival-neg: 1.0ms (9.8% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ()) |
#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) (taylor 0 x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) (taylor inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) (patch #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (neg.f64 x) x) (patch (*.f64 (neg.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (pow x 3)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (neg.f64 x) x) x x) (patch (fma.f64 (*.f64 (neg.f64 x) x) x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ x (+ (* x x) 1)) (* (neg x) x) (neg x) (+ (* (* (neg x) x) x) x)) |
| 1.0ms | x | @ | -inf | ((/ x (+ (* x x) 1)) (* (neg x) x) (neg x) (+ (* (* (neg x) x) x) x)) |
| 1.0ms | x | @ | 0 | ((/ x (+ (* x x) 1)) (* (neg x) x) (neg x) (+ (* (* (neg x) x) x) x)) |
| 1× | egg-herbie |
| 9 828× | lower-fma.f64 |
| 9 828× | lower-fma.f32 |
| 2 588× | lower-*.f64 |
| 2 588× | lower-*.f32 |
| 1 380× | lower--.f64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 49 | 291 |
| 1 | 139 | 265 |
| 2 | 342 | 254 |
| 3 | 1122 | 250 |
| 4 | 3378 | 248 |
| 5 | 6348 | 248 |
| 0 | 8133 | 248 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(* -1 (pow x 2)) |
(* -1 (pow x 2)) |
(* -1 (pow x 2)) |
(* -1 (pow x 2)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* -1 (pow x 2)))) |
(* x (+ 1 (* -1 (pow x 2)))) |
(/ 1 x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(* -1 (pow x 2)) |
(* -1 (pow x 2)) |
(* -1 (pow x 2)) |
(* -1 (pow x 2)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 (pow x 3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(/ 1 x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(* -1 (pow x 2)) |
(* -1 (pow x 2)) |
(* -1 (pow x 2)) |
(* -1 (pow x 2)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 (pow x 3)) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
x |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* x (+ 1 (* -1 (pow x 2)))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (- 1 (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64))) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 (pow x 3)) |
(pow.f64 (neg.f64 x) #s(literal 3 binary64)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1)) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (/ (- (/ 1 (pow x 2)) 1) x)) |
(/.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64))) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 (/.f64 #s(literal 1 binary64) x) x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 (pow x 2)) |
(*.f64 (neg.f64 x) x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 (pow x 3)) |
(pow.f64 (neg.f64 x) #s(literal 3 binary64)) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
(* -1 (* (pow x 3) (- 1 (/ 1 (pow x 2))))) |
(-.f64 x (pow.f64 x #s(literal 3 binary64))) |
| 3 906× | lower-*.f32 |
| 3 904× | lower-*.f64 |
| 3 700× | lower-fma.f32 |
| 3 698× | lower-fma.f64 |
| 2 792× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 28 |
| 0 | 13 | 28 |
| 1 | 58 | 26 |
| 2 | 370 | 24 |
| 3 | 3795 | 22 |
| 0 | 11447 | 21 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
(*.f64 (neg.f64 x) x) |
(neg.f64 x) |
(fma.f64 (*.f64 (neg.f64 x) x) x x) |
| 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> |
Compiled 4 140 to 855 computations (79.3% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 265 | 0 | 265 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 265 | 5 | 270 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 76.7% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ✓ | 24.2% | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| ✓ | 55.1% | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
| ✓ | 54.3% | #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
| ✓ | 47.5% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
Compiled 69 to 42 computations (39.1% saved)
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
| Outputs |
|---|
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
2 calls:
| 113.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 2 | x |
| 99.9% | 2 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
Compiled 8 to 6 computations (25% saved)
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 79.6% | 2 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 99.1% | 2 | x |
Compiled 8 to 6 computations (25% saved)
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
| Outputs |
|---|
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
1 calls:
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.8% | 2 | x |
Compiled 1 to 1 computations (0% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 47.5% | 1 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 47.5% | 1 | x |
Compiled 8 to 6 computations (25% saved)
| 1× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 42.0ms | 2400729.745252125 | 4855900515.053701 |
| 41.0ms | 16× | 0 | valid |
Compiled 20 to 19 computations (5% saved)
ival-div: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-mult: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 9.0ms | 0.0315017016348894 | 64.13065633038488 |
| 5.0ms | 128× | 0 | valid |
Compiled 106 to 97 computations (8.5% saved)
ival-div: 1.0ms (38.7% of total)ival-add: 1.0ms (38.7% of total)ival-mult: 1.0ms (38.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 5.0ms | 0.0315017016348894 | 64.13065633038488 |
| 2.0ms | 64× | 0 | valid |
Compiled 74 to 89 computations (-20.3% saved)
ival-div: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-mult: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 6× | *-commutative-binary64-*.f64 |
| 4× | neg-sub0-binary64--.f64-neg.f64 |
| 4× | +-commutative-binary64-+.f64 |
| 4× | neg-mul-1-binary64-*.f64-neg.f64 |
| 4× | sub-neg-binary64-neg.f64-+.f64--.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 86 |
| 1 | 32 | 86 |
| 2 | 36 | 86 |
| 3 | 39 | 86 |
| 4 | 40 | 86 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x #s(literal 4000000 binary64)) (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 7656119366529843/9007199254740992 binary64)) #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 1 binary64)) (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
(if (<=.f64 x #s(literal 4000000 binary64)) (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 7656119366529843/9007199254740992 binary64)) #s(approx (/ x (+ (* x x) 1)) (fma.f64 (*.f64 (neg.f64 x) x) x x)) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
(if (<=.f64 x #s(literal 1 binary64)) (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| 12 662× | lower-fma.f64 |
| 12 662× | lower-fma.f32 |
| 7 072× | lower-fma.f32 |
| 7 070× | lower-fma.f64 |
| 4 942× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 78 |
| 0 | 26 | 78 |
| 1 | 90 | 78 |
| 2 | 470 | 78 |
| 3 | 4130 | 78 |
| 0 | 8337 | 78 |
| 0 | 45 | 226 |
| 1 | 131 | 224 |
| 2 | 312 | 216 |
| 3 | 883 | 212 |
| 4 | 2385 | 210 |
| 5 | 5560 | 210 |
| 6 | 7661 | 210 |
| 0 | 8081 | 197 |
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 33 | 15 |
| 2 | 202 | 15 |
| 3 | 1766 | 15 |
| 0 | 8562 | 13 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 85 to 51 computations (40% saved)
Compiled 148 to 78 computations (47.3% saved)
Loading profile data...