chore: add notNot?

This commit is contained in:
Leonardo de Moura 2021-08-17 10:29:40 -07:00
parent 60ff468a8b
commit 4635c3afd1

View file

@ -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