
Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 9 to 7 computations (22.2% saved)
| 647.0ms | 8 256× | 0 | valid |
ival-mult!: 351.0ms (94.6% of total)ival-sub!: 18.0ms (4.9% of total)adjust: 1.0ms (0.3% of total)Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 45 |
| 1 | 51 | 42 |
| 2 | 223 | 42 |
| 3 | 386 | 42 |
| 4 | 950 | 42 |
| 5 | 1955 | 42 |
| 6 | 2959 | 42 |
| 7 | 3299 | 42 |
| 8 | 3377 | 42 |
| 9 | 3377 | 42 |
| 10 | 3570 | 42 |
| 1× | saturated |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 91.4% | (-.f64 (*.f64 a a) (*.f64 b b)) |
(abs a)
(abs b)
Compiled 10 to 10 computations (0% saved)
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (* b b) #s(hole binary64 (pow b 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | inf | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | a | @ | -inf | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | b | @ | inf | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | b | @ | -inf | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
| 1.0ms | a | @ | 0 | ((- (* a a) (* b b)) (* a a) a (* b b) b) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 129 |
| 0 | 32 | 125 |
| 1 | 132 | 124 |
| 0 | 1187 | 123 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
(*.f64 a a) |
a |
(*.f64 b b) |
b |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (* b b) #s(hole binary64 (pow b 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
| Outputs |
|---|
(*.f64 (+.f64 (neg.f64 a) (neg.f64 b)) (-.f64 (neg.f64 a) (neg.f64 b))) |
(*.f64 (+.f64 (neg.f64 a) (fabs.f64 b)) (-.f64 (neg.f64 a) (fabs.f64 b))) |
(*.f64 (+.f64 (neg.f64 a) b) (-.f64 (neg.f64 a) b)) |
(*.f64 (+.f64 (fabs.f64 a) (neg.f64 b)) (-.f64 (fabs.f64 a) (neg.f64 b))) |
(*.f64 (+.f64 (fabs.f64 a) (fabs.f64 b)) (-.f64 (fabs.f64 a) (fabs.f64 b))) |
(*.f64 (+.f64 (fabs.f64 a) b) (-.f64 (fabs.f64 a) b)) |
(*.f64 (+.f64 a (neg.f64 b)) (-.f64 a (neg.f64 b))) |
(*.f64 (+.f64 a (fabs.f64 b)) (-.f64 a (fabs.f64 b))) |
(*.f64 (-.f64 a b) (+.f64 b a)) |
(*.f64 (+.f64 b a) (-.f64 a b)) |
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 (*.f64 (*.f64 a a) a) a))) (neg.f64 (-.f64 (*.f64 (neg.f64 b) b) (*.f64 a a)))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 (neg.f64 b) b) (*.f64 (*.f64 (*.f64 (*.f64 a a) a) a) (*.f64 a a)))) (neg.f64 (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 b b (*.f64 a a)))))) |
(/.f64 (neg.f64 (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 (-.f64 a b) (+.f64 b a)))) (neg.f64 (fma.f64 b b (*.f64 a a)))) |
(/.f64 (neg.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) a) a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 b b)))) (neg.f64 (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)))))) |
(/.f64 (*.f64 (fma.f64 b b (*.f64 a a)) (*.f64 (-.f64 a b) (+.f64 b a))) (fma.f64 b b (*.f64 a a))) |
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 (*.f64 (*.f64 a a) a) a)) (-.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))) |
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) a) a) (*.f64 a a)) (*.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 b b))) (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a))))) |
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 (neg.f64 b) b) (*.f64 (*.f64 (*.f64 (*.f64 a a) a) a) (*.f64 a a))) (fma.f64 (*.f64 (*.f64 a a) a) a (-.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 (*.f64 a a) (*.f64 (neg.f64 b) b))))) |
(/.f64 (fma.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 (neg.f64 b) b) (*.f64 (*.f64 (*.f64 (*.f64 a a) a) a) (*.f64 a a))) (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 b b (*.f64 a a))))) |
(fma.f64 (*.f64 #s(literal -1 binary64) (neg.f64 b)) (neg.f64 b) (*.f64 a a)) |
(fma.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 b)) (fabs.f64 b) (*.f64 a a)) |
(fma.f64 (*.f64 #s(literal -1 binary64) b) b (*.f64 a a)) |
(fma.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 #s(literal 1 binary64) a) a (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 (neg.f64 b)) (neg.f64 b) (*.f64 a a)) |
(fma.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b) (*.f64 a a)) |
(fma.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (exp.f64 (log.f64 a)) (exp.f64 (log.f64 a)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 a) (neg.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (neg.f64 b) (*.f64 (neg.f64 b) #s(literal -1 binary64)) (*.f64 a a)) |
(fma.f64 (neg.f64 b) (neg.f64 (neg.f64 b)) (*.f64 a a)) |
(fma.f64 (neg.f64 b) b (*.f64 a a)) |
(fma.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 (fabs.f64 a) (fabs.f64 a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (fabs.f64 b) (*.f64 (fabs.f64 b) #s(literal -1 binary64)) (*.f64 a a)) |
(fma.f64 (fabs.f64 b) (neg.f64 (fabs.f64 b)) (*.f64 a a)) |
(fma.f64 #s(literal 1 binary64) (*.f64 a a) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 a a) #s(literal 1 binary64) (*.f64 (neg.f64 b) b)) |
(fma.f64 (*.f64 b b) #s(literal -1 binary64) (*.f64 a a)) |
(fma.f64 #s(literal -1 binary64) (*.f64 b b) (*.f64 a a)) |
(fma.f64 b (*.f64 b #s(literal -1 binary64)) (*.f64 a a)) |
(fma.f64 b (neg.f64 b) (*.f64 a a)) |
(fma.f64 a (*.f64 a #s(literal 1 binary64)) (*.f64 (neg.f64 b) b)) |
(fma.f64 a a (*.f64 (neg.f64 b) b)) |
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (-.f64 (*.f64 (neg.f64 b) b) (*.f64 a a))) (/.f64 (*.f64 (*.f64 (*.f64 a a) a) a) (-.f64 (*.f64 (neg.f64 b) b) (*.f64 a a)))) |
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 a a) a) a) (fma.f64 b b (*.f64 a a))) (/.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (fma.f64 b b (*.f64 a a)))) |
(-.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) a) a) (*.f64 a a)) (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 b b)) (fma.f64 (*.f64 (*.f64 a a) a) a (*.f64 (*.f64 b b) (fma.f64 b b (*.f64 a a)))))) |
(-.f64 (*.f64 a a) (*.f64 (*.f64 (neg.f64 b) b) #s(literal -1 binary64))) |
(-.f64 (*.f64 a a) (*.f64 #s(literal 1 binary64) (*.f64 b b))) |
(-.f64 (*.f64 a a) (*.f64 (neg.f64 (neg.f64 b)) b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
(-.f64 (*.f64 (neg.f64 b) b) (*.f64 (neg.f64 a) a)) |
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 b b) b) b) (*.f64 (neg.f64 b) b)) (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 b b (*.f64 a a))))) (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) a) a) (*.f64 a a)) (fma.f64 (*.f64 (*.f64 b b) b) b (*.f64 (*.f64 a a) (fma.f64 b b (*.f64 a a)))))) |
(+.f64 (*.f64 a a) (*.f64 (neg.f64 b) b)) |
(+.f64 (*.f64 (neg.f64 b) b) (*.f64 a a)) |
(*.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64))) |
(*.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a)) |
(*.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a)) |
(*.f64 (*.f64 #s(literal 1 binary64) a) a) |
(*.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a))) |
(*.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a))) |
(*.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a))) |
(*.f64 (exp.f64 (log.f64 a)) (exp.f64 (log.f64 a))) |
(*.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64))) |
(*.f64 (neg.f64 a) (neg.f64 a)) |
(*.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 a) (fabs.f64 a)) |
(*.f64 #s(literal 1 binary64) (*.f64 a a)) |
(*.f64 (*.f64 a a) #s(literal 1 binary64)) |
(*.f64 a (*.f64 a #s(literal 1 binary64))) |
(*.f64 a a) |
(pow.f64 (exp.f64 (log.f64 a)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 a) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 a) #s(literal 2 binary64)) |
(pow.f64 (*.f64 a a) #s(literal 1 binary64)) |
(pow.f64 a #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 a a)) #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 a a) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (*.f64 a a) #s(literal -1 binary64))) |
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 a a))) |
(neg.f64 (*.f64 (neg.f64 a) a)) |
(fabs.f64 (*.f64 a a)) |
(exp.f64 (fma.f64 (log.f64 a) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 a) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 a) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 a) #s(literal 2 binary64)))) |
a |
(*.f64 (neg.f64 (neg.f64 b)) (neg.f64 (neg.f64 b))) |
(*.f64 (neg.f64 (fabs.f64 b)) (neg.f64 (fabs.f64 b))) |
(*.f64 (fabs.f64 (fabs.f64 b)) (fabs.f64 (fabs.f64 b))) |
(*.f64 (exp.f64 (log.f64 b)) (exp.f64 (log.f64 b))) |
(*.f64 (neg.f64 b) (neg.f64 b)) |
(*.f64 (fabs.f64 b) (fabs.f64 b)) |
(*.f64 b b) |
(pow.f64 (exp.f64 (log.f64 b)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 b) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 b) #s(literal 2 binary64)) |
(pow.f64 (*.f64 b b) #s(literal 1 binary64)) |
(pow.f64 b #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 b) b)) |
(fabs.f64 (*.f64 b b)) |
(exp.f64 (*.f64 (log.f64 b) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 b) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 b) #s(literal 2 binary64)))) |
b |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#s(approx (* a a) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 b (/.f64 b (*.f64 a a)))) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#s(approx (* b b) (*.f64 b b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (*.f64 (fma.f64 a (/.f64 a (*.f64 b b)) #s(literal -1 binary64)) b) b)) |
Compiled 766 to 289 computations (62.3% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 119 | 2 | 121 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 120 | 2 | 122 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 50.5% | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| ▶ | 56.3% | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
Compiled 15 to 15 computations (0% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
a |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (neg.f64 b) b) |
(neg.f64 b) |
b |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (* (neg b) b) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (neg b) #s(hole binary64 (* -1 b))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | b | @ | -inf | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
| 1.0ms | b | @ | 0 | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
| 1.0ms | b | @ | inf | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
| 1.0ms | a | @ | -inf | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
| 1.0ms | a | @ | inf | ((- (* a a) (* b b)) (* a a) a (- (* a a) (* b b)) (* (neg b) b) (neg b) b) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 157 |
| 0 | 41 | 151 |
| 1 | 141 | 150 |
| 0 | 1199 | 149 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 a a) |
a |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (neg.f64 b) b) |
(neg.f64 b) |
b |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (- (pow a 2) (pow b 2)))) |
#s(approx (* a a) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (pow a 2))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow a 2) (+ 1 (* -1 (/ (pow b 2) (pow a 2))))))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (+ (* -1 (pow b 2)) (pow a 2)))) |
#s(approx (* (neg b) b) #s(hole binary64 (* -1 (pow b 2)))) |
#s(approx (neg b) #s(hole binary64 (* -1 b))) |
#s(approx (- (* a a) (* b b)) #s(hole binary64 (* (pow b 2) (- (/ (pow a 2) (pow b 2)) 1)))) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
(*.f64 (*.f64 (neg.f64 a) #s(literal 1 binary64)) (*.f64 (neg.f64 a) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 a) #s(literal 1 binary64)) (*.f64 (fabs.f64 a) #s(literal 1 binary64))) |
(*.f64 (*.f64 a #s(literal 1 binary64)) (*.f64 a #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (*.f64 #s(literal 1 binary64) (neg.f64 a))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 a)) (neg.f64 a)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (*.f64 #s(literal 1 binary64) (fabs.f64 a))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 a)) (fabs.f64 a)) |
(*.f64 (*.f64 #s(literal 1 binary64) a) (*.f64 #s(literal 1 binary64) a)) |
(*.f64 (*.f64 #s(literal 1 binary64) a) a) |
(*.f64 (neg.f64 (neg.f64 a)) (neg.f64 (neg.f64 a))) |
(*.f64 (neg.f64 (fabs.f64 a)) (neg.f64 (fabs.f64 a))) |
(*.f64 (fabs.f64 (fabs.f64 a)) (fabs.f64 (fabs.f64 a))) |
(*.f64 (exp.f64 (log.f64 a)) (exp.f64 (log.f64 a))) |
(*.f64 (neg.f64 a) (*.f64 (neg.f64 a) #s(literal 1 binary64))) |
(*.f64 (neg.f64 a) (neg.f64 a)) |
(*.f64 (fabs.f64 a) (*.f64 (fabs.f64 a) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 a) (fabs.f64 a)) |
(*.f64 #s(literal 1 binary64) (*.f64 a a)) |
(*.f64 (*.f64 a a) #s(literal 1 binary64)) |
(*.f64 a (*.f64 a #s(literal 1 binary64))) |
(*.f64 a a) |
(pow.f64 (exp.f64 (log.f64 a)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 a) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 a) #s(literal 2 binary64)) |
(pow.f64 (*.f64 a a) #s(literal 1 binary64)) |
(pow.f64 a #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 a a) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 a a)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (*.f64 a a) #s(literal -1 binary64))) |
(neg.f64 (*.f64 #s(literal -1 binary64) (*.f64 a a))) |
(neg.f64 (*.f64 (neg.f64 a) a)) |
(fabs.f64 (*.f64 a a)) |
(exp.f64 (fma.f64 (log.f64 a) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 a) #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 a) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 a) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 a) #s(literal 2 binary64)))) |
a |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(*.f64 (*.f64 #s(literal -1 binary64) (fabs.f64 b)) (fabs.f64 b)) |
(*.f64 (*.f64 #s(literal -1 binary64) (neg.f64 b)) (neg.f64 b)) |
(*.f64 (neg.f64 (fabs.f64 b)) (fabs.f64 b)) |
(*.f64 (neg.f64 (neg.f64 b)) (neg.f64 b)) |
(*.f64 (fabs.f64 b) (*.f64 (fabs.f64 b) #s(literal -1 binary64))) |
(*.f64 (fabs.f64 b) (neg.f64 (fabs.f64 b))) |
(*.f64 (*.f64 b b) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.f64 b b)) |
(*.f64 (neg.f64 b) (*.f64 (neg.f64 b) #s(literal -1 binary64))) |
(*.f64 (neg.f64 b) (neg.f64 (neg.f64 b))) |
(*.f64 (neg.f64 b) b) |
(*.f64 b (neg.f64 b)) |
(neg.f64 (*.f64 b b)) |
(*.f64 #s(literal -1 binary64) b) |
(*.f64 b #s(literal -1 binary64)) |
(neg.f64 b) |
b |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#s(approx (* a a) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 b (/.f64 b (*.f64 a a)))) (*.f64 a a))) |
#s(approx (- (* a a) (* b b)) (*.f64 (-.f64 a b) (+.f64 b a))) |
#s(approx (* (neg b) b) (*.f64 (neg.f64 b) b)) |
#s(approx (neg b) (neg.f64 b)) |
#s(approx (- (* a a) (* b b)) (*.f64 (*.f64 (fma.f64 a (/.f64 a (*.f64 b b)) #s(literal -1 binary64)) b) b)) |
Compiled 266 to 166 computations (37.6% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 55 | 0 | 55 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 55 | 2 | 57 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 50.5% | #s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| ✓ | 56.3% | #s(approx (- (* a a) (* b b)) (*.f64 a a)) |
Compiled 31 to 27 computations (12.9% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
(-.f64 (*.f64 a a) (*.f64 b b)) |
| Outputs |
|---|
(-.f64 (*.f64 a a) (*.f64 b b)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
5 calls:
| 3.0ms | (*.f64 a a) |
| 2.0ms | b |
| 2.0ms | a |
| 1.0ms | (*.f64 b b) |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 94.9% | 2 | (*.f64 b b) |
| 96.5% | 2 | (*.f64 a a) |
| 96.5% | 2 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 96.5% | 2 | a |
| 94.9% | 2 | b |
Compiled 11 to 15 computations (-36.4% saved)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 (neg.f64 b) b)) |
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
3 calls:
| 1.0ms | a |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 a a) |
| Accuracy | Segments | Branch |
|---|---|---|
| 79.3% | 2 | (*.f64 a a) |
| 96.5% | 2 | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 79.3% | 2 | a |
Compiled 8 to 10 computations (-25% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
| Outputs |
|---|
#s(approx (- (* a a) (* b b)) (*.f64 a a)) |
5 calls:
| 1.0ms | b |
| 1.0ms | a |
| 1.0ms | (-.f64 (*.f64 a a) (*.f64 b b)) |
| 1.0ms | (*.f64 a a) |
| 1.0ms | (*.f64 b b) |
| Accuracy | Segments | Branch |
|---|---|---|
| 56.3% | 1 | (*.f64 a a) |
| 56.3% | 1 | a |
| 56.3% | 1 | (*.f64 b b) |
| 56.3% | 1 | b |
| 56.3% | 1 | (-.f64 (*.f64 a a) (*.f64 b b)) |
Compiled 11 to 15 computations (-36.4% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 7.0ms | 2.3701320649318564e+149 | 8.549455269103664e+150 |
| 3.0ms | 112× | 0 | valid |
Compiled 94 to 108 computations (-14.9% saved)
ival-mult!: 1.0ms (78.4% of total)ival-sub!: 0.0ms (0% of total)adjust: 0.0ms (0% of total)| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -7.158130232355736e-260 | 0.0 |
Compiled 8 to 10 computations (-25% saved)
| 1× | done |
Compiled 22 to 18 computations (18.2% saved)
(abs b)
(abs a)
Compiled 214 to 188 computations (12.1% saved)
Loading profile data...