Repository navigation
Upgrade graph module for paper visualizations - #58
Merged
Merged
Conversation
…ular: - Defines `ZXperm n`, a predicate defining the subset of `ZX n n` which are permutation-like, i.e. stacks and compositions of `Empty`, `Wire`, and `Swap`. - Defines `perm_of_zx`, which gives the underlying permutation of a ZXperm, and shows that this determines the semantics of the diagram, so that showing the equivalence of `ZXperm`s reduces to showing the equality of their underlying permutations. This task in invariably far simpler (in particular, tractable), and we also provide significant automation for completing this task. - Defines `zx_of_perm`, which realizes an arbitrary permutation as a ZX diagram. We prove this is suitably inverse to `perm_of_zx`. - Defines `zx_comm n m : ZX (n + m) (m + n)` and proves its naturality, i.e. `(zx0 ↕ zx1) ⟷ zx_comm m q ∝ zx_comm n p ⟷ (zx1 ↕ zx0)` (see `zx_comm_commutes_r` in `ZXpermFacts.v`). This gives pulling arbitrary diagrams through Swap. Similarly generalize `a_swap` to show arbitrary diagrams can be pulled through it.
…, of the form [name]_nat_(top|mid|bot)_(r|l)[_1], to ZXpermFacts
…ing to use new ZXperm machinery
Remove admitteds from main
…izers. Requires significant cleanup
…much faster proof
Add universality and permutations
Add Euler decomposition
Added coercions to remove INR/Nat.b2n from code leading to improved visualization
Add general Z/X pi copy rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.