Time bar (total: 5.8s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 0% | 100% | 0 |
| 0% | 0% | 100% | 1 |
Compiled 66 to 48 computations (27.3% saved)
| 2.5s | 8256× | body | 128 | valid |
| 2× | egg-herbie |
| 696× | associate-/l*_binary32 |
| 691× | associate-/l/_binary32 |
| 677× | times-frac_binary32 |
| 373× | associate-/r/_binary32 |
| 359× | associate-/r*_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 102 | 374 |
| 1 | 361 | 374 |
| 2 | 1272 | 352 |
| 0 | 5 | 5 |
| 1 | 5 | 5 |
| 1× | unsound |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
2 |
3 |
4 |
| Outputs |
|---|
0 |
1 |
0 |
2 |
3 |
2 |
4 |
| Inputs |
|---|
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_O cosTheta_i) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 cosTheta_i sinTheta_O) v))) (/.f32 (*.f32 sinTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i cosTheta_i) v))) (/.f32 (*.f32 sinTheta_O cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) cosTheta_i))) (/.f32 (*.f32 v cosTheta_O) cosTheta_i)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 cosTheta_i)) 2) cosTheta_i)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 cosTheta_O sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i sinTheta_i) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i cosTheta_O) v))) (/.f32 (*.f32 cosTheta_i sinTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) cosTheta_O))) (/.f32 (*.f32 cosTheta_i v) cosTheta_O)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 cosTheta_O)) 2) cosTheta_O)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_O sinTheta_i) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 v sinTheta_O) sinTheta_i))) (/.f32 (*.f32 cosTheta_i cosTheta_O) sinTheta_i)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 sinTheta_i)) 2) sinTheta_i)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i v) sinTheta_O))) (/.f32 (*.f32 cosTheta_i cosTheta_O) sinTheta_O)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 sinTheta_O)) 2) sinTheta_O)) |
| Outputs |
|---|
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i sinTheta_O)) v)) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (/.f32 cosTheta_i (/.f32 v cosTheta_O)) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i (neg.f32 sinTheta_O)) v)) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 cosTheta_O (*.f32 v (/.f32 v cosTheta_i)))) |
(/.f32 (/.f32 (*.f32 (/.f32 cosTheta_O v) cosTheta_i) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (pow.f32 (exp.f32 (/.f32 sinTheta_O v)) sinTheta_i))) v) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_O cosTheta_i) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i sinTheta_O)) v)) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (/.f32 cosTheta_i (/.f32 v cosTheta_O)) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i (neg.f32 sinTheta_O)) v)) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 cosTheta_O (*.f32 v (/.f32 v cosTheta_i)))) |
(/.f32 (/.f32 (*.f32 (/.f32 cosTheta_O v) cosTheta_i) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (pow.f32 (exp.f32 (/.f32 sinTheta_O v)) sinTheta_i))) v) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 cosTheta_i sinTheta_O) v))) (/.f32 (*.f32 sinTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_O cosTheta_i)) v)) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (/.f32 sinTheta_i (/.f32 v cosTheta_O)) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 cosTheta_i) (/.f32 v sinTheta_O))) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (*.f32 sinTheta_i cosTheta_O) (*.f32 v v))) |
(/.f32 (/.f32 (/.f32 (/.f32 cosTheta_O (/.f32 v sinTheta_i)) (exp.f32 (*.f32 (/.f32 sinTheta_O v) cosTheta_i))) (sinh.f32 (/.f32 1 v))) (*.f32 v 2)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i cosTheta_i) v))) (/.f32 (*.f32 sinTheta_O cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(*.f32 (/.f32 (exp.f32 (neg.f32 (/.f32 cosTheta_i (/.f32 v sinTheta_i)))) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (/.f32 sinTheta_O (/.f32 v cosTheta_O)) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 cosTheta_i) (/.f32 v sinTheta_i))) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 cosTheta_O (*.f32 v (/.f32 v sinTheta_O)))) |
(/.f32 (/.f32 (*.f32 (/.f32 sinTheta_O v) cosTheta_O) (*.f32 v (exp.f32 (*.f32 (/.f32 cosTheta_i v) sinTheta_i)))) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) cosTheta_i))) (/.f32 (*.f32 v cosTheta_O) cosTheta_i)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 cosTheta_i)) 2) cosTheta_i)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i sinTheta_O)) cosTheta_i)) (*.f32 2 (sinh.f32 (/.f32 1 cosTheta_i)))) (/.f32 (/.f32 v (/.f32 cosTheta_i cosTheta_O)) cosTheta_i)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 sinTheta_i) (/.f32 cosTheta_i sinTheta_O))) (*.f32 2 (sinh.f32 (/.f32 1 cosTheta_i)))) (/.f32 (*.f32 (/.f32 v cosTheta_i) cosTheta_O) cosTheta_i)) |
(/.f32 (/.f32 (*.f32 v cosTheta_O) (pow.f32 (exp.f32 (/.f32 sinTheta_i cosTheta_i)) sinTheta_O)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 cosTheta_i)) (*.f32 cosTheta_i 2)) cosTheta_i)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 cosTheta_O sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i sinTheta_i) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_O cosTheta_O)) v)) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (/.f32 cosTheta_i (/.f32 v sinTheta_i)) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (*.f32 cosTheta_O (neg.f32 sinTheta_O)) v)) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 sinTheta_i (*.f32 v (/.f32 v cosTheta_i)))) |
(/.f32 (/.f32 (*.f32 (/.f32 cosTheta_i v) sinTheta_i) (*.f32 2 (pow.f32 (exp.f32 (/.f32 sinTheta_O v)) cosTheta_O))) (*.f32 (sinh.f32 (/.f32 1 v)) v)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i cosTheta_O) v))) (/.f32 (*.f32 cosTheta_i sinTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i cosTheta_O)) v)) (/.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 cosTheta_i (/.f32 v sinTheta_O)))) |
(/.f32 (/.f32 sinTheta_O (/.f32 v cosTheta_i)) (/.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (exp.f32 (/.f32 (*.f32 sinTheta_i (neg.f32 cosTheta_O)) v)))) |
(/.f32 (/.f32 (/.f32 (*.f32 (/.f32 sinTheta_O v) cosTheta_i) (pow.f32 (exp.f32 (/.f32 sinTheta_i v)) cosTheta_O)) (sinh.f32 (/.f32 1 v))) (*.f32 v 2)) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) cosTheta_O))) (/.f32 (*.f32 cosTheta_i v) cosTheta_O)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 cosTheta_O)) 2) cosTheta_O)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i sinTheta_O)) cosTheta_O)) (*.f32 2 (sinh.f32 (/.f32 1 cosTheta_O)))) (/.f32 (/.f32 cosTheta_i (/.f32 cosTheta_O v)) cosTheta_O)) |
(/.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i (neg.f32 sinTheta_O)) cosTheta_O)) (*.f32 (/.f32 (*.f32 (sinh.f32 (/.f32 1 cosTheta_O)) (*.f32 cosTheta_O 2)) cosTheta_i) (/.f32 cosTheta_O v))) |
(/.f32 (/.f32 (/.f32 cosTheta_i (/.f32 cosTheta_O v)) (pow.f32 (exp.f32 (/.f32 sinTheta_i cosTheta_O)) sinTheta_O)) (*.f32 (sinh.f32 (/.f32 1 cosTheta_O)) (*.f32 cosTheta_O 2))) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_O sinTheta_i) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i sinTheta_O)) v)) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 (/.f32 cosTheta_i (/.f32 v cosTheta_O)) v)) |
(*.f32 (/.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i (neg.f32 sinTheta_O)) v)) (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 cosTheta_O (*.f32 v (/.f32 v cosTheta_i)))) |
(/.f32 (/.f32 (*.f32 (/.f32 cosTheta_O v) cosTheta_i) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (pow.f32 (exp.f32 (/.f32 sinTheta_O v)) sinTheta_i))) v) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 v sinTheta_O) sinTheta_i))) (/.f32 (*.f32 cosTheta_i cosTheta_O) sinTheta_i)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 sinTheta_i)) 2) sinTheta_i)) |
(/.f32 (*.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_O v)) sinTheta_i)) (/.f32 (*.f32 cosTheta_i cosTheta_O) sinTheta_i)) (*.f32 (sinh.f32 (/.f32 1 sinTheta_i)) (*.f32 2 sinTheta_i))) |
(*.f32 (/.f32 (*.f32 (/.f32 cosTheta_i sinTheta_i) cosTheta_O) (sinh.f32 (/.f32 1 sinTheta_i))) (/.f32 (exp.f32 (/.f32 (*.f32 v (neg.f32 sinTheta_O)) sinTheta_i)) (*.f32 sinTheta_i 2))) |
(/.f32 (*.f32 (/.f32 cosTheta_i sinTheta_i) cosTheta_O) (*.f32 (*.f32 (sinh.f32 (/.f32 1 sinTheta_i)) (*.f32 sinTheta_i 2)) (pow.f32 (exp.f32 (/.f32 v sinTheta_i)) sinTheta_O))) |
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i v) sinTheta_O))) (/.f32 (*.f32 cosTheta_i cosTheta_O) sinTheta_O)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 sinTheta_O)) 2) sinTheta_O)) |
(/.f32 (*.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i v)) sinTheta_O)) (/.f32 cosTheta_i (/.f32 sinTheta_O cosTheta_O))) (*.f32 (sinh.f32 (/.f32 1 sinTheta_O)) (*.f32 2 sinTheta_O))) |
(*.f32 (/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i v)) sinTheta_O)) (*.f32 2 (sinh.f32 (/.f32 1 sinTheta_O)))) (/.f32 cosTheta_i (*.f32 sinTheta_O (/.f32 sinTheta_O cosTheta_O)))) |
(/.f32 (*.f32 (/.f32 cosTheta_i sinTheta_O) cosTheta_O) (*.f32 (*.f32 2 (*.f32 (sinh.f32 (/.f32 1 sinTheta_O)) sinTheta_O)) (exp.f32 (/.f32 sinTheta_i (/.f32 sinTheta_O v))))) |
(sort cosTheta_i cosTheta_O)
(sort sinTheta_i sinTheta_O)
Compiled 27 to 19 computations (29.6% saved)
| 1× | egg-herbie |
| 914× | times-frac_binary32 |
| 551× | associate-/l*_binary32 |
| 460× | associate-/l/_binary32 |
| 360× | associate-*l/_binary32 |
| 311× | associate-/r/_binary32 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 20 | 34 |
| 1 | 54 | 34 |
| 2 | 173 | 32 |
| 3 | 800 | 32 |
| 1× | node limit |
| Inputs |
|---|
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
| Outputs |
|---|
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i sinTheta_O)) v)) (/.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (/.f32 cosTheta_i (/.f32 v cosTheta_O)))) |
(*.f32 (/.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i (neg.f32 sinTheta_O)) v)) (sinh.f32 (/.f32 1 v))) (/.f32 (/.f32 cosTheta_i (/.f32 v cosTheta_O)) (*.f32 v 2))) |
(/.f32 (*.f32 (/.f32 cosTheta_O v) cosTheta_i) (*.f32 (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2)) (pow.f32 (exp.f32 (/.f32 sinTheta_i v)) sinTheta_O))) |
(*.f32 (/.f32 (/.f32 1/2 (sinh.f32 (/.f32 1 v))) (pow.f32 (exp.f32 sinTheta_O) (/.f32 sinTheta_i v))) (*.f32 (/.f32 cosTheta_i (*.f32 v v)) cosTheta_O)) |
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| 0.5b | (*.f32 (/.f32 (/.f32 1/2 (sinh.f32 (/.f32 1 v))) (pow.f32 (exp.f32 sinTheta_O) (/.f32 sinTheta_i v))) (*.f32 (/.f32 cosTheta_i (*.f32 v v)) cosTheta_O)) | |
| ▶ | 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
Compiled 154 to 106 computations (31.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v) |
| ✓ | 0.3b | (/.f32 (*.f32 cosTheta_i cosTheta_O) v) |
| ✓ | 0.3b | (/.f32 (*.f32 sinTheta_i sinTheta_O) v) |
| ✓ | 0.8b | (sinh.f32 (/.f32 1 v)) |
24 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | cosTheta_O | @ | 0 | (/.f32 (*.f32 cosTheta_i cosTheta_O) v) |
| 1.0ms | v | @ | inf | (sinh.f32 (/.f32 1 v)) |
| 1.0ms | v | @ | 0 | (sinh.f32 (/.f32 1 v)) |
| 1.0ms | sinTheta_i | @ | inf | (/.f32 (*.f32 sinTheta_i sinTheta_O) v) |
| 1.0ms | v | @ | 0 | (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v) |
| 1× | batch-egg-rewrite |
| 292× | log1p-udef_binary32 |
| 166× | add-sqr-sqrt_binary32 |
| 162× | *-un-lft-identity_binary32 |
| 162× | pow1_binary32 |
| 152× | add-cbrt-cube_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 32 |
| 1 | 332 | 32 |
| 2 | 4359 | 32 |
| 1× | node limit |
| Inputs |
|---|
(sinh.f32 (/.f32 1 v)) |
(/.f32 (*.f32 sinTheta_i sinTheta_O) v) |
(/.f32 (*.f32 cosTheta_i cosTheta_O) v) |
(*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f32 (exp.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f32 (/.f32 (exp.f32 (/.f32 1 v)) 2) (/.f32 (exp.f32 (/.f32 -1 v)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (sinh.f32 (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sinh.f32 (/.f32 1 v)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2) (cbrt.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v))) (sqrt.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 1 (/.f32 2 (*.f32 (sinh.f32 (/.f32 1 v)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (neg.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2)) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sinh.f32 (/.f32 1 v)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (exp.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (+.f32 1 (expm1.f32 (sinh.f32 (/.f32 1 v)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f32 (expm1.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (log.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (*.f32 (log.f32 (sinh.f32 (/.f32 1 v))) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f32 (exp.f32 (log1p.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (*.f32 (/.f32 sinTheta_i v) sinTheta_O))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 1 v) (*.f32 sinTheta_i sinTheta_O))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 sinTheta_i (/.f32 1 (/.f32 v sinTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 sinTheta_i (*.f32 sinTheta_O (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 sinTheta_O (*.f32 sinTheta_i (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 sinTheta_i sinTheta_O) (/.f32 1 v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (cbrt.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)) (cbrt.f32 (pow.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (cbrt.f32 (pow.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O) 2)) (cbrt.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 (cbrt.f32 (*.f32 sinTheta_i sinTheta_O)) 2) (*.f32 (cbrt.f32 (*.f32 sinTheta_i sinTheta_O)) (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sqrt.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)) (sqrt.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sqrt.f32 (*.f32 sinTheta_i sinTheta_O)) (*.f32 (sqrt.f32 (*.f32 sinTheta_i sinTheta_O)) (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 v -1/2) (/.f32 (*.f32 sinTheta_i sinTheta_O) (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 sinTheta_O (neg.f32 sinTheta_i)) (/.f32 -1 v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 sinTheta_i 1) (/.f32 sinTheta_O v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 sinTheta_O 1) (/.f32 sinTheta_i v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 sinTheta_i v) sinTheta_O)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (pow.f32 (cbrt.f32 (*.f32 sinTheta_i sinTheta_O)) 2) 1) (/.f32 (cbrt.f32 (*.f32 sinTheta_i sinTheta_O)) v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (sqrt.f32 (*.f32 sinTheta_i sinTheta_O)) 1) (/.f32 (sqrt.f32 (*.f32 sinTheta_i sinTheta_O)) v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 1 (cbrt.f32 (*.f32 v v))) (/.f32 (*.f32 sinTheta_i sinTheta_O) (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 sinTheta_i (cbrt.f32 (*.f32 v v))) (/.f32 sinTheta_O (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 sinTheta_O (cbrt.f32 (*.f32 v v))) (/.f32 sinTheta_i (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (pow.f32 (cbrt.f32 (*.f32 sinTheta_i sinTheta_O)) 2) (cbrt.f32 (*.f32 v v))) (cbrt.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (sqrt.f32 (*.f32 sinTheta_i sinTheta_O)) (cbrt.f32 (*.f32 v v))) (/.f32 (sqrt.f32 (*.f32 sinTheta_i sinTheta_O)) (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 sinTheta_i (sqrt.f32 v)) (/.f32 sinTheta_O (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 sinTheta_O (sqrt.f32 v)) (/.f32 sinTheta_i (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (pow.f32 (cbrt.f32 (*.f32 sinTheta_i sinTheta_O)) 2) (sqrt.f32 v)) (/.f32 (cbrt.f32 (*.f32 sinTheta_i sinTheta_O)) (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (*.f32 sinTheta_i sinTheta_O) (cbrt.f32 (pow.f32 v -2))) (/.f32 1 (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (*.f32 sinTheta_i sinTheta_O) (pow.f32 v -1/2)) (pow.f32 v -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (pow.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (cbrt.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sqrt.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (/.f32 v (*.f32 sinTheta_i sinTheta_O)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) (neg.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f32 (pow.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (exp.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (+.f32 1 (expm1.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (pow.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (/.f32 (pow.f32 (*.f32 sinTheta_i sinTheta_O) 3) (pow.f32 v 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (*.f32 (pow.f32 (*.f32 sinTheta_i sinTheta_O) 3) (/.f32 (pow.f32 v -2) v)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f32 (expm1.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f32 (log1p.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (log.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (*.f32 (log.f32 (*.f32 (/.f32 sinTheta_i v) sinTheta_O)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f32 (exp.f32 (log1p.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (*.f32 (/.f32 cosTheta_i v) cosTheta_O))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 1 v) (*.f32 cosTheta_i cosTheta_O))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 cosTheta_i (/.f32 1 (/.f32 v cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 cosTheta_O (*.f32 cosTheta_i (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 cosTheta_i cosTheta_O) (/.f32 1 v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (cbrt.f32 (pow.f32 (*.f32 cosTheta_i cosTheta_O) 2)) (*.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (cbrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)) (cbrt.f32 (pow.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (cbrt.f32 (pow.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O) 2)) (cbrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sqrt.f32 (*.f32 cosTheta_i cosTheta_O)) (*.f32 (sqrt.f32 (*.f32 cosTheta_i cosTheta_O)) (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sqrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)) (sqrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 v -1/2) (/.f32 (*.f32 cosTheta_i cosTheta_O) (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 cosTheta_i (neg.f32 cosTheta_O)) (/.f32 -1 v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 1 (cbrt.f32 (*.f32 v v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 cosTheta_i 1) (/.f32 cosTheta_O v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 cosTheta_O 1) (/.f32 cosTheta_i v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 cosTheta_i v) cosTheta_O)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (cbrt.f32 (pow.f32 (*.f32 cosTheta_i cosTheta_O) 2)) 1) (/.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (sqrt.f32 (*.f32 cosTheta_i cosTheta_O)) 1) (/.f32 (sqrt.f32 (*.f32 cosTheta_i cosTheta_O)) v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 cosTheta_i (cbrt.f32 (*.f32 v v))) (/.f32 cosTheta_O (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 cosTheta_O (cbrt.f32 (*.f32 v v))) (/.f32 cosTheta_i (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (cbrt.f32 (pow.f32 (*.f32 cosTheta_i cosTheta_O) 2)) (cbrt.f32 (*.f32 v v))) (cbrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (sqrt.f32 (*.f32 cosTheta_i cosTheta_O)) (cbrt.f32 (*.f32 v v))) (/.f32 (sqrt.f32 (*.f32 cosTheta_i cosTheta_O)) (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 cosTheta_O (sqrt.f32 v)) (/.f32 cosTheta_i (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (cbrt.f32 (pow.f32 (*.f32 cosTheta_i cosTheta_O) 2)) (sqrt.f32 v)) (/.f32 (cbrt.f32 (*.f32 cosTheta_i cosTheta_O)) (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (*.f32 cosTheta_i cosTheta_O) (cbrt.f32 (pow.f32 v -2))) (/.f32 1 (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (*.f32 cosTheta_i cosTheta_O) (pow.f32 v -1/2)) (pow.f32 v -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (pow.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (cbrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sqrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (/.f32 v (*.f32 cosTheta_i cosTheta_O)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f32 (/.f32 (*.f32 cosTheta_i cosTheta_O) (neg.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f32 (pow.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (exp.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (+.f32 1 (expm1.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (pow.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (/.f32 (pow.f32 (*.f32 cosTheta_i cosTheta_O) 3) (pow.f32 v 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (*.f32 (pow.f32 (*.f32 cosTheta_i cosTheta_O) 3) (/.f32 (pow.f32 v -2) v)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f32 (expm1.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f32 (log1p.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (log.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (*.f32 (log.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f32 (exp.f32 (log1p.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) (*.f32 v 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (pow.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (cbrt.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sqrt.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f32 (pow.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (pow.f32 (pow.f32 (exp.f32 2) (sinh.f32 (/.f32 1 v))) v))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (+.f32 1 (expm1.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (pow.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (*.f32 (pow.f32 v 3) (pow.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (*.f32 (pow.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) 3) (pow.f32 v 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f32 (expm1.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f32 (log1p.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (log.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (*.f32 (log.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))) 1)))))) |
| 1× | egg-herbie |
| 509× | unswap-sqr_binary32 |
| 478× | times-frac_binary32 |
| 370× | fma-def_binary32 |
| 327× | associate-*l/_binary32 |
| 298× | associate-/r*_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 50 | 408 |
| 1 | 121 | 392 |
| 2 | 270 | 392 |
| 3 | 624 | 392 |
| 4 | 1896 | 392 |
| 1× | node limit |
| Inputs |
|---|
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(/.f32 1 v) |
(+.f32 (/.f32 1 v) (*.f32 1/6 (/.f32 1 (pow.f32 v 3)))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (*.f32 1/120 (/.f32 1 (pow.f32 v 5))))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (+.f32 (*.f32 1/5040 (/.f32 1 (pow.f32 v 7))) (*.f32 1/120 (/.f32 1 (pow.f32 v 5)))))) |
(/.f32 1 v) |
(+.f32 (/.f32 1 v) (*.f32 1/6 (/.f32 1 (pow.f32 v 3)))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (*.f32 1/120 (/.f32 1 (pow.f32 v 5))))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (+.f32 (*.f32 1/5040 (/.f32 1 (pow.f32 v 7))) (*.f32 1/120 (/.f32 1 (pow.f32 v 5)))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
2 |
(+.f32 2 (*.f32 1/3 (/.f32 1 (pow.f32 v 2)))) |
(+.f32 2 (+.f32 (*.f32 1/3 (/.f32 1 (pow.f32 v 2))) (*.f32 1/60 (/.f32 1 (pow.f32 v 4))))) |
(+.f32 (*.f32 1/2520 (/.f32 1 (pow.f32 v 6))) (+.f32 2 (+.f32 (*.f32 1/3 (/.f32 1 (pow.f32 v 2))) (*.f32 1/60 (/.f32 1 (pow.f32 v 4)))))) |
2 |
(+.f32 2 (*.f32 1/3 (/.f32 1 (pow.f32 v 2)))) |
(+.f32 2 (+.f32 (*.f32 1/3 (/.f32 1 (pow.f32 v 2))) (*.f32 1/60 (/.f32 1 (pow.f32 v 4))))) |
(+.f32 (*.f32 1/2520 (/.f32 1 (pow.f32 v 6))) (+.f32 2 (+.f32 (*.f32 1/3 (/.f32 1 (pow.f32 v 2))) (*.f32 1/60 (/.f32 1 (pow.f32 v 4)))))) |
| Outputs |
|---|
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(/.f32 1 v) |
(+.f32 (/.f32 1 v) (*.f32 1/6 (/.f32 1 (pow.f32 v 3)))) |
(+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (*.f32 1/120 (/.f32 1 (pow.f32 v 5))))) |
(+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1 v) (/.f32 1/120 (pow.f32 v 5)))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/6 (pow.f32 v 3)) (/.f32 1/120 (pow.f32 v 5)))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (+.f32 (*.f32 1/5040 (/.f32 1 (pow.f32 v 7))) (*.f32 1/120 (/.f32 1 (pow.f32 v 5)))))) |
(+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1 v) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))))) |
(+.f32 (/.f32 1 v) (+.f32 (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (+.f32 (/.f32 1 v) (/.f32 1/120 (pow.f32 v 5))) (+.f32 (/.f32 1/5040 (pow.f32 v 7)) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/5040 (pow.f32 v 7)) (+.f32 (/.f32 1/6 (pow.f32 v 3)) (/.f32 1/120 (pow.f32 v 5))))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))))) |
(/.f32 1 v) |
(+.f32 (/.f32 1 v) (*.f32 1/6 (/.f32 1 (pow.f32 v 3)))) |
(+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (*.f32 1/120 (/.f32 1 (pow.f32 v 5))))) |
(+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1 v) (/.f32 1/120 (pow.f32 v 5)))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/6 (pow.f32 v 3)) (/.f32 1/120 (pow.f32 v 5)))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (+.f32 (*.f32 1/5040 (/.f32 1 (pow.f32 v 7))) (*.f32 1/120 (/.f32 1 (pow.f32 v 5)))))) |
(+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1 v) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))))) |
(+.f32 (/.f32 1 v) (+.f32 (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (+.f32 (/.f32 1 v) (/.f32 1/120 (pow.f32 v 5))) (+.f32 (/.f32 1/5040 (pow.f32 v 7)) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/5040 (pow.f32 v 7)) (+.f32 (/.f32 1/6 (pow.f32 v 3)) (/.f32 1/120 (pow.f32 v 5))))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 v (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
2 |
(+.f32 2 (*.f32 1/3 (/.f32 1 (pow.f32 v 2)))) |
(+.f32 2 (/.f32 1/3 (*.f32 v v))) |
(+.f32 2 (+.f32 (*.f32 1/3 (/.f32 1 (pow.f32 v 2))) (*.f32 1/60 (/.f32 1 (pow.f32 v 4))))) |
(+.f32 2 (+.f32 (/.f32 1/3 (*.f32 v v)) (/.f32 1/60 (pow.f32 v 4)))) |
(+.f32 (+.f32 2 (/.f32 1/3 (*.f32 v v))) (/.f32 1/60 (pow.f32 v 4))) |
(+.f32 (/.f32 1/3 (*.f32 v v)) (+.f32 2 (/.f32 1/60 (pow.f32 v 4)))) |
(+.f32 (*.f32 1/2520 (/.f32 1 (pow.f32 v 6))) (+.f32 2 (+.f32 (*.f32 1/3 (/.f32 1 (pow.f32 v 2))) (*.f32 1/60 (/.f32 1 (pow.f32 v 4)))))) |
(+.f32 (+.f32 2 (+.f32 (/.f32 1/3 (*.f32 v v)) (/.f32 1/60 (pow.f32 v 4)))) (/.f32 1/2520 (pow.f32 v 6))) |
(+.f32 (+.f32 (+.f32 2 (/.f32 1/3 (*.f32 v v))) (/.f32 1/60 (pow.f32 v 4))) (/.f32 1/2520 (pow.f32 v 6))) |
(+.f32 2 (+.f32 (/.f32 1/3 (*.f32 v v)) (+.f32 (/.f32 1/60 (pow.f32 v 4)) (/.f32 1/2520 (pow.f32 v 6))))) |
(+.f32 (+.f32 2 (/.f32 1/3 (*.f32 v v))) (+.f32 (/.f32 1/60 (pow.f32 v 4)) (/.f32 1/2520 (pow.f32 v 6)))) |
2 |
(+.f32 2 (*.f32 1/3 (/.f32 1 (pow.f32 v 2)))) |
(+.f32 2 (/.f32 1/3 (*.f32 v v))) |
(+.f32 2 (+.f32 (*.f32 1/3 (/.f32 1 (pow.f32 v 2))) (*.f32 1/60 (/.f32 1 (pow.f32 v 4))))) |
(+.f32 2 (+.f32 (/.f32 1/3 (*.f32 v v)) (/.f32 1/60 (pow.f32 v 4)))) |
(+.f32 (+.f32 2 (/.f32 1/3 (*.f32 v v))) (/.f32 1/60 (pow.f32 v 4))) |
(+.f32 (/.f32 1/3 (*.f32 v v)) (+.f32 2 (/.f32 1/60 (pow.f32 v 4)))) |
(+.f32 (*.f32 1/2520 (/.f32 1 (pow.f32 v 6))) (+.f32 2 (+.f32 (*.f32 1/3 (/.f32 1 (pow.f32 v 2))) (*.f32 1/60 (/.f32 1 (pow.f32 v 4)))))) |
(+.f32 (+.f32 2 (+.f32 (/.f32 1/3 (*.f32 v v)) (/.f32 1/60 (pow.f32 v 4)))) (/.f32 1/2520 (pow.f32 v 6))) |
(+.f32 (+.f32 (+.f32 2 (/.f32 1/3 (*.f32 v v))) (/.f32 1/60 (pow.f32 v 4))) (/.f32 1/2520 (pow.f32 v 6))) |
(+.f32 2 (+.f32 (/.f32 1/3 (*.f32 v v)) (+.f32 (/.f32 1/60 (pow.f32 v 4)) (/.f32 1/2520 (pow.f32 v 6))))) |
(+.f32 (+.f32 2 (/.f32 1/3 (*.f32 v v))) (+.f32 (/.f32 1/60 (pow.f32 v 4)) (/.f32 1/2520 (pow.f32 v 6)))) |
16 alts after pruning (16 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 134 | 15 | 149 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 135 | 16 | 151 |
| Status | Error | Program |
|---|---|---|
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (pow.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3) 1/3) 2) v)) | |
| 0.5b | (*.f32 (/.f32 (/.f32 1/2 (sinh.f32 (/.f32 1 v))) (pow.f32 (exp.f32 sinTheta_O) (/.f32 sinTheta_i v))) (*.f32 (/.f32 cosTheta_i (*.f32 v v)) cosTheta_O)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (exp.f32 (log.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))))) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (/.f32 1 (/.f32 v cosTheta_O)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (/.f32 1 (/.f32 2 (*.f32 (sinh.f32 (/.f32 1 v)) 2))) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (expm1.f32 (log1p.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))))) | |
| 0.4b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 1 v) (*.f32 cosTheta_i cosTheta_O))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (*.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v))) (sqrt.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (pow.f32 (cbrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)) 3)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_O (cbrt.f32 (*.f32 v v))) (/.f32 cosTheta_i (cbrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| ▶ | 0.4b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (*.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2)) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (pow.f32 (cbrt.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))) 3)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (pow.f32 (pow.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2)) 3) 1/3)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
Compiled 4990 to 2543 computations (49% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v) | |
| ✓ | 0.3b | (*.f32 cosTheta_O (/.f32 1 v)) |
| 0.3b | (/.f32 (*.f32 sinTheta_i sinTheta_O) v) | |
| 0.8b | (sinh.f32 (/.f32 1 v)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | cosTheta_O | @ | 0 | (*.f32 cosTheta_O (/.f32 1 v)) |
| 1.0ms | v | @ | -inf | (*.f32 cosTheta_O (/.f32 1 v)) |
| 1.0ms | cosTheta_O | @ | -inf | (*.f32 cosTheta_O (/.f32 1 v)) |
| 0.0ms | cosTheta_O | @ | inf | (*.f32 cosTheta_O (/.f32 1 v)) |
| 0.0ms | v | @ | 0 | (*.f32 cosTheta_O (/.f32 1 v)) |
| 1× | batch-egg-rewrite |
| 537× | pow1_binary32 |
| 495× | add-log-exp_binary32 |
| 495× | log1p-expm1-u_binary32 |
| 495× | expm1-log1p-u_binary32 |
| 484× | add-exp-log_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 4 |
| 1 | 120 | 4 |
| 2 | 1424 | 4 |
| 1× | node limit |
| Inputs |
|---|
(*.f32 cosTheta_O (/.f32 1 v)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f32 (+.f32 1 (/.f32 cosTheta_O v)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 cosTheta_O v)))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 1 (/.f32 v cosTheta_O))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (pow.f32 (cbrt.f32 cosTheta_O) 2) (/.f32 v (cbrt.f32 cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (sqrt.f32 cosTheta_O) (/.f32 v (sqrt.f32 cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (neg.f32 cosTheta_O) (neg.f32 v))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (/.f32 cosTheta_O (sqrt.f32 v)) (sqrt.f32 v))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (/.f32 cosTheta_O 1) v)))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (/.f32 cosTheta_O (pow.f32 (cbrt.f32 v) 2)) (cbrt.f32 v))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (*.f32 -1 cosTheta_O) (neg.f32 v))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (*.f32 cosTheta_O -1) (neg.f32 v))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (/.f32 cosTheta_O v) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (pow.f32 (/.f32 cosTheta_O v) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (cbrt.f32 (/.f32 cosTheta_O v)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sqrt.f32 (/.f32 cosTheta_O v)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f32 (pow.f32 (/.f32 cosTheta_O v) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (exp.f32 (/.f32 cosTheta_O v)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (pow.f32 (/.f32 cosTheta_O v) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (/.f32 (pow.f32 cosTheta_O 3) (pow.f32 v 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (*.f32 (pow.f32 cosTheta_O 3) (/.f32 (pow.f32 v -2) v)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (*.f32 (/.f32 (pow.f32 v -2) v) (pow.f32 cosTheta_O 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f32 (expm1.f32 (/.f32 cosTheta_O v)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f32 (log1p.f32 (/.f32 cosTheta_O v)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (log.f32 (/.f32 cosTheta_O v))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 96 |
| 1× | saturated |
| Inputs |
|---|
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
| Outputs |
|---|
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
17 alts after pruning (17 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 120 | 7 | 127 |
| Fresh | 5 | 10 | 15 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 126 | 17 | 143 |
| Status | Error | Program |
|---|---|---|
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (pow.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3) 1/3) 2) v)) | |
| 0.5b | (*.f32 (/.f32 (/.f32 1/2 (sinh.f32 (/.f32 1 v))) (pow.f32 (exp.f32 sinTheta_O) (/.f32 sinTheta_i v))) (*.f32 (/.f32 cosTheta_i (*.f32 v v)) cosTheta_O)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (expm1.f32 (log1p.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))))) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (*.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v))) (sqrt.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (*.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2)) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (pow.f32 (cbrt.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))) 3)) | |
| 9.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (pow.f32 (sqrt.f32 (/.f32 cosTheta_O v)) 2))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (pow.f32 (cbrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)) 3)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (pow.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3) 1/3) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (/.f32 1 (/.f32 v cosTheta_O)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| ▶ | 0.4b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) |
| 10.0b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (exp.f32 (log.f32 (/.f32 cosTheta_O v))))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (pow.f32 (cbrt.f32 (/.f32 cosTheta_O v)) 3))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 8.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (pow.f32 (pow.f32 (/.f32 cosTheta_O v) 3) 1/3))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
Compiled 4632 to 2819 computations (39.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (/.f32 (*.f32 sinTheta_i sinTheta_O) v) | |
| ✓ | 0.5b | (log.f32 (sinh.f32 (/.f32 1 v))) |
| ✓ | 0.6b | (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) |
| 0.8b | (sinh.f32 (/.f32 1 v)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 35.0ms | v | @ | 0 | (log.f32 (sinh.f32 (/.f32 1 v))) |
| 1.0ms | v | @ | inf | (log.f32 (sinh.f32 (/.f32 1 v))) |
| 1.0ms | v | @ | -inf | (log.f32 (sinh.f32 (/.f32 1 v))) |
| 0.0ms | v | @ | 0 | (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) |
| 0.0ms | v | @ | inf | (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) |
| 1× | batch-egg-rewrite |
| 530× | pow1_binary32 |
| 490× | add-log-exp_binary32 |
| 488× | log1p-expm1-u_binary32 |
| 488× | expm1-log1p-u_binary32 |
| 478× | add-exp-log_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 1 | 126 | 14 |
| 2 | 1386 | 14 |
| 1× | node limit |
| Inputs |
|---|
(exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) |
(log.f32 (sinh.f32 (/.f32 1 v))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f32 1 (-.f32 (sinh.f32 (/.f32 1 v)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f32 (+.f32 1 (sinh.f32 (/.f32 1 v))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f32 (/.f32 (exp.f32 (/.f32 1 v)) 2) (/.f32 (exp.f32 (/.f32 -1 v)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (sinh.f32 (/.f32 1 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sinh.f32 (/.f32 1 v)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2) (cbrt.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v))) (sqrt.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 2 (sinh.f32 (/.f32 1 v))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 1 (/.f32 2 (*.f32 2 (sinh.f32 (/.f32 1 v)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (*.f32 2 (sinh.f32 (/.f32 1 v))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f32 (neg.f32 (*.f32 2 (sinh.f32 (/.f32 1 v)))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sinh.f32 (/.f32 1 v)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (E.f32) (log.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (exp.f32 (pow.f32 (cbrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2)) (cbrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (exp.f32 (sqrt.f32 (log.f32 (sinh.f32 (/.f32 1 v))))) (sqrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (exp.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x sinh.f32 (/.f32 1 v))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f32 (expm1.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f32 0 (log.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f32 (log.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v)))) (log.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f32 (log.f32 (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2)) (log.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f32 (+.f32 1 (log.f32 (sinh.f32 (/.f32 1 v)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f32 (log.f32 (*.f32 2 (sinh.f32 (/.f32 1 v)))) (log.f32 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (log.f32 (sinh.f32 (/.f32 1 v))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (log.f32 (sinh.f32 (/.f32 1 v))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (cbrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) (pow.f32 (cbrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 (cbrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) (cbrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sqrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) (sqrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (log.f32 (sinh.f32 (/.f32 1 v))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (pow.f32 (log.f32 (sinh.f32 (/.f32 1 v))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (cbrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sqrt.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f32 (pow.f32 (log.f32 (sinh.f32 (/.f32 1 v))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (pow.f32 (log.f32 (sinh.f32 (/.f32 1 v))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f32 (-.f32 (sinh.f32 (/.f32 1 v)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f32 (log1p.f32 (log.f32 (sinh.f32 (/.f32 1 v)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (log.f32 (log.f32 (sinh.f32 (/.f32 1 v))))))))) |
| 1× | egg-herbie |
| 852× | times-frac_binary32 |
| 643× | fma-neg_binary32 |
| 336× | associate-/r*_binary32 |
| 320× | fma-def_binary32 |
| 266× | associate-+l+_binary32 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 62 | 472 |
| 1 | 167 | 450 |
| 2 | 412 | 450 |
| 3 | 1133 | 444 |
| 4 | 3917 | 444 |
| 1× | node limit |
| Inputs |
|---|
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(/.f32 1 v) |
(+.f32 (/.f32 1 v) (*.f32 1/6 (/.f32 1 (pow.f32 v 3)))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (*.f32 1/120 (/.f32 1 (pow.f32 v 5))))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (+.f32 (*.f32 1/5040 (/.f32 1 (pow.f32 v 7))) (*.f32 1/120 (/.f32 1 (pow.f32 v 5)))))) |
(/.f32 1 v) |
(+.f32 (/.f32 1 v) (*.f32 1/6 (/.f32 1 (pow.f32 v 3)))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (*.f32 1/120 (/.f32 1 (pow.f32 v 5))))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (+.f32 (*.f32 1/5040 (/.f32 1 (pow.f32 v 7))) (*.f32 1/120 (/.f32 1 (pow.f32 v 5)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v)))))) |
(log.f32 (/.f32 1 v)) |
(+.f32 (log.f32 (/.f32 1 v)) (*.f32 1/6 (/.f32 1 (pow.f32 v 2)))) |
(-.f32 (+.f32 (log.f32 (/.f32 1 v)) (*.f32 1/6 (/.f32 1 (pow.f32 v 2)))) (*.f32 1/180 (/.f32 1 (pow.f32 v 4)))) |
(-.f32 (+.f32 (log.f32 (/.f32 1 v)) (+.f32 (*.f32 1/2835 (/.f32 1 (pow.f32 v 6))) (*.f32 1/6 (/.f32 1 (pow.f32 v 2))))) (*.f32 1/180 (/.f32 1 (pow.f32 v 4)))) |
(+.f32 (log.f32 (/.f32 -1 v)) (log.f32 -1)) |
(+.f32 (log.f32 (/.f32 -1 v)) (+.f32 (log.f32 -1) (*.f32 1/6 (/.f32 1 (pow.f32 v 2))))) |
(-.f32 (+.f32 (log.f32 (/.f32 -1 v)) (+.f32 (log.f32 -1) (*.f32 1/6 (/.f32 1 (pow.f32 v 2))))) (*.f32 1/180 (/.f32 1 (pow.f32 v 4)))) |
(-.f32 (+.f32 (log.f32 (/.f32 -1 v)) (+.f32 (*.f32 1/2835 (/.f32 1 (pow.f32 v 6))) (+.f32 (log.f32 -1) (*.f32 1/6 (/.f32 1 (pow.f32 v 2)))))) (*.f32 1/180 (/.f32 1 (pow.f32 v 4)))) |
| Outputs |
|---|
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v))))) |
(*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v)))) |
(/.f32 1 v) |
(+.f32 (/.f32 1 v) (*.f32 1/6 (/.f32 1 (pow.f32 v 3)))) |
(+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (*.f32 1/120 (/.f32 1 (pow.f32 v 5))))) |
(+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1 v) (/.f32 1/120 (pow.f32 v 5)))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/6 (pow.f32 v 3)) (/.f32 1/120 (pow.f32 v 5)))) |
(+.f32 (/.f32 1/120 (pow.f32 v 5)) (+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (+.f32 (*.f32 1/5040 (/.f32 1 (pow.f32 v 7))) (*.f32 1/120 (/.f32 1 (pow.f32 v 5)))))) |
(+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1 v) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))))) |
(+.f32 (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))) (+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (/.f32 1/5040 (pow.f32 v 7)) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3))))) |
(/.f32 1 v) |
(+.f32 (/.f32 1 v) (*.f32 1/6 (/.f32 1 (pow.f32 v 3)))) |
(+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (*.f32 1/120 (/.f32 1 (pow.f32 v 5))))) |
(+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1 v) (/.f32 1/120 (pow.f32 v 5)))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (/.f32 1 v) (+.f32 (/.f32 1/6 (pow.f32 v 3)) (/.f32 1/120 (pow.f32 v 5)))) |
(+.f32 (/.f32 1/120 (pow.f32 v 5)) (+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (*.f32 1/6 (/.f32 1 (pow.f32 v 3))) (+.f32 (/.f32 1 v) (+.f32 (*.f32 1/5040 (/.f32 1 (pow.f32 v 7))) (*.f32 1/120 (/.f32 1 (pow.f32 v 5)))))) |
(+.f32 (/.f32 1/6 (pow.f32 v 3)) (+.f32 (/.f32 1 v) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))))) |
(+.f32 (+.f32 (/.f32 1/120 (pow.f32 v 5)) (/.f32 1/5040 (pow.f32 v 7))) (+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3)))) |
(+.f32 (/.f32 1/5040 (pow.f32 v 7)) (+.f32 (/.f32 1/120 (pow.f32 v 5)) (+.f32 (/.f32 1 v) (/.f32 1/6 (pow.f32 v 3))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (/.f32 1 (exp.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (neg.f32 (/.f32 1 v)))))) |
(log.f32 (*.f32 1/2 (-.f32 (exp.f32 (/.f32 1 v)) (exp.f32 (/.f32 -1 v))))) |
(log.f32 (/.f32 1 v)) |
(neg.f32 (log.f32 v)) |
(+.f32 (log.f32 (/.f32 1 v)) (*.f32 1/6 (/.f32 1 (pow.f32 v 2)))) |
(+.f32 (neg.f32 (log.f32 v)) (/.f32 1/6 (*.f32 v v))) |
(-.f32 (/.f32 1/6 (*.f32 v v)) (log.f32 v)) |
(-.f32 (/.f32 (/.f32 1/6 v) v) (log.f32 v)) |
(-.f32 (+.f32 (log.f32 (/.f32 1 v)) (*.f32 1/6 (/.f32 1 (pow.f32 v 2)))) (*.f32 1/180 (/.f32 1 (pow.f32 v 4)))) |
(+.f32 (neg.f32 (log.f32 v)) (-.f32 (/.f32 1/6 (*.f32 v v)) (/.f32 1/180 (pow.f32 v 4)))) |
(+.f32 (-.f32 (/.f32 1/6 (*.f32 v v)) (log.f32 v)) (/.f32 -1/180 (pow.f32 v 4))) |
(+.f32 (-.f32 (/.f32 (/.f32 1/6 v) v) (log.f32 v)) (/.f32 -1/180 (pow.f32 v 4))) |
(-.f32 (+.f32 (log.f32 (/.f32 1 v)) (+.f32 (*.f32 1/2835 (/.f32 1 (pow.f32 v 6))) (*.f32 1/6 (/.f32 1 (pow.f32 v 2))))) (*.f32 1/180 (/.f32 1 (pow.f32 v 4)))) |
(+.f32 (neg.f32 (log.f32 v)) (-.f32 (+.f32 (/.f32 1/6 (*.f32 v v)) (/.f32 1/2835 (pow.f32 v 6))) (/.f32 1/180 (pow.f32 v 4)))) |
(+.f32 (+.f32 (-.f32 (/.f32 1/6 (*.f32 v v)) (log.f32 v)) (/.f32 1/2835 (pow.f32 v 6))) (/.f32 -1/180 (pow.f32 v 4))) |
(+.f32 (-.f32 (/.f32 1/6 (*.f32 v v)) (-.f32 (log.f32 v) (/.f32 1/2835 (pow.f32 v 6)))) (/.f32 -1/180 (pow.f32 v 4))) |
(+.f32 (/.f32 (/.f32 1/6 v) v) (-.f32 (/.f32 -1/180 (pow.f32 v 4)) (-.f32 (log.f32 v) (/.f32 1/2835 (pow.f32 v 6))))) |
(+.f32 (log.f32 (/.f32 -1 v)) (log.f32 -1)) |
(+.f32 (log.f32 (/.f32 -1 v)) (+.f32 (log.f32 -1) (*.f32 1/6 (/.f32 1 (pow.f32 v 2))))) |
(+.f32 (log.f32 (/.f32 -1 v)) (+.f32 (/.f32 1/6 (*.f32 v v)) (log.f32 -1))) |
(+.f32 (/.f32 1/6 (*.f32 v v)) (+.f32 (log.f32 (/.f32 -1 v)) (log.f32 -1))) |
(fma.f32 2 (log.f32 -1) (-.f32 (/.f32 (/.f32 1/6 v) v) (log.f32 v))) |
(-.f32 (+.f32 (log.f32 (/.f32 -1 v)) (+.f32 (log.f32 -1) (*.f32 1/6 (/.f32 1 (pow.f32 v 2))))) (*.f32 1/180 (/.f32 1 (pow.f32 v 4)))) |
(+.f32 (log.f32 (/.f32 -1 v)) (-.f32 (+.f32 (/.f32 1/6 (*.f32 v v)) (log.f32 -1)) (/.f32 1/180 (pow.f32 v 4)))) |
(+.f32 (+.f32 (log.f32 (/.f32 -1 v)) (log.f32 -1)) (+.f32 (/.f32 1/6 (*.f32 v v)) (/.f32 -1/180 (pow.f32 v 4)))) |
(fma.f32 2 (log.f32 -1) (+.f32 (-.f32 (/.f32 (/.f32 1/6 v) v) (log.f32 v)) (/.f32 -1/180 (pow.f32 v 4)))) |
(-.f32 (+.f32 (log.f32 (/.f32 -1 v)) (+.f32 (*.f32 1/2835 (/.f32 1 (pow.f32 v 6))) (+.f32 (log.f32 -1) (*.f32 1/6 (/.f32 1 (pow.f32 v 2)))))) (*.f32 1/180 (/.f32 1 (pow.f32 v 4)))) |
(+.f32 (log.f32 (/.f32 -1 v)) (-.f32 (+.f32 (/.f32 1/2835 (pow.f32 v 6)) (+.f32 (/.f32 1/6 (*.f32 v v)) (log.f32 -1))) (/.f32 1/180 (pow.f32 v 4)))) |
(+.f32 (log.f32 (/.f32 -1 v)) (+.f32 (+.f32 (/.f32 1/2835 (pow.f32 v 6)) (log.f32 -1)) (+.f32 (/.f32 1/6 (*.f32 v v)) (/.f32 -1/180 (pow.f32 v 4))))) |
(+.f32 (/.f32 1/2835 (pow.f32 v 6)) (+.f32 (+.f32 (log.f32 (/.f32 -1 v)) (log.f32 -1)) (+.f32 (/.f32 1/6 (*.f32 v v)) (/.f32 -1/180 (pow.f32 v 4))))) |
(+.f32 (/.f32 1/2835 (pow.f32 v 6)) (fma.f32 2 (log.f32 -1) (+.f32 (-.f32 (/.f32 (/.f32 1/6 v) v) (log.f32 v)) (/.f32 -1/180 (pow.f32 v 4))))) |
16 alts after pruning (16 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 145 | 3 | 148 |
| Fresh | 3 | 13 | 16 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 149 | 16 | 165 |
| Status | Error | Program |
|---|---|---|
| 5.2b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (pow.f32 (exp.f32 (sqrt.f32 (log.f32 (sinh.f32 (/.f32 1 v))))) (sqrt.f32 (log.f32 (sinh.f32 (/.f32 1 v))))) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (pow.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3) 1/3) 2) v)) | |
| 0.5b | (*.f32 (/.f32 (/.f32 1/2 (sinh.f32 (/.f32 1 v))) (pow.f32 (exp.f32 sinTheta_O) (/.f32 sinTheta_i v))) (*.f32 (/.f32 cosTheta_i (*.f32 v v)) cosTheta_O)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (pow.f32 (E.f32) (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| ▶ | 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (/.f32 1 (/.f32 v cosTheta_O)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (*.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (exp.f32 (-.f32 (log.f32 (*.f32 2 (sinh.f32 (/.f32 1 v)))) (log.f32 2))) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (pow.f32 (cbrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)) 3)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (*.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v))) (sqrt.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 10.0b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (exp.f32 (log.f32 (/.f32 cosTheta_O v))))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 9.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (pow.f32 (sqrt.f32 (/.f32 cosTheta_O v)) 2))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (pow.f32 (cbrt.f32 (/.f32 cosTheta_O v)) 3))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 8.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (pow.f32 (pow.f32 (/.f32 cosTheta_O v) 3) 1/3))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
Compiled 5676 to 3594 computations (36.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.3b | (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v) | |
| ✓ | 0.3b | (/.f32 1 (/.f32 v cosTheta_O)) |
| 0.3b | (/.f32 (*.f32 sinTheta_i sinTheta_O) v) | |
| 0.8b | (sinh.f32 (/.f32 1 v)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | v | @ | 0 | (/.f32 1 (/.f32 v cosTheta_O)) |
| 0.0ms | v | @ | inf | (/.f32 1 (/.f32 v cosTheta_O)) |
| 0.0ms | cosTheta_O | @ | inf | (/.f32 1 (/.f32 v cosTheta_O)) |
| 0.0ms | v | @ | -inf | (/.f32 1 (/.f32 v cosTheta_O)) |
| 0.0ms | cosTheta_O | @ | -inf | (/.f32 1 (/.f32 v cosTheta_O)) |
| 1× | batch-egg-rewrite |
| 617× | pow1_binary32 |
| 571× | add-log-exp_binary32 |
| 571× | log1p-expm1-u_binary32 |
| 571× | expm1-log1p-u_binary32 |
| 62× | add-sqr-sqrt_binary32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 1 | 125 | 4 |
| 2 | 1607 | 4 |
| 1× | node limit |
| Inputs |
|---|
(/.f32 1 (/.f32 v cosTheta_O)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f32 (exp.f32 (log1p.f32 (/.f32 cosTheta_O v))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (/.f32 cosTheta_O v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 cosTheta_O (pow.f32 v -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 cosTheta_O v) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (cbrt.f32 (/.f32 cosTheta_O v)) (pow.f32 (cbrt.f32 (/.f32 cosTheta_O v)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 (cbrt.f32 (/.f32 cosTheta_O v)) 2) (cbrt.f32 (/.f32 cosTheta_O v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (sqrt.f32 (/.f32 cosTheta_O v)) (sqrt.f32 (/.f32 cosTheta_O v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 -1 (/.f32 1 (/.f32 (neg.f32 v) cosTheta_O)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 v -1) cosTheta_O)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 v -1) (pow.f32 (/.f32 1 cosTheta_O) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 (pow.f32 (cbrt.f32 (/.f32 v cosTheta_O)) 2) -1) (pow.f32 (cbrt.f32 (/.f32 v cosTheta_O)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (pow.f32 (sqrt.f32 (/.f32 v cosTheta_O)) -1) (pow.f32 (sqrt.f32 (/.f32 v cosTheta_O)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (pow.f32 (cbrt.f32 cosTheta_O) 2) 1) (/.f32 (cbrt.f32 cosTheta_O) v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (sqrt.f32 cosTheta_O) 1) (/.f32 (sqrt.f32 cosTheta_O) v))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 1 (pow.f32 (cbrt.f32 v) 2)) (/.f32 cosTheta_O (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (pow.f32 (cbrt.f32 cosTheta_O) 2) (pow.f32 (cbrt.f32 v) 2)) (/.f32 (cbrt.f32 cosTheta_O) (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (sqrt.f32 cosTheta_O) (pow.f32 (cbrt.f32 v) 2)) (/.f32 (sqrt.f32 cosTheta_O) (cbrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 1 (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (pow.f32 (cbrt.f32 cosTheta_O) 2) (sqrt.f32 v)) (/.f32 (cbrt.f32 cosTheta_O) (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (sqrt.f32 cosTheta_O) (sqrt.f32 v)) (/.f32 (sqrt.f32 cosTheta_O) (sqrt.f32 v)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 1 (neg.f32 v)) (neg.f32 cosTheta_O))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (pow.f32 v -1) 1) cosTheta_O)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (pow.f32 v -1) (pow.f32 (cbrt.f32 cosTheta_O) 2)) (cbrt.f32 cosTheta_O))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (*.f32 (pow.f32 v -1) (sqrt.f32 cosTheta_O)) (sqrt.f32 cosTheta_O))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (/.f32 v cosTheta_O) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (/.f32 cosTheta_O v) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (pow.f32 (/.f32 cosTheta_O v) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (cbrt.f32 (/.f32 cosTheta_O v)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f32 (sqrt.f32 (/.f32 cosTheta_O v)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f32 (pow.f32 (/.f32 cosTheta_O v) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (exp.f32 (/.f32 cosTheta_O v)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f32 (+.f32 1 (expm1.f32 (/.f32 cosTheta_O v))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (pow.f32 (/.f32 cosTheta_O v) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f32 (/.f32 (pow.f32 cosTheta_O 3) (pow.f32 v 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f32 (expm1.f32 (/.f32 cosTheta_O v)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f32 (log1p.f32 (/.f32 cosTheta_O v)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f32 (log.f32 (/.f32 cosTheta_O v))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 96 |
| 1× | saturated |
| Inputs |
|---|
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
| Outputs |
|---|
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
(/.f32 cosTheta_O v) |
18 alts after pruning (17 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 139 | 2 | 141 |
| Fresh | 0 | 15 | 15 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 139 | 18 | 157 |
| Status | Error | Program |
|---|---|---|
| 5.2b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (pow.f32 (exp.f32 (sqrt.f32 (log.f32 (sinh.f32 (/.f32 1 v))))) (sqrt.f32 (log.f32 (sinh.f32 (/.f32 1 v))))) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (pow.f32 (pow.f32 (sinh.f32 (/.f32 1 v)) 3) 1/3) 2) v)) | |
| 0.5b | (*.f32 (/.f32 (/.f32 1/2 (sinh.f32 (/.f32 1 v))) (pow.f32 (exp.f32 sinTheta_O) (/.f32 sinTheta_i v))) (*.f32 (/.f32 cosTheta_i (*.f32 v v)) cosTheta_O)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (pow.f32 (E.f32) (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| ✓ | 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (/.f32 1 (/.f32 v cosTheta_O)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (expm1.f32 (log1p.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (*.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) (pow.f32 (cbrt.f32 (sinh.f32 (/.f32 1 v))) 2)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (/.f32 1 (/.f32 v cosTheta_O)))) (exp.f32 (log.f32 (*.f32 (sinh.f32 (/.f32 1 v)) (*.f32 v 2))))) | |
| 8.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (pow.f32 (pow.f32 (/.f32 cosTheta_O v) 3) 1/3))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (/.f32 1 v)))) (*.f32 (*.f32 (exp.f32 (-.f32 (log.f32 (*.f32 2 (sinh.f32 (/.f32 1 v)))) (log.f32 2))) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (pow.f32 (cbrt.f32 (*.f32 (/.f32 cosTheta_i v) cosTheta_O)) 3)) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (/.f32 1 (/.f32 v cosTheta_O)))) (*.f32 (*.f32 (exp.f32 (log.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (/.f32 (*.f32 cosTheta_i cosTheta_O) v)) (*.f32 (*.f32 (*.f32 (sqrt.f32 (sinh.f32 (/.f32 1 v))) (sqrt.f32 (sinh.f32 (/.f32 1 v)))) 2) v)) | |
| 10.0b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (exp.f32 (log.f32 (/.f32 cosTheta_O v))))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 9.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (pow.f32 (sqrt.f32 (/.f32 cosTheta_O v)) 2))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.5b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (pow.f32 (cbrt.f32 (/.f32 cosTheta_O v)) 3))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) | |
| 0.6b | (/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 (/.f32 cosTheta_i (sqrt.f32 v)) (/.f32 cosTheta_O (sqrt.f32 v)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
Compiled 4579 to 2565 computations (44% saved)
Total -20.2b remaining (-4975.7%)
Threshold costs -20.2b (-4975.7%)
Compiled 1771 to 871 computations (50.8% saved)
| 1× | egg-herbie |
| 10× | *-commutative_binary32 |
| 4× | +-commutative_binary32 |
| 4× | sub-neg_binary32 |
| 4× | neg-sub0_binary32 |
| 4× | neg-mul-1_binary32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 37 |
| 1 | 34 | 37 |
| 2 | 44 | 37 |
| 3 | 51 | 37 |
| 4 | 56 | 37 |
| 5 | 58 | 37 |
| 1× | saturated |
| Inputs |
|---|
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (pow.f32 v -1)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
| Outputs |
|---|
(/.f32 (*.f32 (exp.f32 (neg.f32 (/.f32 (*.f32 sinTheta_i sinTheta_O) v))) (*.f32 cosTheta_i (*.f32 cosTheta_O (pow.f32 v -1)))) (*.f32 (*.f32 (sinh.f32 (/.f32 1 v)) 2) v)) |
(/.f32 (*.f32 (exp.f32 (/.f32 (neg.f32 (*.f32 sinTheta_i sinTheta_O)) v)) (*.f32 cosTheta_i (*.f32 cosTheta_O (pow.f32 v -1)))) (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2))) |
(/.f32 (*.f32 (exp.f32 (/.f32 (*.f32 sinTheta_i (neg.f32 sinTheta_O)) v)) (*.f32 cosTheta_i (*.f32 cosTheta_O (pow.f32 v -1)))) (*.f32 v (*.f32 (sinh.f32 (/.f32 1 v)) 2))) |
| 1× | fuel |
(sort sinTheta_i sinTheta_O)
(sort cosTheta_i cosTheta_O)
Compiled 650 to 375 computations (42.3% saved)
Loading profile data...