chore: add notNot?
This commit is contained in:
parent
60ff468a8b
commit
4635c3afd1
1 changed files with 5 additions and 0 deletions
|
|
@ -49,6 +49,11 @@ namespace Expr
|
|||
@[inline] def not? (p : Expr) : Option Expr :=
|
||||
p.app1? ``Not
|
||||
|
||||
@[inline] def notNot? (p : Expr) : Option Expr :=
|
||||
match p.not? with
|
||||
| some p => p.not?
|
||||
| none => none
|
||||
|
||||
@[inline] def and? (p : Expr) : Option (Expr × Expr) :=
|
||||
p.app2? ``And
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue