
Time bar (total: 1.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 50% | 0.1% | 0% | 50% | 0% | 2 |
| 100% | 25% | 0% | 0.1% | 0% | 74.9% | 0% | 3 |
Compiled 9 to 7 computations (22.2% saved)
ival-log: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-exp: 0.0ms (0% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)| 660.0ms | 8256× | 0 | valid |
ival-log: 292.0ms (64.7% of total)ival-exp: 94.0ms (20.8% of total)ival-add: 54.0ms (12% of total)const: 8.0ms (1.8% of total)backward-pass: 3.0ms (0.7% of total)| 2× | egg-herbie |
| 64× | fnmsub-define |
| 64× | fmsub-define |
| 64× | fnmadd-define |
| 46× | fma-define |
| 32× | fmm-def |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 38 |
| 1 | 38 | 20 |
| 2 | 71 | 20 |
| 3 | 112 | 20 |
| 4 | 202 | 20 |
| 5 | 286 | 20 |
| 6 | 318 | 20 |
| 0 | 6 | 6 |
| 1 | 10 | 3 |
| 2 | 13 | 3 |
| 0 | 13 | 3 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
(exp (+ (log a) (log b))) |
| Outputs |
|---|
(exp (+ (log a) (log b))) |
(*.f64 a b) |
| Inputs |
|---|
(exp (+ (log a) (log b))) |
(exp (+ (log (neg a)) (log b))) |
(exp (+ (log a) (log (neg b)))) |
(neg (exp (+ (log (neg a)) (log b)))) |
(neg (exp (+ (log a) (log (neg b))))) |
(exp (+ (log b) (log a))) |
| Outputs |
|---|
(exp (+ (log a) (log b))) |
(* a b) |
(exp (+ (log (neg a)) (log b))) |
(fnmsub a b 0) |
(exp (+ (log a) (log (neg b)))) |
(fnmsub a b 0) |
(neg (exp (+ (log (neg a)) (log b)))) |
(* a b) |
(neg (exp (+ (log a) (log (neg b))))) |
(* a b) |
(exp (+ (log b) (log a))) |
(* a b) |
(negabs a)
(negabs b)
(sort a b)
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 152 | 21 | (1.1027616307644811e-204 1.0047196337283648e-107) | 10 | (3.9949441143558163e-163 3.3096810315699104e+205) | (exp.f64 (+.f64 (log.f64 a) (log.f64 b))) |
| 1 | 0 | - | 1 | (1.7839973247620956e-133 2.2190531042937203e+137) | (+.f64 (log.f64 a) (log.f64 b)) |
| 0 | 0 | - | 0 | - | (log.f64 b) |
| 0 | 0 | - | 0 | - | (log.f64 a) |
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | a |
| 76.0ms | 512× | 0 | valid |
Compiled 48 to 20 computations (58.3% saved)
ival-exp: 38.0ms (66.2% of total)ival-log: 15.0ms (26.1% of total)ival-add: 3.0ms (5.2% of total)const: 1.0ms (1.7% of total)backward-pass: 0.0ms (0% of total)Compiled 5 to 3 computations (40% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 a b) |
Compiled 5 to 3 computations (40% saved)
| 1× | egg-herbie |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (*.f64 a b) |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 5 |
| 1 | 4 | 5 |
| 0 | 4 | 5 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* a b) |
a |
b |
| Outputs |
|---|
(* a b) |
(*.f64 a b) |
a |
b |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (*.f64 a b) |
| 9.0ms | 256× | 0 | valid |
Compiled 8 to 4 computations (50% saved)
ival-mult: 2.0ms (76.4% of total)const: 0.0ms (0% of total)backward-pass: 0.0ms (0% of total)| Inputs |
|---|
#<alt (* a b)> |
| Outputs |
|---|
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
#<alt (* a b)> |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 14.0ms | b | @ | 0 | (* a b) |
| 1.0ms | b | @ | -inf | (* a b) |
| 0.0ms | a | @ | inf | (* a b) |
| 0.0ms | b | @ | inf | (* a b) |
| 0.0ms | a | @ | -inf | (* a b) |
| 1× | batch-egg-rewrite |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 3 |
| 1 | 4 | 3 |
| 0 | 4 | 3 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* a b) |
| Outputs |
|---|
(*.f64 a b) |
(*.f64 b a) |
| 1× | egg-herbie |
| 4× | *-lowering-*.f32 |
| 4× | *-lowering-*.f64 |
| 2× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 72 |
| 1 | 4 | 72 |
| 0 | 4 | 72 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
(* a b) |
| Outputs |
|---|
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
(* a b) |
(*.f64 a b) |
Compiled 80 to 4 computations (95% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 26 | 0 | 26 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 26 | 1 | 27 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 a b) |
Compiled 16 to 10 computations (37.5% saved)
Total -4.8b remaining (-∞%)
Threshold costs -4.8b (-∞%)
| Inputs |
|---|
(*.f64 a b) |
(exp.f64 (+.f64 (log.f64 a) (log.f64 b))) |
| Outputs |
|---|
(*.f64 a b) |
6 calls:
| 3.0ms | (log.f64 b) |
| 1.0ms | (+.f64 (log.f64 a) (log.f64 b)) |
| 1.0ms | (log.f64 a) |
| 1.0ms | b |
| 1.0ms | (exp.f64 (+.f64 (log.f64 a) (log.f64 b))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | a |
| 100.0% | 1 | b |
| 100.0% | 1 | (exp.f64 (+.f64 (log.f64 a) (log.f64 b))) |
| 100.0% | 1 | (+.f64 (log.f64 a) (log.f64 b)) |
| 100.0% | 1 | (log.f64 a) |
| 100.0% | 1 | (log.f64 b) |
Compiled 29 to 21 computations (27.6% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 3 |
| 1 | 4 | 3 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 a b) |
| Outputs |
|---|
(*.f64 a b) |
| 6× | exp-lowering-exp.f32 |
| 6× | exp-lowering-exp.f64 |
| 4× | +-lowering-+.f64 |
| 4× | log-lowering-log.f64 |
| 4× | *-lowering-*.f32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 10 | 3 |
| 2 | 13 | 3 |
| 0 | 13 | 3 |
| 1× | done |
| 1× | iter limit |
| 1× | saturated |
Compiled 10 to 6 computations (40% saved)
(sort a b)
(negabs b)
(negabs a)
Compiled 96 to 60 computations (37.5% saved)
Loading profile data...