
Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 50% | 0% | 0% | 0% | 50% | 0% | 2 |
Compiled 6 to 4 computations (33.3% saved)
ival-log: 0.0ms (0% of total)ival-mult: 0.0ms (0% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)| 886.0ms | 8256× | 0 | valid |
ival-log: 109.0ms (54% of total)ival-mult: 83.0ms (41.1% of total)const: 7.0ms (3.5% of total)backward-pass: 3.0ms (1.5% of total)| 2× | egg-herbie |
| 180× | fnmadd-define |
| 162× | fma-define |
| 120× | fnmsub-define |
| 120× | fmsub-define |
| 84× | sum3-define |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 21 | 15 |
| 2 | 41 | 15 |
| 3 | 117 | 15 |
| 4 | 249 | 15 |
| 5 | 521 | 15 |
| 6 | 617 | 15 |
| 7 | 627 | 15 |
| 8 | 640 | 15 |
| 9 | 660 | 15 |
| 10 | 668 | 15 |
| 0 | 3 | 4 |
| 1 | 4 | 4 |
| 0 | 4 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
(* x (log x)) |
| Outputs |
|---|
(* x (log x)) |
(*.f64 x (log.f64 x)) |
| Inputs |
|---|
(* x (log x)) |
(* (neg x) (log (neg x))) |
(neg (* (neg x) (log (neg x)))) |
| Outputs |
|---|
(* x (log x)) |
(* (neg x) (log (neg x))) |
(neg (* (neg x) (log (neg x)))) |
(* x (log (neg x))) |
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | x |
| 0 | 0 | - | 0 | - | (*.f64 x (log.f64 x)) |
| 0 | 0 | - | 0 | - | (log.f64 x) |
| 25.0ms | 512× | 0 | valid |
Compiled 23 to 11 computations (52.2% saved)
ival-log: 7.0ms (59.7% of total)ival-mult: 4.0ms (34.1% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)Compiled 5 to 3 computations (40% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.6% | (*.f64 x (log.f64 x)) |
Compiled 5 to 3 computations (40% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (log.f64 x) |
| ✓ | cost-diff | 0 | (*.f64 x (log.f64 x)) |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
| 2× | log-lowering-log.f64 |
| 2× | log-lowering-log.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 7 |
| 1 | 4 | 7 |
| 0 | 4 | 7 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (log x)) |
x |
(log x) |
| Outputs |
|---|
(* x (log x)) |
(*.f64 x (log.f64 x)) |
x |
(log x) |
(log.f64 x) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (log.f64 x) |
| ✓ | accuracy | 99.6% | (*.f64 x (log.f64 x)) |
| 12.0ms | 256× | 0 | valid |
Compiled 9 to 4 computations (55.6% saved)
ival-log: 3.0ms (49.4% of total)ival-mult: 2.0ms (32.9% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)| Inputs |
|---|
#<alt (* x (log x))> |
#<alt (log x)> |
| Outputs |
|---|
#<alt (* x (log x))> |
#<alt (* x (log x))> |
#<alt (* x (log x))> |
#<alt (* x (log x))> |
#<alt (* -1 (* x (log (/ 1 x))))> |
#<alt (* -1 (* x (log (/ 1 x))))> |
#<alt (* -1 (* x (log (/ 1 x))))> |
#<alt (* -1 (* x (log (/ 1 x))))> |
#<alt (* x (+ (log -1) (* -1 (log (/ -1 x)))))> |
#<alt (* x (+ (log -1) (* -1 (log (/ -1 x)))))> |
#<alt (* x (+ (log -1) (* -1 (log (/ -1 x)))))> |
#<alt (* x (+ (log -1) (* -1 (log (/ -1 x)))))> |
#<alt (log x)> |
#<alt (log x)> |
#<alt (log x)> |
#<alt (log x)> |
#<alt (* -1 (log (/ 1 x)))> |
#<alt (* -1 (log (/ 1 x)))> |
#<alt (* -1 (log (/ 1 x)))> |
#<alt (* -1 (log (/ 1 x)))> |
#<alt (+ (log -1) (* -1 (log (/ -1 x))))> |
#<alt (+ (log -1) (* -1 (log (/ -1 x))))> |
#<alt (+ (log -1) (* -1 (log (/ -1 x))))> |
#<alt (+ (log -1) (* -1 (log (/ -1 x))))> |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 95.0ms | x | @ | 0 | (* x (log x)) |
| 41.0ms | x | @ | -inf | (* x (log x)) |
| 7.0ms | x | @ | inf | (* x (log x)) |
| 0.0ms | x | @ | 0 | (log x) |
| 0.0ms | x | @ | inf | (log x) |
| 1× | batch-egg-rewrite |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
| 2× | log-lowering-log.f64 |
| 2× | log-lowering-log.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 6 |
| 1 | 4 | 6 |
| 0 | 4 | 6 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (log x)) |
(log x) |
| Outputs |
|---|
(*.f64 x (log.f64 x)) |
(*.f64 (log.f64 x) x) |
(log.f64 x) |
| 1× | egg-herbie |
| 992× | sum5-define |
| 642× | fnmadd-define |
| 524× | fma-define |
| 436× | sum3-define |
| 392× | fma-lowering-fma.f32 |
Useful iterations: 6 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 120 |
| 1 | 38 | 112 |
| 2 | 69 | 112 |
| 3 | 119 | 112 |
| 4 | 185 | 112 |
| 5 | 398 | 112 |
| 6 | 940 | 104 |
| 7 | 2415 | 104 |
| 8 | 2516 | 104 |
| 9 | 2540 | 104 |
| 10 | 2556 | 104 |
| 0 | 2556 | 104 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (log x)) |
(* x (log x)) |
(* x (log x)) |
(* x (log x)) |
(* -1 (* x (log (/ 1 x)))) |
(* -1 (* x (log (/ 1 x)))) |
(* -1 (* x (log (/ 1 x)))) |
(* -1 (* x (log (/ 1 x)))) |
(* x (+ (log -1) (* -1 (log (/ -1 x))))) |
(* x (+ (log -1) (* -1 (log (/ -1 x))))) |
(* x (+ (log -1) (* -1 (log (/ -1 x))))) |
(* x (+ (log -1) (* -1 (log (/ -1 x))))) |
(log x) |
(log x) |
(log x) |
(log x) |
(* -1 (log (/ 1 x))) |
(* -1 (log (/ 1 x))) |
(* -1 (log (/ 1 x))) |
(* -1 (log (/ 1 x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
| Outputs |
|---|
(* x (log x)) |
(*.f64 x (log.f64 x)) |
(* x (log x)) |
(*.f64 x (log.f64 x)) |
(* x (log x)) |
(*.f64 x (log.f64 x)) |
(* x (log x)) |
(*.f64 x (log.f64 x)) |
(* -1 (* x (log (/ 1 x)))) |
(*.f64 x (log.f64 x)) |
(* -1 (* x (log (/ 1 x)))) |
(*.f64 x (log.f64 x)) |
(* -1 (* x (log (/ 1 x)))) |
(*.f64 x (log.f64 x)) |
(* -1 (* x (log (/ 1 x)))) |
(*.f64 x (log.f64 x)) |
(* x (+ (log -1) (* -1 (log (/ -1 x))))) |
(*.f64 x (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))) |
(* x (+ (log -1) (* -1 (log (/ -1 x))))) |
(*.f64 x (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))) |
(* x (+ (log -1) (* -1 (log (/ -1 x))))) |
(*.f64 x (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))) |
(* x (+ (log -1) (* -1 (log (/ -1 x))))) |
(*.f64 x (-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x)))) |
(log x) |
(log.f64 x) |
(log x) |
(log.f64 x) |
(log x) |
(log.f64 x) |
(log x) |
(log.f64 x) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (log.f64 (/.f64 #s(literal -1 binary64) x))) |
Compiled 149 to 10 computations (93.3% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 27 | 0 | 27 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 27 | 1 | 28 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (*.f64 x (log.f64 x)) |
Compiled 10 to 6 computations (40% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 4 |
| 1 | 4 | 4 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 x (log.f64 x)) |
| Outputs |
|---|
(*.f64 x (log.f64 x)) |
| 1× | done |
Compiled 5 to 3 computations (40% saved)
Compiled 20 to 12 computations (40% saved)
Loading profile data...