
Time bar (total: 4.8s)
| 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 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 3 |
| 16.7% | 12.5% | 62.5% | 0% | 0% | 25% | 0% | 4 |
| 30% | 18.7% | 43.7% | 0% | 0% | 37.5% | 0% | 5 |
| 38.9% | 21.9% | 34.4% | 0% | 0% | 43.7% | 0% | 6 |
| 44.1% | 23.4% | 29.7% | 0% | 0% | 46.9% | 0% | 7 |
| 47% | 24.2% | 27.3% | 0% | 0% | 48.4% | 0% | 8 |
| 48.5% | 24.6% | 26.2% | 0% | 0% | 49.2% | 0% | 9 |
| 49.2% | 24.8% | 25.6% | 0% | 0% | 49.6% | 0% | 10 |
| 49.6% | 24.9% | 25.3% | 0% | 0% | 49.8% | 0% | 11 |
| 49.8% | 24.9% | 25.1% | 0% | 0% | 49.9% | 0% | 12 |
Compiled 11 to 9 computations (18.2% saved)
| 1.0s | 7 197× | 1 | invalid |
| 730.0ms | 8 256× | 0 | valid |
| 63.0ms | 1 089× | 0 | invalid |
ival-log: 263.0ms (21% of total)ival-mult: 234.0ms (18.7% of total)ival-sqrt: 221.0ms (17.7% of total)adjust: 199.0ms (15.9% of total)ival-sub: 168.0ms (13.4% of total)ival-add: 133.0ms (10.6% of total)ival-true: 13.0ms (1% of total)exact: 11.0ms (0.9% of total)ival-assert: 7.0ms (0.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 129 | 0 | - | 0 | - | (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) | oflow-rescue | 129 | 0 |
| ↳ | (-.f64 (*.f64 x x) #s(literal 1 binary64)) | overflow | 129 | |
| ↳ | (*.f64 x x) | overflow | 129 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 129 | 0 |
| - | 0 | 127 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 129 | 0 | 0 |
| - | 0 | 0 | 127 |
| number | freq |
|---|---|
| 0 | 127 |
| 1 | 129 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 36.0ms | 512× | 0 | valid |
Compiled 79 to 25 computations (68.4% saved)
ival-log: 7.0ms (31.7% of total)ival-sqrt: 5.0ms (22.6% of total)ival-mult: 4.0ms (18.1% of total)ival-sub: 3.0ms (13.6% of total)ival-add: 3.0ms (13.6% 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 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 27 | 19 |
| 2 | 59 | 19 |
| 3 | 130 | 19 |
| 4 | 295 | 19 |
| 5 | 579 | 19 |
| 6 | 1088 | 19 |
| 7 | 1677 | 19 |
| 8 | 3021 | 19 |
| 9 | 4118 | 19 |
| 10 | 5059 | 19 |
| 11 | 5487 | 19 |
| 12 | 5727 | 19 |
| 13 | 5799 | 19 |
| 14 | 5883 | 19 |
| 15 | 6475 | 19 |
| 16 | 7565 | 19 |
| 17 | 7621 | 19 |
| 18 | 7719 | 19 |
| 19 | 7753 | 19 |
| 20 | 7769 | 19 |
| 0 | 7 | 9 |
| 0 | 12 | 9 |
| 1 | 21 | 9 |
| 2 | 25 | 9 |
| 3 | 40 | 9 |
| 4 | 71 | 9 |
| 5 | 132 | 9 |
| 6 | 292 | 9 |
| 7 | 572 | 9 |
| 8 | 2045 | 9 |
| 9 | 3155 | 9 |
| 10 | 4433 | 9 |
| 11 | 5106 | 9 |
| 12 | 5408 | 9 |
| 13 | 5593 | 9 |
| 14 | 5695 | 9 |
| 15 | 6014 | 9 |
| 16 | 6560 | 9 |
| 17 | 7671 | 9 |
| 0 | 8091 | 8 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) x)) |
Compiled 9 to 7 computations (22.2% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 51.2% | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) | |
| cost-diff | 0 | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) | |
| cost-diff | 0 | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) | |
| cost-diff | 128 | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 33 |
| 0 | 12 | 33 |
| 1 | 21 | 33 |
| 2 | 25 | 33 |
| 3 | 40 | 33 |
| 4 | 71 | 33 |
| 5 | 132 | 33 |
| 6 | 292 | 33 |
| 7 | 572 | 33 |
| 8 | 2045 | 33 |
| 9 | 3155 | 33 |
| 10 | 4433 | 33 |
| 11 | 5106 | 33 |
| 12 | 5408 | 33 |
| 13 | 5593 | 33 |
| 14 | 5695 | 33 |
| 15 | 6014 | 33 |
| 16 | 6560 | 33 |
| 17 | 7671 | 33 |
| 0 | 8091 | 29 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
x |
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) |
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) x)) |
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
(+.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) x) |
x |
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) |
(sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) |
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) | |
| accuracy | 0.00390625 | (-.f64 (*.f64 x x) #s(literal 1 binary64)) | |
| accuracy | 0.00390625 | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) | |
| accuracy | 30.019098108158047 | (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 17.0ms | 256× | 0 | valid |
Compiled 35 to 9 computations (74.3% saved)
ival-log: 3.0ms (29.5% of total)ival-mult: 2.0ms (19.7% of total)ival-sqrt: 2.0ms (19.7% of total)ival-sub: 1.0ms (9.8% of total)ival-add: 1.0ms (9.8% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (-.f64 (*.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (*.f64 x x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ()) |
#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ()) |
#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<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 (- (pow x 2) 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 (- (pow x 2) 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 (- (pow x 2) 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 (log (sqrt -1)) (taylor 0 x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log (sqrt -1)) (/ x (sqrt -1))) (taylor 0 x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) (taylor 0 x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) (taylor 0 x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt -1) (taylor 0 x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (sqrt -1)) (taylor 0 x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) (taylor 0 x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) (taylor 0 x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt -1) (taylor 0 x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))) (taylor 0 x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))) (taylor 0 x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))) (taylor 0 x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<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 (+ (log 2) (* -1 (log (/ 1 x)))) (taylor inf x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) (taylor inf x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 2 (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) (taylor inf x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) (taylor inf x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<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 (+ (log -1/2) (log (/ -1 x))) (taylor -inf x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) (taylor -inf x) (#s(alt (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) (patch (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) #<representation binary64>) () ())) ()) |
#s(alt (/ 1/2 x) (taylor -inf x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) (taylor -inf x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) (taylor -inf x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) (taylor -inf x) (#s(alt (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) (patch (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))) (taylor -inf x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) (patch (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | ((- (* x x) 1) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1))) |
| 1.0ms | x | @ | -inf | ((- (* x x) 1) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1))) |
| 1.0ms | x | @ | inf | ((- (* x x) 1) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 150 | 559 |
| 1 | 411 | 533 |
| 2 | 1146 | 526 |
| 3 | 3331 | 488 |
| 4 | 7979 | 488 |
| 0 | 8531 | 459 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
-1 |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(log (sqrt -1)) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(sqrt -1) |
(+ x (sqrt -1)) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(sqrt -1) |
(+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))) |
(+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))) |
(+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))) |
(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)))) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(* 2 x) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
x |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 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)))) |
(+ (log -1/2) (log (/ -1 x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(/ 1/2 x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(* -1 x) |
(* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(log (sqrt -1)) |
(log.f64 (sqrt.f64 #s(literal -1 binary64))) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/6 binary64) #s(literal 1 binary64)) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 3/40 binary64) x) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/6 binary64) (sqrt.f64 #s(literal -1 binary64)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))) |
(sqrt -1) |
(sqrt.f64 #s(literal -1 binary64)) |
(+ x (sqrt -1)) |
(+.f64 (sqrt.f64 #s(literal -1 binary64)) x) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(fma.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(fma.f64 (fma.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(sqrt -1) |
(sqrt.f64 #s(literal -1 binary64)) |
(+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x) x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))) |
(fma.f64 (*.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) x) (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))) |
(fma.f64 (fma.f64 #s(literal 1/16 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (*.f64 (/.f64 #s(literal 1 binary64) (sqrt.f64 #s(literal -1 binary64))) (fma.f64 #s(literal 1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)))) (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))) |
(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)) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 (/.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) x) x)) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) (pow.f64 x #s(literal 4 binary64))) (log.f64 x))) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 2 binary64) x (/.f64 #s(literal -1/2 binary64) x)) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(fma.f64 #s(literal 2 binary64) x (/.f64 (-.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (-.f64 #s(literal 2 binary64) (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64)))) x (/.f64 #s(literal -1/2 binary64) x)) |
x |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(-.f64 x (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)) |
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (/.f64 (-.f64 #s(literal -1/8 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (pow.f64 x #s(literal 4 binary64))) x (-.f64 x (/.f64 #s(literal 1/2 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)) |
(+ (log -1/2) (log (/ -1 x))) |
(+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+.f64 (+.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(+.f64 (+.f64 (+.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1/2 binary64))) |
(/ 1/2 x) |
(/.f64 #s(literal 1/2 binary64) x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 (-.f64 #s(literal -1/8 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (pow.f64 x #s(literal 3 binary64)))) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(-.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (/.f64 #s(literal -1/2 binary64) x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))) |
(-.f64 (/.f64 #s(literal 1/2 binary64) x) x) |
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))) |
(-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x) x) |
(* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))) |
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) x (-.f64 (/.f64 #s(literal 1/2 binary64) x) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 28 |
| 0 | 12 | 28 |
| 1 | 49 | 28 |
| 2 | 322 | 28 |
| 3 | 3626 | 28 |
| 0 | 8646 | 24 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
(sqrt.f64 (-.f64 (*.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> |
Compiled 8 015 to 1 572 computations (80.4% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 365 | 2 | 367 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 366 | 2 | 368 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) |
| ▶ | 99.7% | (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
Compiled 14 to 12 computations (14.3% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) | |
| cost-diff | 0 | #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) | |
| cost-diff | 0 | (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) | |
| cost-diff | 0 | (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) | |
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) | |
| cost-diff | 0 | (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 81 |
| 0 | 22 | 81 |
| 1 | 35 | 81 |
| 2 | 47 | 81 |
| 3 | 71 | 81 |
| 4 | 110 | 81 |
| 5 | 234 | 81 |
| 6 | 497 | 81 |
| 7 | 1041 | 81 |
| 8 | 2658 | 81 |
| 9 | 4386 | 81 |
| 10 | 5446 | 81 |
| 11 | 5885 | 81 |
| 12 | 5993 | 81 |
| 13 | 6072 | 81 |
| 14 | 6148 | 81 |
| 15 | 6870 | 81 |
| 16 | 7526 | 81 |
| 17 | 7958 | 81 |
| 0 | 8006 | 76 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) |
(+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) |
x |
#s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(/.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
| Outputs |
|---|
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) |
(log.f64 (+.f64 #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) x)) |
(+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) |
(+.f64 #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) x) |
x |
#s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(/.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) | |
| accuracy | 0 | (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) | |
| accuracy | 0.00390625 | (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) | |
| accuracy | 0.00390625 | #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) | |
| accuracy | 0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 0 | (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) | |
| accuracy | 0.27739526470269166 | #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) |
| 74.0ms | 256× | 0 | valid |
Compiled 57 to 14 computations (75.4% saved)
ival-mult: 4.0ms (26.6% of total)ival-log: 3.0ms (20% of total)ival-div: 2.0ms (13.3% of total)ival-sub: 2.0ms (13.3% of total)ival-sqrt: 2.0ms (13.3% of total)ival-add: 1.0ms (6.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ()) |
#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ()) |
#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ()) |
#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ()) |
#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (log (sqrt -1)) (taylor 0 x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log (sqrt -1)) (/ x (sqrt -1))) (taylor 0 x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) (taylor 0 x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) (taylor 0 x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt -1) (taylor 0 x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (sqrt -1)) (taylor 0 x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) (taylor 0 x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) (taylor 0 x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (log (sqrt -1)) (taylor 0 x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log (sqrt -1)) (/ x (sqrt -1))) (taylor 0 x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) (taylor 0 x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) (taylor 0 x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt -1) (taylor 0 x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (sqrt -1)) (taylor 0 x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) (taylor 0 x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) (taylor 0 x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt -1) (taylor 0 x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))) (taylor 0 x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))) (taylor 0 x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))) (taylor 0 x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (/ -1/2 x) (taylor 0 x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (pow x 2) 1/2) x) (taylor 0 x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (pow x 2) 1/2) x) (taylor 0 x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (pow x 2) 1/2) x) (taylor 0 x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (log 2) (* -1 (log (/ 1 x)))) (taylor inf x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) (taylor inf x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 2 (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) (taylor inf x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ (log 2) (* -1 (log (/ 1 x)))) (taylor inf x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) (taylor inf x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 2 (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) (taylor inf x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) (taylor inf x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- 1 (* 1/2 (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (log (/ -1 x))) (taylor -inf x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) (taylor -inf x) (#s(alt (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) (patch (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (/ 1/2 x) (taylor -inf x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) (taylor -inf x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) (taylor -inf x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) (taylor -inf x) (#s(alt #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) (patch #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 2 binary64) x) (patch (*.f64 #s(literal 2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (log (/ -1 x))) (taylor -inf x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) (taylor -inf x) (#s(alt (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) (patch (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) #<representation binary64>) () ())) ()) |
#s(alt (/ 1/2 x) (taylor -inf x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) (taylor -inf x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) (taylor -inf x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) (taylor -inf x) (#s(alt (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) (patch (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))) (taylor -inf x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))) (taylor -inf x) (#s(alt #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) (patch #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 1))) (taylor -inf x) (#s(alt (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) (patch (-.f64 x (/.f64 #s(literal 1/2 binary64) x)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (* 2 x) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)) (- x (/ 1/2 x))) |
| 1.0ms | x | @ | inf | ((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (* 2 x) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)) (- x (/ 1/2 x))) |
| 1.0ms | x | @ | 0 | ((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (* 2 x) (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (sqrt (- (* x x) 1)) (- x (/ 1/2 x))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 153 | 948 |
| 1 | 418 | 904 |
| 2 | 1161 | 867 |
| 3 | 3391 | 822 |
| 0 | 8342 | 792 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log (sqrt -1)) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(sqrt -1) |
(+ x (sqrt -1)) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(log (sqrt -1)) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(sqrt -1) |
(+ x (sqrt -1)) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(sqrt -1) |
(+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))) |
(+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))) |
(+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))) |
(/ -1/2 x) |
(/ (- (pow x 2) 1/2) x) |
(/ (- (pow x 2) 1/2) x) |
(/ (- (pow x 2) 1/2) x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(* 2 x) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(* 2 x) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
x |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
x |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(+ (log -1/2) (log (/ -1 x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(/ 1/2 x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(+ (log -1/2) (log (/ -1 x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(/ 1/2 x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(* -1 x) |
(* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))) |
x |
(* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 1))) |
(* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 1))) |
(* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 1))) |
| Outputs |
|---|
(log (sqrt -1)) |
(log.f64 (sqrt.f64 #s(literal -1 binary64))) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/6 binary64) #s(literal 1 binary64)) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 3/40 binary64) x) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/6 binary64) (sqrt.f64 #s(literal -1 binary64)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))) |
(sqrt -1) |
(sqrt.f64 #s(literal -1 binary64)) |
(+ x (sqrt -1)) |
(+.f64 x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(fma.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(fma.f64 (fma.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(log (sqrt -1)) |
(log.f64 (sqrt.f64 #s(literal -1 binary64))) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(fma.f64 (fma.f64 (*.f64 x x) #s(literal 1/6 binary64) #s(literal 1 binary64)) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 3/40 binary64) x) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/6 binary64) (sqrt.f64 #s(literal -1 binary64)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))) |
(sqrt -1) |
(sqrt.f64 #s(literal -1 binary64)) |
(+ x (sqrt -1)) |
(+.f64 x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(fma.f64 (fma.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(fma.f64 (fma.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(sqrt -1) |
(sqrt.f64 #s(literal -1 binary64)) |
(+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x) x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))) |
(fma.f64 (*.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) x) (fma.f64 (*.f64 x x) #s(literal 1/8 binary64) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64)))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) x) x (sqrt.f64 #s(literal -1 binary64)))) |
(/ -1/2 x) |
(/.f64 #s(literal -1/2 binary64) x) |
(/ (- (pow x 2) 1/2) x) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(/ (- (pow x 2) 1/2) x) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(/ (- (pow x 2) 1/2) x) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 (/.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) x) x)) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) (pow.f64 x #s(literal 4 binary64))) (log.f64 x))) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 2 binary64) x (/.f64 #s(literal -1/2 binary64) x)) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(fma.f64 #s(literal 2 binary64) x (/.f64 (-.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (-.f64 #s(literal 2 binary64) (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64)))) x (/.f64 #s(literal -1/2 binary64) x)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 (/.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (*.f64 x x)) #s(literal 1/4 binary64)) x) x)) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (-.f64 (log.f64 #s(literal 2 binary64)) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal 3/32 binary64)) (pow.f64 x #s(literal 4 binary64))) (log.f64 x))) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 #s(literal 2 binary64) x (/.f64 #s(literal -1/2 binary64) x)) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(fma.f64 #s(literal 2 binary64) x (/.f64 (-.f64 #s(literal -1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (-.f64 #s(literal 2 binary64) (/.f64 (+.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64)))) x (/.f64 #s(literal -1/2 binary64) x)) |
x |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(-.f64 x (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x)) |
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(-.f64 (/.f64 (-.f64 #s(literal -1/8 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (pow.f64 x #s(literal 3 binary64))) (-.f64 (/.f64 #s(literal 1/2 binary64) x) x)) |
x |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(+ (log -1/2) (log (/ -1 x))) |
(+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+.f64 (+.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(+.f64 (+.f64 (+.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1/2 binary64))) |
(/ 1/2 x) |
(/.f64 #s(literal 1/2 binary64) x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 (-.f64 #s(literal -1/8 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (pow.f64 x #s(literal 3 binary64)))) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(-.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (/.f64 #s(literal -1/2 binary64) x)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(+ (log -1/2) (log (/ -1 x))) |
(+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+.f64 (+.f64 (+.f64 (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(+.f64 (+.f64 (+.f64 (+.f64 (/.f64 #s(literal 5/96 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (log.f64 (/.f64 #s(literal -1 binary64) x))) (log.f64 #s(literal -1/2 binary64))) |
(/ 1/2 x) |
(/.f64 #s(literal 1/2 binary64) x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 (-.f64 #s(literal -1/8 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (pow.f64 x #s(literal 3 binary64)))) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(-.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (/.f64 #s(literal -1/2 binary64) x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))) |
(-.f64 (/.f64 #s(literal 1/2 binary64) x) x) |
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))) |
(-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x) x) |
(* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 (-.f64 #s(literal -1/8 binary64) (/.f64 #s(literal 1/16 binary64) (*.f64 x x))) (pow.f64 x #s(literal 3 binary64)))) x) |
x |
(* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 1))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 1))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
(* -1 (* x (- (* 1/2 (/ 1 (pow x 2))) 1))) |
(-.f64 x (/.f64 #s(literal 1/2 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 74 |
| 0 | 22 | 74 |
| 1 | 89 | 74 |
| 2 | 647 | 74 |
| 0 | 8421 | 69 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) |
(+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x)))) |
#s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) |
(-.f64 x (/.f64 #s(literal 1/2 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> |
Compiled 6 585 to 986 computations (85% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 266 | 0 | 266 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 266 | 2 | 268 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) |
| ✓ | 99.7% | (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
Compiled 37 to 29 computations (21.6% saved)
| Inputs |
|---|
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) |
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| Outputs |
|---|
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) |
3 calls:
| 2.0ms | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 2.0ms | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 100.0% | 1 | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
Compiled 18 to 14 computations (22.2% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
| Outputs |
|---|
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
3 calls:
| 1.0ms | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 1.0ms | x |
| 1.0ms | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | x |
| 99.7% | 1 | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 99.7% | 1 | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
Compiled 18 to 14 computations (22.2% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 28 |
| 1 | 23 | 28 |
| 2 | 31 | 28 |
| 3 | 37 | 28 |
| 4 | 42 | 28 |
| 5 | 44 | 28 |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) |
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
| Outputs |
|---|
(log.f64 (+.f64 x #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))))) |
(log.f64 (+.f64 #s(approx (sqrt (- (* x x) 1)) (-.f64 x (/.f64 #s(literal 1/2 binary64) x))) x)) |
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 150 | 559 |
| 1 | 411 | 533 |
| 2 | 1146 | 526 |
| 3 | 3331 | 488 |
| 4 | 7979 | 488 |
| 0 | 8531 | 459 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
Compiled 18 to 16 computations (11.1% saved)
Compiled 46 to 36 computations (21.7% saved)
Loading profile data...