chore: update namedPattern signature
Remark: It is not being used yet.
This commit is contained in:
parent
35d25dfaaf
commit
874aadd7e3
1 changed files with 2 additions and 4 deletions
|
|
@ -173,10 +173,8 @@ structure Subtype {α : Sort u} (p : α → Prop) where
|
|||
-- TODO: delete
|
||||
@[reducible] def namedPatternOld {α : Sort u} (x a : α) : α := a
|
||||
|
||||
/-- Auxiliary Declaration used to implement the named patterns `x@p`
|
||||
-- TODO: add proof for `x = a`
|
||||
-/
|
||||
@[reducible] def namedPattern {α : Sort u} (x a : α) : α := a
|
||||
/-- Auxiliary Declaration used to implement the named patterns `x@h:p` -/
|
||||
@[reducible] def namedPattern {α : Sort u} (x a : α) (h : Eq x a) : α := a
|
||||
|
||||
/- Auxiliary axiom used to implement `sorry`. -/
|
||||
@[extern "lean_sorry", neverExtract]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue