Hi,

On 30/01/2025 16:10, Ben Franksen wrote:

Note that consistency is not the same as permutivity, even though it is easy to confuse them (or throw both properties together, as we do in our unit tests). Permutivity says that for any given sequence of named patches, any series of commutations that results in the same sequence of names, is also the identity with regard to patch /content/.

I need to think this through more, but I think I've always viewed
consistency and permutivity as quite closely related.

Consistency says if two patches commute in any context they commute in all contexts.

Permutivity says if two patches commute in any context you get "same"
result as commuting them in any other context.

"same" is not very precise without appealing to the global property
you mention though.

If we think of commutation as an operation on Maybes then you can
even unify the two properties.

Are you saying that V1 or V2 patches do have permutivity but not
consistency of commutes, or just thinking about how to simplify our
requirements in general?

Cheers,

Ganesh
_______________________________________________
darcs-devel mailing list
[email protected]
https://lists.darcs.net/mailman/listinfo/darcs-devel

Reply via email to