Time bar (total: 2.1s)
| 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% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 3 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 4 |
| 25% | 25% | 74.9% | 0.1% | 0% | 0% | 0% | 5 |
| 28.6% | 25% | 62.4% | 0.1% | 12.5% | 0% | 0% | 6 |
| 33.3% | 25% | 50% | 0.1% | 25% | 0% | 0% | 7 |
| 45.5% | 31.2% | 37.5% | 0.1% | 31.2% | 0% | 0% | 8 |
| 61.7% | 39% | 24.2% | 0.1% | 36.7% | 0% | 0% | 9 |
| 70.1% | 42.9% | 18.3% | 0.1% | 38.6% | 0% | 0% | 10 |
| 79.9% | 47.2% | 11.9% | 0.1% | 40.8% | 0% | 0% | 11 |
| 84.5% | 49.4% | 9.1% | 0.1% | 41.5% | 0% | 0% | 12 |
Compiled 10 to 6 computations (40% saved)
| 1.4s | 8256× | body | 256 | valid |
| 27.0ms | 355× | body | 256 | infinite |
| 2× | egg-herbie |
| 1086× | rational.json-simplify-2 |
| 902× | rational.json-simplify-44 |
| 858× | rational.json-simplify-39 |
| 810× | rational.json-simplify-47 |
| 714× | rational.json-simplify-37 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 38 |
| 1 | 17 | 38 |
| 2 | 28 | 38 |
| 3 | 82 | 38 |
| 4 | 388 | 38 |
| 5 | 3939 | 38 |
| 6 | 6307 | 38 |
| 7 | 7539 | 38 |
| 0 | 2 | 2 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
1 |
| Outputs |
|---|
0 |
1 |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(-.f64 (*.f64 b b) (*.f64 a a)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(-.f64 (*.f64 b b) (*.f64 a a)) |
Compiled 11 to 7 computations (36.4% saved)
| 1× | egg-herbie |
| 1086× | rational.json-simplify-2 |
| 926× | rational.json-simplify-44 |
| 894× | rational.json-simplify-37 |
| 826× | rational.json-simplify-47 |
| 810× | rational.json-simplify-39 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 1 | 13 | 19 |
| 2 | 23 | 19 |
| 3 | 68 | 19 |
| 4 | 373 | 19 |
| 5 | 3929 | 19 |
| 6 | 6257 | 19 |
| 7 | 7414 | 19 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 9 to 5 computations (44.4% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 9 to 5 computations (44.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 17 to 5 computations (70.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | a | @ | 0 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0ms | b | @ | 0 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0ms | a | @ | inf | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0ms | b | @ | inf | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0ms | b | @ | -inf | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1× | batch-egg-rewrite |
| 2074× | rational.json-1 |
| 2074× | rational.json-2 |
| 2074× | rational.json-3 |
| 1262× | rational.json-simplify-35 |
| 870× | exponential.json-3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 1 | 50 | 19 |
| 2 | 142 | 19 |
| 3 | 417 | 19 |
| 4 | 2022 | 19 |
| 5 | 6686 | 19 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (*.f64 b (neg.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 b (neg.f64 b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (-.f64 (*.f64 a a) (-.f64 (*.f64 b b) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 (-.f64 1 (*.f64 b b)) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 a a) (-.f64 (*.f64 b b) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 a b) (-.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 a b) (+.f64 a b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 b b) (*.f64 a a)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 b (fabs.f64 a)) (-.f64 (fabs.f64 a) b))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (fabs.f64 a) b) (+.f64 b (fabs.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 a (fabs.f64 b)) (+.f64 a (fabs.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (fabs.f64 a) (fabs.f64 b)) (+.f64 (fabs.f64 b) (fabs.f64 a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 a (fabs.f64 b)) (-.f64 a (fabs.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (fabs.f64 b) (fabs.f64 a)) (-.f64 (fabs.f64 a) (fabs.f64 b)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 a b) 2) (/.f64 (+.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 a b) 2) (/.f64 (-.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 (*.f64 b b) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 a b) 2) (*.f64 (-.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 a b) 2) (*.f64 (+.f64 a b) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 b b) (*.f64 a a)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4))) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 a b) (*.f64 2 (-.f64 b a))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4))) (*.f64 2 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4)))) 16)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))))))) |
| 1× | egg-herbie |
| 974× | rational.json-simplify-41 |
| 888× | rational.json-simplify-19 |
| 876× | rational.json-simplify-40 |
| 778× | rational.json-simplify-2 |
| 760× | rational.json-simplify-38 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 87 | 1338 |
| 1 | 169 | 1296 |
| 2 | 355 | 1296 |
| 3 | 1156 | 1296 |
| 4 | 6037 | 1152 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(+.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 0) |
(+.f64 0 (-.f64 (*.f64 a a) (*.f64 b b))) |
(+.f64 (*.f64 b (neg.f64 b)) (*.f64 a a)) |
(+.f64 -1 (-.f64 (*.f64 a a) (-.f64 (*.f64 b b) 1))) |
(+.f64 -1 (+.f64 (-.f64 1 (*.f64 b b)) (*.f64 a a))) |
(+.f64 (-.f64 (*.f64 a a) (-.f64 (*.f64 b b) 1)) -1) |
(*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(*.f64 1 (-.f64 (*.f64 a a) (*.f64 b b))) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(*.f64 (-.f64 a b) (+.f64 a b)) |
(*.f64 2 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2)) |
(*.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) 1/2) |
(*.f64 (-.f64 (*.f64 b b) (*.f64 a a)) -1) |
(*.f64 (+.f64 b (fabs.f64 a)) (-.f64 (fabs.f64 a) b)) |
(*.f64 (-.f64 (fabs.f64 a) b) (+.f64 b (fabs.f64 a))) |
(*.f64 (-.f64 a (fabs.f64 b)) (+.f64 a (fabs.f64 b))) |
(*.f64 (-.f64 (fabs.f64 a) (fabs.f64 b)) (+.f64 (fabs.f64 b) (fabs.f64 a))) |
(*.f64 (+.f64 a (fabs.f64 b)) (-.f64 a (fabs.f64 b))) |
(*.f64 (+.f64 (fabs.f64 b) (fabs.f64 a)) (-.f64 (fabs.f64 a) (fabs.f64 b))) |
(*.f64 (*.f64 (-.f64 a b) 2) (/.f64 (+.f64 a b) 2)) |
(*.f64 (*.f64 (+.f64 a b) 2) (/.f64 (-.f64 a b) 2)) |
(*.f64 -1 (-.f64 (*.f64 b b) (*.f64 a a))) |
(*.f64 1/2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2)) |
(*.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) 2) |
(*.f64 (/.f64 (+.f64 a b) 2) (*.f64 (-.f64 a b) 2)) |
(*.f64 (/.f64 (-.f64 a b) 2) (*.f64 (+.f64 a b) 2)) |
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(/.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) 2) |
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) -1) |
(/.f64 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4)) 4) |
(/.f64 (*.f64 2 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4))) 8) |
(/.f64 (*.f64 (+.f64 a b) (*.f64 2 (-.f64 b a))) -2) |
(/.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4))) (*.f64 2 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4)))) 16) |
(pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))) |
| Outputs |
|---|
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(pow.f64 a 2) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 0) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 0 (-.f64 (*.f64 a a) (*.f64 b b))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 (*.f64 b (neg.f64 b)) (*.f64 a a)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 -1 (-.f64 (*.f64 a a) (-.f64 (*.f64 b b) 1))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 -1 (+.f64 (-.f64 1 (*.f64 b b)) (*.f64 a a))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(+.f64 (-.f64 (*.f64 a a) (-.f64 (*.f64 b b) 1)) -1) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 1 (-.f64 (*.f64 a a) (*.f64 b b))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (+.f64 a b) (-.f64 a b)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (-.f64 a b) (+.f64 a b)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 2 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) 1/2) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (-.f64 (*.f64 b b) (*.f64 a a)) -1) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (+.f64 b (fabs.f64 a)) (-.f64 (fabs.f64 a) b)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (-.f64 (fabs.f64 a) b) (+.f64 b (fabs.f64 a))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (-.f64 a (fabs.f64 b)) (+.f64 a (fabs.f64 b))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (-.f64 (fabs.f64 a) (fabs.f64 b)) (+.f64 (fabs.f64 b) (fabs.f64 a))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (+.f64 a (fabs.f64 b)) (-.f64 a (fabs.f64 b))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (+.f64 (fabs.f64 b) (fabs.f64 a)) (-.f64 (fabs.f64 a) (fabs.f64 b))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (*.f64 (-.f64 a b) 2) (/.f64 (+.f64 a b) 2)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (*.f64 (+.f64 a b) 2) (/.f64 (-.f64 a b) 2)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 -1 (-.f64 (*.f64 b b) (*.f64 a a))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 1/2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) 2) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (/.f64 (+.f64 a b) 2) (*.f64 (-.f64 a b) 2)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(*.f64 (/.f64 (-.f64 a b) 2) (*.f64 (+.f64 a b) 2)) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 2) 2) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) -1) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4)) 4) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (*.f64 2 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4))) 8) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (*.f64 (+.f64 a b) (*.f64 2 (-.f64 b a))) -2) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (+.f64 (*.f64 2 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4))) (*.f64 2 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 4)))) 16) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
Compiled 407 to 157 computations (61.4% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 1 | 42 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 41 | 2 | 43 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (*.f64 a a) (*.f64 b b)) |
| ▶ | 0.0b | (*.f64 (-.f64 a b) (+.f64 a b)) |
Compiled 18 to 10 computations (44.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (-.f64 a b) (+.f64 a b)) |
Compiled 17 to 5 computations (70.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | b | @ | inf | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 0.0ms | a | @ | -inf | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 0.0ms | a | @ | inf | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 0.0ms | a | @ | 0 | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 0.0ms | b | @ | 0 | (*.f64 (-.f64 a b) (+.f64 a b)) |
| 1× | batch-egg-rewrite |
| 1678× | exponential.json-3 |
| 1678× | rational.json-1 |
| 1678× | rational.json-2 |
| 1678× | rational.json-4 |
| 1678× | rational.json-3 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 1 | 46 | 19 |
| 2 | 107 | 19 |
| 3 | 244 | 19 |
| 4 | 476 | 19 |
| 5 | 1258 | 19 |
| 6 | 4654 | 19 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (*.f64 a a) (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 a a) (neg.f64 (*.f64 b b)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (-.f64 1 (-.f64 (*.f64 b b) (*.f64 a a))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 1/2)) (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (*.f64 b b)) (*.f64 a a))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 (*.f64 b b) (*.f64 a a)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 a a) (*.f64 b b))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 a b) (*.f64 (+.f64 a b) 4)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8) 8)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 b b) (*.f64 a a)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8)) 16)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8)) (*.f64 2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8))) 32)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))))))) |
| 1× | egg-herbie |
| 1370× | rational.json-simplify-40 |
| 1188× | rational.json-simplify-46 |
| 1110× | rational.json-simplify-49 |
| 1094× | rational.json-simplify-35 |
| 1012× | rational.json-simplify-43 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 67 | 1220 |
| 1 | 152 | 1136 |
| 2 | 278 | 1136 |
| 3 | 788 | 1130 |
| 4 | 3538 | 1130 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(*.f64 -1 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 0) |
(+.f64 0 (-.f64 (*.f64 a a) (*.f64 b b))) |
(+.f64 (*.f64 a a) (neg.f64 (*.f64 b b))) |
(+.f64 -1 (-.f64 1 (-.f64 (*.f64 b b) (*.f64 a a)))) |
(+.f64 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 1/2)) (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 1/2))) |
(+.f64 (neg.f64 (*.f64 b b)) (*.f64 a a)) |
(-.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 0) |
(-.f64 0 (-.f64 (*.f64 b b) (*.f64 a a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(/.f64 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 2)) 2) |
(/.f64 (*.f64 (-.f64 a b) (*.f64 (+.f64 a b) 4)) 4) |
(/.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8) 8) |
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) -1) |
(/.f64 (*.f64 2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8)) 16) |
(/.f64 (+.f64 (*.f64 2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8)) (*.f64 2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8))) 32) |
(pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))) |
| Outputs |
|---|
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (neg.f64 (pow.f64 b 2)) (*.f64 (+.f64 b (neg.f64 b)) a)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 (+.f64 b (*.f64 -1 b)) a) (pow.f64 a 2))) |
(+.f64 (*.f64 (+.f64 b (neg.f64 b)) a) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 (+.f64 b (*.f64 -1 b)) a) (pow.f64 a 2))) |
(+.f64 (*.f64 (+.f64 b (neg.f64 b)) a) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (*.f64 (+.f64 b (*.f64 -1 b)) a) (pow.f64 a 2)) |
(+.f64 (*.f64 (+.f64 b (neg.f64 b)) a) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 (+.f64 b (*.f64 -1 b)) a) (pow.f64 a 2))) |
(+.f64 (*.f64 (+.f64 b (neg.f64 b)) a) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 (+.f64 b (*.f64 -1 b)) a) (pow.f64 a 2))) |
(+.f64 (*.f64 (+.f64 b (neg.f64 b)) a) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a)) |
(+.f64 (*.f64 (+.f64 b (*.f64 -1 b)) a) (pow.f64 a 2)) |
(+.f64 (*.f64 (+.f64 b (neg.f64 b)) a) (pow.f64 a 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 (+.f64 b (*.f64 -1 b)) a) (pow.f64 a 2))) |
(+.f64 (*.f64 (+.f64 b (neg.f64 b)) a) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 b (*.f64 -1 b)) a))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 (+.f64 b (*.f64 -1 b)) a) (pow.f64 a 2))) |
(+.f64 (*.f64 (+.f64 b (neg.f64 b)) a) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(pow.f64 a 2) |
(+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (*.f64 -1 a)))) |
(+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (neg.f64 a)))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (*.f64 -1 a))))) |
(+.f64 (*.f64 b (+.f64 a (neg.f64 a))) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(+.f64 (neg.f64 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (neg.f64 a))))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (*.f64 -1 a))))) |
(+.f64 (*.f64 b (+.f64 a (neg.f64 a))) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(+.f64 (neg.f64 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (neg.f64 a))))) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 (+.f64 a (*.f64 -1 a)) b)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 b (+.f64 a (*.f64 -1 a)))) |
(+.f64 (neg.f64 (pow.f64 b 2)) (*.f64 b (+.f64 a (neg.f64 a)))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (*.f64 -1 a))))) |
(+.f64 (*.f64 b (+.f64 a (neg.f64 a))) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(+.f64 (neg.f64 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (neg.f64 a))))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (*.f64 -1 a))))) |
(+.f64 (*.f64 b (+.f64 a (neg.f64 a))) (+.f64 (neg.f64 (pow.f64 b 2)) (pow.f64 a 2))) |
(+.f64 (neg.f64 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 b (+.f64 a (neg.f64 a))))) |
(*.f64 -1 (pow.f64 b 2)) |
(neg.f64 (pow.f64 b 2)) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (*.f64 -1 (*.f64 b (+.f64 a (*.f64 -1 a))))) |
(*.f64 -1 (+.f64 (pow.f64 b 2) (*.f64 b (+.f64 a (neg.f64 a))))) |
(neg.f64 (+.f64 (pow.f64 b 2) (*.f64 b (+.f64 a (neg.f64 a))))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 b (+.f64 a (*.f64 -1 a)))))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (+.f64 (pow.f64 b 2) (*.f64 b (+.f64 a (neg.f64 a)))))) |
(+.f64 (pow.f64 a 2) (neg.f64 (+.f64 (pow.f64 b 2) (*.f64 b (+.f64 a (neg.f64 a)))))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (*.f64 -1 (*.f64 (+.f64 a (*.f64 -1 a)) b)) (pow.f64 a 2))) |
(+.f64 (*.f64 -1 (pow.f64 b 2)) (+.f64 (pow.f64 a 2) (*.f64 -1 (*.f64 b (+.f64 a (*.f64 -1 a)))))) |
(+.f64 (pow.f64 a 2) (*.f64 -1 (+.f64 (pow.f64 b 2) (*.f64 b (+.f64 a (neg.f64 a)))))) |
(+.f64 (pow.f64 a 2) (neg.f64 (+.f64 (pow.f64 b 2) (*.f64 b (+.f64 a (neg.f64 a)))))) |
(+.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 0) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(+.f64 0 (-.f64 (*.f64 a a) (*.f64 b b))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(+.f64 (*.f64 a a) (neg.f64 (*.f64 b b))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(+.f64 -1 (-.f64 1 (-.f64 (*.f64 b b) (*.f64 a a)))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(+.f64 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 1/2)) (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 1/2))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(+.f64 (neg.f64 (*.f64 b b)) (*.f64 a a)) |
(+.f64 (*.f64 a a) (neg.f64 (*.f64 b b))) |
(+.f64 (*.f64 a a) (*.f64 b (neg.f64 b))) |
(-.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 0) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(-.f64 0 (-.f64 (*.f64 b b) (*.f64 a a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(/.f64 (*.f64 (+.f64 a b) (*.f64 (-.f64 a b) 2)) 2) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(/.f64 (*.f64 (-.f64 a b) (*.f64 (+.f64 a b) 4)) 4) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(/.f64 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8) 8) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(/.f64 (-.f64 (*.f64 b b) (*.f64 a a)) -1) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(/.f64 (*.f64 2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8)) 16) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(/.f64 (+.f64 (*.f64 2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8)) (*.f64 2 (*.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 8))) 32) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(pow.f64 (-.f64 (*.f64 a a) (*.f64 b b)) 1) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(neg.f64 (-.f64 (*.f64 b b) (*.f64 a a))) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 577 to 297 computations (48.5% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 0 | 48 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 48 | 2 | 50 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (*.f64 a a) (*.f64 b b)) |
| ✓ | 0.0b | (*.f64 (-.f64 a b) (+.f64 a b)) |
Compiled 18 to 10 computations (44.4% saved)
Total -0.0b remaining (-100%)
Threshold costs -0.0b (-100%)
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
5 calls:
| 4.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 3.0ms | b |
| 2.0ms | a |
| 2.0ms | (*.f64 b b) |
| 2.0ms | (*.f64 a a) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | a |
| 0.0b | 1 | b |
| 0.0b | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 0.0b | 1 | (*.f64 a a) |
| 0.0b | 1 | (*.f64 b b) |
Compiled 41 to 23 computations (43.9% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
| Outputs |
|---|
(*.f64 (-.f64 a b) (+.f64 a b)) |
Compiled 9 to 5 computations (44.4% saved)
Compiled 9 to 5 computations (44.4% saved)
Loading profile data...