feat: grind_pattern for Subtype.property (#11317)

This PR adds `grind_pattern Subtype.property => self.val`.
This commit is contained in:
Kim Morrison 2025-11-22 13:23:09 +11:00 committed by GitHub
parent fd4ff1f7e2
commit 26b435fa4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -631,6 +631,8 @@ structure Subtype {α : Sort u} (p : α → Prop) where
-/
property : p val
grind_pattern Subtype.property => self.val
set_option linter.unusedVariables.funArgs false in
/--
Gadget for optional parameter support.