Skip to content

Commit

Permalink
Added hooo::tauto_hooo_dual_rev_neq
Browse files Browse the repository at this point in the history
  • Loading branch information
bvssvni committed Dec 19, 2022
1 parent 595922e commit 0aa495a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/hooo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,13 @@ pub fn tauto_hooo_dual_neq<A: Prop, B: Prop, C: Prop>(
unimplemented!()
}

/// `(c^a == c^b) => c^(¬(a == b))`.
pub fn tauto_hooo_dual_rev_neq<A: DProp, B: DProp, C: Prop>(
x: Tauto<Eq<Pow<C, A>, Pow<C, B>>>
) -> Pow<C, NEq<A, B>> {
hooo_imply(pow_to_imply_lift(hooo_dual_rev_neq))(x)(True)
}

/// `c^(¬(a == b)) => (c^a == c^b)`.
pub fn hooo_dual_neq<A: Prop, B: Prop, C: Prop>(
x: Pow<C, NEq<A, B>>
Expand Down

0 comments on commit 0aa495a

Please sign in to comment.