
Time bar (total: 9.0s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 7 to 5 computations (28.6% saved)
| 352.0ms | 8 256× | 0 | valid |
ival-mult: 122.0ms (92.9% of total)ival-true: 6.0ms (4.6% of total)ival-assert: 3.0ms (2.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 x x) x) |
| 0 | 0 | - | 0 | - | (*.f64 x 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 |
| 16.0ms | 512× | 0 | valid |
Compiled 27 to 13 computations (51.9% saved)
ival-mult: 7.0ms (95% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 22× | distribute-lft-neg-in |
| 22× | associate-*r* |
| 16× | cancel-sign-sub-inv |
| 16× | unsub-neg |
| 14× | neg-sub0 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 1 | 23 | 9 |
| 2 | 60 | 7 |
| 3 | 127 | 7 |
| 4 | 148 | 7 |
| 5 | 156 | 7 |
| 0 | 3 | 5 |
| 0 | 5 | 5 |
| 1 | 6 | 3 |
| 2 | 8 | 3 |
| 0 | 8 | 3 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (*.f64 x x) x) |
| Outputs |
|---|
(*.f64 (*.f64 x x) x) |
(pow.f64 x #s(literal 3 binary64)) |
(negabs x)
Compiled 5 to 3 computations (40% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.9% | (*.f64 (*.f64 x x) x) |
Compiled 5 to 3 computations (40% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -5824 | (*.f64 (*.f64 x x) x) | |
| cost-diff | 0 | (*.f64 x x) |
| 6× | lower-*.f32 |
| 4× | lift-*.f64 |
| 2× | lower-*.f64 |
| 2× | lower-pow.f64 |
| 2× | cube-unmult |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 9 |
| 0 | 5 | 9 |
| 1 | 6 | 7 |
| 2 | 8 | 7 |
| 0 | 8 | 7 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (*.f64 x x) x) |
(*.f64 x x) |
x |
| Outputs |
|---|
(*.f64 (*.f64 x x) x) |
(pow.f64 x #s(literal 3 binary64)) |
(*.f64 x x) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.0625 | (*.f64 (*.f64 x x) x) |
| 8.0ms | 256× | 0 | valid |
Compiled 11 to 5 computations (54.5% saved)
ival-mult: 3.0ms (90.7% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((* x x) (* (* x x) x)) |
| 1.0ms | x | @ | inf | ((* x x) (* (* x x) x)) |
| 1.0ms | x | @ | 0 | ((* x x) (* (* x x) x)) |
| 1× | egg-herbie |
| 6× | lower-*.f64 |
| 6× | lower-*.f32 |
| 4× | lower-pow.f64 |
| 4× | lower-pow.f32 |
| 2× | cube-mult |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 72 |
| 1 | 8 | 72 |
| 2 | 10 | 72 |
| 3 | 12 | 72 |
| 0 | 12 | 72 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
| Outputs |
|---|
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
| 2 618× | lower-*.f64 |
| 2 618× | lower-*.f32 |
| 1 200× | unpow-prod-down |
| 1 030× | log-prod |
| 922× | associate-*r* |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 8 |
| 0 | 5 | 6 |
| 1 | 10 | 6 |
| 2 | 24 | 6 |
| 3 | 52 | 6 |
| 4 | 166 | 6 |
| 5 | 571 | 2 |
| 6 | 4059 | 2 |
| 7 | 4117 | 2 |
| 8 | 4354 | 2 |
| 9 | 6881 | 2 |
| 0 | 8590 | 2 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x x) |
(*.f64 (*.f64 x x) x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 128 to 9 computations (93% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 3 | 28 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 25 | 4 | 29 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (*.f64 (*.f64 x x) x) |
| ▶ | 56.4% | (*.f64 x x) |
| ▶ | 100.0% | #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
| ▶ | 6.5% | x |
Compiled 13 to 10 computations (23.1% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| cost-diff | 0 | #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
| 6× | lower-*.f32 |
| 4× | lower-*.f64 |
| 2× | cube-mult |
| 2× | lift-pow.f64 |
| 2× | unpow3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 0 | 8 | 17 |
| 1 | 10 | 17 |
| 0 | 10 | 17 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
x |
#s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(*.f64 x x) |
x |
| Outputs |
|---|
x |
#s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(*.f64 x x) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0 | #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) | |
| accuracy | 0.00390625 | (pow.f64 x #s(literal 3 binary64)) |
| 14.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-mult: 5.0ms (61.7% of total)ival-pow: 3.0ms (37% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ()) |
#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow x 3) (taylor 0 x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) (patch #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((* (* x x) x) (pow x 3) (* x x)) |
| 1.0ms | x | @ | -inf | ((* (* x x) x) (pow x 3) (* x x)) |
| 0.0ms | x | @ | 0 | ((* (* x x) x) (pow x 3) (* x x)) |
| 1× | egg-herbie |
| 6× | lower-*.f64 |
| 6× | lower-*.f32 |
| 4× | lower-pow.f64 |
| 4× | lower-pow.f32 |
| 2× | cube-mult |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 108 |
| 1 | 8 | 108 |
| 2 | 10 | 108 |
| 3 | 12 | 108 |
| 0 | 12 | 108 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
| 540× | lower-*.f32 |
| 538× | lower-*.f64 |
| 414× | lower-fma.f64 |
| 414× | lower-fma.f32 |
| 254× | lower-pow.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 15 |
| 0 | 8 | 13 |
| 1 | 19 | 13 |
| 2 | 39 | 13 |
| 3 | 94 | 13 |
| 4 | 257 | 13 |
| 0 | 1180 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
(pow.f64 x #s(literal 3 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 585 to 157 computations (73.2% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 90 | 1 | 91 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 90 | 5 | 95 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (*.f64 (*.f64 x x) x) |
| ✓ | 56.4% | (*.f64 x x) |
| ✓ | 100.0% | #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
| ▶ | 99.8% | #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) |
| ✓ | 6.5% | x |
Compiled 20 to 16 computations (20% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (sqrt.f64 x) | |
| cost-diff | 0 | (pow.f64 x #s(literal 5/2 binary64)) | |
| cost-diff | 0 | (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) | |
| cost-diff | 0 | #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) |
| 10× | lower-*.f32 |
| 8× | lower-*.f64 |
| 4× | lower-pow.f32 |
| 2× | lift-sqrt.f64 |
| 2× | *-commutative |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 25 |
| 0 | 11 | 25 |
| 1 | 13 | 23 |
| 2 | 15 | 23 |
| 0 | 15 | 23 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) |
(*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) |
(pow.f64 x #s(literal 5/2 binary64)) |
x |
#s(literal 5/2 binary64) |
(sqrt.f64 x) |
| Outputs |
|---|
#s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) |
#s(approx (* (* x x) x) (*.f64 (sqrt.f64 x) (pow.f64 x #s(literal 5/2 binary64)))) |
(*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (pow.f64 x #s(literal 5/2 binary64))) |
(pow.f64 x #s(literal 5/2 binary64)) |
x |
#s(literal 5/2 binary64) |
(sqrt.f64 x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (pow.f64 x #s(literal 5/2 binary64)) | |
| accuracy | 0 | (sqrt.f64 x) | |
| accuracy | 0 | #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) | |
| accuracy | 0.1171875 | (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) |
| 21.0ms | 256× | 0 | valid |
Compiled 20 to 9 computations (55% saved)
ival-pow: 7.0ms (48% of total)ival-mult: 5.0ms (34.3% of total)ival-sqrt: 2.0ms (13.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ()) |
#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ()) |
#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ()) |
#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (pow x 3) (taylor 0 x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (pow x 5)) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (pow x 5)) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (pow x 5)) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (pow x 5)) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor 0 x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (pow x 5)) (taylor inf x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (pow x 5)) (taylor inf x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (pow x 5)) (taylor inf x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (pow x 5)) (taylor inf x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (sqrt x) (taylor inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) (patch #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) (patch (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 5/2 binary64)) (patch (pow.f64 x #s(literal 5/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (sqrt x) (pow (sqrt -1) 2))) (taylor -inf x) (#s(alt (sqrt.f64 x) (patch (sqrt.f64 x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((* (* x x) x) (* (pow x 5/2) (sqrt x)) (pow x 5/2) (sqrt x)) |
| 2.0ms | x | @ | inf | ((* (* x x) x) (* (pow x 5/2) (sqrt x)) (pow x 5/2) (sqrt x)) |
| 1.0ms | x | @ | 0 | ((* (* x x) x) (* (pow x 5/2) (sqrt x)) (pow x 5/2) (sqrt x)) |
| 1× | egg-herbie |
| 432× | lower-*.f64 |
| 432× | lower-fma.f64 |
| 432× | lower-fma.f32 |
| 432× | lower-*.f32 |
| 266× | associate-*l* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 144 |
| 1 | 36 | 144 |
| 2 | 102 | 144 |
| 3 | 247 | 144 |
| 4 | 594 | 144 |
| 5 | 844 | 144 |
| 6 | 1067 | 144 |
| 7 | 1210 | 144 |
| 8 | 1232 | 144 |
| 9 | 1232 | 144 |
| 10 | 1244 | 144 |
| 11 | 1246 | 144 |
| 0 | 1246 | 144 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(sqrt (pow x 5)) |
(sqrt (pow x 5)) |
(sqrt (pow x 5)) |
(sqrt (pow x 5)) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(sqrt (pow x 5)) |
(sqrt (pow x 5)) |
(sqrt (pow x 5)) |
(sqrt (pow x 5)) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(* -1 (* (pow x 3) (pow (sqrt -1) 2))) |
(* -1 (* (pow x 3) (pow (sqrt -1) 2))) |
(* -1 (* (pow x 3) (pow (sqrt -1) 2))) |
(* -1 (* (pow x 3) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
| Outputs |
|---|
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(sqrt (pow x 5)) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(sqrt (pow x 5)) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(sqrt (pow x 5)) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(sqrt (pow x 5)) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(sqrt (pow x 5)) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(sqrt (pow x 5)) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(sqrt (pow x 5)) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(sqrt (pow x 5)) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* -1 (* (pow x 3) (pow (sqrt -1) 2))) |
(pow.f64 x #s(literal 3 binary64)) |
(* -1 (* (pow x 3) (pow (sqrt -1) 2))) |
(pow.f64 x #s(literal 3 binary64)) |
(* -1 (* (pow x 3) (pow (sqrt -1) 2))) |
(pow.f64 x #s(literal 3 binary64)) |
(* -1 (* (pow x 3) (pow (sqrt -1) 2))) |
(pow.f64 x #s(literal 3 binary64)) |
(* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(* -1 (* (sqrt (pow x 5)) (pow (sqrt -1) 2))) |
(sqrt.f64 (pow.f64 x #s(literal 5 binary64))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
| 1 602× | lower-fma.f64 |
| 1 602× | lower-fma.f32 |
| 1 122× | prod-exp |
| 976× | lower-pow.f64 |
| 976× | lower-pow.f32 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 23 |
| 0 | 11 | 25 |
| 1 | 26 | 16 |
| 2 | 65 | 16 |
| 3 | 176 | 16 |
| 4 | 667 | 16 |
| 5 | 4842 | 10 |
| 0 | 9579 | 10 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) |
(*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x)) |
(pow.f64 x #s(literal 5/2 binary64)) |
(sqrt.f64 x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 3 642 to 788 computations (78.4% saved)
5 alts after pruning (0 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 354 | 0 | 354 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 354 | 5 | 359 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.9% | (*.f64 (*.f64 x x) x) |
| ✓ | 56.4% | (*.f64 x x) |
| ✓ | 100.0% | #s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
| ✓ | 99.8% | #s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) |
| ✓ | 6.5% | x |
Compiled 40 to 27 computations (32.5% saved)
| Inputs |
|---|
x |
(*.f64 x x) |
(*.f64 (*.f64 x x) x) |
#s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
#s(approx (* (* x x) x) (*.f64 (pow.f64 x #s(literal 5/2 binary64)) (sqrt.f64 x))) |
| Outputs |
|---|
#s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
2 calls:
| 2.0ms | x |
| 2.0ms | (*.f64 (*.f64 x x) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (*.f64 (*.f64 x x) x) |
Compiled 6 to 4 computations (33.3% saved)
| Inputs |
|---|
x |
(*.f64 x x) |
(*.f64 (*.f64 x x) x) |
| Outputs |
|---|
(*.f64 (*.f64 x x) x) |
2 calls:
| 2.0ms | x |
| 2.0ms | (*.f64 (*.f64 x x) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 1 | x |
| 99.9% | 1 | (*.f64 (*.f64 x x) x) |
Compiled 6 to 4 computations (33.3% saved)
| Inputs |
|---|
x |
(*.f64 x x) |
| Outputs |
|---|
(*.f64 x x) |
2 calls:
| 28.0ms | (*.f64 (*.f64 x x) x) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 56.4% | 1 | x |
| 56.4% | 1 | (*.f64 (*.f64 x x) x) |
Compiled 6 to 4 computations (33.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
x |
| Outputs |
|---|
x |
2 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 (*.f64 x x) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 6.5% | 1 | x |
| 6.5% | 1 | (*.f64 (*.f64 x x) x) |
Compiled 6 to 4 computations (33.3% saved)
| 1× | egg-herbie |
| 2× | *-commutative-binary64-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 9 | 18 |
| 1× | saturated |
| Inputs |
|---|
#s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 (*.f64 x x) x) |
(*.f64 x x) |
x |
| Outputs |
|---|
#s(approx (* (* x x) x) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 (*.f64 x x) x) |
(*.f64 x x) |
x |
| 2 618× | lower-*.f64 |
| 2 618× | lower-*.f32 |
| 1 200× | unpow-prod-down |
| 1 030× | log-prod |
| 922× | associate-*r* |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 72 |
| 1 | 8 | 72 |
| 2 | 10 | 72 |
| 3 | 12 | 72 |
| 0 | 12 | 72 |
| 0 | 3 | 8 |
| 0 | 5 | 6 |
| 1 | 10 | 6 |
| 2 | 24 | 6 |
| 3 | 52 | 6 |
| 4 | 166 | 6 |
| 5 | 571 | 2 |
| 6 | 4059 | 2 |
| 7 | 4117 | 2 |
| 8 | 4354 | 2 |
| 9 | 6881 | 2 |
| 0 | 8590 | 2 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | saturated |
Compiled 16 to 9 computations (43.8% saved)
(negabs x)
Compiled 58 to 40 computations (31% saved)
Loading profile data...