
Time bar (total: 5.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 4 to 4 computations (0% saved)
| 724.0ms | 8 256× | 0 | valid |
ival-asinh: 287.0ms (96.2% of total)ival-true: 5.0ms (1.7% of total)ival-assert: 3.0ms (1% of total)adjust: 2.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 124 | 0 | - | 0 | - | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 74 | 0 | - | 0 | - | (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (fabs.f64 x) |
| 0 | 0 | - | 0 | - | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
log.f64 | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) | sensitivity | 124 | 0 |
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) | oflow-rescue | 74 | 0 |
| ↳ | (*.f64 x x) | overflow | 74 | |
| ↳ | (+.f64 (*.f64 x x) #s(literal 1 binary64)) | overflow | 74 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 198 | 0 |
| - | 0 | 58 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 198 | 0 | 0 |
| - | 0 | 0 | 58 |
| number | freq |
|---|---|
| 0 | 58 |
| 1 | 198 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 207.0ms | 122× | 2 | valid |
| 73.0ms | 126× | 1 | valid |
| 25.0ms | 264× | 0 | valid |
Compiled 114 to 31 computations (72.8% saved)
ival-hypot: 140.0ms (49.4% of total)ival-log: 66.0ms (23.3% of total)ival-fabs: 43.0ms (15.2% of total)adjust: 11.0ms (3.9% of total)ival-add: 10.0ms (3.5% of total)ival-copysign: 7.0ms (2.5% of total)ival-mult: 4.0ms (1.4% of total)ival-true: 1.0ms (0.4% of total)ival-assert: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 0 | 9 | 12 |
| 0 | 16 | 12 |
| 1 | 24 | 12 |
| 2 | 45 | 12 |
| 3 | 85 | 12 |
| 4 | 144 | 12 |
| 5 | 351 | 12 |
| 6 | 2401 | 12 |
| 7 | 5916 | 12 |
| 0 | 8173 | 9 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| Outputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(copysign.f64 (log.f64 (+.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x))) x) |
Compiled 12 to 9 computations (25% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 26.9% | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
Compiled 12 to 9 computations (25% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) | |
| cost-diff | 1 | (+.f64 (*.f64 x x) #s(literal 1 binary64)) | |
| cost-diff | 2 | (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 49 |
| 0 | 16 | 49 |
| 1 | 24 | 49 |
| 2 | 45 | 49 |
| 3 | 85 | 49 |
| 4 | 144 | 49 |
| 5 | 351 | 49 |
| 6 | 2401 | 49 |
| 7 | 5916 | 49 |
| 0 | 8173 | 36 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) |
(fabs.f64 x) |
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 |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(copysign.f64 (log.f64 (+.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(log.f64 (+.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x))) |
(+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64)))) |
(+.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x)) |
(fabs.f64 x) |
x |
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(hypot.f64 #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 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 17.194049659108188 | (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) | |
| accuracy | 28.845661152317806 | (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 51.0ms | 61× | 2 | valid |
| 20.0ms | 63× | 1 | valid |
| 15.0ms | 132× | 0 | valid |
Compiled 51 to 11 computations (78.4% saved)
ival-hypot: 30.0ms (41.3% of total)ival-log: 21.0ms (28.9% of total)adjust: 11.0ms (15.1% of total)ival-copysign: 4.0ms (5.5% of total)ival-add: 4.0ms (5.5% of total)ival-fabs: 2.0ms (2.8% of total)ival-mult: 2.0ms (2.8% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(fabs.f64 x) |
(*.f64 x x) |
| Outputs |
|---|
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(+ 1 (pow x 2)) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fabs x) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | ((sqrt (+ (* x x) 1)) (+ (* x x) 1) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (fabs x) (* x x)) |
| 1.0ms | x | @ | -inf | ((sqrt (+ (* x x) 1)) (+ (* x x) 1) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (fabs x) (* x x)) |
| 1.0ms | x | @ | inf | ((sqrt (+ (* x x) 1)) (+ (* x x) 1) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (fabs x) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 133 | 447 |
| 1 | 432 | 413 |
| 2 | 1835 | 406 |
| 0 | 8586 | 372 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(+ 1 (pow x 2)) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fabs x) |
(pow x 2) |
x |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(* -1 x) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 (pow x 2))) |
(fma.f64 (*.f64 x x) #s(literal 1/2 binary64) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(fma.f64 (fma.f64 (-.f64 (*.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (pow x 2)) |
(fma.f64 x x #s(literal 1 binary64)) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x))) x) |
(log (+ 1 (fabs x))) |
(log1p.f64 (fabs.f64 x)) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) x) x (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 45 binary64)) (pow.f64 (-.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal -45 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(fabs x) |
(fabs.f64 x) |
(pow x 2) |
(*.f64 x x) |
x |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* (pow x 2) (+ 1 (/ 1 (pow x 2)))) |
(fma.f64 x x #s(literal 1 binary64)) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+.f64 (/.f64 (fabs.f64 x) x) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+.f64 (+.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) (/.f64 (fabs.f64 x) x)) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(-.f64 (+.f64 (log.f64 x) (/.f64 (fma.f64 #s(literal 1/6 binary64) (fma.f64 (fabs.f64 x) #s(literal 2 binary64) (/.f64 (*.f64 #s(literal -3 binary64) (/.f64 (fabs.f64 x) x)) x)) (fabs.f64 x)) x)) (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal 1/2 binary64))) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(neg.f64 (fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x)) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
(neg.f64 (fma.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x)) |
(* -1 (log (/ -1 x))) |
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(fma.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (/.f64 (fabs.f64 x) x)) #s(literal -1 binary64) (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal 1/2 binary64))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) x) #s(literal -1/6 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 38 |
| 0 | 16 | 29 |
| 1 | 56 | 21 |
| 0 | 401 | 20 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(fabs.f64 x) |
(*.f64 x x) |
| Outputs |
|---|
(*.f64 (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/4 binary64))) |
(pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (sqrt.f64 (fma.f64 x x #s(literal -1 binary64)))) |
(/.f64 (hypot.f64 #s(literal -1 binary64) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(/.f64 (+.f64 (exp.f64 (asinh.f64 x)) (exp.f64 (neg.f64 (asinh.f64 x)))) #s(literal 2 binary64)) |
(cosh.f64 (neg.f64 (asinh.f64 x))) |
(cosh.f64 (asinh.f64 (neg.f64 x))) |
(cosh.f64 (asinh.f64 x)) |
(cosh.f64 (asinh.f64 (fabs.f64 x))) |
(sqrt.f64 (fma.f64 x x #s(literal 1 binary64))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64))) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(hypot.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64))) |
(hypot.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(hypot.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(hypot.f64 (*.f64 x #s(literal 1 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64))) |
(hypot.f64 (*.f64 x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(hypot.f64 (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(hypot.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (*.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (neg.f64 x)) |
(hypot.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (fabs.f64 x)) |
(hypot.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) x) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) #s(literal -1 binary64)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) #s(literal 1 binary64)) |
(hypot.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 #s(literal -1 binary64) (*.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(hypot.f64 #s(literal -1 binary64) (*.f64 x #s(literal 1 binary64))) |
(hypot.f64 #s(literal -1 binary64) (neg.f64 (fabs.f64 x))) |
(hypot.f64 #s(literal -1 binary64) (neg.f64 (neg.f64 x))) |
(hypot.f64 #s(literal -1 binary64) (neg.f64 x)) |
(hypot.f64 #s(literal -1 binary64) (fabs.f64 x)) |
(hypot.f64 #s(literal -1 binary64) x) |
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 x)) #s(literal -1 binary64)) |
(hypot.f64 (neg.f64 (neg.f64 x)) #s(literal 1 binary64)) |
(hypot.f64 (neg.f64 x) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64))) |
(hypot.f64 (neg.f64 x) #s(literal -1 binary64)) |
(hypot.f64 (neg.f64 x) #s(literal 1 binary64)) |
(hypot.f64 (fabs.f64 x) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64))) |
(hypot.f64 (fabs.f64 x) #s(literal -1 binary64)) |
(hypot.f64 (fabs.f64 x) #s(literal 1 binary64)) |
(hypot.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(hypot.f64 #s(literal 1 binary64) (*.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(hypot.f64 #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(hypot.f64 #s(literal 1 binary64) (neg.f64 (fabs.f64 x))) |
(hypot.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x))) |
(hypot.f64 #s(literal 1 binary64) (neg.f64 x)) |
(hypot.f64 #s(literal 1 binary64) (fabs.f64 x)) |
(hypot.f64 #s(literal 1 binary64) x) |
(hypot.f64 x (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64))) |
(hypot.f64 x #s(literal -1 binary64)) |
(hypot.f64 x #s(literal 1 binary64)) |
(exp.f64 (*.f64 (log1p.f64 (*.f64 x x)) #s(literal 1/2 binary64))) |
(*.f64 (neg.f64 (hypot.f64 #s(literal -1 binary64) x)) (neg.f64 (hypot.f64 #s(literal -1 binary64) x))) |
(*.f64 (fabs.f64 (hypot.f64 #s(literal -1 binary64) x)) (fabs.f64 (hypot.f64 #s(literal -1 binary64) x))) |
(*.f64 (hypot.f64 #s(literal -1 binary64) x) (hypot.f64 #s(literal -1 binary64) x)) |
(pow.f64 (*.f64 (fma.f64 x x #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64))) #s(literal 1/2 binary64)) |
(pow.f64 (hypot.f64 #s(literal -1 binary64) x) #s(literal 2 binary64)) |
(pow.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 x x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 x x #s(literal -1 binary64))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 3/2 binary64)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal 1 binary64)) |
(fma.f64 #s(literal -1 binary64) #s(literal -1 binary64) (*.f64 x x)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) #s(literal 1/2 binary64) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) #s(literal 1 binary64) (*.f64 x x)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 x (*.f64 x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal 1 binary64)) |
(sqrt.f64 (*.f64 (fma.f64 x x #s(literal 1 binary64)) (fma.f64 x x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64)))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x (neg.f64 x))) |
(-.f64 (*.f64 x x) #s(literal -1 binary64)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(+.f64 #s(literal 1 binary64) (*.f64 x x)) |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)))) (log.f64 (-.f64 (fabs.f64 x) (hypot.f64 #s(literal -1 binary64) x)))) |
(-.f64 (log.f64 (+.f64 (pow.f64 (hypot.f64 #s(literal -1 binary64) x) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (hypot.f64 #s(literal -1 binary64) x) (-.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x)) (*.f64 x x)))) |
(log.f64 (+.f64 (fabs.f64 x) (hypot.f64 #s(literal -1 binary64) x))) |
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) |
(*.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow.f64 x #s(literal 1 binary64)) |
(sqrt.f64 (*.f64 x x)) |
(fabs.f64 (neg.f64 (neg.f64 x))) |
(fabs.f64 (neg.f64 x)) |
(fabs.f64 (fabs.f64 x)) |
(fabs.f64 x) |
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x (*.f64 x #s(literal 1 binary64))) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(sqrt.f64 (pow.f64 x #s(literal 4 binary64))) |
(fabs.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
Compiled 2 572 to 855 computations (66.8% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 159 | 4 | 163 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 160 | 4 | 164 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 25.3% | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) x) |
| ▶ | 30.6% | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) x) |
| ▶ | 99.8% | (copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
| ▶ | 8.6% | (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
Compiled 56 to 40 computations (28.6% saved)
| 1× | egg-herbie |
Found 14 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))) | |
| cost-diff | 0 | (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) x) | |
| cost-diff | 3 | (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) | |
| cost-diff | 0 | (fabs.f64 x) | |
| cost-diff | 0 | (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))) | |
| cost-diff | 0 | (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) x) | |
| cost-diff | 0 | (fabs.f64 x) | |
| cost-diff | 0 | (asinh.f64 (fabs.f64 x)) | |
| cost-diff | 0 | (copysign.f64 (asinh.f64 (fabs.f64 x)) x) | |
| cost-diff | 0 | (log.f64 x) | |
| cost-diff | 0 | #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) | |
| cost-diff | 0 | (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 189 |
| 0 | 43 | 189 |
| 1 | 60 | 189 |
| 2 | 112 | 174 |
| 3 | 256 | 174 |
| 4 | 875 | 174 |
| 5 | 4933 | 174 |
| 0 | 8815 | 144 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
x |
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(fabs.f64 x) |
x |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))) |
(fabs.f64 x) |
x |
#s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) |
(neg.f64 x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))) |
(fabs.f64 x) |
x |
#s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(/.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
#s(literal 1/2 binary64) |
(*.f64 x x) |
| Outputs |
|---|
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
x |
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(fabs.f64 x) |
x |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) x) |
(copysign.f64 (log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) |
(log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))) |
(+.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x)) |
(fabs.f64 x) |
x |
#s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) |
(neg.f64 x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) x) |
(copysign.f64 (log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))) (fabs.f64 x))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) |
(log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))) (fabs.f64 x))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))) |
(+.f64 #s(approx (sqrt (+ (* x x) 1)) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))) (fabs.f64 x)) |
(fabs.f64 x) |
x |
#s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) |
#s(approx (sqrt (+ (* x x) 1)) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(-.f64 x (/.f64 #s(literal -1/2 binary64) x)) |
(/.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
#s(literal 1/2 binary64) |
(*.f64 x x) |
Found 14 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.18375934436379113 | (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) | |
| accuracy | 6.308581012680917 | (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) | |
| accuracy | 14.481152307837027 | (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) | |
| accuracy | 14.70836579695391 | #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) | |
| accuracy | 0.0 | (neg.f64 x) | |
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 14.481152307837027 | (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) | |
| accuracy | 30.053164296643505 | #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) | |
| accuracy | 0.0 | (copysign.f64 (asinh.f64 (fabs.f64 x)) x) | |
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 0.05078125 | (asinh.f64 (fabs.f64 x)) | |
| accuracy | 0.0 | (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) | |
| accuracy | 0.0 | (log.f64 x) | |
| accuracy | 25.402643417575142 | #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
| 35.0ms | 37× | 1 | valid |
| 28.0ms | 134× | 0 | invalid |
| 16.0ms | 25× | 2 | valid |
| 9.0ms | 60× | 0 | valid |
Compiled 138 to 18 computations (87% saved)
ival-log: 14.0ms (27.9% of total)ival-neg: 8.0ms (15.9% of total)ival-hypot: 7.0ms (13.9% of total)ival-copysign: 5.0ms (10% of total)ival-mult: 4.0ms (8% of total)adjust: 3.0ms (6% of total)ival-add: 3.0ms (6% of total)ival-div: 2.0ms (4% of total)ival-asinh: 2.0ms (4% of total)ival-fabs: 2.0ms (4% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(fabs.f64 x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))) |
#s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) |
(/.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
| Outputs |
|---|
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(log x) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) x) |
(log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) |
(fabs x) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(/ 1/2 x) |
(/ (+ 1/2 (pow x 2)) x) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(* -1 x) |
(/ 1/2 (pow x 2)) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 194.0ms | x | @ | -inf | ((copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log x) (copysign (asinh (fabs x)) x) (asinh (fabs x)) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (* (/ 1/2 (* x x)) x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (sqrt (+ (* x x) 1)) (neg x) (sqrt (+ (* x x) 1)) (/ 1/2 (* x x))) |
| 68.0ms | x | @ | 0 | ((copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log x) (copysign (asinh (fabs x)) x) (asinh (fabs x)) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (* (/ 1/2 (* x x)) x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (sqrt (+ (* x x) 1)) (neg x) (sqrt (+ (* x x) 1)) (/ 1/2 (* x x))) |
| 26.0ms | x | @ | inf | ((copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log x) (copysign (asinh (fabs x)) x) (asinh (fabs x)) (fabs x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (+ (* (/ 1/2 (* x x)) x) x) (copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (sqrt (+ (* x x) 1)) (neg x) (sqrt (+ (* x x) 1)) (/ 1/2 (* x x))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 178 | 619 |
| 1 | 576 | 591 |
| 2 | 2397 | 558 |
| 0 | 8245 | 512 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(log x) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) x) |
(log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) |
(fabs x) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(/ 1/2 x) |
(/ (+ 1/2 (pow x 2)) x) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(* -1 x) |
(/ 1/2 (pow x 2)) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
| Outputs |
|---|
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x))) x) |
(log (+ 1 (fabs x))) |
(log1p.f64 (fabs.f64 x)) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) x) x (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 45 binary64)) (pow.f64 (-.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 45 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(log x) |
(log.f64 x) |
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x))) x) |
(log (+ (fabs x) (sqrt (+ 1 (pow (fabs x) 2))))) |
(log.f64 (+.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x))) |
(fabs x) |
(fabs.f64 x) |
(+ 1 (fabs x)) |
(-.f64 (fabs.f64 x) #s(literal -1 binary64)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64) (fma.f64 #s(literal 1/2 binary64) (*.f64 x x) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(/ 1/2 x) |
(/.f64 #s(literal 1/2 binary64) x) |
(/ (+ 1/2 (pow x 2)) x) |
(-.f64 x (/.f64 #s(literal -1/2 binary64) x)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 (pow x 2))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(* -1 x) |
(neg.f64 x) |
(/ 1/2 (pow x 2)) |
(/.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+.f64 (/.f64 (fabs.f64 x) x) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(+.f64 (fma.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/6 binary64) (log.f64 x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) x x) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(fma.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* -1 (log (/ -1 x))) |
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(-.f64 (/.f64 (-.f64 (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) x) #s(literal -1/6 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(*.f64 (+.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(*.f64 (+.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(*.f64 (+.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))))) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 177 |
| 0 | 43 | 139 |
| 1 | 131 | 139 |
| 0 | 849 | 139 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(fabs.f64 x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))) |
#s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) |
(/.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
| Outputs |
|---|
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
#s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) |
(log.f64 x) |
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(asinh.f64 (fabs.f64 x)) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)))) (log.f64 (-.f64 (fabs.f64 x) (hypot.f64 #s(literal -1 binary64) x)))) |
(-.f64 (log.f64 (+.f64 (pow.f64 (hypot.f64 #s(literal -1 binary64) x) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 (hypot.f64 #s(literal -1 binary64) x) (-.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x)) (*.f64 x x)))) |
(log.f64 (+.f64 (fabs.f64 x) (hypot.f64 #s(literal -1 binary64) x))) |
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) |
(*.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow.f64 x #s(literal 1 binary64)) |
(sqrt.f64 (*.f64 x x)) |
(fabs.f64 (neg.f64 (neg.f64 x))) |
(fabs.f64 (neg.f64 x)) |
(fabs.f64 (fabs.f64 x)) |
(fabs.f64 x) |
(copysign.f64 (log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x))) x) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 2 binary64)))) (log.f64 (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))))) |
(-.f64 (log.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x)) (*.f64 x x)))) |
(log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x))) |
(/.f64 (-.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x)) (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 2 binary64))) (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) |
(/.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (-.f64 (*.f64 x x) (*.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x)) (*.f64 x x))) |
(fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))) |
(fma.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x)) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))) |
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) (/.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 2 binary64)) (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))))) |
(+.f64 (/.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x)) (*.f64 x x))) (/.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) #s(literal 3 binary64)) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x)) (*.f64 x x)))) |
(+.f64 #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) (fabs.f64 x)) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x))) |
(*.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x) |
(*.f64 x (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal -1 binary64))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 2 binary64))) (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) x)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 2 binary64)))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 x)) (/.f64 x (neg.f64 x)) x) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (/.f64 x (fabs.f64 x)) x) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (/.f64 x x) x) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(fma.f64 #s(literal 1/2 binary64) (/.f64 x (*.f64 x x)) x) |
(fma.f64 x (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) |
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) x))) |
(-.f64 x (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x)) |
(-.f64 x (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) (*.f64 x x)))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x)) (pow.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x) x) |
(+.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x)) |
(copysign.f64 (log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x))) x) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 2 binary64)))) (log.f64 (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))))) |
(-.f64 (log.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x)) (*.f64 x x)))) |
(log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x))) |
(/.f64 (-.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 2 binary64)))) (neg.f64 (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x)) (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 2 binary64))) (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) |
(/.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x)) (*.f64 x x))) |
(fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))) |
(fma.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x)) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))) |
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) (/.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 2 binary64)) (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))))) |
(+.f64 (/.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x)) (*.f64 x x))) (/.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) #s(literal 3 binary64)) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x)) (*.f64 x x)))) |
(+.f64 #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) (fabs.f64 x)) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x))) |
#s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)) |
(neg.f64 x) |
#s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)) |
(/.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 x)) (neg.f64 x)) |
(/.f64 (/.f64 #s(literal 1/2 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(/.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) x)) (neg.f64 x)) |
(/.f64 (/.f64 #s(literal 1/2 binary64) x) x) |
(/.f64 #s(literal -1/2 binary64) (*.f64 (neg.f64 x) x)) |
(/.f64 #s(literal 1/2 binary64) (*.f64 x x)) |
(neg.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) |
(neg.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) x))) |
Compiled 3 866 to 693 computations (82.1% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 145 | 1 | 146 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 0 | 0 |
| Total | 146 | 4 | 150 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 30.6% | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) x) |
| ▶ | 25.5% | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) x) |
| ✓ | 99.8% | (copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
| ✓ | 8.6% | (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
Compiled 63 to 44 computations (30.2% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fabs.f64 x) | |
| cost-diff | 0 | (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))) | |
| cost-diff | 0 | (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) | |
| cost-diff | 0 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 128 |
| 0 | 24 | 128 |
| 1 | 40 | 128 |
| 2 | 92 | 108 |
| 3 | 235 | 108 |
| 4 | 854 | 108 |
| 5 | 4895 | 108 |
| 0 | 8784 | 96 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))) |
(fabs.f64 x) |
x |
#s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) |
#s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.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 |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) x) |
(copysign.f64 (log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) |
(log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))) |
(+.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x)) |
(fabs.f64 x) |
x |
#s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) |
#s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.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 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fabs.f64 x) | |
| accuracy | 0.0 | #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))) | |
| accuracy | 28.845661152317806 | (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) | |
| accuracy | 47.93844509656609 | #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) |
| 54.0ms | 132× | 0 | valid |
| 48.0ms | 63× | 1 | valid |
| 38.0ms | 61× | 2 | valid |
Compiled 60 to 17 computations (71.7% saved)
ival-div: 43.0ms (34.3% of total)adjust: 33.0ms (26.3% of total)ival-log: 21.0ms (16.7% of total)ival-hypot: 10.0ms (8% of total)ival-mult: 5.0ms (4% of total)ival-copysign: 4.0ms (3.2% of total)ival-add: 4.0ms (3.2% of total)ival-sub: 2.0ms (1.6% of total)ival-fabs: 2.0ms (1.6% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))) |
(fabs.f64 x) |
#s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) |
#s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))) |
| Outputs |
|---|
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fabs x) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(/ 1/2 x) |
(/ (+ 1/2 (pow x 2)) x) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(* -1 x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (fabs x) (sqrt (+ (* x x) 1)) (+ (* (/ 1/2 (* x x)) x) x)) |
| 0.0ms | x | @ | -inf | ((copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (fabs x) (sqrt (+ (* x x) 1)) (+ (* (/ 1/2 (* x x)) x) x)) |
| 0.0ms | x | @ | inf | ((copysign (log (+ (fabs x) (sqrt (+ (* x x) 1)))) x) (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (+ (fabs x) (sqrt (+ (* x x) 1))) (fabs x) (sqrt (+ (* x x) 1)) (+ (* (/ 1/2 (* x x)) x) x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 170 | 583 |
| 1 | 564 | 555 |
| 2 | 2374 | 522 |
| 0 | 8337 | 482 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(log (+ 1 (fabs x))) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(+ 1 (fabs x)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fabs x) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(/ 1/2 x) |
(/ (+ 1/2 (pow x 2)) x) |
(* -1 (log (/ 1 x))) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(* -1 (log (/ -1 x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(* -1 x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
| Outputs |
|---|
(copysign (log (+ (fabs x) (sqrt (+ 1 (pow x 2))))) x) |
(copysign.f64 (log.f64 (+.f64 (hypot.f64 #s(literal -1 binary64) x) (fabs.f64 x))) x) |
(log (+ 1 (fabs x))) |
(log1p.f64 (fabs.f64 x)) |
(+ (log (+ 1 (fabs x))) (* 1/2 (/ (pow x 2) (+ 1 (fabs x))))) |
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) x) x (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* -1/24 (* (pow x 2) (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2)))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (*.f64 #s(literal -1/24 binary64) (*.f64 x x)) (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ (log (+ 1 (fabs x))) (* (pow x 2) (+ (* (pow x 2) (+ (* -1/24 (+ (* 3 (/ 1 (+ 1 (fabs x)))) (* 3 (/ 1 (pow (+ 1 (fabs x)) 2))))) (* 1/720 (* (pow x 2) (+ (* 45 (/ 1 (+ 1 (fabs x)))) (+ (* 45 (/ 1 (pow (+ 1 (fabs x)) 2))) (* 30 (/ 1 (pow (+ 1 (fabs x)) 3))))))))) (* 1/2 (/ 1 (+ 1 (fabs x))))))) |
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/720 binary64) (*.f64 x x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 30 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 45 binary64)) (pow.f64 (-.f64 (fabs.f64 x) #s(literal -1 binary64)) #s(literal 2 binary64))) (/.f64 #s(literal 45 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 (/.f64 (+.f64 (/.f64 #s(literal 3 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal 3 binary64)) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) #s(literal -1/24 binary64))) (*.f64 x x) (/.f64 #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) (*.f64 x x) (log1p.f64 (fabs.f64 x))) |
(+ 1 (fabs x)) |
(-.f64 (fabs.f64 x) #s(literal -1 binary64)) |
(+ 1 (+ (fabs x) (* 1/2 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 1/2 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2)))))) |
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) x (fma.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal -1/8 binary64) (-.f64 (fabs.f64 x) #s(literal -1 binary64)))) |
(+ 1 (+ (fabs x) (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8)))))) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) x) x (-.f64 (fabs.f64 x) #s(literal -1 binary64))) |
(fabs x) |
(fabs.f64 x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 (pow x 2))) |
(fma.f64 (*.f64 x x) #s(literal 1/2 binary64) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* -1/8 (pow x 2))))) |
(fma.f64 (fma.f64 #s(literal -1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (- (* 1/16 (pow x 2)) 1/8))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/16 binary64) (*.f64 x x) #s(literal -1/8 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(/ 1/2 x) |
(/.f64 #s(literal 1/2 binary64) x) |
(/ (+ 1/2 (pow x 2)) x) |
(-.f64 x (/.f64 #s(literal -1/2 binary64) x)) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(+ (* -1 (log (/ 1 x))) (/ (fabs x) x)) |
(+.f64 (/.f64 (fabs.f64 x) x) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x))) |
(+.f64 (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64)) (log.f64 x)) |
(+ (* -1 (log (/ 1 x))) (+ (* 1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) (pow x 3))) (+ (* 1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) (pow x 2))) (/ (fabs x) x)))) |
(+.f64 (fma.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) (pow.f64 x #s(literal 3 binary64))) #s(literal 1/6 binary64) (log.f64 x)) (+.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) #s(literal -1/2 binary64))) |
x |
(* x (+ 1 (/ (fabs x) x))) |
(fma.f64 (/.f64 (fabs.f64 x) x) x x) |
(* x (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x)))) |
(fma.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) x x) |
(* x (- (+ 1 (+ (/ 1/2 (pow x 2)) (/ (fabs x) x))) (* 1/8 (/ 1 (pow x 4))))) |
(fma.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/2 binary64) x) (fabs.f64 x)) x) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* x (+ 1 (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x) |
(* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4)))) |
(fma.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x x) |
(* -1 (log (/ -1 x))) |
(neg.f64 (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (fabs x) x))) |
(-.f64 (/.f64 (fabs.f64 x) (neg.f64 x)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1/2 (/ (+ 1 (* -1 (pow (fabs x) 2))) x))) x))) |
(-.f64 (/.f64 (-.f64 (fma.f64 #s(literal -1/2 binary64) x (/.f64 #s(literal 1/2 binary64) x)) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (* -1 (log (/ -1 x))) (* -1 (/ (+ (fabs x) (* -1 (/ (+ (* -1/6 (/ (+ (* -3 (fabs x)) (* 2 (pow (fabs x) 3))) x)) (* 1/2 (+ 1 (* -1 (pow (fabs x) 2))))) x))) x))) |
(-.f64 (/.f64 (-.f64 (/.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal -1/2 binary64) (*.f64 (/.f64 (*.f64 (fabs.f64 x) (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -3 binary64))) x) #s(literal -1/6 binary64))) x) (fabs.f64 x)) x) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (+ 1 (* -1 (/ (fabs x) x))))) |
(*.f64 (+.f64 (/.f64 (fabs.f64 x) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (- (fabs x) (* 1/2 (/ 1 x))) x))))) |
(*.f64 (+.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) x)) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (* -1 (/ (+ (fabs x) (* -1 (/ (- 1/2 (* 1/8 (/ 1 (pow x 2)))) x))) x))))) |
(*.f64 (+.f64 (/.f64 (-.f64 (fabs.f64 x) (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1/8 binary64) (*.f64 x x))) x)) x) #s(literal -1 binary64)) x) |
(* -1 (* x (+ 1 (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) x) |
(* -1 (* x (- (+ 1 (* 1/2 (/ 1 (pow x 2)))) (/ 1/8 (pow x 4))))) |
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) x) |
(* -1 (* x (- (+ 1 (+ (* 1/2 (/ 1 (pow x 2))) (* 1/16 (/ 1 (pow x 6))))) (/ 1/8 (pow x 4))))) |
(*.f64 (+.f64 (+.f64 (/.f64 #s(literal -1/2 binary64) (*.f64 x x)) #s(literal -1 binary64)) (-.f64 (/.f64 #s(literal -1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))))) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 118 |
| 0 | 24 | 106 |
| 1 | 97 | 106 |
| 0 | 722 | 101 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) x) |
(log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))) |
(fabs.f64 x) |
#s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) |
#s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))) |
| Outputs |
|---|
(copysign.f64 (log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x))) x) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 2 binary64)))) (log.f64 (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))))) |
(-.f64 (log.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (log.f64 (fma.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (-.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x)) (*.f64 x x)))) |
(log.f64 (+.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x))) |
(/.f64 (-.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x))) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 2 binary64)))) (neg.f64 (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (-.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x)) (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 2 binary64))) (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 2 binary64)) (-.f64 (*.f64 x x) (*.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 3 binary64)) (pow.f64 (fabs.f64 x) #s(literal 3 binary64))) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (-.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x)) (*.f64 x x))) |
(fma.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x)) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))) |
(fma.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x)) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))) |
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) (/.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 2 binary64)) (-.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))))) |
(+.f64 (/.f64 (pow.f64 (fabs.f64 x) #s(literal 3 binary64)) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (-.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x)) (*.f64 x x))) (/.f64 (pow.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) #s(literal 3 binary64)) (fma.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (-.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x)) (*.f64 x x)))) |
(+.f64 #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) (fabs.f64 x)) |
(+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))))) |
(*.f64 (sqrt.f64 (neg.f64 x)) (sqrt.f64 (neg.f64 x))) |
(*.f64 (sqrt.f64 (fabs.f64 x)) (sqrt.f64 (fabs.f64 x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 x)) |
(pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow.f64 x #s(literal 1 binary64)) |
(sqrt.f64 (*.f64 x x)) |
(fabs.f64 (neg.f64 (neg.f64 x))) |
(fabs.f64 (neg.f64 x)) |
(fabs.f64 (fabs.f64 x)) |
(fabs.f64 x) |
#s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))) |
#s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x))) |
Compiled 2 327 to 360 computations (84.5% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 65 | 0 | 65 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 65 | 4 | 69 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 30.6% | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) x) |
| ✓ | 25.5% | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) x) |
| ✓ | 99.8% | (copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
| ✓ | 8.6% | (copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
Compiled 159 to 89 computations (44% saved)
| Inputs |
|---|
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (neg.f64 x)))) x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) #s(approx (+ (* (/ 1/2 (* x x)) x) x) (-.f64 x (/.f64 #s(literal -1/2 binary64) x)))))) x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
(copysign.f64 (log.f64 (+.f64 (fabs.f64 x) #s(approx (sqrt (+ (* x x) 1)) (fma.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) x x)))) x) |
| Outputs |
|---|
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
2 calls:
| 2.0ms | x |
| 2.0ms | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.8% | 1 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| 99.8% | 1 | x |
Compiled 13 to 10 computations (23.1% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
| Outputs |
|---|
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
2 calls:
| 1.0ms | x |
| 1.0ms | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 8.6% | 1 | (copysign.f64 (log.f64 (+.f64 (fabs.f64 x) (sqrt.f64 (+.f64 (*.f64 x x) #s(literal 1 binary64))))) x) |
| 8.6% | 1 | x |
Compiled 13 to 10 computations (23.1% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 20 |
| 1 | 24 | 20 |
| 2 | 51 | 20 |
| 3 | 86 | 20 |
| 4 | 155 | 20 |
| 5 | 401 | 20 |
| 6 | 3101 | 20 |
| 7 | 7413 | 20 |
| 1× | node limit |
| Inputs |
|---|
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
| Outputs |
|---|
(copysign.f64 (asinh.f64 (fabs.f64 x)) x) |
(copysign.f64 #s(approx (log (+ (fabs x) (sqrt (+ (* x x) 1)))) (log.f64 x)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 133 | 447 |
| 1 | 432 | 413 |
| 2 | 1835 | 406 |
| 0 | 8586 | 372 |
| 0 | 9 | 38 |
| 0 | 16 | 29 |
| 1 | 56 | 21 |
| 0 | 401 | 20 |
| 1× | done |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 20 to 14 computations (30% saved)
Compiled 104 to 66 computations (36.5% saved)
Loading profile data...