coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "jonikelee AT gmail.com" <jonikelee AT gmail.com>
- To: "Kumar, Ashish" <azk640 AT psu.edu>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Top-down proofs in Coq by introducing new variables?
- Date: Sat, 26 Sep 2020 11:23:09 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk1-f182.google.com
- Ironport-phdr: 9a23:R0riShGTc4+bS69p56Ld151GYnF86YWxBRYc798ds5kLTJ7yps+wAkXT6L1XgUPTWs2DsrQY0rWQ6fqrCTJIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLF/IA+ooQnPucUbgopvIbstxxXUpXdFZ/5Yzn5yK1KJmBb86Maw/Jp9/ClVpvks6c1OX7jkcqohVbBXAygoPG4z5M3wqBnMVhCP6WcGUmUXiRVHHQ7I5wznU5jrsyv6su192DSGPcDzULs5Vyiu47ttRRT1jioMKjw3/3zNisFogqxVoAyvqQF8zYHWboGbM/Vxcb/Sc94BWWpMXNxcWzBbD4+gcYcCCfcKM+ZCr4n6olsDtRWyBQurBOPpyz9IhWH53akk3Os/CgzG0wkgEMgPsHTQttn6KKASUeW7wKLVyjjDbfRW2TH86IjLbB8hpe+DUqxrfMrezEkgDQLFjlGKpYP5ODOV0/0Avm6G5OVvSeyhkXQoqx1tojex3McsjJHEip4ax1zZ6Cl03oY4KN67RUN0f9OqHpRduS+UOoZ4XM8vTWFltTsnx7MGt5O3YTYHxpo5yhPcZfKKd4iG7BLgWeuXPDx2h2pldaqhixqu9UWs0O7xW8mu3FpUsCZJjMPAum0O2hDN8sSLVPpw8lu81TuKygze7v1LLEU7mKfaN5It3rs9m5QNvknDGyL5gln6ga2Iekgh+eWn9urnYrvjq5+SKYB7kA/+P6Eql8OhD+Q1Mg4DVHWB9+umzr3s50j5Ta1KjvIolqnZt4jXJcEBqa64Bw9Zy58j6xWiAzu/3tQUgHoKIExfdBKIiIjpPF7OIPTmAvuln1uslzJry+jHPr3nHJrNMmDOnKn9cbt58UJRywo+wcpB655KFL0NOu//V0zvuNDACx82KQ20w+LpCNVn0YMeXHqCAq2eMKPUsF+I5fwgI+2Sa4ALozv9JP0l6OTvjX89g1MSYa6p3Z4PZHCiAvtmO1mZYWbrgtoZDWgKuRM+QPX2h12GTD5cfG2/X7k85zE+EIKpF53PRoGrgLyb3Se0BIdaZm5cCgPELXC9PaaZXv4WLGq7Oc9giTxOHeyoWYx/iUmGrBTnjbdrM7yH1DcfsMep1t9z5u7ekRw/3TNxBsWZlWqKSis8ymEPQT410aRyrGRyz16C1e5zhPkORo8b3O9ATgpvbc2U9Od9Ed2nAludLOfMc06vR5CdOR90Vsg4moZcbEN0GtHkhRfGjXLzXu0l0oeTDZlxyZrymnj8I8EnlSTD3aglykAlG45BbD38wKF48AfXCsjClEDLz//7J5RZ5zbE8SK49UTLuUhZVABqVqCcBCIQY0LXqZLy4UaQFrI=
If the question is whether Coq can supply actual instantiations of a and
b instead of evars (holes), the problem is that those type(s) might not
be inhabited. Note that if either the type of a or b is not inhabited,
then there is no proof of False, as H is never contradictory in that
case.
On Sat, 26 Sep 2020 14:12:54 +0000
"Kumar, Ashish" <azk640 AT psu.edu> wrote:
> In a particular proof I was working on, I had the following
> hypothesis and goal:
>
> H: forall a b, P <-> Q.
> ------------------
> False
>
> Context: a and b are user defined inductive types, and P and Q are
> propositions which use a and b. Idea on how to prove it: Informally,
> the above proof holds as (for all a b, ~Q ) holds and I can supply
> some specific value of a and b, for which P holds.
>
> So using the above idea, I proved the result, using a bottom-up
> approach i.e. by proving the following intermediate results using
> 'assert'. Proof. assert{H1: forall a b, ~Q}. { ... }
> assert{H2: P' }. { ... } (* P' is an instance of P with specific a
> and b values.*) assert(H3: ~(P' -> Q') ). { ... }
> assert(H4: ~(P' <-> Q') ). {... }
> unfold not in H4, apply H4; apply H. Qed.
>
> My question is that is there some way I could have use 'destruct' on
> the original H, to produce variables a0, b0 and hypothesis H1: P -> Q
> and H2 : Q -> P, i.e. a top-down approach? If so, I could have gotten
> a contradiction very easily by H1 and H2. I can't use it now, as I
> don't have any variables in proof context to supply a and b with.
>
> With regards,
> Ashish
>
>
- [Coq-Club] Top-down proofs in Coq by introducing new variables?, Kumar, Ashish, 09/26/2020
- Re: [Coq-Club] Top-down proofs in Coq by introducing new variables?, Beta Ziliani, 09/26/2020
- Re: [Coq-Club] Top-down proofs in Coq by introducing new variables?, Maximilian Wuttke, 09/26/2020
- Re: [Coq-Club] Top-down proofs in Coq by introducing new variables?, jonikelee AT gmail.com, 09/26/2020
Archive powered by MHonArc 2.6.19+.