
Time bar (total: 2.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 25% | 75% | 0% | 0% | 0% | 0 |
| 100% | 25% | 0% | 75% | 0% | 0% | 0% | 1 |
Compiled 6 to 5 computations (16.7% saved)
| 448.0ms | 8 256× | 0 | valid |
ival-acosh: 121.0ms (74.1% of total)ival->=: 29.0ms (17.7% of total)exact: 7.0ms (4.3% of total)ival-assert: 4.0ms (2.4% of total)adjust: 2.0ms (1.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 134 | 0 | - | 0 | - | (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) | oflow-rescue | 134 | 0 |
| ↳ | (-.f64 (*.f64 x x) #s(literal 1 binary64)) | overflow | 134 | |
| ↳ | (*.f64 x x) | overflow | 134 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 134 | 0 |
| - | 0 | 122 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 134 | 0 | 0 |
| - | 0 | 0 | 122 |
| number | freq |
|---|---|
| 0 | 122 |
| 1 | 134 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 105.0ms | 512× | 0 | valid |
Compiled 79 to 25 computations (68.4% saved)
ival-log: 6.0ms (29.5% of total)ival-mult: 4.0ms (19.7% of total)ival-sqrt: 4.0ms (19.7% of total)ival-add: 3.0ms (14.8% of total)ival-sub: 3.0ms (14.8% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 0 | 7 | 9 |
| 0 | 12 | 9 |
| 1 | 22 | 9 |
| 2 | 49 | 9 |
| 3 | 121 | 9 |
| 4 | 383 | 9 |
| 5 | 2335 | 9 |
| 6 | 7889 | 9 |
| 0 | 8019 | 8 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(log.f64 (+.f64 (sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) x)) |
Compiled 9 to 7 computations (22.2% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 49.3% | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
x |
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) |
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
| Outputs |
|---|
(log (sqrt -1)) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(sqrt -1) |
(+ x (sqrt -1)) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
x |
(+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))) |
(+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))) |
(+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))) |
-1 |
(- (pow x 2) 1) |
(pow x 2) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(* 2 x) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(+ (log -1/2) (log (/ -1 x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(/ 1/2 x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(* -1 x) |
(* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | ((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) x (sqrt (- (* x x) 1)) (- (* x x) 1) (* x x) 1) |
| 2.0ms | x | @ | -inf | ((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) x (sqrt (- (* x x) 1)) (- (* x x) 1) (* x x) 1) |
| 2.0ms | x | @ | inf | ((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) x (sqrt (- (* x x) 1)) (- (* x x) 1) (* x x) 1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 150 | 525 |
| 1 | 470 | 499 |
| 2 | 1775 | 482 |
| 0 | 7753 | 463 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log (sqrt -1)) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(sqrt -1) |
(+ x (sqrt -1)) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
x |
(+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))) |
(+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))) |
(+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))) |
-1 |
(- (pow x 2) 1) |
(pow x 2) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(* 2 x) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(* x (- 1 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(+ (log -1/2) (log (/ -1 x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(/ 1/2 x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(* -1 x) |
(* -1 (* x (- 1 (* 1/2 (/ 1 (pow x 2)))))) |
(* -1 (* x (+ 1 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))) |
(* -1 (* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))) |
| Outputs |
|---|
(log (sqrt -1)) |
(log.f64 (sqrt.f64 #s(literal -1 binary64))) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(fma.f64 (/.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1 binary64)) (sqrt.f64 #s(literal -1 binary64))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 3/40 binary64) x) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/6 binary64) (sqrt.f64 #s(literal -1 binary64)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))) |
(sqrt -1) |
(sqrt.f64 #s(literal -1 binary64)) |
(+ x (sqrt -1)) |
(+.f64 (sqrt.f64 #s(literal -1 binary64)) x) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(fma.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal -1 binary64))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
x |
(+ (sqrt -1) (* 1/2 (/ (pow x 2) (sqrt -1)))) |
(fma.f64 (*.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) x) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))) |
(fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal -1 binary64))) (*.f64 x x) (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/8 (/ 1 (pow (sqrt -1) 3))))) (* 1/2 (/ 1 (sqrt -1)))))) |
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/8 binary64) (sqrt.f64 #s(literal -1 binary64)))) (fma.f64 (*.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) x) #s(literal 1/2 binary64) (sqrt.f64 #s(literal -1 binary64)))) |
-1 |
#s(literal -1 binary64) |
(- (pow x 2) 1) |
(fma.f64 x x #s(literal -1 binary64)) |
(pow x 2) |
(*.f64 x x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 (-.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal -3/32 binary64)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(*.f64 (-.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal 2 binary64))) 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 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(fma.f64 (/.f64 x x) (/.f64 (-.f64 (/.f64 #s(literal -1/8 binary64) (*.f64 x x)) #s(literal 1/2 binary64)) x) x) |
(* x (- (+ 1 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(fma.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x x) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(*.f64 (*.f64 (-.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) x) x)) x) x) |
(+ (log -1/2) (log (/ -1 x))) |
(+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(-.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(-.f64 (-.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(-.f64 (-.f64 (-.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -5/96 binary64) (pow.f64 x #s(literal 6 binary64)))) |
(/ 1/2 x) |
(/.f64 #s(literal 1/2 binary64) x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(/.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(/.f64 (+.f64 (/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal -1/8 binary64)) x) x) #s(literal 1/2 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64))) (neg.f64 x)) |
(* -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 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2)))))) |
(*.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 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2)))))) |
(*.f64 (+.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal -1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) (+.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal -1 binary64))) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 33 |
| 0 | 12 | 20 |
| 1 | 53 | 20 |
| 0 | 400 | 19 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
x |
(sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))) |
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
| Outputs |
|---|
(acosh.f64 x) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal -1 binary64)))) (log.f64 (-.f64 x (sinh.f64 (acosh.f64 x))))) |
(-.f64 (log.f64 (+.f64 (pow.f64 (sinh.f64 (acosh.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (log.f64 (fma.f64 (sinh.f64 (acosh.f64 x)) (-.f64 (sinh.f64 (acosh.f64 x)) x) (*.f64 x x)))) |
(log.f64 (+.f64 (sinh.f64 (acosh.f64 x)) x)) |
(/.f64 (-.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x)) (-.f64 (sinh.f64 (acosh.f64 x)) x)) |
(/.f64 (neg.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal -1 binary64)))) (neg.f64 (-.f64 x (sinh.f64 (acosh.f64 x))))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (sinh.f64 (acosh.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 (sinh.f64 (acosh.f64 x)) (-.f64 (sinh.f64 (acosh.f64 x)) x) (*.f64 x x)))) |
(/.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x (sinh.f64 (acosh.f64 x)))) |
(/.f64 (+.f64 (pow.f64 (sinh.f64 (acosh.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (+.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 (*.f64 x x) (*.f64 (sinh.f64 (acosh.f64 x)) x)))) |
(/.f64 (+.f64 (pow.f64 (sinh.f64 (acosh.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (sinh.f64 (acosh.f64 x)) (-.f64 (sinh.f64 (acosh.f64 x)) x) (*.f64 x x))) |
(fma.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)) x) |
(fma.f64 (sqrt.f64 (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (-.f64 x #s(literal 1 binary64))) x) |
(fma.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 1/2 binary64)) x) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x (sinh.f64 (acosh.f64 x)))) (/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x (sinh.f64 (acosh.f64 x))))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (sinh.f64 (acosh.f64 x)) (-.f64 (sinh.f64 (acosh.f64 x)) x) (*.f64 x x))) (/.f64 (pow.f64 (sinh.f64 (acosh.f64 x)) #s(literal 3 binary64)) (fma.f64 (sinh.f64 (acosh.f64 x)) (-.f64 (sinh.f64 (acosh.f64 x)) x) (*.f64 x x)))) |
(+.f64 (sinh.f64 (acosh.f64 x)) x) |
(+.f64 x (sinh.f64 (acosh.f64 x))) |
x |
(*.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))) |
(*.f64 (sqrt.f64 (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (-.f64 x #s(literal 1 binary64)))) |
(*.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1/2 binary64)) (pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 1/2 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 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64))) (sqrt.f64 (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64))))) |
(/.f64 (-.f64 (exp.f64 (acosh.f64 x)) (exp.f64 (neg.f64 (acosh.f64 x)))) #s(literal 2 binary64)) |
(sinh.f64 (acosh.f64 (neg.f64 x))) |
(sinh.f64 (acosh.f64 (fabs.f64 x))) |
(sinh.f64 (acosh.f64 x)) |
(sqrt.f64 (fma.f64 x x #s(literal -1 binary64))) |
(exp.f64 (*.f64 (log.f64 (fma.f64 x x #s(literal -1 binary64))) #s(literal 1/2 binary64))) |
(*.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 (neg.f64 (sinh.f64 (acosh.f64 x))) (neg.f64 (sinh.f64 (acosh.f64 x)))) |
(*.f64 (fabs.f64 (sinh.f64 (acosh.f64 x))) (fabs.f64 (sinh.f64 (acosh.f64 x)))) |
(*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal -1 binary64))) |
(*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(*.f64 (sinh.f64 (acosh.f64 x)) (sinh.f64 (acosh.f64 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 (sinh.f64 (acosh.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) |
(/.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 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64))))) |
(/.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 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64)))) |
(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 (pow.f64 x #s(literal 1 binary64)) (pow.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 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal -1 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal -1 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.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 (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) (*.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)) |
(expm1.f64 (*.f64 (log.f64 x) #s(literal 2 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 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 x x #s(literal 1 binary64)) (pow.f64 x #s(literal 4 binary64))))) |
(-.f64 (*.f64 x x) #s(literal 1 binary64)) |
(+.f64 (*.f64 x x) #s(literal -1 binary64)) |
(*.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 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.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))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
#s(literal 1 binary64) |
Compiled 1 992 to 594 computations (70.2% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 126 | 2 | 128 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 127 | 2 | 129 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.2% | (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
| ▶ | 99.7% | (acosh.f64 x) |
Compiled 15 to 12 computations (20% saved)
| Inputs |
|---|
(acosh.f64 x) |
x |
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
| Outputs |
|---|
(log (sqrt -1)) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
x |
(sqrt -1) |
(+ x (sqrt -1)) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(* 2 x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(+ (log -1/2) (log (/ -1 x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(/ 1/2 x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((acosh x) x (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (* 2 x) 2) |
| 1.0ms | x | @ | inf | ((acosh x) x (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (* 2 x) 2) |
| 1.0ms | x | @ | 0 | ((acosh x) x (log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (* 2 x) 2) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 124 | 340 |
| 1 | 386 | 322 |
| 2 | 1414 | 311 |
| 0 | 7718 | 302 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log (sqrt -1)) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
x |
(sqrt -1) |
(+ x (sqrt -1)) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(* 2 x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(+ (log -1/2) (log (/ -1 x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(/ 1/2 x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
| Outputs |
|---|
(log (sqrt -1)) |
(log.f64 (sqrt.f64 #s(literal -1 binary64))) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(fma.f64 (/.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1 binary64)) (sqrt.f64 #s(literal -1 binary64))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 3/40 binary64) x) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/6 binary64) (sqrt.f64 #s(literal -1 binary64)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))) |
x |
(sqrt -1) |
(sqrt.f64 #s(literal -1 binary64)) |
(+ x (sqrt -1)) |
(+.f64 (sqrt.f64 #s(literal -1 binary64)) x) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(fma.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal -1 binary64))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 (-.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal -3/32 binary64)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(*.f64 (-.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal 2 binary64))) x) |
(+ (log -1/2) (log (/ -1 x))) |
(+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(-.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(-.f64 (-.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(-.f64 (-.f64 (-.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -5/96 binary64) (pow.f64 x #s(literal 6 binary64)))) |
(/ 1/2 x) |
(/.f64 #s(literal 1/2 binary64) x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(/.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(/.f64 (+.f64 (/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal -1/8 binary64)) x) x) #s(literal 1/2 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64))) (neg.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 32 |
| 0 | 14 | 26 |
| 1 | 57 | 26 |
| 0 | 421 | 26 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(acosh.f64 x) |
x |
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
| Outputs |
|---|
(acosh.f64 x) |
(-.f64 (log.f64 (-.f64 (*.f64 x x) (fma.f64 x x #s(literal -1 binary64)))) (log.f64 (-.f64 x (sinh.f64 (acosh.f64 x))))) |
(-.f64 (log.f64 (+.f64 (pow.f64 (sinh.f64 (acosh.f64 x)) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (log.f64 (fma.f64 (sinh.f64 (acosh.f64 x)) (-.f64 (sinh.f64 (acosh.f64 x)) x) (*.f64 x x)))) |
(log.f64 (+.f64 (sinh.f64 (acosh.f64 x)) x)) |
x |
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x)))) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x)) |
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 x x) |
#s(literal 2 binary64) |
Compiled 717 to 194 computations (72.9% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 1 | 42 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 0 | 0 |
| Total | 42 | 2 | 44 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.2% | (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))) |
| ✓ | 99.7% | (acosh.f64 x) |
Compiled 15 to 11 computations (26.7% saved)
| Inputs |
|---|
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x)) |
(+.f64 x x) |
x |
| Outputs |
|---|
(log (sqrt -1)) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(sqrt -1) |
(+ x (sqrt -1)) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(* 2 x) |
x |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(+ (log -1/2) (log (/ -1 x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(/ 1/2 x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (+ x x) x) |
| 1.0ms | x | @ | inf | ((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (+ x x) x) |
| 0.0ms | x | @ | 0 | ((log (+ x (sqrt (- (* x x) 1)))) (+ x (sqrt (- (* x x) 1))) (+ x x) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 124 | 340 |
| 1 | 386 | 322 |
| 2 | 1414 | 311 |
| 0 | 7718 | 302 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log (sqrt -1)) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(sqrt -1) |
(+ x (sqrt -1)) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(* 2 x) |
x |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(+ (log -1/2) (log (/ -1 x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(/ 1/2 x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
| Outputs |
|---|
(log (sqrt -1)) |
(log.f64 (sqrt.f64 #s(literal -1 binary64))) |
(+ (log (sqrt -1)) (/ x (sqrt -1))) |
(+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* -1/6 (/ (pow x 2) (pow (sqrt -1) 3))) (/ 1 (sqrt -1))))) |
(fma.f64 (/.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 x x) #s(literal 1 binary64)) (sqrt.f64 #s(literal -1 binary64))) x (log.f64 (sqrt.f64 #s(literal -1 binary64)))) |
(+ (log (sqrt -1)) (* x (+ (* (pow x 2) (- (* 3/40 (/ (pow x 2) (pow (sqrt -1) 5))) (* 1/6 (/ 1 (pow (sqrt -1) 3))))) (/ 1 (sqrt -1))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (*.f64 #s(literal 3/40 binary64) x) (/.f64 x (pow.f64 (sqrt.f64 #s(literal -1 binary64)) #s(literal 5 binary64))) (/.f64 #s(literal 1/6 binary64) (sqrt.f64 #s(literal -1 binary64)))) (+.f64 (/.f64 x (sqrt.f64 #s(literal -1 binary64))) (log.f64 (sqrt.f64 #s(literal -1 binary64))))) |
(sqrt -1) |
(sqrt.f64 #s(literal -1 binary64)) |
(+ x (sqrt -1)) |
(+.f64 (sqrt.f64 #s(literal -1 binary64)) x) |
(+ (sqrt -1) (* x (+ 1 (* 1/2 (/ x (sqrt -1)))))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) (/.f64 x (sqrt.f64 #s(literal -1 binary64))) #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(+ (sqrt -1) (* x (+ 1 (* x (+ (* -1/8 (/ (pow x 2) (pow (sqrt -1) 3))) (* 1/2 (/ 1 (sqrt -1)))))))) |
(fma.f64 (fma.f64 (/.f64 (fma.f64 #s(literal 1/8 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (sqrt.f64 #s(literal -1 binary64))) x #s(literal 1 binary64)) x (sqrt.f64 #s(literal -1 binary64))) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
x |
(+ (log 2) (* -1 (log (/ 1 x)))) |
(+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) |
(- (+ (log 2) (* -1 (log (/ 1 x)))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 1/4 (* 3/32 (/ 1 (pow x 2)))) (pow x 2))))) |
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 #s(literal 3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(- (+ (log 2) (+ (* -1 (log (/ 1 x))) (* -1 (/ (+ 3/32 (* 5/96 (/ 1 (pow x 2)))) (pow x 4))))) (* 1/4 (/ 1 (pow x 2)))) |
(-.f64 (-.f64 (+.f64 (log.f64 x) (log.f64 #s(literal 2 binary64))) (/.f64 (-.f64 (/.f64 #s(literal 5/96 binary64) (*.f64 x x)) #s(literal -3/32 binary64)) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/4 binary64) (*.f64 x x))) |
(* x (- 2 (* 1/2 (/ 1 (pow x 2))))) |
(*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x) |
(* x (+ 2 (* -1 (/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) (pow x 2))))) |
(*.f64 (-.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1/8 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) x) |
(* x (- (+ 2 (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 4)))) (* 1/2 (/ 1 (pow x 2))))) |
(*.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/16 binary64) (*.f64 x x)) #s(literal 1/8 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) #s(literal 2 binary64))) x) |
(+ (log -1/2) (log (/ -1 x))) |
(+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) |
(+ (log -1/2) (+ (log (/ -1 x)) (* 1/4 (/ 1 (pow x 2))))) |
(-.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (* 1/4 (/ 1 (pow x 2)))))) |
(-.f64 (-.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(+ (log -1/2) (+ (log (/ -1 x)) (+ (/ 3/32 (pow x 4)) (+ (* 1/4 (/ 1 (pow x 2))) (* 5/96 (/ 1 (pow x 6))))))) |
(-.f64 (-.f64 (-.f64 (+.f64 (log.f64 (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1/2 binary64))) (/.f64 #s(literal -1/4 binary64) (*.f64 x x))) (/.f64 #s(literal -3/32 binary64) (pow.f64 x #s(literal 4 binary64)))) (/.f64 #s(literal -5/96 binary64) (pow.f64 x #s(literal 6 binary64)))) |
(/ 1/2 x) |
(/.f64 #s(literal 1/2 binary64) x) |
(/ (+ 1/2 (* 1/8 (/ 1 (pow x 2)))) x) |
(/.f64 (-.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1/8 (* 1/16 (/ 1 (pow x 2)))) (pow x 2))) 1/2) x)) |
(/.f64 (+.f64 (/.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/16 binary64) (*.f64 x x)) #s(literal -1/8 binary64)) x) x) #s(literal 1/2 binary64)) x) |
(* -1 (/ (- (* -1 (/ (+ 1/16 (* 5/128 (/ 1 (pow x 2)))) (pow x 4))) (+ 1/2 (* 1/8 (/ 1 (pow x 2))))) x)) |
(/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -5/128 binary64) (*.f64 x x)) #s(literal 1/16 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (/.f64 #s(literal 1/8 binary64) (*.f64 x x)) #s(literal -1/2 binary64))) (neg.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 29 |
| 0 | 11 | 23 |
| 1 | 59 | 23 |
| 0 | 489 | 23 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x)) |
(+.f64 x x) |
x |
| Outputs |
|---|
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(+.f64 x x) |
x |
Compiled 739 to 174 computations (76.5% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 36 | 0 | 36 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 36 | 2 | 38 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.2% | (log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))) |
| ✓ | 99.7% | (acosh.f64 x) |
Compiled 52 to 31 computations (40.4% saved)
Total -32.8b remaining (-19110.1%)
Threshold costs -32.8b (-19110.1%)
| Inputs |
|---|
(acosh.f64 x) |
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (+.f64 x x))) |
(log.f64 #s(approx (+ x (sqrt (- (* x x) 1))) (*.f64 #s(literal 2 binary64) x))) |
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| Outputs |
|---|
(acosh.f64 x) |
3 calls:
| 2.0ms | x |
| 2.0ms | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 2.0ms | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) |
| 99.7% | 1 | (log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64))))) |
| 99.7% | 1 | x |
Compiled 18 to 14 computations (22.2% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 2 | 2 |
| 1× | saturated |
| Inputs |
|---|
(acosh.f64 x) |
| Outputs |
|---|
(acosh.f64 x) |
| 1× | done |
Compiled 2 to 2 computations (0% saved)
Compiled 46 to 36 computations (21.7% saved)
Loading profile data...