Skip to content

Enable matching for the cancellation law so it can be used in 24.8 - #47

Open
Chessing234 wants to merge 2 commits into
teorth:masterfrom
Chessing234:fix/cancellation-law-matching
Open

Enable matching for the cancellation law so it can be used in 24.8#47
Chessing234 wants to merge 2 commits into
teorth:masterfrom
Chessing234:fix/cancellation-law-matching

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

  • Exercise 24.8 wants to apply the cancellation law after deriving x*(α*1) = x*α. Matching failed because 24.4's inverse axiom is existential and the matcher cannot unify it.
  • Give 24.4 a proxy matching template (identity + associativity + the equality, inverse omitted), the same pattern already used for the syllogism laws.

Closes #32.

Test plan

  • node --check docs/js/main.js is clean.
  • Could not click through the in-browser 24.4 → 24.8 flow here.

Made with Cursor

The inverse axiom is existential, which the matcher cannot unify.
A proxy template keeps identity, associativity, and the equality,
matching the pattern already used for the syllogism laws.
The previous note said matching was unimplemented; 24.4's proxy template
is what 24.8 needs after deriving x*(α*1)=x*α.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to apply cancellation law?

1 participant