coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Daniel Kuhse <daniel.kuhse AT tu-dortmund.de>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Showing proof of type ~(P -> Q)?
- Date: Sat, 19 Sep 2020 05:42:22 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=daniel.kuhse AT tu-dortmund.de; spf=Pass smtp.mailfrom=daniel.kuhse AT tu-dortmund.de; spf=None smtp.helo=postmaster AT unimail.uni-dortmund.de
- Ironport-phdr: 9a23:jcgGYxTkL0xoD3Ml+vwtl8BYMtpsv+yvbD5Q0YIujvd0So/mwa6ybReN2/xhgRfzUJnB7Loc0qyK6v+mATNLvszJ8ChbNsAVCVld0YRetjdjKfbNMVf8Iv/uYn5yN+V5f3ghwUuGN1NIEt31fVzYry76xzcTHhLiKVg9fbytScbdgMutyu+95YDYbRlWizqhe7NyKwi9oRnMusUMjoZuN6Q8xgHVrnZKdOhbx31kLk+Xkxrg+8u85pFu/zlRtv4768JMTaD2dLkkQLJFCzgrL3o779DxuxnZSguP6HocUmEInRdNHgPI8hL0UIrvvyXjruZy1zWUMsPwTbAvRDSt9LxrRwPyiCcGLDE27mfagdFtga1BoRKhoxt/w5PIYIyQKfFzcL/Rcc8cSGFcWMtaSi5PDZ6mb4YXAOUBM+RXoYnzqVUNsBWwGxWjCfj1xTNUnHL7x7E23/gjHAzAwQcuH8gOsHPRrNjtOqkdS+a1zKjWwjXHcvhY3Cr96IjTch8/vPqBWq9/ftDXyUkuCQzFik+cqY/4PzOVzeQCrXOW7/Z9Ve62lmEnrBtxoiSqxscxjInGm5gZxU3a+ihgxos+ONK3RlJhb9G+DJtQqz+VN5FwQs46X2xkpSc3x74HtJKlYSUHyZQpyhrfZvCZcIWF7Q/vWPuNLDpkgH9oeLKyihKz/Eau1uDxSNS53VlKoCRLndTBuHYA3AHQ5MifUvZx41mt1DKV2wzN9+1JI1o4mbfFJ5Mi2LI9locfvVzdEiPqnEj6lqybe0U+9uS29ujqYa/qq5CSOoJylwrwKL4hmtalDuQ9KgUOX3aU+eC71LD74E35RrRKjvgsnanYtJDWP9kbpqi4AwNMz4kj7Ay/Dyuj0NQFm3kIMUhJdw+ZgITxOlHOJu73Deunjlixjjtmw+rKMqP8DpjPNHTPjantcLVn50Nc1QY/1dVf6IhVCrEFLvLzQEjxtNnAAxAkKQO0xefnB8t51o8EWmKPH6+ZMLjMvlKT+uIvPvCAa5ISuDbnN/gl4uPujXkkllMHYKamw4MbaGqkEfR+P0WZfX3sj88dHmcNpwoyVfDliFmfUTFIfHuyRKI95jQjCI28F4vDR4atgKaA3CihBJFWaHpGWRiwFiLjcJzBUPMRYgqTJNVgm3oKT+uPUYgkgD2nsg73z/JEM+rP92VMuZvl1dVxoe7OlQo/3SBpSsiayX2IUmd42G8FEWxllJtjqFBwnw/QmZNzhOZVQIQKtqF5FzwiPJuZ9NRUTtX7WwbPZNCMEQj0XsjjDTYrUtcsxdNIb0svQoz+3CCG5DKjBvour5LOHIY9q/yOw2W0K8Fn13Pb0qVng1R0GpISZ13jvbZ28k3oP6CMk0idkPz3J7ka3SvE9WPF0GyP+U1fShJ1TKPJG3wSNBPb
I don't think there is generally any real way around proving the statement directly (i.e. proving that for all a b, both P and ~Q hold).
By the way, is it true that if I prove ex3: forall a b, P -> ~Q, then from ex3, I can prove ex?
Counterexample: Assume for all a b, ~P holds, then ex3 holds, but not ex since both P->~Q and P-> Q hold due to ~P
---
Daniel Kuhse
By the way, is it true that if I prove ex3: forall a b, P -> ~Q, then from ex3, I can prove ex?
By the way, is it true that if I prove ex3: forall a b, P -> ~Q, then from ex3, I can prove ex?
Am Sa., 19. Sept. 2020 um 04:39 Uhr schrieb Kumar, Ashish <azk640 AT psu.edu>:
Actually I do have to show theorem ex (i.e. theorem ex is correct).
But, your answer makes me realize that my informal proof was incorrect. Any ideas?
By the way, is it true that if I prove ex3: forall a b, P -> ~Q, then from ex3, I can prove ex?
With regards,
Ashish
From: coq-club-request AT inria.fr <coq-club-request AT inria.fr> on behalf of Donald Sebastian Leung <donaldsebleung AT gmail.com>
Sent: Friday, September 18, 2020 10:31 PM
To: coq-club AT inria.fr <coq-club AT inria.fr>
Subject: Re: [Coq-Club] Showing proof of type ~(P -> Q)?I think you might be confusing the following two propositions:
- It is not the case that P -> Q for any a, b (ex : ~ (forall (a b : A), P -> Q))- For any given pair of values a, b, P -> Q is decidedly false (ex : forall (a b : A), ~(P -> Q))
The informal proof you gave would work for the former example while you are asking for a proof of the latter example.
~ Donald
Kumar, Ashish <azk640 AT psu.edu> 於 2020年9月19日 週六 上午9:44寫道:
Suppose I have a theorem of the form:
Theorem ex: forall (a b: A), ~(P -> Q).
(where A has type 'Type' defined earlier, and a and b are used in the propositions P and Q.)
How do I go about proving this?
I realize that an informal proof for this would involve me showing there exists some value a and b, where P holds but Q does not hold i.e. informally, I would be proving the lemma ex2: exists (a b: A), P /\ ~Q. How can I prove ex2 from ex1 in Coq??
With regards,
Ashsih
- [Coq-Club] Showing proof of type ~(P -> Q)?, Kumar, Ashish, 09/19/2020
- Re: [Coq-Club] Showing proof of type ~(P -> Q)?, Donald Sebastian Leung, 09/19/2020
- Re: [Coq-Club] Showing proof of type ~(P -> Q)?, Kumar, Ashish, 09/19/2020
- Re: [Coq-Club] Showing proof of type ~(P -> Q)?, River Dillon, 09/19/2020
- Re: [Coq-Club] Showing proof of type ~(P -> Q)?, Daniel Kuhse, 09/19/2020
- Re: [Coq-Club] Showing proof of type ~(P -> Q)?, Kumar, Ashish, 09/19/2020
- Re: [Coq-Club] Showing proof of type ~(P -> Q)?, Donald Sebastian Leung, 09/19/2020
Archive powered by MHonArc 2.6.19+.