Want to take part in these discussions? Sign in if you have an account, or apply for one below
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
1 to 14 of 14
David: as you probably know, if we use not the ring structure on where is symmetric difference (exclusive ’or’), but the rig structure on where is the usual join (inclusive ’or’), then matrix composition is the same as relational composition:
(notice that infinite sums make sense in this context; they do not for the ring structure). I see you are assuming that your set is finite.
Anyway, the meaning of matrix multiplication for the Boolean ring case is weird, but similar: for , two binary relations on , we have iff there exist an odd number of such that and .
I’d like to think further about the meaning of the determinant.
Some terminology:
All binary relations on set form the Boolean lattice . also is a monoid where the monoid operation is relation composition. Together these mean that is a quantale, in particular a *-quantale, where the *-operation is relational opposite.
it is the parity of the number of subrelations that are permutations
So it is! But I don’t see the deeper meaning of this yet myself.
This is an example where linear algebra has something to say about the structure of finite sets and relations, when viewed through the lens of counting the parity of sets.
Yes, this is something I don’t think about much. This may be off-topic or distracting, but it reminds me of one cute result though, that the number of fixed points of an involution on a finite set has the same parity as . This is the basis of Zagier’s proof of the sum-of-two-squares theorem, that I once ranted about a little here.
The group (invertible matrices over the field ) can be interesting. For , we get the symmetric group . For , we get a group of order 168, also known as , which John Baez could tell you about until the cows come home.
Here are some further thoughts on the matter.
We began with a set of truth-values V, call them 0 and 1, along with an algebra on them. The two candidates we have been discussing are the ring 2, and the rig 2 which uses disjunction instead of mod-2 addition.
Then we can represent sets and relations as V-valued functions. Then linear algebra gives us a toolbox of constructs, which we can then apply to define intersection, union, overlapping of sets, composition of relations, ...
By changing the "ground rig" of truth values, we obtain different perspectives on sets and relations. The disjunctive rig 2 is what we are most familiar with. But the ring 2 can also be used, and in the view of the world that it entails, two sets will "overlap" if the parity of their intersection is even.
So this is multi-valued logic, cast within the framework of matrix algebra.
An interesting case to consider is when the truth-values are themselves relations, and the algebra V is an algebra of relations.
Here is a motivating case. In the standard case, a relation R(a,b) gives a truth-value saying whether a and b stand in the relation R. But consider an application where the elements a,b, etc. stand for components in a system. A Boolean-valued relation can answer the simple question as to whether or not a and b are connected in the system. But a richer question is: how are a and b connected? If you consider that a consists of parts a1,...,ak, and b consists of b1,...,bn, then the actual connection between a and b is a relation, of one lower degree, between these constituent parts. So we can have multi-level relations -- even potentially ones that can have an infinite number of levels.
Then we are multiplying matrices whose elements are themselves matrices.
One fly in the ointment: I don't think that determinant is defined if the rig is not a ring, because it needs the sign of the permutation.
But nevermind -- a lot of the structure does generalize.
Can you guys give me any pointers to where work in these directions is being carried out?
What are some good categorical ways to look at:
Relativizing set and relation theory over a ground rig of truth values
Multi-level relational algebra, possibly with an infinite number of levels of increasing detail
I don’t think that determinant is defined if the rig is not a ring, because it needs the sign of the permutation.
I believe that semiring theorists speak of separate positive and negative determinants in this case. Then instead of , we have
But in fact something stronger holds:
This all works nicely if you think of the determinant as taking values in the ring of formal differences of elements of the original rig.
(What are some good categorical ways to look at:) Relativizing set and relation theory over a ground rig of truth values
Embarrassing riches here. There is for starters the theory of -valued sets ( a complete Heyting algebra) which has important connections with sheaf theory and forcing. Replacing with a quantale , one may consider -valued relations and functions; Lawvere’s theory of metric spaces is an important example of that. The theory of buildings can also be developed in such a context. But one can generalize far beyond such cases; the theory of -enriched profunctors is one such generalization.
What is motivating your interest expressed in #1?
Todd, thanks for all this good information. That should keep me busy for the next few years :)
My queries have been motivated by problems in knowledge representation. How, for example, would we model international relations? A set of tuples just isn't up for the job. These real relations appear to have much more texture, perhaps even to an unlimited level of detail. This led me to think of relation-valued relations, and to wonder about what kind of "textures" would be achieved in a limiting case. Which lead me to think about multi-valued logics and categories for them.
I'm really glad to have found this forum, and your very informative wiki. Working in isolation was okay for a time, but that time is over.
By the way, I am getting some mileage out of this paper:
David I. Spivak, Simplicial Databases.
With Best Regards, Dave Tanzer
Dave, you should probably also look at ideas of building simplicial complexes from relations. Any relation between sets defines two simplicial complexes: see Dowker’s theorem (in case this goes wrong as a link (see another thread) it is to Dowker’s theorem). Also check up on work by Pascal Hitzler, and Guo-Qiang Zhang, for instance:
A categorical view on algebraic lattices in formal concept analysis. Pascal Hitzler, Markus Krötzsch and Guo-Qiang Zhang Fundamenta Informaticae 74 (2-3), 301-328, 2006.
Generally formal concept analysis has some interesting insights and methods, and may be worth your while exploring a bit.
1 to 14 of 14