Zulip Chat Archive

Stream: Equational

Topic: Counterexamples by Enumerating Words in Quotient Magma


Andrés Goens (Oct 06 2024 at 18:25):

If we have two laws l1r1l_1 ≃ r_1 and l2r2l_2≃ r_2 over FreeMagma (Fin n) (choosing n to be large enough that both words can be expressed), then we should be able to quotient over l1r1l_1 ≃ r_1 in a suitable way, right? Any counterexample that uses n elements should also be in the image of an epimorphism of this (by the universal property). (I'm basing this on the intuition for groups, so please correct me if I'm missing something!)

So, would it make sense to look for counterexamples by just picking random words and checking whether by plugging these into l2,r2l_2, r_2 in the quotient magma, and checking if the words are equivalent (i.e. equal in the quotient)l? Or is the problem with this that the equality of words might be undecidable in some of these magmas (even with a single relation)?

Daniel Weber (Oct 06 2024 at 18:38):

The problem of checking equality in the quotient is exactly the problem of deciding implication (by completeness, as an equality in the quotient means equality using a sequence of rewrites with the equation)

Daniel Weber (Oct 06 2024 at 18:39):

This might be interesting for finite models, though

Anand Rao Tadipatri (Oct 06 2024 at 18:39):

@Andrés Goens This is the general idea behind @Hernan Ibarra's metatheorem (theorem 4.8 in the blueprint) about counting variables on both sides of the equation, which has been expanded upon in Chapter 8 of the blueprint. You're right that for an arbitrary magma, the problem might be undecidable; however, one can pick certain "nice" classes of magmas for which the problem of deciding equality of elements is computationally tractable.

Andrés Goens (Oct 06 2024 at 19:06):

right, I meant this just for counter-examples

Andrés Goens (Oct 06 2024 at 19:08):

shouldn't the deciding equality for the quotient of 1 law be always decidable and tractable, if we just do what simp does (rewrite lhs -> rhs as often as we can) that should give a normal form

Andrés Goens (Oct 06 2024 at 19:10):

but yeah, I can see why stuff like theorem 4.8 would make things more computationally tractable, I'll have to read up on chapter 8!

Hernan Ibarra (Oct 06 2024 at 20:16):

Andrés Goens said:

shouldn't the deciding equality for the quotient of 1 law be always decidable and tractable, if we just do what simp does (rewrite lhs -> rhs as often as we can) that should give a normal form

I don't think that just because you are quotiening out by one law you are guaranteed nicesness of the reduction. At any given point there might be many ways to apply the reduction but only some of them will make progress.

Andrés Goens (Oct 06 2024 at 20:21):

@Hernan Ibarra :thinking: can you give an example of that? I thought since we're in the free magma, there's no ambiguity in the elements (like assocativity or similar), and since the laws are expressed in tho generators of the free magma (and not universally quantified like in an "Equation"), there should be no ambiguity in the matching either. What am I missing here?

Hernan Ibarra (Oct 06 2024 at 20:25):

If the generators satisfy the law then the free magma also satisfies the universally quantified law right?

Hernan Ibarra (Oct 06 2024 at 20:27):

And then the hardness of the equation kicks in.

Andrés Goens (Oct 06 2024 at 20:29):

The free magma doesn't satisfy any law, but if we quotient it by a law it might be that we need to interpret it as universally quantified for the quotient, yeah. I'll admit I haven't thought through how the quotient construction should go exactly


Last updated: May 02 2025 at 03:31 UTC