-
Notifications
You must be signed in to change notification settings - Fork 53
feat: define BuchiCongruence and prove that it is a right congruence of finite index #278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…n of omega-languages of a special form
|
Rebase on the current upstream/main. |
|
Please take a look at the first commit that I just pushed. (This took me quite a while to think over, so please consider the differences carefully) I used the following definition: class RightCongruence (α : Type*) extends
eq : Setoid (List α) , CovariantClass _ _ (fun x y => y ++ x) eq whereso there is no confusion about notation referring to the existing setoid instance for lists, and all of your proofs are the same with the exception of some arguments changing order. I also made some changes related to where you were passing Lastly I removed the |
|
@chenson2018 Your changes look good to me. I made one further change: I gave a name Also, I will close #265 and merge it into this PR, because the changes you made impact both PR's. |
|
This looks like a good change. Sorry about pushing changes here, but it was just too hard to see how different definitions worked out otherwise. I will review the rest of this PR once Fabrizio merges #249. |
This PR defines the notion of a "right congruence", which is an equivalence relation between finite words that is preserved by concatenation on the right, and proves its basic properties:
Furthermore, this PR also defines a special type of right congruences introduced by J.R. Buchi to and proves that it is of finite index if the underlying Buchi automaton is finite-state. The purpose of Buchi congruence is to prove the closure of ω-regular languages under complementation. But more work will be needed before we reach that goal.
This PR depends on #249. The old PR #265 has been absorbed into this PR.