-
I was surprised when unfolding [`rationals_le`](https://github.com/math-classes/math-classes/blob/751e63b260bd2f78b280f2566c08a18034bd40b3/orders/rationals.v#L89-L90) to see that it specifies that `le…
-
I'm trying to compile [Agda](https://github.com/agda/agda) into JS (I intend to run the type checker in the browser, because I'm a masochist) using `cabal --ghcjs install agda`. To my surprise, the li…
-
```
push : forall {a b : Type, s : Semiring, n : s} . (a, b) [n] -> (a [n], b [n])
push = ?
```
Synthesises:
```
push : forall {a b : Type, s : Semiring, n : s} . (a, b) [n] -> (a [n], b [n])
p…
-
Should check that the valid monoid within a semiring is in fact commutative. Monoid validity should check for algebraic properties of monoid structures, such as having an associative binary operator a…
-
We should have a means of accessing the underlying sets (and their operations) of semirings.
Currently, for example, if you have a semiring whose underlying set is the natural numbers, but whose ad…
-
At line 608 of `TQ.py`, in the definition of `clusCoef`, the variable `old` is undefined in one branch and not callable in the other.
It looks like that's just because of the `old = TQ.semiring();`…
skynx updated
7 years ago
-
Dear problog team,
I try to learn a Naive Bayes classifier for documents based on occuring words.
There are about 1000 examples and they should be classified (to be precise, the probability of t…
-
Trying to write this interface:
interface Semiring a (zero : a) (one : a) (add : Monoid a zero p) (mul : Monoid a one m) where
gives me a "no such variable `a`" error, but changing it to
…
-
torch.einsum limits you to 26 indices but can semiring_einsum provide a non-string interface that allows more than 26?
-
To reproduce:
```bash
git clone --branch=v2.6.3 --recurse-submodules https://github.com/agda/agda agda
cd agda
cabal install
cd std-lib
for file in src/**/*.agda; do agda $file; done
```
G…