Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tauto_hooo_rev_imply is too strong ((a^c => b^c)^true => (a => b)^c) #664

Closed
bvssvni opened this issue Dec 19, 2022 · 0 comments
Closed
Assignees
Labels

Comments

@bvssvni
Copy link
Contributor

bvssvni commented Dec 19, 2022

It is possible to prove hooo_rev_imply using tauto_hooo_rev_imply:

pub fn hooo_rev_imply<A: Prop, B: Prop, C: Prop>(
    x: Imply<Pow<A, C>, Pow<B, C>>
) -> Pow<Imply<A, B>, C> {
    fn f<A: Prop, B: Prop, C: Prop>(_: True) ->
        Imply<Tauto<Imply<Pow<A, C>, Pow<B, C>>>, Tauto<Pow<Imply<A, B>, C>>> {
        Rc::new(move |x| pow_lift(tauto_hooo_rev_imply(x)))
    }
    tauto_hooo_rev_imply(f)(True)(x)
}

hooo_rev_imply is too strong, see #640

bvssvni added a commit to bvssvni/prop that referenced this issue Dec 19, 2022
@bvssvni bvssvni self-assigned this Dec 20, 2022
@bvssvni bvssvni closed this as completed Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant