
Time bar (total: 4.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.6% | 0.4% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.6% | 0.4% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.6% | 0.4% | 0% | 0% | 0% | 2 |
| 0% | 0% | 49.8% | 0.4% | 0% | 49.8% | 0% | 3 |
| 50% | 24.9% | 24.9% | 0.4% | 0% | 49.8% | 0% | 4 |
| 75% | 37.4% | 12.5% | 0.4% | 0% | 49.8% | 0% | 5 |
| 87.5% | 43.6% | 6.2% | 0.4% | 0% | 49.8% | 0% | 6 |
| 93.8% | 46.7% | 3.1% | 0.4% | 0% | 49.8% | 0% | 7 |
| 96.9% | 48.2% | 1.6% | 0.4% | 0% | 49.8% | 0% | 8 |
| 98.4% | 49% | 0.8% | 0.4% | 0% | 49.8% | 0% | 9 |
| 99.2% | 49.4% | 0.4% | 0.4% | 0% | 49.8% | 0% | 10 |
| 99.6% | 49.4% | 0.2% | 0.4% | 0% | 50% | 0% | 11 |
| 99.8% | 49.5% | 0.1% | 0.4% | 0% | 50% | 0% | 12 |
Compiled 4 to 4 computations (0% saved)
| 939.0ms | 8 256× | 0 | valid |
ival-atanh: 73.0ms (87.8% of total)ival-true: 5.0ms (6% of total)ival-assert: 3.0ms (3.6% of total)adjust: 2.0ms (2.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | #s(literal 1 binary32) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary32) |
| 0 | 0 | - | 0 | - | #s(literal 1/2 binary32) |
| 0 | 0 | - | 0 | - | (-.f32 #s(literal 1 binary32) x) |
| 0 | 0 | - | 0 | - | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 0 | 0 | - | 0 | - | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 0 | 0 | - | 0 | - | (*.f32 #s(literal 2 binary32) x) |
| 0 | 0 | - | 0 | - | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 36.0ms | 512× | 0 | valid |
Compiled 92 to 31 computations (66.3% saved)
ival-div: 9.0ms (38.3% of total)ival-mult: 7.0ms (29.8% of total)ival-log1p: 4.0ms (17% of total)ival-sub: 3.0ms (12.8% of total)exact: 1.0ms (4.3% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 0 | 9 | 10 |
| 0 | 15 | 10 |
| 1 | 24 | 10 |
| 2 | 40 | 10 |
| 3 | 108 | 10 |
| 4 | 444 | 10 |
| 5 | 2290 | 10 |
| 6 | 5655 | 10 |
| 0 | 8065 | 10 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| Outputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 (log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x)) #s(literal 1/2 binary32)) |
Compiled 10 to 9 computations (10% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
Compiled 10 to 9 computations (10% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f32 #s(literal 2 binary32) x) | |
| cost-diff | 0 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) | |
| cost-diff | 0 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) | |
| cost-diff | 0 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 35 |
| 0 | 15 | 35 |
| 1 | 24 | 35 |
| 2 | 40 | 35 |
| 3 | 108 | 35 |
| 4 | 444 | 35 |
| 5 | 2290 | 35 |
| 6 | 5655 | 35 |
| 0 | 8065 | 35 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
#s(literal 1/2 binary32) |
(log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
(*.f32 #s(literal 2 binary32) x) |
#s(literal 2 binary32) |
x |
(-.f32 #s(literal 1 binary32) x) |
#s(literal 1 binary32) |
| Outputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 (log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x)) #s(literal 1/2 binary32)) |
#s(literal 1/2 binary32) |
(log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
(log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x)) |
(/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
(*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x) |
(*.f32 #s(literal 2 binary32) x) |
(*.f32 x #s(literal 2 binary32)) |
#s(literal 2 binary32) |
x |
(-.f32 #s(literal 1 binary32) x) |
#s(literal 1 binary32) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f32 #s(literal 2 binary32) x) | |
| accuracy | 0.0 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) | |
| accuracy | 0.0234375 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) | |
| accuracy | 0.0390625 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 75.0ms | 256× | 0 | valid |
Compiled 41 to 11 computations (73.2% saved)
ival-mult: 52.0ms (90.7% of total)ival-div: 2.0ms (3.5% of total)ival-log1p: 2.0ms (3.5% of total)ival-sub: 1.0ms (1.7% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
(log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
(*.f32 #s(literal 2 binary32) x) |
| Outputs |
|---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(* 2 x) |
(* x (+ 2 (* 2/3 (pow x 2)))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))))) |
(* x (+ 2 (* 2 x))) |
(* x (+ 2 (* x (+ 2 (* 2 x))))) |
(* x (+ 2 (* x (+ 2 (* x (+ 2 (* 2 x))))))) |
(* 1/2 (log -1)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(log -1) |
(+ (log -1) (* 2 (/ 1 x))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (* 2 (/ 1 x)))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (+ (* 2 (/ 1 x)) (* 2/5 (/ 1 (pow x 5)))))) |
-2 |
(* -1 (+ 2 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(+ (log -1) (* -1 (/ (- (* -1 (/ (+ 2/3 (* 2/5 (/ 1 (pow x 2)))) (pow x 2))) 2) x))) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 2) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (/ (* 2 x) (- 1 x)) (* 2 x)) |
| 1.0ms | x | @ | inf | ((* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (/ (* 2 x) (- 1 x)) (* 2 x)) |
| 1.0ms | x | @ | -inf | ((* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (/ (* 2 x) (- 1 x)) (* 2 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 106 | 302 |
| 1 | 386 | 291 |
| 2 | 1450 | 282 |
| 3 | 7495 | 282 |
| 0 | 8200 | 262 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(* 2 x) |
(* x (+ 2 (* 2/3 (pow x 2)))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))))) |
(* x (+ 2 (* 2 x))) |
(* x (+ 2 (* x (+ 2 (* 2 x))))) |
(* x (+ 2 (* x (+ 2 (* x (+ 2 (* 2 x))))))) |
(* 1/2 (log -1)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(log -1) |
(+ (log -1) (* 2 (/ 1 x))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (* 2 (/ 1 x)))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (+ (* 2 (/ 1 x)) (* 2/5 (/ 1 (pow x 5)))))) |
-2 |
(* -1 (+ 2 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(+ (log -1) (* -1 (/ (- (* -1 (/ (+ 2/3 (* 2/5 (/ 1 (pow x 2)))) (pow x 2))) 2) x))) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 2) |
| Outputs |
|---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(* 2 x) |
(*.f32 #s(literal 2 binary32) x) |
(* x (+ 2 (* 2/3 (pow x 2)))) |
(*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))))) |
(*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))))) |
(*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(* x (+ 2 (* 2 x))) |
(*.f32 (fma.f32 #s(literal 2 binary32) x #s(literal 2 binary32)) x) |
(* x (+ 2 (* x (+ 2 (* 2 x))))) |
(*.f32 (fma.f32 (fma.f32 #s(literal 2 binary32) x #s(literal 2 binary32)) x #s(literal 2 binary32)) x) |
(* x (+ 2 (* x (+ 2 (* x (+ 2 (* 2 x))))))) |
(*.f32 (*.f32 (fma.f32 x x #s(literal 1 binary32)) (fma.f32 #s(literal 2 binary32) x #s(literal 2 binary32))) x) |
(* 1/2 (log -1)) |
(*.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal 1 binary32)) x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(-.f32 (fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal 1 binary32)) x)) (/.f32 #s(literal -1/5 binary32) (pow.f32 x #s(literal 5 binary32)))) |
(log -1) |
(log.f32 #s(literal -1 binary32)) |
(+ (log -1) (* 2 (/ 1 x))) |
(-.f32 (log.f32 #s(literal -1 binary32)) (/.f32 #s(literal -2 binary32) x)) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (* 2 (/ 1 x)))) |
(+.f32 (/.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 2 binary32)) x) (log.f32 #s(literal -1 binary32))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (+ (* 2 (/ 1 x)) (* 2/5 (/ 1 (pow x 5)))))) |
(-.f32 (+.f32 (/.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 2 binary32)) x) (log.f32 #s(literal -1 binary32))) (/.f32 #s(literal -2/5 binary32) (pow.f32 x #s(literal 5 binary32)))) |
-2 |
#s(literal -2 binary32) |
(* -1 (+ 2 (* 2 (/ 1 x)))) |
(-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) |
(-.f32 #s(literal -2 binary32) (/.f32 (-.f32 (/.f32 #s(literal 2 binary32) x) #s(literal -2 binary32)) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) |
(-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 (-.f32 (/.f32 #s(literal 2 binary32) x) #s(literal -2 binary32)) x)) x) #s(literal 2 binary32)) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(-.f32 (*.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32)) (-.f32 (/.f32 (-.f32 #s(literal -1/3 binary32) (/.f32 #s(literal 1/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 3 binary32))) (/.f32 #s(literal 1 binary32) x))) |
(+ (log -1) (* -1 (/ (- (* -1 (/ (+ 2/3 (* 2/5 (/ 1 (pow x 2)))) (pow x 2))) 2) x))) |
(-.f32 (-.f32 (log.f32 #s(literal -1 binary32)) (/.f32 (-.f32 (/.f32 #s(literal -2/5 binary32) (*.f32 x x)) #s(literal 2/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) (/.f32 #s(literal -2 binary32) x)) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 2) |
(-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 (-.f32 (/.f32 #s(literal 2 binary32) x) #s(literal -2 binary32)) x)) x) #s(literal 2 binary32)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 28 |
| 0 | 15 | 28 |
| 1 | 53 | 28 |
| 0 | 365 | 28 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
(log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
(*.f32 #s(literal 2 binary32) x) |
| Outputs |
|---|
(log.f32 (sqrt.f32 (fma.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32) #s(literal 1 binary32)))) |
(*.f32 (log1p.f32 (*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32))) #s(literal 1/2 binary32)) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32)))) |
(log.f32 (fma.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32) #s(literal 1 binary32))) |
(-.f32 (log.f32 (-.f32 #s(literal 1 binary32) (pow.f32 (*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32)) #s(literal 2 binary32)))) (log1p.f32 (*.f32 #s(literal -2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x))))) |
(-.f32 (log1p.f32 (*.f32 #s(literal 8 binary32) (pow.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 3 binary32)))) (log1p.f32 (-.f32 (pow.f32 (*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32)) #s(literal 2 binary32)) (*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32))))) |
(log1p.f32 (*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32))) |
(*.f32 (/.f32 (*.f32 x #s(literal 2 binary32)) (-.f32 #s(literal 1 binary32) (*.f32 x x))) (+.f32 #s(literal 1 binary32) x)) |
(*.f32 (/.f32 (*.f32 x #s(literal 2 binary32)) (-.f32 #s(literal 1 binary32) (pow.f32 x #s(literal 3 binary32)))) (+.f32 (fma.f32 x x x) #s(literal 1 binary32))) |
(*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32)) |
(*.f32 (*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32)) #s(literal 1 binary32)) |
(*.f32 #s(literal 1 binary32) (*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32))) |
(*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))) |
(*.f32 #s(literal 2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (*.f32 #s(literal 1 binary32) (*.f32 #s(literal -2 binary32) x)) (neg.f32 (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (*.f32 #s(literal 1 binary32) (*.f32 x #s(literal 2 binary32))) (-.f32 #s(literal 1 binary32) x)) |
(/.f32 (neg.f32 (*.f32 #s(literal -2 binary32) x)) (neg.f32 (neg.f32 (-.f32 #s(literal 1 binary32) x)))) |
(/.f32 (*.f32 #s(literal -2 binary32) x) (neg.f32 (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (*.f32 x #s(literal 2 binary32)) (-.f32 #s(literal 1 binary32) x)) |
(fma.f32 (/.f32 x (-.f32 #s(literal 1 binary32) (*.f32 x x))) (+.f32 #s(literal 1 binary32) x) (/.f32 x (-.f32 #s(literal 1 binary32) x))) |
(fma.f32 (/.f32 x (-.f32 #s(literal 1 binary32) (pow.f32 x #s(literal 3 binary32)))) (+.f32 (fma.f32 x x x) #s(literal 1 binary32)) (/.f32 x (-.f32 #s(literal 1 binary32) x))) |
(+.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) (/.f32 x (-.f32 #s(literal 1 binary32) x))) |
(neg.f32 (/.f32 (*.f32 #s(literal -2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
(neg.f32 (/.f32 (*.f32 x #s(literal 2 binary32)) (neg.f32 (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 x #s(literal 2 binary32)) |
(*.f32 #s(literal 2 binary32) x) |
(/.f32 (-.f32 (*.f32 x x) (*.f32 x x)) (-.f32 x x)) |
(/.f32 (+.f32 (pow.f32 x #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 x x (-.f32 (*.f32 x x) (*.f32 x x)))) |
(+.f32 x x) |
Compiled 950 to 246 computations (74.1% saved)
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 45 | 8 | 53 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 46 | 8 | 54 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
| 99.6% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) | |
| ▶ | 99.4% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
| 99.1% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) | |
| ▶ | 97.6% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| ▶ | 99.7% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
| 99.5% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) x)) | |
| ▶ | 99.2% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) |
Compiled 352 to 256 computations (27.3% saved)
| 1× | egg-herbie |
Found 18 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) | |
| cost-diff | 0 | (pow.f32 x #s(literal 3 binary32)) | |
| cost-diff | 0 | (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) | |
| cost-diff | 0 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) | |
| cost-diff | 0 | (pow.f32 x #s(literal 3 binary32)) | |
| cost-diff | 0 | (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) | |
| cost-diff | 0 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) | |
| cost-diff | 0 | (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) | |
| cost-diff | 0 | (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) | |
| cost-diff | 0 | #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) | |
| cost-diff | 0 | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) | |
| cost-diff | 0 | (*.f32 #s(literal 2 binary32) x) | |
| cost-diff | 0 | #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x)) | |
| cost-diff | 0 | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) | |
| cost-diff | 0 | (+.f32 x x) | |
| cost-diff | 0 | (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)) | |
| cost-diff | 0 | (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x))) | |
| cost-diff | 0 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 262 |
| 0 | 60 | 250 |
| 1 | 107 | 250 |
| 2 | 310 | 250 |
| 3 | 1555 | 250 |
| 4 | 6560 | 250 |
| 0 | 8066 | 250 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
#s(literal 1/2 binary32) |
(log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)) |
(+.f32 x x) |
x |
(-.f32 #s(literal 1 binary32) x) |
#s(literal 1 binary32) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
#s(literal 1/2 binary32) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x)) |
(*.f32 #s(literal 2 binary32) x) |
#s(literal 2 binary32) |
x |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(literal 1/2 binary32) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
#s(literal 2/5 binary32) |
(*.f32 x x) |
x |
#s(literal 2/3 binary32) |
#s(literal 2 binary32) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) |
(pow.f32 x #s(literal 3 binary32)) |
x |
#s(literal 3 binary32) |
#s(literal 1/3 binary32) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(pow.f32 x #s(literal 3 binary32)) |
x |
#s(literal 3 binary32) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
#s(literal 1/7 binary32) |
(*.f32 x x) |
#s(literal 1/5 binary32) |
#s(literal 1/3 binary32) |
| Outputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 (log1p.f32 (*.f32 (/.f32 x (+.f32 #s(literal -1 binary32) x)) #s(literal -2 binary32))) #s(literal 1/2 binary32)) |
#s(literal 1/2 binary32) |
(log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x))) |
(log1p.f32 (*.f32 (/.f32 x (+.f32 #s(literal -1 binary32) x)) #s(literal -2 binary32))) |
(/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)) |
(*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x) |
(+.f32 x x) |
(*.f32 #s(literal 2 binary32) x) |
x |
(-.f32 #s(literal 1 binary32) x) |
#s(literal 1 binary32) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
(*.f32 #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x)) #s(literal 1/2 binary32)) |
#s(literal 1/2 binary32) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x)) |
(*.f32 #s(literal 2 binary32) x) |
#s(literal 2 binary32) |
x |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
(*.f32 #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) #s(literal 1/2 binary32)) |
#s(literal 1/2 binary32) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
(fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) |
#s(literal 2/5 binary32) |
(*.f32 x x) |
x |
#s(literal 2/3 binary32) |
#s(literal 2 binary32) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) |
(fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x) |
(pow.f32 x #s(literal 3 binary32)) |
x |
#s(literal 3 binary32) |
#s(literal 1/3 binary32) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(pow.f32 x #s(literal 3 binary32)) |
x |
#s(literal 3 binary32) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
#s(literal 1/7 binary32) |
(*.f32 x x) |
#s(literal 1/5 binary32) |
#s(literal 1/3 binary32) |
Found 18 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f32 x x) | |
| accuracy | 0.0078125 | (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) | |
| accuracy | 0.0390625 | (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) | |
| accuracy | 0.09439430191109 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) | |
| accuracy | 0.0 | (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) | |
| accuracy | 0.0 | (pow.f32 x #s(literal 3 binary32)) | |
| accuracy | 0.26524772326667967 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) | |
| accuracy | 0.0 | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) | |
| accuracy | 0.03515625 | (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) | |
| accuracy | 0.04296875 | (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) | |
| accuracy | 0.15913290905889882 | #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) | |
| accuracy | 0.0 | (*.f32 #s(literal 2 binary32) x) | |
| accuracy | 0.0 | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) | |
| accuracy | 0.7739922425036881 | #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x)) | |
| accuracy | 0.0 | (+.f32 x x) | |
| accuracy | 0.0 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) | |
| accuracy | 0.0234375 | (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x))) | |
| accuracy | 0.0390625 | (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)) |
| 154.0ms | 256× | 0 | valid |
Compiled 220 to 36 computations (83.6% saved)
ival-mult: 54.0ms (58.7% of total)const: 15.0ms (16.3% of total)ival-add: 9.0ms (9.8% of total)ival-pow: 5.0ms (5.4% of total)ival-div: 4.0ms (4.4% of total)ival-log1p: 4.0ms (4.4% of total)ival-sub: 1.0ms (1.1% of total)exact: 1.0ms (1.1% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
(log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)) |
(+.f32 x x) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x)) |
(*.f32 #s(literal 2 binary32) x) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) |
(pow.f32 x #s(literal 3 binary32)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
(*.f32 x x) |
| Outputs |
|---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(* 2 x) |
(* x (+ 2 (* 2/3 (pow x 2)))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))))) |
(* x (+ 2 (* 2 x))) |
(* x (+ 2 (* x (+ 2 (* 2 x))))) |
(* x (+ 2 (* x (+ 2 (* x (+ 2 (* 2 x))))))) |
2 |
(+ 2 (* 2/3 (pow x 2))) |
(+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2))))) |
(pow x 3) |
1/3 |
(+ 1/3 (* 1/5 (pow x 2))) |
(+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2))))) |
2/3 |
(+ 2/3 (* 2/5 (pow x 2))) |
1/5 |
(+ 1/5 (* 1/7 (pow x 2))) |
(pow x 2) |
(* 1/2 (log -1)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(log -1) |
(+ (log -1) (* 2 (/ 1 x))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (* 2 (/ 1 x)))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (+ (* 2 (/ 1 x)) (* 2/5 (/ 1 (pow x 5)))))) |
-2 |
(* -1 (+ 2 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) |
(* 2/5 (pow x 5)) |
(* (pow x 5) (+ 2/5 (* 2/3 (/ 1 (pow x 2))))) |
(* (pow x 5) (+ 2/5 (+ (* 2/3 (/ 1 (pow x 2))) (/ 2 (pow x 4))))) |
(* 2/5 (pow x 4)) |
(* (pow x 4) (+ 2/5 (* 2/3 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 2/5 (+ (* 2/3 (/ 1 (pow x 2))) (/ 2 (pow x 4))))) |
(* 1/3 (pow x 3)) |
(* (pow x 3) (+ 1/3 (/ 1 (pow x 2)))) |
(* 1/7 (pow x 7)) |
(* (pow x 7) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (+ (* 1/5 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(* 1/7 (pow x 4)) |
(* (pow x 4) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* 2/5 (pow x 2)) |
(* (pow x 2) (+ 2/5 (* 2/3 (/ 1 (pow x 2))))) |
(* 1/7 (pow x 2)) |
(* (pow x 2) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(+ (log -1) (* -1 (/ (- (* -1 (/ (+ 2/3 (* 2/5 (/ 1 (pow x 2)))) (pow x 2))) 2) x))) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 2) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 2/3 (* 2 (/ 1 (pow x 2)))) (pow x 2))) 2/5))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/5 (* 1/3 (/ 1 (pow x 2)))) (pow x 2))) 1/7))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 4))) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | inf | ((* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (log (+ 1 (/ (+ x x) (- 1 x)))) (/ (+ x x) (- 1 x)) (+ x x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (* 2 x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (* (+ (* (+ (* 2/5 (* x x)) 2/3) (* x x)) 2) x) (+ (* (+ (* 2/5 (* x x)) 2/3) (* x x)) 2) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (pow x 3) 1/3) x) (pow x 3) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (pow x 3) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) x) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3) (+ (* 2/5 (* x x)) 2/3) (+ (* 1/7 (* x x)) 1/5) (* x x)) |
| 3.0ms | x | @ | -inf | ((* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (log (+ 1 (/ (+ x x) (- 1 x)))) (/ (+ x x) (- 1 x)) (+ x x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (* 2 x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (* (+ (* (+ (* 2/5 (* x x)) 2/3) (* x x)) 2) x) (+ (* (+ (* 2/5 (* x x)) 2/3) (* x x)) 2) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (pow x 3) 1/3) x) (pow x 3) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (pow x 3) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) x) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3) (+ (* 2/5 (* x x)) 2/3) (+ (* 1/7 (* x x)) 1/5) (* x x)) |
| 2.0ms | x | @ | 0 | ((* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (log (+ 1 (/ (+ x x) (- 1 x)))) (/ (+ x x) (- 1 x)) (+ x x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (* 2 x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (* (+ (* (+ (* 2/5 (* x x)) 2/3) (* x x)) 2) x) (+ (* (+ (* 2/5 (* x x)) 2/3) (* x x)) 2) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (pow x 3) 1/3) x) (pow x 3) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (pow x 3) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) x) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3) (+ (* 2/5 (* x x)) 2/3) (+ (* 1/7 (* x x)) 1/5) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 162 | 620 |
| 1 | 590 | 607 |
| 2 | 2131 | 596 |
| 0 | 8559 | 565 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(* 2 x) |
(* x (+ 2 (* 2/3 (pow x 2)))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))))) |
(* x (+ 2 (* 2 x))) |
(* x (+ 2 (* x (+ 2 (* 2 x))))) |
(* x (+ 2 (* x (+ 2 (* x (+ 2 (* 2 x))))))) |
2 |
(+ 2 (* 2/3 (pow x 2))) |
(+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2))))) |
(pow x 3) |
1/3 |
(+ 1/3 (* 1/5 (pow x 2))) |
(+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2))))) |
2/3 |
(+ 2/3 (* 2/5 (pow x 2))) |
1/5 |
(+ 1/5 (* 1/7 (pow x 2))) |
(pow x 2) |
(* 1/2 (log -1)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(log -1) |
(+ (log -1) (* 2 (/ 1 x))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (* 2 (/ 1 x)))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (+ (* 2 (/ 1 x)) (* 2/5 (/ 1 (pow x 5)))))) |
-2 |
(* -1 (+ 2 (* 2 (/ 1 x)))) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) |
(* 2/5 (pow x 5)) |
(* (pow x 5) (+ 2/5 (* 2/3 (/ 1 (pow x 2))))) |
(* (pow x 5) (+ 2/5 (+ (* 2/3 (/ 1 (pow x 2))) (/ 2 (pow x 4))))) |
(* 2/5 (pow x 4)) |
(* (pow x 4) (+ 2/5 (* 2/3 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 2/5 (+ (* 2/3 (/ 1 (pow x 2))) (/ 2 (pow x 4))))) |
(* 1/3 (pow x 3)) |
(* (pow x 3) (+ 1/3 (/ 1 (pow x 2)))) |
(* 1/7 (pow x 7)) |
(* (pow x 7) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (+ (* 1/5 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(* 1/7 (pow x 4)) |
(* (pow x 4) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* 2/5 (pow x 2)) |
(* (pow x 2) (+ 2/5 (* 2/3 (/ 1 (pow x 2))))) |
(* 1/7 (pow x 2)) |
(* (pow x 2) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(+ (log -1) (* -1 (/ (- (* -1 (/ (+ 2/3 (* 2/5 (/ 1 (pow x 2)))) (pow x 2))) 2) x))) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 2) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 2/3 (* 2 (/ 1 (pow x 2)))) (pow x 2))) 2/5))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/5 (* 1/3 (/ 1 (pow x 2)))) (pow x 2))) 1/7))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 4))) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))))) |
| Outputs |
|---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(* 2 x) |
(*.f32 #s(literal 2 binary32) x) |
(* x (+ 2 (* 2/3 (pow x 2)))) |
(*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))))) |
(*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))))) |
(*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(* x (+ 2 (* 2 x))) |
(*.f32 (fma.f32 #s(literal 2 binary32) x #s(literal 2 binary32)) x) |
(* x (+ 2 (* x (+ 2 (* 2 x))))) |
(*.f32 (fma.f32 (fma.f32 #s(literal 2 binary32) x #s(literal 2 binary32)) x #s(literal 2 binary32)) x) |
(* x (+ 2 (* x (+ 2 (* x (+ 2 (* 2 x))))))) |
(*.f32 (*.f32 (fma.f32 x x #s(literal 1 binary32)) (fma.f32 #s(literal 2 binary32) x #s(literal 2 binary32))) x) |
2 |
#s(literal 2 binary32) |
(+ 2 (* 2/3 (pow x 2))) |
(fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) |
(+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2))))) |
(fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(pow x 3) |
(pow.f32 x #s(literal 3 binary32)) |
1/3 |
#s(literal 1/3 binary32) |
(+ 1/3 (* 1/5 (pow x 2))) |
(fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) |
(+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2))))) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
2/3 |
#s(literal 2/3 binary32) |
(+ 2/3 (* 2/5 (pow x 2))) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
1/5 |
#s(literal 1/5 binary32) |
(+ 1/5 (* 1/7 (pow x 2))) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
(pow x 2) |
(*.f32 x x) |
(* 1/2 (log -1)) |
(*.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal 1 binary32)) x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(-.f32 (fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal 1 binary32)) x)) (/.f32 #s(literal -1/5 binary32) (pow.f32 x #s(literal 5 binary32)))) |
(log -1) |
(log.f32 #s(literal -1 binary32)) |
(+ (log -1) (* 2 (/ 1 x))) |
(-.f32 (log.f32 #s(literal -1 binary32)) (/.f32 #s(literal -2 binary32) x)) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (* 2 (/ 1 x)))) |
(+.f32 (/.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 2 binary32)) x) (log.f32 #s(literal -1 binary32))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (+ (* 2 (/ 1 x)) (* 2/5 (/ 1 (pow x 5)))))) |
(-.f32 (+.f32 (/.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 2 binary32)) x) (log.f32 #s(literal -1 binary32))) (/.f32 #s(literal -2/5 binary32) (pow.f32 x #s(literal 5 binary32)))) |
-2 |
#s(literal -2 binary32) |
(* -1 (+ 2 (* 2 (/ 1 x)))) |
(-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) |
(-.f32 #s(literal -2 binary32) (/.f32 (-.f32 (/.f32 #s(literal 2 binary32) x) #s(literal -2 binary32)) x)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) |
(-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 (-.f32 (/.f32 #s(literal 2 binary32) x) #s(literal -2 binary32)) x)) x) #s(literal 2 binary32)) |
(* 2/5 (pow x 5)) |
(*.f32 (pow.f32 x #s(literal 5 binary32)) #s(literal 2/5 binary32)) |
(* (pow x 5) (+ 2/5 (* 2/3 (/ 1 (pow x 2))))) |
(*.f32 (-.f32 (/.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal -2/5 binary32)) (pow.f32 x #s(literal 5 binary32))) |
(* (pow x 5) (+ 2/5 (+ (* 2/3 (/ 1 (pow x 2))) (/ 2 (pow x 4))))) |
(*.f32 (-.f32 (-.f32 (/.f32 #s(literal 2 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal -2/5 binary32)) (/.f32 #s(literal -2/3 binary32) (*.f32 x x))) (pow.f32 x #s(literal 5 binary32))) |
(* 2/5 (pow x 4)) |
(*.f32 (pow.f32 x #s(literal 4 binary32)) #s(literal 2/5 binary32)) |
(* (pow x 4) (+ 2/5 (* 2/3 (/ 1 (pow x 2))))) |
(*.f32 (pow.f32 x #s(literal 4 binary32)) (-.f32 (/.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal -2/5 binary32))) |
(* (pow x 4) (+ 2/5 (+ (* 2/3 (/ 1 (pow x 2))) (/ 2 (pow x 4))))) |
(*.f32 (-.f32 (-.f32 (/.f32 #s(literal 2 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal -2/5 binary32)) (/.f32 #s(literal -2/3 binary32) (*.f32 x x))) (pow.f32 x #s(literal 4 binary32))) |
(* 1/3 (pow x 3)) |
(*.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32)) |
(* (pow x 3) (+ 1/3 (/ 1 (pow x 2)))) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) |
(* 1/7 (pow x 7)) |
(*.f32 (pow.f32 x #s(literal 7 binary32)) #s(literal 1/7 binary32)) |
(* (pow x 7) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(*.f32 (+.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/7 binary32)) (pow.f32 x #s(literal 7 binary32))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(*.f32 (-.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1/7 binary32)) (/.f32 #s(literal -1/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 7 binary32))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (+ (* 1/5 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(*.f32 (+.f32 (+.f32 #s(literal 1/7 binary32) (/.f32 #s(literal 1 binary32) (pow.f32 x #s(literal 6 binary32)))) (/.f32 (/.f32 (-.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal -1/5 binary32)) x) x)) (pow.f32 x #s(literal 7 binary32))) |
(* 1/7 (pow x 4)) |
(*.f32 (pow.f32 x #s(literal 4 binary32)) #s(literal 1/7 binary32)) |
(* (pow x 4) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(*.f32 (+.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/7 binary32)) (pow.f32 x #s(literal 4 binary32))) |
(* (pow x 4) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(*.f32 (-.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1/7 binary32)) (/.f32 #s(literal -1/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 4 binary32))) |
(* 2/5 (pow x 2)) |
(*.f32 #s(literal 2/5 binary32) (*.f32 x x)) |
(* (pow x 2) (+ 2/5 (* 2/3 (/ 1 (pow x 2))))) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
(* 1/7 (pow x 2)) |
(*.f32 #s(literal 1/7 binary32) (*.f32 x x)) |
(* (pow x 2) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 (+.f32 (/.f32 #s(literal -1/3 binary32) (*.f32 x x)) (-.f32 (/.f32 #s(literal -1/5 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1 binary32))) (neg.f32 x))) |
(+ (log -1) (* -1 (/ (- (* -1 (/ (+ 2/3 (* 2/5 (/ 1 (pow x 2)))) (pow x 2))) 2) x))) |
(-.f32 (-.f32 (log.f32 #s(literal -1 binary32)) (/.f32 (-.f32 (/.f32 #s(literal -2/5 binary32) (*.f32 x x)) #s(literal 2/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) (/.f32 #s(literal -2 binary32) x)) |
(- (* -1 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 2) |
(-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 (-.f32 (/.f32 #s(literal 2 binary32) x) #s(literal -2 binary32)) x)) x) #s(literal 2 binary32)) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 2/3 (* 2 (/ 1 (pow x 2)))) (pow x 2))) 2/5))) |
(*.f32 (-.f32 (-.f32 (/.f32 #s(literal 2 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal -2/5 binary32)) (/.f32 #s(literal -2/3 binary32) (*.f32 x x))) (pow.f32 x #s(literal 5 binary32))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/5 (* 1/3 (/ 1 (pow x 2)))) (pow x 2))) 1/7))) |
(*.f32 (neg.f32 (pow.f32 x #s(literal 7 binary32))) (+.f32 (/.f32 #s(literal -1/5 binary32) (*.f32 x x)) (-.f32 (/.f32 #s(literal -1/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1/7 binary32)))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 4))) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))))) |
(*.f32 (neg.f32 (pow.f32 x #s(literal 7 binary32))) (-.f32 (/.f32 (-.f32 #s(literal -1/3 binary32) (/.f32 (/.f32 #s(literal 1 binary32) x) x)) (pow.f32 x #s(literal 4 binary32))) (+.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/7 binary32)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 234 |
| 0 | 60 | 222 |
| 0 | 240 | 222 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
(log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)) |
(+.f32 x x) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x)) |
(*.f32 #s(literal 2 binary32) x) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) |
(pow.f32 x #s(literal 3 binary32)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
(*.f32 x x) |
| Outputs |
|---|
(log.f32 (pow.f32 (fma.f32 #s(literal 2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 1 binary32)) #s(literal 1/2 binary32))) |
(*.f32 (log1p.f32 (*.f32 #s(literal 2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x)))) #s(literal 1/2 binary32)) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 #s(literal 2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x))))) |
(log.f32 (fma.f32 #s(literal 2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 1 binary32))) |
(log1p.f32 (*.f32 #s(literal 2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 #s(literal 2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (neg.f32 (*.f32 #s(literal 2 binary32) x)) (neg.f32 (-.f32 #s(literal 1 binary32) x))) |
(/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
(+.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) (/.f32 x (-.f32 #s(literal 1 binary32) x))) |
(*.f32 #s(literal 2 binary32) x) |
(*.f32 x #s(literal 2 binary32)) |
(/.f32 (-.f32 (*.f32 x x) (*.f32 x x)) (-.f32 x x)) |
(/.f32 (+.f32 (pow.f32 x #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 x x (-.f32 (*.f32 x x) (*.f32 x x)))) |
(+.f32 x x) |
(*.f32 #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x)) #s(literal 1/2 binary32)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x)) |
(*.f32 #s(literal 2 binary32) x) |
(*.f32 x #s(literal 2 binary32)) |
(/.f32 (-.f32 (*.f32 x x) (*.f32 x x)) (-.f32 x x)) |
(/.f32 (+.f32 (pow.f32 x #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 x x (-.f32 (*.f32 x x) (*.f32 x x)))) |
(+.f32 x x) |
(*.f32 #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) #s(literal 1/2 binary32)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(*.f32 x (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32))) |
(/.f32 (-.f32 (*.f32 (*.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x) (*.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x)) #s(literal 4 binary32)) (-.f32 (*.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x) #s(literal 2 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x) #s(literal 3 binary32)) #s(literal 8 binary32)) (fma.f32 (*.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x) (*.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x) (-.f32 #s(literal 4 binary32) (*.f32 (*.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x) #s(literal 2 binary32))))) |
(fma.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x #s(literal 2 binary32)) |
(fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 (*.f32 x x) (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) #s(literal 2 binary32)) |
(+.f32 (*.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x) #s(literal 2 binary32)) |
(+.f32 #s(literal 2 binary32) (*.f32 (*.f32 (fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) x) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(/.f32 (-.f32 (*.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)))) (*.f32 x x)) (-.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) x)) |
(/.f32 (+.f32 (pow.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) (-.f32 (*.f32 x x) (*.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) x)))) |
(fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) |
(+.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) x) |
(+.f32 x (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)))) |
(*.f32 (pow.f32 x #s(literal 3/2 binary32)) (pow.f32 x #s(literal 3/2 binary32))) |
(*.f32 (*.f32 x x) x) |
(*.f32 x (*.f32 x x)) |
(pow.f32 x #s(literal 3 binary32)) |
(exp.f32 (*.f32 (log.f32 x) #s(literal 3 binary32))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x)) |
(/.f32 (-.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) (*.f32 x x)) (-.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x)) |
(/.f32 (+.f32 (pow.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) (-.f32 (*.f32 x x) (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x)))) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(+.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x) |
(+.f32 x (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) |
(/.f32 (-.f32 (*.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x)) #s(literal 1/9 binary32)) (-.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) #s(literal 3 binary32)) #s(literal 1/27 binary32)) (fma.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) (-.f32 #s(literal 1/9 binary32) (*.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32))))) |
(fma.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x #s(literal 1/3 binary32)) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 (*.f32 x x) (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) #s(literal 1/3 binary32)) |
(+.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32)) |
(+.f32 #s(literal 1/3 binary32) (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x)) |
(/.f32 (-.f32 (*.f32 (*.f32 (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 (*.f32 x x) #s(literal 2/5 binary32))) #s(literal 4/9 binary32)) (-.f32 (*.f32 (*.f32 x x) #s(literal 2/5 binary32)) #s(literal 2/3 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 (*.f32 x x) #s(literal 2/5 binary32)) #s(literal 3 binary32)) #s(literal 8/27 binary32)) (fma.f32 (*.f32 (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 (*.f32 x x) #s(literal 2/5 binary32)) (-.f32 #s(literal 4/9 binary32) (*.f32 (*.f32 (*.f32 x x) #s(literal 2/5 binary32)) #s(literal 2/3 binary32))))) |
(fma.f32 (*.f32 #s(literal 2/5 binary32) x) x #s(literal 2/3 binary32)) |
(fma.f32 (*.f32 x x) #s(literal 2/5 binary32) #s(literal 2/3 binary32)) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
(+.f32 (*.f32 (*.f32 x x) #s(literal 2/5 binary32)) #s(literal 2/3 binary32)) |
(+.f32 #s(literal 2/3 binary32) (*.f32 (*.f32 x x) #s(literal 2/5 binary32))) |
(/.f32 (-.f32 (*.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) (*.f32 #s(literal 1/7 binary32) (*.f32 x x))) #s(literal 1/25 binary32)) (-.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) #s(literal 1/5 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) #s(literal 3 binary32)) #s(literal 1/125 binary32)) (fma.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) (-.f32 #s(literal 1/25 binary32) (*.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) #s(literal 1/5 binary32))))) |
(fma.f32 (*.f32 #s(literal 1/7 binary32) x) x #s(literal 1/5 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
(fma.f32 (*.f32 x x) #s(literal 1/7 binary32) #s(literal 1/5 binary32)) |
(+.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) #s(literal 1/5 binary32)) |
(+.f32 #s(literal 1/5 binary32) (*.f32 #s(literal 1/7 binary32) (*.f32 x x))) |
(*.f32 (neg.f32 x) (neg.f32 x)) |
(*.f32 (fabs.f32 x) (fabs.f32 x)) |
(*.f32 x x) |
(pow.f32 x #s(literal 2 binary32)) |
Compiled 4 395 to 637 computations (85.5% saved)
7 alts after pruning (4 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 145 | 4 | 149 |
| Fresh | 3 | 0 | 3 |
| Picked | 2 | 3 | 5 |
| Done | 0 | 0 | 0 |
| Total | 150 | 7 | 157 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
| ▶ | 99.6% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
| ▶ | 99.1% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
| ✓ | 99.4% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
| ✓ | 97.6% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| ▶ | 99.7% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
| ▶ | 99.2% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
Compiled 156 to 107 computations (31.4% saved)
| 1× | egg-herbie |
Found 16 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) | |
| cost-diff | 0 | (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) | |
| cost-diff | 0 | #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) | |
| cost-diff | 0 | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) | |
| cost-diff | 0 | (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) | |
| cost-diff | 0 | (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) | |
| cost-diff | 0 | #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x)) | |
| cost-diff | 0 | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) | |
| cost-diff | 0 | (*.f32 x x) | |
| cost-diff | 0 | (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) | |
| cost-diff | 0 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) | |
| cost-diff | 2 | (*.f32 (*.f32 x x) x) | |
| cost-diff | 0 | (*.f32 x x) | |
| cost-diff | 0 | (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x) | |
| cost-diff | 0 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) | |
| cost-diff | 2 | (*.f32 (*.f32 x x) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 298 |
| 0 | 60 | 298 |
| 1 | 118 | 286 |
| 2 | 400 | 286 |
| 3 | 2019 | 286 |
| 4 | 7450 | 286 |
| 0 | 8070 | 274 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x) |
(*.f32 (*.f32 x x) x) |
(*.f32 x x) |
x |
#s(literal 1/3 binary32) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(*.f32 (*.f32 x x) x) |
(*.f32 x x) |
x |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
#s(literal 1/7 binary32) |
#s(literal 1/5 binary32) |
#s(literal 1/3 binary32) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(literal 1/2 binary32) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) |
#s(literal 2/3 binary32) |
(*.f32 x x) |
x |
#s(literal 2 binary32) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(literal 1/2 binary32) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) |
(fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) |
#s(literal 2/7 binary32) |
(*.f32 x x) |
x |
#s(literal 2/5 binary32) |
#s(literal 2/3 binary32) |
#s(literal 2 binary32) |
| Outputs |
|---|
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x) |
(fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x) |
(*.f32 (*.f32 x x) x) |
(pow.f32 x #s(literal 3 binary32)) |
(*.f32 x x) |
x |
#s(literal 1/3 binary32) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(*.f32 (*.f32 x x) x) |
(pow.f32 x #s(literal 3 binary32)) |
(*.f32 x x) |
x |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
#s(literal 1/7 binary32) |
#s(literal 1/5 binary32) |
#s(literal 1/3 binary32) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
(*.f32 #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x)) #s(literal 1/2 binary32)) |
#s(literal 1/2 binary32) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) |
#s(literal 2/3 binary32) |
(*.f32 x x) |
x |
#s(literal 2 binary32) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
(*.f32 #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) #s(literal 1/2 binary32)) |
#s(literal 1/2 binary32) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) |
(fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) |
#s(literal 2/7 binary32) |
(*.f32 x x) |
x |
#s(literal 2/5 binary32) |
#s(literal 2/3 binary32) |
#s(literal 2 binary32) |
Found 16 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0078125 | (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) | |
| accuracy | 0.0390625 | (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) | |
| accuracy | 0.04296875 | (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) | |
| accuracy | 0.09439430191109 | #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) | |
| accuracy | 0.0 | (*.f32 x x) | |
| accuracy | 0.0 | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) | |
| accuracy | 0.0390625 | (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) | |
| accuracy | 0.26524772326667967 | #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x)) | |
| accuracy | 0.0078125 | (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) | |
| accuracy | 0.0390625 | (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) | |
| accuracy | 0.07421875 | (*.f32 (*.f32 x x) x) | |
| accuracy | 0.09439430191109 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) | |
| accuracy | 0.0 | (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x) | |
| accuracy | 0.0 | (*.f32 x x) | |
| accuracy | 0.07421875 | (*.f32 (*.f32 x x) x) | |
| accuracy | 0.26524772326667967 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
| 176.0ms | 256× | 0 | valid |
Compiled 234 to 41 computations (82.5% saved)
ival-mult: 60.0ms (50.2% of total)const: 33.0ms (27.6% of total)ival-add: 10.0ms (8.4% of total)ival-log1p: 10.0ms (8.4% of total)ival-div: 4.0ms (3.3% of total)ival-sub: 2.0ms (1.7% 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)| Inputs |
|---|
(*.f32 (*.f32 x x) x) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x) |
(*.f32 x x) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
(fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) |
(fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) |
| Outputs |
|---|
(pow x 3) |
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(pow x 2) |
(* 2 x) |
(* x (+ 2 (* 2/3 (pow x 2)))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))))) |
2 |
(+ 2 (* 2/3 (pow x 2))) |
(+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2))))) |
(+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2))))))) |
1/3 |
(+ 1/3 (* 1/5 (pow x 2))) |
(+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2))))) |
1/5 |
(+ 1/5 (* 1/7 (pow x 2))) |
2/3 |
(+ 2/3 (* 2/5 (pow x 2))) |
(+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2))))) |
2/5 |
(+ 2/5 (* 2/7 (pow x 2))) |
(* 1/2 (log -1)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(* 1/3 (pow x 3)) |
(* (pow x 3) (+ 1/3 (/ 1 (pow x 2)))) |
(* 1/7 (pow x 7)) |
(* (pow x 7) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (+ (* 1/5 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(log -1) |
(+ (log -1) (* 2 (/ 1 x))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (* 2 (/ 1 x)))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (+ (* 2 (/ 1 x)) (* 2/5 (/ 1 (pow x 5)))))) |
(* 2/3 (pow x 3)) |
(* (pow x 3) (+ 2/3 (* 2 (/ 1 (pow x 2))))) |
(* 2/3 (pow x 2)) |
(* (pow x 2) (+ 2/3 (* 2 (/ 1 (pow x 2))))) |
(* 2/7 (pow x 7)) |
(* (pow x 7) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(* (pow x 7) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(* (pow x 7) (+ 2/7 (+ (/ 2/3 (pow x 4)) (+ (* 2/5 (/ 1 (pow x 2))) (* 2 (/ 1 (pow x 6))))))) |
(* 2/7 (pow x 6)) |
(* (pow x 6) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(* (pow x 6) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(* (pow x 6) (+ 2/7 (+ (/ 2/3 (pow x 4)) (+ (* 2/5 (/ 1 (pow x 2))) (* 2 (/ 1 (pow x 6))))))) |
(* 1/7 (pow x 4)) |
(* (pow x 4) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* 1/7 (pow x 2)) |
(* (pow x 2) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* 2/7 (pow x 4)) |
(* (pow x 4) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(* 2/7 (pow x 2)) |
(* (pow x 2) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/5 (* 1/3 (/ 1 (pow x 2)))) (pow x 2))) 1/7))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 4))) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))))) |
(+ (log -1) (* -1 (/ (- (* -1 (/ (+ 2/3 (* 2/5 (/ 1 (pow x 2)))) (pow x 2))) 2) x))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 2/5 (* 2/3 (/ 1 (pow x 2)))) (pow x 2))) 2/7))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 2/3 (* 2 (/ 1 (pow x 2)))) (pow x 4))) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 7.0ms | x | @ | 0 | ((* (* x x) x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (* (* x x) x) 1/3) x) (* x x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (* (* x x) x) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) x) (* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (log (+ 1 (/ (+ x x) (- 1 x)))) (* (+ (* 2/3 (* x x)) 2) x) (+ (* 2/3 (* x x)) 2) (* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (log (+ 1 (/ (+ x x) (- 1 x)))) (* (+ (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) (* x x)) 2) x) (+ (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) (* x x)) 2) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3) (+ (* 1/7 (* x x)) 1/5) (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) (+ (* 2/7 (* x x)) 2/5)) |
| 3.0ms | x | @ | inf | ((* (* x x) x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (* (* x x) x) 1/3) x) (* x x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (* (* x x) x) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) x) (* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (log (+ 1 (/ (+ x x) (- 1 x)))) (* (+ (* 2/3 (* x x)) 2) x) (+ (* 2/3 (* x x)) 2) (* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (log (+ 1 (/ (+ x x) (- 1 x)))) (* (+ (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) (* x x)) 2) x) (+ (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) (* x x)) 2) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3) (+ (* 1/7 (* x x)) 1/5) (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) (+ (* 2/7 (* x x)) 2/5)) |
| 3.0ms | x | @ | -inf | ((* (* x x) x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (* (* x x) x) 1/3) x) (* x x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (* (* x x) x) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) x) (* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (log (+ 1 (/ (+ x x) (- 1 x)))) (* (+ (* 2/3 (* x x)) 2) x) (+ (* 2/3 (* x x)) 2) (* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (log (+ 1 (/ (+ x x) (- 1 x)))) (* (+ (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) (* x x)) 2) x) (+ (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) (* x x)) 2) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3) (+ (* 1/7 (* x x)) 1/5) (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) (+ (* 2/7 (* x x)) 2/5)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 159 | 710 |
| 1 | 589 | 701 |
| 2 | 2034 | 694 |
| 0 | 8064 | 660 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow x 3) |
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(pow x 2) |
(* 2 x) |
(* x (+ 2 (* 2/3 (pow x 2)))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))))) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))))) |
2 |
(+ 2 (* 2/3 (pow x 2))) |
(+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2))))) |
(+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2))))))) |
1/3 |
(+ 1/3 (* 1/5 (pow x 2))) |
(+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2))))) |
1/5 |
(+ 1/5 (* 1/7 (pow x 2))) |
2/3 |
(+ 2/3 (* 2/5 (pow x 2))) |
(+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2))))) |
2/5 |
(+ 2/5 (* 2/7 (pow x 2))) |
(* 1/2 (log -1)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(* 1/3 (pow x 3)) |
(* (pow x 3) (+ 1/3 (/ 1 (pow x 2)))) |
(* 1/7 (pow x 7)) |
(* (pow x 7) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (+ (* 1/5 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(log -1) |
(+ (log -1) (* 2 (/ 1 x))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (* 2 (/ 1 x)))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (+ (* 2 (/ 1 x)) (* 2/5 (/ 1 (pow x 5)))))) |
(* 2/3 (pow x 3)) |
(* (pow x 3) (+ 2/3 (* 2 (/ 1 (pow x 2))))) |
(* 2/3 (pow x 2)) |
(* (pow x 2) (+ 2/3 (* 2 (/ 1 (pow x 2))))) |
(* 2/7 (pow x 7)) |
(* (pow x 7) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(* (pow x 7) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(* (pow x 7) (+ 2/7 (+ (/ 2/3 (pow x 4)) (+ (* 2/5 (/ 1 (pow x 2))) (* 2 (/ 1 (pow x 6))))))) |
(* 2/7 (pow x 6)) |
(* (pow x 6) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(* (pow x 6) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(* (pow x 6) (+ 2/7 (+ (/ 2/3 (pow x 4)) (+ (* 2/5 (/ 1 (pow x 2))) (* 2 (/ 1 (pow x 6))))))) |
(* 1/7 (pow x 4)) |
(* (pow x 4) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* 1/7 (pow x 2)) |
(* (pow x 2) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* 2/7 (pow x 4)) |
(* (pow x 4) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(* 2/7 (pow x 2)) |
(* (pow x 2) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/5 (* 1/3 (/ 1 (pow x 2)))) (pow x 2))) 1/7))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 4))) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))))) |
(+ (log -1) (* -1 (/ (- (* -1 (/ (+ 2/3 (* 2/5 (/ 1 (pow x 2)))) (pow x 2))) 2) x))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 2/5 (* 2/3 (/ 1 (pow x 2)))) (pow x 2))) 2/7))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 2/3 (* 2 (/ 1 (pow x 2)))) (pow x 4))) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))))) |
| Outputs |
|---|
(pow x 3) |
(pow.f32 x #s(literal 3 binary32)) |
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(fma.f32 (fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(pow x 2) |
(*.f32 x x) |
(* 2 x) |
(*.f32 #s(literal 2 binary32) x) |
(* x (+ 2 (* 2/3 (pow x 2)))) |
(*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))))) |
(*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(* x (+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))))) |
(*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
2 |
#s(literal 2 binary32) |
(+ 2 (* 2/3 (pow x 2))) |
(fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) |
(+ 2 (* (pow x 2) (+ 2/3 (* 2/5 (pow x 2))))) |
(fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(+ 2 (* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2))))))) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
1/3 |
#s(literal 1/3 binary32) |
(+ 1/3 (* 1/5 (pow x 2))) |
(fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) |
(+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2))))) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
1/5 |
#s(literal 1/5 binary32) |
(+ 1/5 (* 1/7 (pow x 2))) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
2/3 |
#s(literal 2/3 binary32) |
(+ 2/3 (* 2/5 (pow x 2))) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
(+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2))))) |
(fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) |
2/5 |
#s(literal 2/5 binary32) |
(+ 2/5 (* 2/7 (pow x 2))) |
(fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) |
(* 1/2 (log -1)) |
(*.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal 1 binary32)) x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(-.f32 (fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal 1 binary32)) x)) (/.f32 #s(literal -1/5 binary32) (pow.f32 x #s(literal 5 binary32)))) |
(* 1/3 (pow x 3)) |
(*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) |
(* (pow x 3) (+ 1/3 (/ 1 (pow x 2)))) |
(fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x) |
(* 1/7 (pow x 7)) |
(*.f32 (pow.f32 x #s(literal 7 binary32)) #s(literal 1/7 binary32)) |
(* (pow x 7) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(*.f32 (+.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/7 binary32)) (pow.f32 x #s(literal 7 binary32))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(*.f32 (-.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1/7 binary32)) (/.f32 #s(literal -1/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 7 binary32))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (+ (* 1/5 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(*.f32 (+.f32 (+.f32 (/.f32 #s(literal 1 binary32) (pow.f32 x #s(literal 6 binary32))) #s(literal 1/7 binary32)) (/.f32 (/.f32 (-.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal -1/5 binary32)) x) x)) (pow.f32 x #s(literal 7 binary32))) |
(log -1) |
(log.f32 #s(literal -1 binary32)) |
(+ (log -1) (* 2 (/ 1 x))) |
(-.f32 (log.f32 #s(literal -1 binary32)) (/.f32 #s(literal -2 binary32) x)) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (* 2 (/ 1 x)))) |
(+.f32 (/.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 2 binary32)) x) (log.f32 #s(literal -1 binary32))) |
(+ (log -1) (+ (/ 2/3 (pow x 3)) (+ (* 2 (/ 1 x)) (* 2/5 (/ 1 (pow x 5)))))) |
(-.f32 (+.f32 (/.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 2 binary32)) x) (log.f32 #s(literal -1 binary32))) (/.f32 #s(literal -2/5 binary32) (pow.f32 x #s(literal 5 binary32)))) |
(* 2/3 (pow x 3)) |
(*.f32 #s(literal 2/3 binary32) (pow.f32 x #s(literal 3 binary32))) |
(* (pow x 3) (+ 2/3 (* 2 (/ 1 (pow x 2))))) |
(*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) |
(* 2/3 (pow x 2)) |
(*.f32 #s(literal 2/3 binary32) (*.f32 x x)) |
(* (pow x 2) (+ 2/3 (* 2 (/ 1 (pow x 2))))) |
(fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) |
(* 2/7 (pow x 7)) |
(*.f32 (pow.f32 x #s(literal 7 binary32)) #s(literal 2/7 binary32)) |
(* (pow x 7) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(*.f32 (+.f32 (/.f32 #s(literal 2/5 binary32) (*.f32 x x)) #s(literal 2/7 binary32)) (pow.f32 x #s(literal 7 binary32))) |
(* (pow x 7) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(*.f32 (-.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 2/7 binary32)) (/.f32 #s(literal -2/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 7 binary32))) |
(* (pow x 7) (+ 2/7 (+ (/ 2/3 (pow x 4)) (+ (* 2/5 (/ 1 (pow x 2))) (* 2 (/ 1 (pow x 6))))))) |
(*.f32 (-.f32 (-.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 2/7 binary32)) (/.f32 #s(literal -2/5 binary32) (*.f32 x x))) (/.f32 #s(literal -2 binary32) (pow.f32 x #s(literal 6 binary32)))) (pow.f32 x #s(literal 7 binary32))) |
(* 2/7 (pow x 6)) |
(*.f32 (pow.f32 x #s(literal 6 binary32)) #s(literal 2/7 binary32)) |
(* (pow x 6) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(*.f32 (+.f32 (/.f32 #s(literal 2/5 binary32) (*.f32 x x)) #s(literal 2/7 binary32)) (pow.f32 x #s(literal 6 binary32))) |
(* (pow x 6) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(*.f32 (-.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 2/7 binary32)) (/.f32 #s(literal -2/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 6 binary32))) |
(* (pow x 6) (+ 2/7 (+ (/ 2/3 (pow x 4)) (+ (* 2/5 (/ 1 (pow x 2))) (* 2 (/ 1 (pow x 6))))))) |
(*.f32 (-.f32 (-.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 2/7 binary32)) (/.f32 #s(literal -2/5 binary32) (*.f32 x x))) (/.f32 #s(literal -2 binary32) (pow.f32 x #s(literal 6 binary32)))) (pow.f32 x #s(literal 6 binary32))) |
(* 1/7 (pow x 4)) |
(*.f32 (pow.f32 x #s(literal 4 binary32)) #s(literal 1/7 binary32)) |
(* (pow x 4) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(*.f32 (pow.f32 x #s(literal 4 binary32)) (+.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/7 binary32))) |
(* (pow x 4) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(*.f32 (-.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1/7 binary32)) (/.f32 #s(literal -1/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 4 binary32))) |
(* 1/7 (pow x 2)) |
(*.f32 #s(literal 1/7 binary32) (*.f32 x x)) |
(* (pow x 2) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
(* 2/7 (pow x 4)) |
(*.f32 (pow.f32 x #s(literal 4 binary32)) #s(literal 2/7 binary32)) |
(* (pow x 4) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(*.f32 (+.f32 (/.f32 #s(literal 2/5 binary32) (*.f32 x x)) #s(literal 2/7 binary32)) (pow.f32 x #s(literal 4 binary32))) |
(* (pow x 4) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(*.f32 (-.f32 (+.f32 (/.f32 #s(literal 2/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 2/7 binary32)) (/.f32 #s(literal -2/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 4 binary32))) |
(* 2/7 (pow x 2)) |
(*.f32 #s(literal 2/7 binary32) (*.f32 x x)) |
(* (pow x 2) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 (+.f32 (/.f32 #s(literal -1/3 binary32) (*.f32 x x)) (-.f32 (/.f32 #s(literal -1/5 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1 binary32))) (neg.f32 x))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/5 (* 1/3 (/ 1 (pow x 2)))) (pow x 2))) 1/7))) |
(*.f32 (neg.f32 (pow.f32 x #s(literal 7 binary32))) (+.f32 (/.f32 #s(literal -1/5 binary32) (*.f32 x x)) (-.f32 (/.f32 #s(literal -1/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1/7 binary32)))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 4))) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))))) |
(*.f32 (neg.f32 (pow.f32 x #s(literal 7 binary32))) (-.f32 (/.f32 (-.f32 #s(literal -1/3 binary32) (/.f32 (/.f32 #s(literal 1 binary32) x) x)) (pow.f32 x #s(literal 4 binary32))) (+.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/7 binary32)))) |
(+ (log -1) (* -1 (/ (- (* -1 (/ (+ 2/3 (* 2/5 (/ 1 (pow x 2)))) (pow x 2))) 2) x))) |
(-.f32 (-.f32 (log.f32 #s(literal -1 binary32)) (/.f32 (-.f32 #s(literal -2/3 binary32) (/.f32 #s(literal 2/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 3 binary32)))) (/.f32 #s(literal -2 binary32) x)) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 2/5 (* 2/3 (/ 1 (pow x 2)))) (pow x 2))) 2/7))) |
(*.f32 (neg.f32 (pow.f32 x #s(literal 7 binary32))) (+.f32 (/.f32 #s(literal -2/5 binary32) (*.f32 x x)) (-.f32 (/.f32 #s(literal -2/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 2/7 binary32)))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 2/3 (* 2 (/ 1 (pow x 2)))) (pow x 4))) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))))) |
(*.f32 (neg.f32 (pow.f32 x #s(literal 7 binary32))) (-.f32 (/.f32 (-.f32 (/.f32 (/.f32 #s(literal -2 binary32) x) x) #s(literal 2/3 binary32)) (pow.f32 x #s(literal 4 binary32))) (+.f32 (/.f32 #s(literal 2/5 binary32) (*.f32 x x)) #s(literal 2/7 binary32)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 268 |
| 0 | 60 | 258 |
| 0 | 268 | 246 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f32 (*.f32 x x) x) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x) |
(*.f32 x x) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
(fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) |
(fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) |
| Outputs |
|---|
(*.f32 (*.f32 x x) x) |
(*.f32 x (*.f32 x x)) |
(pow.f32 x #s(literal 3 binary32)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(/.f32 (-.f32 (*.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)))) (*.f32 x x)) (-.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) x)) |
(/.f32 (+.f32 (pow.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) (-.f32 (*.f32 x x) (*.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) x)))) |
(fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x) |
(fma.f32 (*.f32 x x) (*.f32 x #s(literal 1/3 binary32)) x) |
(+.f32 (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32))) x) |
(+.f32 x (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)))) |
(*.f32 (neg.f32 x) (neg.f32 x)) |
(*.f32 (fabs.f32 x) (fabs.f32 x)) |
(*.f32 x x) |
(pow.f32 x #s(literal 2 binary32)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x)) |
(/.f32 (-.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) (*.f32 x x)) (-.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x)) |
(/.f32 (+.f32 (pow.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) (-.f32 (*.f32 x x) (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x)))) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(fma.f32 (*.f32 x x) (*.f32 x (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32))) x) |
(+.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x) |
(+.f32 x (*.f32 (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) |
(*.f32 #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x)) #s(literal 1/2 binary32)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) |
(*.f32 x (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32))) |
(/.f32 (-.f32 (*.f32 (*.f32 #s(literal 2/3 binary32) (*.f32 x x)) (*.f32 #s(literal 2/3 binary32) (*.f32 x x))) #s(literal 4 binary32)) (-.f32 (*.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 2 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 3 binary32)) #s(literal 8 binary32)) (fma.f32 (*.f32 #s(literal 2/3 binary32) (*.f32 x x)) (*.f32 #s(literal 2/3 binary32) (*.f32 x x)) (-.f32 #s(literal 4 binary32) (*.f32 (*.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 2 binary32))))) |
(fma.f32 (*.f32 #s(literal 2/3 binary32) x) x #s(literal 2 binary32)) |
(fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 (*.f32 x x) #s(literal 2/3 binary32) #s(literal 2 binary32)) |
(+.f32 (*.f32 #s(literal 2/3 binary32) (*.f32 x x)) #s(literal 2 binary32)) |
(+.f32 #s(literal 2 binary32) (*.f32 #s(literal 2/3 binary32) (*.f32 x x))) |
(*.f32 #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) #s(literal 1/2 binary32)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x) |
(*.f32 x (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32))) |
(/.f32 (-.f32 (*.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x)) #s(literal 4 binary32)) (-.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) #s(literal 2 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) #s(literal 3 binary32)) #s(literal 8 binary32)) (fma.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) (-.f32 #s(literal 4 binary32) (*.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) #s(literal 2 binary32))))) |
(fma.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x #s(literal 2 binary32)) |
(fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 (*.f32 x x) (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) #s(literal 2 binary32)) |
(+.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) #s(literal 2 binary32)) |
(+.f32 #s(literal 2 binary32) (*.f32 (*.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x)) |
(/.f32 (-.f32 (*.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x)) #s(literal 1/9 binary32)) (-.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) #s(literal 3 binary32)) #s(literal 1/27 binary32)) (fma.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) (-.f32 #s(literal 1/9 binary32) (*.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32))))) |
(fma.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x #s(literal 1/3 binary32)) |
(fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 (*.f32 x x) (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) #s(literal 1/3 binary32)) |
(+.f32 (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32)) |
(+.f32 #s(literal 1/3 binary32) (*.f32 (*.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) x) x)) |
(/.f32 (-.f32 (*.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) (*.f32 #s(literal 1/7 binary32) (*.f32 x x))) #s(literal 1/25 binary32)) (-.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) #s(literal 1/5 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) #s(literal 3 binary32)) #s(literal 1/125 binary32)) (fma.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) (-.f32 #s(literal 1/25 binary32) (*.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) #s(literal 1/5 binary32))))) |
(fma.f32 (*.f32 #s(literal 1/7 binary32) x) x #s(literal 1/5 binary32)) |
(fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) |
(fma.f32 (*.f32 x x) #s(literal 1/7 binary32) #s(literal 1/5 binary32)) |
(+.f32 (*.f32 #s(literal 1/7 binary32) (*.f32 x x)) #s(literal 1/5 binary32)) |
(+.f32 #s(literal 1/5 binary32) (*.f32 #s(literal 1/7 binary32) (*.f32 x x))) |
(/.f32 (-.f32 (*.f32 (*.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x) (*.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x)) #s(literal 4/9 binary32)) (-.f32 (*.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x) #s(literal 2/3 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x) #s(literal 3 binary32)) #s(literal 8/27 binary32)) (fma.f32 (*.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x) (*.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x) (-.f32 #s(literal 4/9 binary32) (*.f32 (*.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x) #s(literal 2/3 binary32))))) |
(fma.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x #s(literal 2/3 binary32)) |
(fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) |
(fma.f32 (*.f32 x x) (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) #s(literal 2/3 binary32)) |
(+.f32 (*.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x) #s(literal 2/3 binary32)) |
(+.f32 #s(literal 2/3 binary32) (*.f32 (*.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) x) x)) |
(/.f32 (-.f32 (*.f32 (*.f32 #s(literal 2/7 binary32) (*.f32 x x)) (*.f32 #s(literal 2/7 binary32) (*.f32 x x))) #s(literal 4/25 binary32)) (-.f32 (*.f32 #s(literal 2/7 binary32) (*.f32 x x)) #s(literal 2/5 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 #s(literal 2/7 binary32) (*.f32 x x)) #s(literal 3 binary32)) #s(literal 8/125 binary32)) (fma.f32 (*.f32 #s(literal 2/7 binary32) (*.f32 x x)) (*.f32 #s(literal 2/7 binary32) (*.f32 x x)) (-.f32 #s(literal 4/25 binary32) (*.f32 (*.f32 #s(literal 2/7 binary32) (*.f32 x x)) #s(literal 2/5 binary32))))) |
(fma.f32 (*.f32 #s(literal 2/7 binary32) x) x #s(literal 2/5 binary32)) |
(fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) |
(fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) |
(+.f32 (*.f32 #s(literal 2/7 binary32) (*.f32 x x)) #s(literal 2/5 binary32)) |
(+.f32 #s(literal 2/5 binary32) (*.f32 #s(literal 2/7 binary32) (*.f32 x x))) |
Compiled 5 939 to 770 computations (87% saved)
8 alts after pruning (1 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 171 | 1 | 172 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 3 | 3 |
| Total | 171 | 8 | 179 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
| ✓ | 99.6% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
| ✓ | 99.1% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
| ✓ | 99.4% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
| ✓ | 97.6% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| ✓ | 99.7% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
| ▶ | 99.5% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
| ✓ | 99.2% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
Compiled 190 to 130 computations (31.6% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f32 x x) | |
| cost-diff | 0 | (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) | |
| cost-diff | 0 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) | |
| cost-diff | 2 | (*.f32 (*.f32 x x) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 89 |
| 0 | 28 | 89 |
| 1 | 60 | 83 |
| 2 | 208 | 83 |
| 3 | 977 | 83 |
| 4 | 3257 | 83 |
| 5 | 7034 | 83 |
| 0 | 8249 | 77 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(*.f32 (*.f32 x x) x) |
(*.f32 x x) |
x |
(fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
#s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) |
#s(literal 1/5 binary32) |
#s(literal 1/3 binary32) |
| Outputs |
|---|
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(fma.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(*.f32 (*.f32 x x) x) |
(pow.f32 x #s(literal 3 binary32)) |
(*.f32 x x) |
x |
(fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
#s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) |
#s(literal 1/5 binary32) |
#s(literal 1/3 binary32) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0390625 | (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) | |
| accuracy | 0.07421875 | (*.f32 (*.f32 x x) x) | |
| accuracy | 0.09439430191109 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) | |
| accuracy | 0.8729484286306711 | #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) |
| 72.0ms | 256× | 0 | valid |
Compiled 66 to 22 computations (66.7% saved)
ival-mult: 11.0ms (38.5% of total)const: 8.0ms (28% of total)ival-add: 3.0ms (10.5% of total)ival-div: 2.0ms (7% of total)ival-log1p: 2.0ms (7% of total)ival-sub: 1.0ms (3.5% 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)| Inputs |
|---|
(*.f32 (*.f32 x x) x) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(*.f32 x x) |
#s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) |
(fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
| Outputs |
|---|
(pow x 3) |
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(pow x 2) |
1/5 |
(+ 1/5 (* 1/7 (pow x 2))) |
1/3 |
(+ 1/3 (* 1/5 (pow x 2))) |
(+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2))))) |
(* 1/2 (log -1)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(* 1/7 (pow x 7)) |
(* (pow x 7) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (+ (* 1/5 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(* 1/7 (pow x 2)) |
(* (pow x 2) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* 1/7 (pow x 4)) |
(* (pow x 4) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/5 (* 1/3 (/ 1 (pow x 2)))) (pow x 2))) 1/7))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 4))) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((* (* x x) x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (* (* x x) x) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) x) (* x x) (+ (* 1/7 (* x x)) 1/5) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) |
| 1.0ms | x | @ | -inf | ((* (* x x) x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (* (* x x) x) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) x) (* x x) (+ (* 1/7 (* x x)) 1/5) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) |
| 1.0ms | x | @ | 0 | ((* (* x x) x) (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (+ (* (* (* x x) x) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) x) (* x x) (+ (* 1/7 (* x x)) 1/5) (+ (* (+ (* 1/7 (* x x)) 1/5) (* x x)) 1/3)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 84 | 294 |
| 1 | 273 | 288 |
| 2 | 887 | 284 |
| 3 | 3841 | 280 |
| 0 | 8262 | 264 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(pow x 3) |
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(pow x 2) |
1/5 |
(+ 1/5 (* 1/7 (pow x 2))) |
1/3 |
(+ 1/3 (* 1/5 (pow x 2))) |
(+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2))))) |
(* 1/2 (log -1)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(* 1/7 (pow x 7)) |
(* (pow x 7) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (+ (* 1/5 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(* 1/7 (pow x 2)) |
(* (pow x 2) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* 1/7 (pow x 4)) |
(* (pow x 4) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(* (pow x 4) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/5 (* 1/3 (/ 1 (pow x 2)))) (pow x 2))) 1/7))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 4))) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))))) |
| Outputs |
|---|
(pow x 3) |
(pow.f32 x #s(literal 3 binary32)) |
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 1/5 (pow x 2)))))) |
(fma.f32 (fma.f32 (*.f32 x x) #s(literal 1/5 binary32) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2)))))))) |
(fma.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 1/7 binary32) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(pow x 2) |
(*.f32 x x) |
1/5 |
#s(literal 1/5 binary32) |
(+ 1/5 (* 1/7 (pow x 2))) |
(fma.f32 (*.f32 x x) #s(literal 1/7 binary32) #s(literal 1/5 binary32)) |
1/3 |
#s(literal 1/3 binary32) |
(+ 1/3 (* 1/5 (pow x 2))) |
(fma.f32 (*.f32 x x) #s(literal 1/5 binary32) #s(literal 1/3 binary32)) |
(+ 1/3 (* (pow x 2) (+ 1/5 (* 1/7 (pow x 2))))) |
(fma.f32 (fma.f32 (*.f32 x x) #s(literal 1/7 binary32) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(* 1/2 (log -1)) |
(*.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32)) |
(+ (* 1/2 (log -1)) (/ 1 x)) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x)) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (/ 1 x))) |
(-.f32 (fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x)) (/.f32 #s(literal -1/3 binary32) (pow.f32 x #s(literal 3 binary32)))) |
(+ (* 1/2 (log -1)) (+ (/ 1/3 (pow x 3)) (+ (/ 1 x) (* 1/5 (/ 1 (pow x 5)))))) |
(-.f32 (-.f32 (fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 #s(literal 1 binary32) x)) (/.f32 #s(literal -1/3 binary32) (pow.f32 x #s(literal 3 binary32)))) (/.f32 #s(literal -1/5 binary32) (pow.f32 x #s(literal 5 binary32)))) |
(* 1/7 (pow x 7)) |
(*.f32 (pow.f32 x #s(literal 7 binary32)) #s(literal 1/7 binary32)) |
(* (pow x 7) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(*.f32 (+.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/7 binary32)) (pow.f32 x #s(literal 7 binary32))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(*.f32 (-.f32 (+.f32 (/.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1/7 binary32)) (/.f32 #s(literal -1/5 binary32) (*.f32 x x))) (pow.f32 x #s(literal 7 binary32))) |
(* (pow x 7) (+ 1/7 (+ (/ 1/3 (pow x 4)) (+ (* 1/5 (/ 1 (pow x 2))) (/ 1 (pow x 6)))))) |
(*.f32 (+.f32 (+.f32 (/.f32 #s(literal 1 binary32) (pow.f32 x #s(literal 6 binary32))) #s(literal 1/7 binary32)) (/.f32 (/.f32 (-.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal -1/5 binary32)) x) x)) (pow.f32 x #s(literal 7 binary32))) |
(* 1/7 (pow x 2)) |
(*.f32 (*.f32 x x) #s(literal 1/7 binary32)) |
(* (pow x 2) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(fma.f32 (*.f32 x x) #s(literal 1/7 binary32) #s(literal 1/5 binary32)) |
(* 1/7 (pow x 4)) |
(*.f32 (pow.f32 x #s(literal 4 binary32)) #s(literal 1/7 binary32)) |
(* (pow x 4) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))) |
(*.f32 (pow.f32 x #s(literal 4 binary32)) (-.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal -1/7 binary32))) |
(* (pow x 4) (+ 1/7 (+ (/ 1/3 (pow x 4)) (* 1/5 (/ 1 (pow x 2)))))) |
(fma.f32 (pow.f32 x #s(literal 4 binary32)) (+.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/7 binary32)) #s(literal 1/3 binary32)) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(fma.f32 (log.f32 #s(literal -1 binary32)) #s(literal 1/2 binary32) (/.f32 (+.f32 (/.f32 (/.f32 (-.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal -1/3 binary32)) x) x) #s(literal 1 binary32)) x)) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/5 (* 1/3 (/ 1 (pow x 2)))) (pow x 2))) 1/7))) |
(*.f32 (neg.f32 (pow.f32 x #s(literal 7 binary32))) (+.f32 (/.f32 #s(literal -1/5 binary32) (*.f32 x x)) (-.f32 (/.f32 #s(literal -1/3 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal 1/7 binary32)))) |
(* -1 (* (pow x 7) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 4))) (+ 1/7 (* 1/5 (/ 1 (pow x 2))))))) |
(*.f32 (neg.f32 (pow.f32 x #s(literal 7 binary32))) (-.f32 (/.f32 (-.f32 #s(literal -1/3 binary32) (/.f32 (/.f32 #s(literal 1 binary32) x) x)) (pow.f32 x #s(literal 4 binary32))) (+.f32 (/.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/7 binary32)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 86 |
| 0 | 28 | 80 |
| 1 | 127 | 79 |
| 0 | 1033 | 74 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f32 (*.f32 x x) x) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(*.f32 x x) |
#s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) |
(fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
| Outputs |
|---|
(*.f32 (*.f32 x (fabs.f32 x)) (fabs.f32 x)) |
(*.f32 (*.f32 x (neg.f32 x)) (neg.f32 x)) |
(*.f32 (pow.f32 x #s(literal 3/2 binary32)) (pow.f32 x #s(literal 3/2 binary32))) |
(*.f32 (neg.f32 x) (*.f32 (neg.f32 x) x)) |
(*.f32 (fabs.f32 x) (*.f32 (fabs.f32 x) x)) |
(*.f32 (*.f32 x x) x) |
(*.f32 x (*.f32 x x)) |
(pow.f32 x #s(literal 3 binary32)) |
(exp.f32 (*.f32 (log.f32 x) #s(literal 3 binary32))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x)) |
(/.f32 (-.f32 (*.f32 x x) (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 2 binary32))) (-.f32 x (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))))) |
(/.f32 (neg.f32 (-.f32 (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 2 binary32)) (*.f32 x x))) (neg.f32 (-.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x))) |
(/.f32 (neg.f32 (+.f32 (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32)))) (neg.f32 (fma.f32 x (-.f32 x (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 2 binary32))))) |
(/.f32 (-.f32 (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 2 binary32)) (*.f32 x x)) (-.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x)) |
(/.f32 (+.f32 (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 x x (-.f32 (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 2 binary32)) (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (*.f32 (pow.f32 x #s(literal 3 binary32)) x))))) |
(/.f32 (+.f32 (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 3 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 x (-.f32 x (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 2 binary32)))) |
(-.f32 (/.f32 (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 2 binary32)) (-.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x)) (/.f32 (*.f32 x x) (-.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x))) |
(-.f32 x (*.f32 (neg.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32))) (pow.f32 x #s(literal 3 binary32)))) |
(-.f32 x (*.f32 (neg.f32 (pow.f32 x #s(literal 3 binary32))) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)))) |
(-.f32 x (*.f32 (neg.f32 (*.f32 x x)) (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x))) |
(fma.f32 (*.f32 (pow.f32 x #s(literal 3 binary32)) (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x)) x (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 (pow.f32 x #s(literal 3 binary32)) #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32))) (*.f32 x x) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 (pow.f32 x #s(literal 3 binary32)) (*.f32 x x)) #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) (*.f32 x x)) x (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (*.f32 x x)) x x) |
(fma.f32 (*.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) x) (*.f32 x x) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) (*.f32 x x) x) |
(fma.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) (*.f32 x (pow.f32 x #s(literal 3 binary32))) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (neg.f32 x) (*.f32 (neg.f32 x) (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) x) |
(fma.f32 (fabs.f32 x) (*.f32 (fabs.f32 x) (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) x) |
(fma.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) (pow.f32 x #s(literal 3 binary32)) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)) x) |
(fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 (*.f32 x x) (pow.f32 x #s(literal 3 binary32))) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(fma.f32 (*.f32 x x) (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (pow.f32 x #s(literal 3 binary32))) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 x x) (*.f32 x (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x)) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 (*.f32 x x) (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x) x) |
(fma.f32 x (*.f32 (*.f32 x x) (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x)) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(fma.f32 x (*.f32 (*.f32 x x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32))) x) |
(fma.f32 x (*.f32 x (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) x) |
(+.f32 (+.f32 x (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) (*.f32 x (pow.f32 x #s(literal 3 binary32))))) (*.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)))) |
(+.f32 (/.f32 (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 3 binary32)) (fma.f32 x (-.f32 x (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 2 binary32)))) (/.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 x (-.f32 x (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) (pow.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) #s(literal 2 binary32))))) |
(+.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) (*.f32 x (pow.f32 x #s(literal 3 binary32)))) (fma.f32 #s(literal 1/3 binary32) (pow.f32 x #s(literal 3 binary32)) x)) |
(+.f32 (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) x) |
(+.f32 x (*.f32 (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32)))) |
(*.f32 (neg.f32 (neg.f32 x)) (neg.f32 (neg.f32 x))) |
(*.f32 (neg.f32 (fabs.f32 x)) (neg.f32 (fabs.f32 x))) |
(*.f32 (fabs.f32 (fabs.f32 x)) (fabs.f32 (fabs.f32 x))) |
(*.f32 (pow.f32 x #s(literal 1 binary32)) (pow.f32 x #s(literal 1 binary32))) |
(*.f32 (pow.f32 x #s(literal 1 binary32)) x) |
(*.f32 (neg.f32 x) (neg.f32 x)) |
(*.f32 (fabs.f32 x) (fabs.f32 x)) |
(*.f32 x x) |
(pow.f32 (neg.f32 x) #s(literal 2 binary32)) |
(pow.f32 (fabs.f32 x) #s(literal 2 binary32)) |
(pow.f32 x #s(literal 2 binary32)) |
(fabs.f32 (*.f32 x x)) |
(exp.f32 (*.f32 (log.f32 x) #s(literal 2 binary32))) |
(neg.f32 (*.f32 x (neg.f32 x))) |
(neg.f32 (*.f32 (neg.f32 x) x)) |
#s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) |
(/.f32 (-.f32 #s(literal 1/9 binary32) (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 2 binary32))) (-.f32 #s(literal 1/3 binary32) (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x))) |
(/.f32 (neg.f32 (-.f32 (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 2 binary32)) #s(literal 1/9 binary32))) (neg.f32 (-.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32)))) |
(/.f32 (neg.f32 (+.f32 #s(literal 1/27 binary32) (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 3 binary32)))) (neg.f32 (fma.f32 #s(literal 1/3 binary32) (-.f32 #s(literal 1/3 binary32) (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x)) (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 2 binary32))))) |
(/.f32 (-.f32 (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 2 binary32)) #s(literal 1/9 binary32)) (-.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32))) |
(/.f32 (+.f32 #s(literal 1/27 binary32) (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 3 binary32))) (+.f32 #s(literal 1/9 binary32) (-.f32 (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 2 binary32)) (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) (*.f32 x #s(literal 1/3 binary32)))))) |
(/.f32 (+.f32 #s(literal 1/27 binary32) (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 3 binary32))) (fma.f32 #s(literal 1/3 binary32) (-.f32 #s(literal 1/3 binary32) (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x)) (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 2 binary32)))) |
(-.f32 (/.f32 (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 2 binary32)) (-.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32))) (/.f32 #s(literal 1/9 binary32) (-.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32)))) |
(-.f32 #s(literal 1/3 binary32) (*.f32 (neg.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x)) x)) |
(-.f32 #s(literal 1/3 binary32) (*.f32 (neg.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32))) (*.f32 x x))) |
(-.f32 #s(literal 1/3 binary32) (*.f32 (neg.f32 (*.f32 x x)) #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)))) |
(fma.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (neg.f32 x)) (neg.f32 x) #s(literal 1/3 binary32)) |
(fma.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (fabs.f32 x)) (fabs.f32 x) #s(literal 1/3 binary32)) |
(fma.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x #s(literal 1/3 binary32)) |
(fma.f32 (neg.f32 x) (*.f32 (neg.f32 x) #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32))) #s(literal 1/3 binary32)) |
(fma.f32 (fabs.f32 x) (*.f32 (fabs.f32 x) #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32))) #s(literal 1/3 binary32)) |
(fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 (*.f32 x x) #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) #s(literal 1/3 binary32)) |
(fma.f32 x (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) #s(literal 1/3 binary32)) |
(+.f32 (/.f32 (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 3 binary32)) (fma.f32 #s(literal 1/3 binary32) (-.f32 #s(literal 1/3 binary32) (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x)) (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 2 binary32)))) (/.f32 #s(literal 1/27 binary32) (fma.f32 #s(literal 1/3 binary32) (-.f32 #s(literal 1/3 binary32) (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x)) (pow.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 2 binary32))))) |
(+.f32 (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x) #s(literal 1/3 binary32)) |
(+.f32 #s(literal 1/3 binary32) (*.f32 (*.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) x) x)) |
Compiled 5 027 to 500 computations (90.1% saved)
8 alts after pruning (0 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 123 | 0 | 123 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 7 | 7 |
| Total | 123 | 8 | 131 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
| ✓ | 99.6% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
| ✓ | 99.1% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
| ✓ | 99.4% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
| ✓ | 97.6% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| ✓ | 99.7% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
| ✓ | 99.5% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
| ✓ | 99.2% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
Compiled 514 to 209 computations (59.3% saved)
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
| Outputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
4 calls:
| 17.0ms | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 4.0ms | x |
| 4.0ms | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 4.0ms | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 99.9% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 99.9% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 99.9% | 1 | x |
Compiled 26 to 23 computations (11.5% saved)
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) (fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
| Outputs |
|---|
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
4 calls:
| 15.0ms | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 3.0ms | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 3.0ms | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 99.7% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 99.7% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 99.7% | 1 | x |
Compiled 26 to 23 computations (11.5% saved)
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) x))) |
| Outputs |
|---|
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
4 calls:
| 5.0ms | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 2.0ms | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 2.0ms | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.5% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 99.5% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 99.5% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 99.5% | 1 | x |
Compiled 26 to 23 computations (11.5% saved)
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x))) |
| Outputs |
|---|
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
4 calls:
| 2.0ms | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 2.0ms | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 2.0ms | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.2% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 99.2% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 99.2% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 99.2% | 1 | x |
Compiled 26 to 23 computations (11.5% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| Outputs |
|---|
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
4 calls:
| 14.0ms | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 1.0ms | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 1.0ms | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 1.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.6% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 97.6% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 97.6% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 97.6% | 1 | x |
Compiled 26 to 23 computations (11.5% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 36 | 112 |
| 1 | 55 | 112 |
| 2 | 107 | 112 |
| 3 | 261 | 112 |
| 4 | 1031 | 112 |
| 5 | 4959 | 112 |
| 1× | node limit |
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| Outputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 (fma.f32 #s(literal 1/7 binary32) (*.f32 x x) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) (fma.f32 #s(approx (+ (* 1/7 (* x x)) 1/5) #s(literal 1/5 binary32)) (*.f32 x x) #s(literal 1/3 binary32)) x)) |
#s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 234 |
| 0 | 60 | 222 |
| 0 | 240 | 222 |
| 0 | 9 | 28 |
| 0 | 15 | 28 |
| 1 | 53 | 28 |
| 0 | 365 | 28 |
| 0 | 159 | 710 |
| 1 | 589 | 701 |
| 2 | 2034 | 694 |
| 0 | 8064 | 660 |
| 0 | 106 | 302 |
| 1 | 386 | 291 |
| 2 | 1450 | 282 |
| 3 | 7495 | 282 |
| 0 | 8200 | 262 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
Compiled 112 to 41 computations (63.4% saved)
Compiled 244 to 100 computations (59% saved)
Loading profile data...