
Time bar (total: 4.7s)
| 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)
| 347.0ms | 8 256× | 0 | valid |
ival-div: 83.0ms (41% of total)ival-mult: 62.0ms (30.6% of total)ival-add: 43.0ms (21.2% of total)ival-true: 6.0ms (3% of total)exact: 6.0ms (3% of total)ival-assert: 3.0ms (1.5% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 71 | 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 | 71 | 0 |
| ↳ | (*.f64 x x) | overflow | 71 | |
| ↳ | (+.f64 (*.f64 x x) #s(literal 1 binary64)) | overflow | 71 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 71 | 0 |
| - | 0 | 185 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 71 | 0 | 0 |
| - | 0 | 0 | 185 |
| number | freq |
|---|---|
| 0 | 185 |
| 1 | 71 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 21.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 |
|---|---|---|
| ▶ | 74.0% | (/.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 | 16.646492131228946 | (/.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 (40.1% of total)ival-mult: 2.0ms (40.1% of total)ival-add: 1.0ms (20% 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)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 358 | 4 | 362 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 359 | 4 | 363 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 74.0% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ▶ | 52.6% | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
| ▶ | 73.9% | (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) |
| ▶ | 50.7% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
Compiled 22 to 17 computations (22.7% saved)
| 1× | egg-herbie |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 x x #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) | |
| 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 | (fma.f64 x x #s(literal 1 binary64)) | |
| cost-diff | 192 | (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) | |
| cost-diff | 512 | (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| 6 018× | lower-*.f64 |
| 6 018× | lower-*.f32 |
| 3 276× | cube-prod |
| 2 776× | lower-/.f32 |
| 2 766× | lower-/.f64 |
Useful iterations: 9 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 63 |
| 0 | 19 | 65 |
| 1 | 24 | 65 |
| 2 | 27 | 61 |
| 3 | 30 | 61 |
| 4 | 47 | 61 |
| 5 | 52 | 61 |
| 6 | 62 | 61 |
| 7 | 70 | 61 |
| 8 | 83 | 61 |
| 9 | 107 | 60 |
| 10 | 117 | 60 |
| 11 | 194 | 60 |
| 12 | 1141 | 60 |
| 13 | 2080 | 60 |
| 14 | 2692 | 60 |
| 15 | 3300 | 60 |
| 16 | 3946 | 60 |
| 17 | 4654 | 60 |
| 18 | 4905 | 60 |
| 19 | 5096 | 60 |
| 20 | 5254 | 60 |
| 21 | 5398 | 60 |
| 22 | 5590 | 60 |
| 23 | 6343 | 60 |
| 24 | 7491 | 60 |
| 25 | 7918 | 60 |
| 0 | 8054 | 60 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) |
#s(literal 1 binary64) |
(/.f64 (fma.f64 x x #s(literal 1 binary64)) x) |
(fma.f64 x 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 (fma.f64 x x #s(literal 1 binary64))) |
x |
(fma.f64 x x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
#s(literal 1 binary64) |
(/.f64 (fma.f64 x x #s(literal 1 binary64)) x) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(fma.f64 x 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 (fma.f64 x x #s(literal 1 binary64))) |
x |
(fma.f64 x x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x x #s(literal 1 binary64)) | |
| accuracy | 16.646492131228946 | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) | |
| accuracy | 16.646492131228946 | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) | |
| accuracy | 30.213327199979616 | #s(approx (+ (* x x) 1) #s(literal 1 binary64)) | |
| accuracy | 0 | (fma.f64 x x #s(literal 1 binary64)) | |
| accuracy | 0.08984375 | (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) | |
| accuracy | 16.606680017283328 | (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) | |
| accuracy | 0 | (/.f64 #s(literal 1 binary64) x) | |
| accuracy | 31.569729828041982 | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| 18.0ms | 256× | 0 | valid |
Compiled 65 to 10 computations (84.6% saved)
ival-div: 6.0ms (61% of total)ival-mult: 2.0ms (20.3% of total)ival-add: 1.0ms (10.2% 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)) (/.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 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) #<representation binary64>) () ()) |
#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<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 (/.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 (fma.f64 x x #s(literal 1 binary64))) (patch (/.f64 x (fma.f64 x x #s(literal 1 binary64))) #<representation binary64>) () ()) |
| Outputs |
|---|
#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 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #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 (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (pow x 2)) x) (taylor 0 x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (pow x 2)) x) (taylor 0 x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (pow x 2)) x) (taylor 0 x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<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 (/.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 (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 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 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #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 (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<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 (/.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 (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 (/ 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 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #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 (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #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 (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) (patch (/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) (patch (/.f64 (fma.f64 x x #s(literal 1 binary64)) x) #<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 (/.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 (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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ x (+ (* x x) 1)) (/ 1 x) (/ 1 (/ (+ (* x x) 1) x)) (/ (+ (* x x) 1) x) (+ (* x x) 1) (/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1))) |
| 1.0ms | x | @ | inf | ((/ x (+ (* x x) 1)) (/ 1 x) (/ 1 (/ (+ (* x x) 1) x)) (/ (+ (* x x) 1) x) (+ (* x x) 1) (/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1))) |
| 1.0ms | x | @ | 0 | ((/ x (+ (* x x) 1)) (/ 1 x) (/ 1 (/ (+ (* x x) 1) x)) (/ (+ (* x x) 1) x) (+ (* x x) 1) (/ x (+ (* x x) 1)) (+ (* x x) 1) (/ x (+ (* x x) 1))) |
| 1× | egg-herbie |
| 16 624× | lower-fma.f64 |
| 16 624× | lower-fma.f32 |
| 3 252× | lower-*.f64 |
| 3 252× | lower-*.f32 |
| 1 830× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 760 |
| 1 | 138 | 752 |
| 2 | 321 | 720 |
| 3 | 910 | 686 |
| 4 | 2454 | 678 |
| 5 | 6072 | 678 |
| 0 | 8116 | 660 |
| 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 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 x) |
(/ (+ 1 (pow x 2)) x) |
(/ (+ 1 (pow x 2)) x) |
(/ (+ 1 (pow x 2)) x) |
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)) |
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 (/ 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) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (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) (+ 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 (/ (- (/ 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)) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (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) (+ 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)) |
| 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 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 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (+ 1 (pow x 2)) x) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(/ (+ 1 (pow x 2)) x) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(/ (+ 1 (pow x 2)) x) |
(+.f64 (/.f64 #s(literal 1 binary64) 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 (pow.f64 x #s(literal 4 binary64)) #s(literal -1 binary64)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
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 4 binary64)) #s(literal -1 binary64)) (-.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 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 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 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) 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 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) |
(/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 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 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x) |
(/.f64 (-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 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 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 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 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) 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 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 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 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) |
(* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)) |
(/.f64 (-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) #s(literal -1 binary64)) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) (/.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 6 binary64)))) x) |
| 4 770× | lower-*.f64 |
| 4 770× | lower-*.f32 |
| 4 370× | lower-fma.f32 |
| 4 368× | lower-fma.f64 |
| 3 720× | lower-/.f32 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 51 |
| 0 | 19 | 49 |
| 1 | 65 | 49 |
| 2 | 351 | 49 |
| 3 | 3035 | 48 |
| 0 | 9522 | 48 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) |
(/.f64 (fma.f64 x x #s(literal 1 binary64)) x) |
(fma.f64 x x #s(literal 1 binary64)) |
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
#s(approx (+ (* x x) 1) #s(literal 1 binary64)) |
(/.f64 x (fma.f64 x x #s(literal 1 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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 11 359 to 1 439 computations (87.3% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 773 | 1 | 774 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 0 | 0 |
| Total | 774 | 4 | 778 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 74.0% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ✓ | 52.6% | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
| ▶ | 99.9% | (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
| ✓ | 50.7% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
Compiled 22 to 18 computations (18.2% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (+.f64 (/.f64 #s(literal 1 binary64) x) x) | |
| cost-diff | 0 | #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) | |
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
| 8× | lower-+.f32 |
| 6× | lower-+.f64 |
| 6× | lower-/.f32 |
| 4× | lift-/.f64 |
| 4× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 38 |
| 0 | 12 | 38 |
| 1 | 16 | 38 |
| 0 | 16 | 36 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
#s(literal 1 binary64) |
#s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(/.f64 #s(literal 1 binary64) x) |
x |
| Outputs |
|---|
(/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
#s(literal 1 binary64) |
#s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(/.f64 #s(literal 1 binary64) x) |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 #s(literal 1 binary64) x) | |
| accuracy | 0 | (+.f64 (/.f64 #s(literal 1 binary64) x) x) | |
| accuracy | 0 | #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) | |
| accuracy | 0.08984375 | (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
| 41.0ms | 256× | 0 | valid |
Compiled 28 to 10 computations (64.3% saved)
ival-div: 5.0ms (52.1% of total)ival-add: 2.0ms (20.8% of total)ival-mult: 2.0ms (20.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 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ()) |
#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ()) |
#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ()) |
#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) 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 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (pow x 2)) x) (taylor 0 x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (pow x 2)) x) (taylor 0 x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (pow x 2)) x) (taylor 0 x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (pow x 2)) x) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (pow x 2)) x) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (pow x 2)) x) (taylor 0 x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) 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 (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- 1 (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) 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 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) 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 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) 1) x)) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) 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 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) (patch (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) (patch #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (+.f64 (/.f64 #s(literal 1 binary64) x) x) (patch (+.f64 (/.f64 #s(literal 1 binary64) x) 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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ 1 (/ (+ (* x x) 1) x)) (/ (+ (* x x) 1) x) (+ (/ 1 x) x) (/ 1 x)) |
| 0.0ms | x | @ | inf | ((/ 1 (/ (+ (* x x) 1) x)) (/ (+ (* x x) 1) x) (+ (/ 1 x) x) (/ 1 x)) |
| 0.0ms | x | @ | 0 | ((/ 1 (/ (+ (* x x) 1) x)) (/ (+ (* x x) 1) x) (+ (/ 1 x) x) (/ 1 x)) |
| 1× | egg-herbie |
| 12 656× | lower-fma.f64 |
| 12 656× | lower-fma.f32 |
| 3 048× | lower-*.f64 |
| 3 048× | lower-*.f32 |
| 1 642× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 334 |
| 1 | 132 | 308 |
| 2 | 309 | 300 |
| 3 | 875 | 272 |
| 4 | 2390 | 270 |
| 5 | 5580 | 270 |
| 6 | 7731 | 270 |
| 0 | 8165 | 260 |
| 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 x) |
(/ (+ 1 (pow x 2)) x) |
(/ (+ 1 (pow x 2)) x) |
(/ (+ 1 (pow x 2)) x) |
(/ 1 x) |
(/ (+ 1 (pow x 2)) x) |
(/ (+ 1 (pow x 2)) x) |
(/ (+ 1 (pow x 2)) 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) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(/ 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)) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
| 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 5 binary64)) x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (+ 1 (pow x 2)) x) |
(/.f64 (fma.f64 x x #s(literal 1 binary64)) x) |
(/ (+ 1 (pow x 2)) x) |
(/.f64 (fma.f64 x x #s(literal 1 binary64)) x) |
(/ (+ 1 (pow x 2)) x) |
(/.f64 (fma.f64 x x #s(literal 1 binary64)) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (+ 1 (pow x 2)) x) |
(/.f64 (fma.f64 x x #s(literal 1 binary64)) x) |
(/ (+ 1 (pow x 2)) x) |
(/.f64 (fma.f64 x x #s(literal 1 binary64)) x) |
(/ (+ 1 (pow x 2)) x) |
(/.f64 (fma.f64 x x #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 (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) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) 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) |
(/ 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 (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) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
x |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(* x (+ 1 (/ 1 (pow x 2)))) |
(+.f64 (/.f64 #s(literal 1 binary64) 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) |
| 2 714× | lower-fma.f64 |
| 2 714× | lower-fma.f32 |
| 2 174× | lower-*.f64 |
| 2 174× | lower-*.f32 |
| 2 046× | lower-/.f32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 36 |
| 0 | 12 | 36 |
| 1 | 61 | 36 |
| 2 | 423 | 32 |
| 0 | 4327 | 32 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
#s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x)) |
(+.f64 (/.f64 #s(literal 1 binary64) x) x) |
(/.f64 #s(literal 1 binary64) 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> |
Compiled 4 875 to 1 045 computations (78.6% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 297 | 0 | 297 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 297 | 4 | 301 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 74.0% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ✓ | 52.6% | (/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
| ✓ | 99.9% | (/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
| ✓ | 50.7% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
Compiled 59 to 34 computations (42.4% 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))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 1 binary64)) x)) |
| Outputs |
|---|
(/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
2 calls:
| 3.0ms | x |
| 2.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | (/.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))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 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:
| 31.0ms | x |
| 2.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 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))) |
| Outputs |
|---|
(/.f64 x #s(approx (+ (* x x) 1) #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
2 calls:
| 2.0ms | x |
| 1.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 81.4% | 3 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 99.5% | 2 | x |
Compiled 8 to 6 computations (25% 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 |
|---|---|---|
| 50.7% | 1 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 50.7% | 1 | x |
Compiled 8 to 6 computations (25% saved)
| 1× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 1.0ms | 57222488.08368402 | 190675640199.0283 |
| 1.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 |
|---|---|---|
| 15.0ms | 8.153596126212868e-8 | 32.18944704775416 |
| 9.0ms | 144× | 0 | valid |
Compiled 82 to 99 computations (-20.7% saved)
ival-mult: 5.0ms (74.9% of total)ival-div: 1.0ms (15% of total)ival-add: 1.0ms (15% 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 |
| 2× | 1-exp-binary32-exp.f32 |
| 2× | 1-exp-binary64-exp.f64 |
| 2× | +-commutative-binary64-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 71 |
| 1 | 24 | 71 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
(if (<=.f64 x #s(literal 100000000 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 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 |
|---|
(/.f64 #s(literal 1 binary64) #s(approx (/ (+ (* x x) 1) x) (+.f64 (/.f64 #s(literal 1 binary64) x) x))) |
(if (<=.f64 x #s(literal 100000000 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 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)) |
| 16 624× | lower-fma.f64 |
| 16 624× | lower-fma.f32 |
| 12 662× | lower-fma.f64 |
| 12 662× | lower-fma.f32 |
| 4 942× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 760 |
| 1 | 138 | 752 |
| 2 | 321 | 720 |
| 3 | 910 | 686 |
| 4 | 2454 | 678 |
| 5 | 6072 | 678 |
| 0 | 8116 | 660 |
| 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 |
Compiled 94 to 50 computations (46.8% saved)
Compiled 132 to 70 computations (47% saved)
Loading profile data...