
Time bar (total: 7.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)
| 608.0ms | 8 256× | 0 | valid |
ival-atanh: 324.0ms (96.9% of total)ival-true: 5.0ms (1.5% of total)ival-assert: 3.0ms (0.9% of total)adjust: 2.0ms (0.6% 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 |
| 40.0ms | 512× | 0 | valid |
Compiled 92 to 31 computations (66.3% saved)
ival-div: 9.0ms (31.7% of total)ival-sub: 7.0ms (24.6% of total)ival-mult: 7.0ms (24.6% of total)ival-log1p: 4.0ms (14.1% of total)exact: 1.0ms (3.5% 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 | 2287 | 10 |
| 6 | 5638 | 10 |
| 0 | 8082 | 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.7% | (*.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 | 2287 | 35 |
| 6 | 5638 | 35 |
| 0 | 8082 | 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.0703125 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 21.0ms | 256× | 0 | valid |
Compiled 41 to 11 computations (73.2% saved)
ival-mult: 6.0ms (49.5% of total)ival-div: 2.0ms (16.5% of total)ival-log1p: 2.0ms (16.5% of total)ival-sub: 1.0ms (8.2% 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 | @ | inf | ((* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (log (+ 1 (/ (* 2 x) (- 1 x)))) (/ (* 2 x) (- 1 x)) (* 2 x)) |
| 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× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 106 | 302 |
| 1 | 386 | 291 |
| 2 | 1450 | 282 |
| 3 | 7495 | 282 |
| 0 | 8201 | 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 | 360 | 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 (pow.f32 (*.f32 (/.f32 x (-.f32 #s(literal 1 binary32) x)) #s(literal 2 binary32)) #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)))) |
(fma.f32 #s(literal 1 binary32) x x) |
(fma.f32 x #s(literal 1 binary32) x) |
(+.f32 x x) |
Compiled 972 to 252 computations (74.1% saved)
8 alts after pruning (8 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 47 | 8 | 55 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 48 | 8 | 56 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.7% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
| ▶ | 99.7% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))))) |
| 98.8% | (*.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))) | |
| ▶ | 98.5% | (*.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.8% | (*.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))) | |
| ▶ | 96.1% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| 98.6% | #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)) | |
| ▶ | 97.8% | #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 314 to 234 computations (25.5% saved)
| 1× | egg-herbie |
Found 18 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) | |
| cost-diff | 0 | (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))) | |
| cost-diff | 0 | (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)))) | |
| cost-diff | 0 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 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 | 35 | 226 |
| 0 | 57 | 216 |
| 1 | 95 | 216 |
| 2 | 215 | 216 |
| 3 | 791 | 216 |
| 4 | 3320 | 216 |
| 0 | 8050 | 216 |
| 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) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))))) |
#s(literal 1/2 binary32) |
(log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))) |
x |
(/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) |
#s(literal 2 binary32) |
(-.f32 #s(literal 1 binary32) x) |
#s(literal 1 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 #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 x x) (-.f32 #s(literal 1 binary32) x))) |
(log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x)) |
(/.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) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.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 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)))) |
(log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x)) |
(*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))) |
(*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x) |
x |
(/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) |
#s(literal 2 binary32) |
(-.f32 #s(literal 1 binary32) x) |
#s(literal 1 binary32) |
Found 18 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))))) | |
| accuracy | 0.0234375 | (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)))) | |
| accuracy | 0.0546875 | (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))) | |
| accuracy | 0.0859375 | (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 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.6919194789965267 | #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.00390625 | (fma.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) | |
| accuracy | 0.0234375 | (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) | |
| accuracy | 0.0546875 | (*.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.45938880671392424 | #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 | 1.26391068735361 | #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.0703125 | (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)) |
| 114.0ms | 256× | 0 | valid |
Compiled 199 to 32 computations (83.9% saved)
ival-pow: 42.0ms (41.8% of total)ival-mult: 15.0ms (14.9% of total)ival-add: 13.0ms (12.9% of total)ival-sub: 9.0ms (9% of total)const: 9.0ms (9% of total)ival-log1p: 6.0ms (6% of total)ival-div: 5.0ms (5% of total)exact: 1.0ms (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)) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))))) |
(log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))) |
(/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
| 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) |
(+ 2 (* 2 x)) |
(+ 2 (* x (+ 2 (* 2 x)))) |
(+ 2 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
2/3 |
(+ 2/3 (* 2/5 (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)))) |
(/ -2 x) |
(* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) |
(/ (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) x) |
(/ (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) x) |
(* 2/5 (pow x 2)) |
(* (pow x 2) (+ 2/5 (* 2/3 (/ 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 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) |
(* -1 (/ (+ 2 (* -1 (/ (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) x))) x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 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 (* x (/ 2 (- 1 x)))))) (log (+ 1 (* x (/ 2 (- 1 x))))) (* x (/ 2 (- 1 x))) (/ 2 (- 1 x)) (+ (* 2/5 (* x x)) 2/3)) |
| 2.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 (* x (/ 2 (- 1 x)))))) (log (+ 1 (* x (/ 2 (- 1 x))))) (* x (/ 2 (- 1 x))) (/ 2 (- 1 x)) (+ (* 2/5 (* x x)) 2/3)) |
| 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 (* x (/ 2 (- 1 x)))))) (log (+ 1 (* x (/ 2 (- 1 x))))) (* x (/ 2 (- 1 x))) (/ 2 (- 1 x)) (+ (* 2/5 (* x x)) 2/3)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 137 | 541 |
| 1 | 504 | 515 |
| 2 | 1870 | 508 |
| 0 | 8356 | 477 |
| 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) |
(+ 2 (* 2 x)) |
(+ 2 (* x (+ 2 (* 2 x)))) |
(+ 2 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
2/3 |
(+ 2/3 (* 2/5 (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)))) |
(/ -2 x) |
(* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) |
(/ (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) x) |
(/ (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) x) |
(* 2/5 (pow x 2)) |
(* (pow x 2) (+ 2/5 (* 2/3 (/ 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 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) |
(* -1 (/ (+ 2 (* -1 (/ (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) x))) x)) |
| 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)) |
(+ 2 (* 2 x)) |
(fma.f32 #s(literal 2 binary32) x #s(literal 2 binary32)) |
(+ 2 (* x (+ 2 (* 2 x)))) |
(fma.f32 (fma.f32 #s(literal 2 binary32) x #s(literal 2 binary32)) x #s(literal 2 binary32)) |
(+ 2 (* x (+ 2 (* x (+ 2 (* 2 x)))))) |
(*.f32 (fma.f32 x x #s(literal 1 binary32)) (fma.f32 #s(literal 2 binary32) x #s(literal 2 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/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 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) x) #s(literal 2 binary32)) |
(- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) |
(-.f32 (/.f32 (-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) x) #s(literal 2 binary32)) 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) |
(/ -2 x) |
(/.f32 #s(literal -2 binary32) x) |
(* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) |
(/.f32 (-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) x) |
(/ (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) x) |
(/.f32 (-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) x) #s(literal 2 binary32)) x) |
(/ (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) (pow x 2))) (+ 2 (* 2 (/ 1 x)))) x) |
(/.f32 (-.f32 (/.f32 (-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) x) #s(literal 2 binary32)) x) #s(literal 2 binary32)) x) |
(* 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 (/ (- (* -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 #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 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) 2) |
(-.f32 (/.f32 (-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) x) #s(literal 2 binary32)) 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 (/ (+ 2 (+ (* 2 (/ 1 x)) (/ 2 (pow x 2)))) x)) |
(/.f32 (-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) x) #s(literal 2 binary32)) x) |
(* -1 (/ (+ 2 (* -1 (/ (- (* -1 (/ (+ 2 (* 2 (/ 1 x))) x)) 2) x))) x)) |
(/.f32 (-.f32 (/.f32 (-.f32 (/.f32 (-.f32 #s(literal -2 binary32) (/.f32 #s(literal 2 binary32) x)) x) #s(literal 2 binary32)) x) #s(literal 2 binary32)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 199 |
| 0 | 57 | 189 |
| 0 | 206 | 189 |
| 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)) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))))) |
(log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))) |
(/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) |
(fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) |
| Outputs |
|---|
(log.f32 (pow.f32 (fma.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x #s(literal 1 binary32)) #s(literal 1/2 binary32))) |
(*.f32 (log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x)) #s(literal 1/2 binary32)) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x))) |
(log.f32 (fma.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x #s(literal 1 binary32))) |
(log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x)) |
(*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x) |
(*.f32 #s(literal 2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x))) |
(*.f32 x (/.f32 #s(literal 2 binary32) (-.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)) (pow.f32 #s(literal 2 binary32) #s(literal 3 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))) |
(log.f32 (pow.f32 (fma.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x #s(literal 1 binary32)) #s(literal 1/2 binary32))) |
(*.f32 (log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x)) #s(literal 1/2 binary32)) |
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x))) |
(log.f32 (fma.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x #s(literal 1 binary32))) |
(log1p.f32 (*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x)) |
(*.f32 (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x)) x) |
(*.f32 #s(literal 2 binary32) (/.f32 x (-.f32 #s(literal 1 binary32) x))) |
(*.f32 x (/.f32 #s(literal 2 binary32) (-.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) (neg.f32 (-.f32 #s(literal 1 binary32) x))) |
(/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) 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)) (pow.f32 #s(literal 2/3 binary32) #s(literal 3 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))) |
Compiled 2 346 to 429 computations (81.7% saved)
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 94 | 4 | 98 |
| Fresh | 3 | 0 | 3 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 98 | 8 | 106 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
| ✓ | 99.7% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))))) |
| ▶ | 98.8% | (*.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))) |
| ▶ | 97.8% | (*.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))) |
| ✓ | 98.5% | (*.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))) |
| ✓ | 96.1% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| ▶ | 98.6% | #s(approx (* 1/2 (log (+ 1 (/ (+ x 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)) |
| ▶ | 97.8% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
Compiled 159 to 114 computations (28.3% 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 | (fma.f32 #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 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) x) | |
| cost-diff | 0 | #s(approx (* 1/2 (log (+ 1 (/ (+ x 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)) | |
| 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 | 39 | 271 |
| 0 | 60 | 265 |
| 1 | 116 | 265 |
| 2 | 356 | 265 |
| 3 | 1653 | 265 |
| 4 | 5887 | 265 |
| 0 | 8086 | 253 |
| 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 (/ (+ x 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)) |
(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) |
(pow.f32 x #s(literal 3 binary32)) |
x |
#s(literal 3 binary32) |
(fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) |
#s(literal 1/5 binary32) |
(*.f32 x x) |
#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 (/ (+ x x) (- 1 x))))) (fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/3 binary32) x)) |
(fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x) |
(fma.f32 (pow.f32 x #s(literal 3 binary32)) #s(literal 1/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 (/ (+ x 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)) |
#s(approx (* 1/2 (log (+ 1 (/ (+ x x) (- 1 x))))) (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)) |
(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) |
(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) |
(pow.f32 x #s(literal 3 binary32)) |
x |
#s(literal 3 binary32) |
(fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) |
#s(literal 1/5 binary32) |
(*.f32 x x) |
#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.02734375 | (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.0390625 | (fma.f32 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/5 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.3568726175448778 | #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.02734375 | (*.f32 (fma.f32 #s(literal 2/3 binary32) (*.f32 x x) #s(literal 2 binary32)) x) | |
| accuracy | 0.6919194789965267 | #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.0 | (*.f32 x x) | |
| accuracy | 0.00390625 | (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) | |
| accuracy | 0.0234375 | (fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) | |
| accuracy | 0.45938880671392424 | #s(approx (* 1/2 (log (+ 1 (/ (+ x 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)) | |
| accuracy | 0.0 | (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x) | |
| accuracy | 0.0 | (*.f32 x x) | |
| accuracy | 0.1015625 | (*.f32 (*.f32 x x) x) | |
| accuracy | 0.6919194789965267 | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
| 89.0ms | 256× | 0 | valid |
Compiled 211 to 40 computations (81% saved)
ival-mult: 39.0ms (51.1% of total)const: 13.0ms (17% of total)ival-add: 9.0ms (11.8% of total)ival-div: 4.0ms (5.2% of total)ival-log1p: 4.0ms (5.2% of total)ival-pow: 4.0ms (5.2% of total)ival-sub: 1.0ms (1.3% 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 (/ (+ x 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)) |
(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) |
(pow.f32 x #s(literal 3 binary32)) |
(fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #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(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 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/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)) |
| 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/3 |
(+ 1/3 (* 1/5 (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))))))) |
2/5 |
(+ 2/5 (* 2/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))))) |
(* 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/5 (pow x 5)) |
(* (pow x 5) (+ 1/5 (* 1/3 (/ 1 (pow x 2))))) |
(* (pow x 5) (+ 1/5 (+ (* 1/3 (/ 1 (pow x 2))) (/ 1 (pow x 4))))) |
(* 1/5 (pow x 2)) |
(* (pow x 2) (+ 1/5 (* 1/3 (/ 1 (pow x 2))))) |
(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))))))) |
(* 2/7 (pow x 2)) |
(* (pow x 2) (+ 2/7 (* 2/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)))))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 2))) 1/5))) |
(+ (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 | |
|---|---|---|---|---|
| 18.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 (/ (+ x x) (- 1 x))))) (+ (* (pow x 3) (+ (* 1/5 (* x x)) 1/3)) x) (pow x 3) (+ (* 1/5 (* x x)) 1/3) (* 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) (+ (* 2/7 (* x x)) 2/5) (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3)) |
| 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 (/ (+ x x) (- 1 x))))) (+ (* (pow x 3) (+ (* 1/5 (* x x)) 1/3)) x) (pow x 3) (+ (* 1/5 (* x x)) 1/3) (* 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) (+ (* 2/7 (* x x)) 2/5) (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3)) |
| 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 (/ (+ x x) (- 1 x))))) (+ (* (pow x 3) (+ (* 1/5 (* x x)) 1/3)) x) (pow x 3) (+ (* 1/5 (* x x)) 1/3) (* 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) (+ (* 2/7 (* x x)) 2/5) (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 146 | 606 |
| 1 | 537 | 597 |
| 2 | 1869 | 592 |
| 0 | 8229 | 561 |
| 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/3 |
(+ 1/3 (* 1/5 (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))))))) |
2/5 |
(+ 2/5 (* 2/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))))) |
(* 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/5 (pow x 5)) |
(* (pow x 5) (+ 1/5 (* 1/3 (/ 1 (pow x 2))))) |
(* (pow x 5) (+ 1/5 (+ (* 1/3 (/ 1 (pow x 2))) (/ 1 (pow x 4))))) |
(* 1/5 (pow x 2)) |
(* (pow x 2) (+ 1/5 (* 1/3 (/ 1 (pow x 2))))) |
(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))))))) |
(* 2/7 (pow x 2)) |
(* (pow x 2) (+ 2/7 (* 2/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)))))) |
(+ (* -1 (/ (- (* -1 (/ (+ 1/3 (* 1/5 (/ 1 (pow x 2)))) (pow x 2))) 1) x)) (* 1/2 (log -1))) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 2))) 1/5))) |
(+ (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) |
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)) |
(* 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)) |
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)) |
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)) |
(* 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/5 (pow x 5)) |
(*.f32 (pow.f32 x #s(literal 5 binary32)) #s(literal 1/5 binary32)) |
(* (pow x 5) (+ 1/5 (* 1/3 (/ 1 (pow x 2))))) |
(*.f32 (-.f32 (/.f32 #s(literal 1/3 binary32) (*.f32 x x)) #s(literal -1/5 binary32)) (pow.f32 x #s(literal 5 binary32))) |
(* (pow x 5) (+ 1/5 (+ (* 1/3 (/ 1 (pow x 2))) (/ 1 (pow x 4))))) |
(*.f32 (-.f32 (-.f32 (/.f32 #s(literal 1 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal -1/5 binary32)) (/.f32 #s(literal -1/3 binary32) (*.f32 x x))) (pow.f32 x #s(literal 5 binary32))) |
(* 1/5 (pow x 2)) |
(*.f32 #s(literal 1/5 binary32) (*.f32 x x)) |
(* (pow x 2) (+ 1/5 (* 1/3 (/ 1 (pow x 2))))) |
(fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 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 (pow.f32 x #s(literal 6 binary32)) (+.f32 (/.f32 #s(literal 2/5 binary32) (*.f32 x x)) #s(literal 2/7 binary32))) |
(* (pow x 6) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(*.f32 (pow.f32 x #s(literal 6 binary32)) (-.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 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))) |
(* 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)) |
(* 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))) |
(+ (* -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)) (neg.f32 x))) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 1/3 (/ 1 (pow x 2))) (pow x 2))) 1/5))) |
(*.f32 (-.f32 (-.f32 (/.f32 #s(literal 1 binary32) (pow.f32 x #s(literal 4 binary32))) #s(literal -1/5 binary32)) (/.f32 #s(literal -1/3 binary32) (*.f32 x x))) (pow.f32 x #s(literal 5 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 | 39 | 246 |
| 0 | 60 | 240 |
| 0 | 253 | 228 |
| 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 (/ (+ x 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)) |
(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) |
(pow.f32 x #s(literal 3 binary32)) |
(fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #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(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 #s(literal 2/7 binary32) (*.f32 x x) #s(literal 2/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)) |
| Outputs |
|---|
(*.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 #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 #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 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) (*.f32 (fma.f32 #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 #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(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 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) (pow.f32 x #s(literal 3 binary32))) (*.f32 (fma.f32 #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 #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 #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 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) x) |
(+.f32 (*.f32 (fma.f32 #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(literal 1/5 binary32) (*.f32 x x) #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))) |
(/.f32 (-.f32 (*.f32 (*.f32 #s(literal 1/5 binary32) (*.f32 x x)) (*.f32 #s(literal 1/5 binary32) (*.f32 x x))) #s(literal 1/9 binary32)) (-.f32 (*.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/3 binary32))) |
(/.f32 (+.f32 (pow.f32 (*.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 3 binary32)) (pow.f32 #s(literal 1/3 binary32) #s(literal 3 binary32))) (fma.f32 (*.f32 #s(literal 1/5 binary32) (*.f32 x x)) (*.f32 #s(literal 1/5 binary32) (*.f32 x x)) (-.f32 #s(literal 1/9 binary32) (*.f32 (*.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/3 binary32))))) |
(fma.f32 (*.f32 #s(literal 1/5 binary32) x) x #s(literal 1/3 binary32)) |
(fma.f32 #s(literal 1/5 binary32) (*.f32 x x) #s(literal 1/3 binary32)) |
(fma.f32 (*.f32 x x) #s(literal 1/5 binary32) #s(literal 1/3 binary32)) |
(+.f32 (*.f32 #s(literal 1/5 binary32) (*.f32 x x)) #s(literal 1/3 binary32)) |
(+.f32 #s(literal 1/3 binary32) (*.f32 #s(literal 1/5 binary32) (*.f32 x 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)) |
(*.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)) (pow.f32 #s(literal 2 binary32) #s(literal 3 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)) (pow.f32 #s(literal 2 binary32) #s(literal 3 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 #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)) (pow.f32 #s(literal 2/5 binary32) #s(literal 3 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))) |
(/.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)) (pow.f32 #s(literal 2/3 binary32) #s(literal 3 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)) |
Compiled 4 618 to 666 computations (85.6% saved)
9 alts after pruning (1 fresh and 8 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 142 | 1 | 143 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 4 | 4 |
| Total | 142 | 9 | 151 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
| ✓ | 99.7% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))))) |
| ✓ | 98.8% | (*.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))) |
| ✓ | 97.8% | (*.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))) |
| ▶ | 98.8% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x))) |
| ✓ | 98.5% | (*.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))) |
| ✓ | 96.1% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| ✓ | 98.6% | #s(approx (* 1/2 (log (+ 1 (/ (+ x 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)) |
| ✓ | 97.8% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
Compiled 191 to 135 computations (29.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.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) #s(literal 2 binary32)) x) | |
| cost-diff | 0 | #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x)) | |
| cost-diff | 0 | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x))) | |
| cost-diff | 1 | (+.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)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 152 |
| 0 | 31 | 152 |
| 1 | 56 | 152 |
| 2 | 160 | 152 |
| 3 | 682 | 152 |
| 4 | 2821 | 152 |
| 5 | 6965 | 152 |
| 0 | 8311 | 144 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x))) |
#s(literal 1/2 binary32) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x)) |
(*.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) #s(literal 2 binary32)) x) |
(+.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 (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 (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) |
(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 |
|---|
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x))) |
(*.f32 #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) 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 (+.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)) x)) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x #s(literal 2 binary32)) x)) |
(*.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) #s(literal 2 binary32)) x) |
(*.f32 (fma.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x #s(literal 2 binary32)) x) |
(+.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 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x #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 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) |
(*.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) |
(*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) 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)) |
(fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #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)) |
(fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #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 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.04296875 | (*.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) #s(literal 2 binary32)) x) | |
| accuracy | 0.16015625 | (*.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) | |
| accuracy | 0.30859375 | (*.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) | |
| accuracy | 0.3568726175448778 | #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x)) |
| 40.0ms | 256× | 0 | valid |
Compiled 125 to 23 computations (81.6% saved)
const: 11.0ms (34.3% of total)ival-mult: 10.0ms (31.2% of total)ival-add: 5.0ms (15.6% of total)ival-div: 2.0ms (6.2% of total)ival-log1p: 2.0ms (6.2% of total)ival-sub: 1.0ms (3.1% 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 (*.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 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x)) |
(*.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) #s(literal 2 binary32)) x) |
(*.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) |
(*.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) |
| Outputs |
|---|
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))))))) |
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)))))))) |
(* 2/3 x) |
(* x (+ 2/3 (* 2/5 (pow x 2)))) |
(* x (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))) |
(* 2/3 (pow x 2)) |
(* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))) |
(* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))) |
(* 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/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/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 5)) |
(* (pow x 5) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(* (pow x 5) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 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))) |
(+ (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))))))) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 2/5 (* 2/3 (/ 1 (pow x 2)))) (pow x 2))) 2/7))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x 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) (* (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) x) x)) |
| 1.0ms | x | @ | inf | ((+ (* (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x 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) (* (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) x) x)) |
| 1.0ms | x | @ | 0 | ((+ (* (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x 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) (* (* (+ (* (+ (* 2/7 (* x x)) 2/5) (* x x)) 2/3) x) x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 130 | 528 |
| 1 | 472 | 521 |
| 2 | 1602 | 515 |
| 3 | 7766 | 515 |
| 0 | 8241 | 488 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
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))))))) |
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)))))))) |
(* 2/3 x) |
(* x (+ 2/3 (* 2/5 (pow x 2)))) |
(* x (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))) |
(* 2/3 (pow x 2)) |
(* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))) |
(* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))) |
(* 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/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/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 5)) |
(* (pow x 5) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(* (pow x 5) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 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))) |
(+ (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))))))) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 2/5 (* 2/3 (/ 1 (pow x 2)))) (pow x 2))) 2/7))) |
| Outputs |
|---|
2 |
#s(literal 2 binary32) |
(+ 2 (* 2/3 (pow x 2))) |
(fma.f32 (*.f32 x x) #s(literal 2/3 binary32) #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)) |
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 (*.f32 x x) #s(literal 2/3 binary32) #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/3 x) |
(*.f32 #s(literal 2/3 binary32) x) |
(* x (+ 2/3 (* 2/5 (pow x 2)))) |
(*.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) x) |
(* x (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))) |
(*.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) |
(* 2/3 (pow x 2)) |
(*.f32 (*.f32 x x) #s(literal 2/3 binary32)) |
(* (pow x 2) (+ 2/3 (* 2/5 (pow x 2)))) |
(*.f32 (*.f32 (fma.f32 #s(literal 2/5 binary32) (*.f32 x x) #s(literal 2/3 binary32)) x) x) |
(* (pow x 2) (+ 2/3 (* (pow x 2) (+ 2/5 (* 2/7 (pow x 2)))))) |
(*.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) |
(* 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/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/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 (pow.f32 x #s(literal 7 binary32)) (+.f32 (/.f32 #s(literal 2/5 binary32) (*.f32 x x)) #s(literal 2/7 binary32))) |
(* (pow x 7) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(*.f32 (pow.f32 x #s(literal 7 binary32)) (-.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 x 7) (+ 2/7 (+ (/ 2/3 (pow x 4)) (+ (* 2/5 (/ 1 (pow x 2))) (* 2 (/ 1 (pow x 6))))))) |
(*.f32 (pow.f32 x #s(literal 7 binary32)) (-.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))))) |
(* 2/7 (pow x 5)) |
(*.f32 (pow.f32 x #s(literal 5 binary32)) #s(literal 2/7 binary32)) |
(* (pow x 5) (+ 2/7 (* 2/5 (/ 1 (pow x 2))))) |
(*.f32 (pow.f32 x #s(literal 5 binary32)) (+.f32 (/.f32 #s(literal 2/5 binary32) (*.f32 x x)) #s(literal 2/7 binary32))) |
(* (pow x 5) (+ 2/7 (+ (/ 2/3 (pow x 4)) (* 2/5 (/ 1 (pow x 2)))))) |
(*.f32 (pow.f32 x #s(literal 5 binary32)) (-.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)))) |
(+ (* -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 #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 #s(literal -2/3 binary32) (/.f32 (/.f32 #s(literal 2 binary32) x) x)) (pow.f32 x #s(literal 4 binary32))) (+.f32 (/.f32 #s(literal 2/5 binary32) (*.f32 x x)) #s(literal 2/7 binary32)))) |
(* -1 (* (pow x 5) (- (* -1 (/ (+ 2/5 (* 2/3 (/ 1 (pow x 2)))) (pow x 2))) 2/7))) |
(*.f32 (neg.f32 (pow.f32 x #s(literal 5 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)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 126 |
| 0 | 31 | 126 |
| 0 | 128 | 118 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(+.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 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x)) |
(*.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) #s(literal 2 binary32)) x) |
(*.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) |
(*.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) |
| Outputs |
|---|
(/.f32 (-.f32 (*.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) (*.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #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 (*.f32 x x) #s(literal 2/7 binary32) #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 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) #s(literal 3 binary32)) (pow.f32 #s(literal 2 binary32) #s(literal 3 binary32))) (fma.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) (*.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #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 (*.f32 x x) #s(literal 2/7 binary32) #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 (*.f32 x x) #s(literal 2/7 binary32) #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 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x) #s(literal 2 binary32)) |
(fma.f32 x (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) #s(literal 2 binary32)) |
(+.f32 #s(literal 2 binary32) (*.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x)) |
(+.f32 (*.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) #s(literal 2 binary32)) |
(*.f32 #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) 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 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x #s(literal 2 binary32)) x))) |
#s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.f32 (fma.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x #s(literal 2 binary32)) x)) |
(*.f32 (fma.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x #s(literal 2 binary32)) x) |
(*.f32 x (fma.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x #s(literal 2 binary32))) |
(*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) |
(*.f32 x (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32))) |
(*.f32 (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x) x) |
(*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) (*.f32 x x)) |
(*.f32 x (*.f32 (fma.f32 (fma.f32 (*.f32 x x) #s(literal 2/7 binary32) #s(literal 2/5 binary32)) (*.f32 x x) #s(literal 2/3 binary32)) x)) |
Compiled 2 173 to 325 computations (85% saved)
9 alts after pruning (0 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 58 | 0 | 58 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 8 | 8 |
| Total | 58 | 9 | 67 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.7% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
| ✓ | 99.7% | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (*.f32 x (/.f32 #s(literal 2 binary32) (-.f32 #s(literal 1 binary32) x))))) |
| ✓ | 98.8% | (*.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))) |
| ✓ | 97.8% | (*.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))) |
| ✓ | 98.8% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x))) |
| ✓ | 98.5% | (*.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))) |
| ✓ | 96.1% | (*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.f32 #s(literal 2 binary32) x))) |
| ✓ | 98.6% | #s(approx (* 1/2 (log (+ 1 (/ (+ x 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)) |
| ✓ | 97.8% | #s(approx (* 1/2 (log (+ 1 (/ (* 2 x) (- 1 x))))) (fma.f32 (*.f32 (*.f32 x x) x) #s(literal 1/3 binary32) x)) |
Compiled 487 to 210 computations (56.9% 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))) |
(*.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(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))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #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)) |
#s(approx (* 1/2 (log (+ 1 (/ (+ x 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 x (/.f32 #s(literal 2 binary32) (-.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)))) |
| Outputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
4 calls:
| 279.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)) |
| 4.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 |
| 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))) |
(*.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(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))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #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)) |
#s(approx (* 1/2 (log (+ 1 (/ (+ x 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 |
|---|
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x))) |
4 calls:
| 3.0ms | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 3.0ms | 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)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.8% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 98.8% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 98.8% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 98.8% | 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))) |
(*.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(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))) |
| Outputs |
|---|
(*.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))) |
4 calls:
| 31.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 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.8% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 98.8% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 98.8% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 98.8% | 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))) |
(*.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 |
|---|
(*.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))) |
4 calls:
| 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 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.5% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 98.5% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 98.5% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 98.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 |
|---|---|---|
| 97.8% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 97.8% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 97.8% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 97.8% | 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:
| 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 | (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 |
|---|---|---|
| 96.1% | 1 | (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)) |
| 96.1% | 1 | (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x))) |
| 96.1% | 1 | (*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (*.f32 #s(literal 2 binary32) x) (-.f32 #s(literal 1 binary32) x)))) |
| 96.1% | 1 | x |
Compiled 26 to 23 computations (11.5% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 47 | 136 |
| 1 | 60 | 136 |
| 2 | 82 | 136 |
| 3 | 162 | 136 |
| 4 | 747 | 136 |
| 5 | 7264 | 136 |
| 1× | node limit |
| Inputs |
|---|
(*.f32 #s(literal 1/2 binary32) (log1p.f32 (/.f32 (+.f32 x x) (-.f32 #s(literal 1 binary32) x)))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 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 (/ (* 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) #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)))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (+ x x) (- 1 x)))) (*.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) #s(literal 2 binary32)) x))) |
(*.f32 #s(literal 1/2 binary32) #s(approx (log (+ 1 (/ (* 2 x) (- 1 x)))) (*.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) #s(literal 2 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 (/ (* 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) #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 | 39 | 246 |
| 0 | 60 | 240 |
| 0 | 253 | 228 |
| 0 | 137 | 541 |
| 1 | 504 | 515 |
| 2 | 1870 | 508 |
| 0 | 8356 | 477 |
| 0 | 35 | 199 |
| 0 | 57 | 189 |
| 0 | 206 | 189 |
| 0 | 106 | 302 |
| 1 | 386 | 291 |
| 2 | 1450 | 282 |
| 3 | 7495 | 282 |
| 0 | 8201 | 262 |
| 0 | 9 | 28 |
| 0 | 15 | 28 |
| 1 | 53 | 28 |
| 0 | 360 | 28 |
| 1× | done |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter 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× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
Compiled 136 to 46 computations (66.2% saved)
Compiled 292 to 110 computations (62.3% saved)
Loading profile data...