coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ralf Jung <jung AT mpi-sws.org>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Axioms reported by coqchk
- Date: Fri, 19 Aug 2016 14:57:49 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT hera.mpi-klsb.mpg.de
- Ironport-phdr: 9a23:Dvxb5hGottWt77YMyjj92Z1GYnF86YWxBRYc798ds5kLTJ75o8uwAkXT6L1XgUPTWs2DsrQf2rOQ6f6rAzxIoc7Y9itTKNoUD15NoP5VtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdazLE4Lfx/66y/q1s8WKJV4Z3XznP/gofF329VyX7ZhOx9M6a+4Y8VjgmjNwYeNYxGdldxq4vi3XwYOOxqNl6DlaoPk79sRNAu3QdqU8SqFEXnx9azhmrJ6jiR6WRgyWo3AYT28+kxxSAgGD4gupcI32t37Av+5zkAuHO8K+GbIpXzuK6r9qDQT3k2EALTFvozKfsdB5kK8O+EHpnBd42YOBOIw=
Hi,
Alternatively,
> Program could provide means of importing the base
> functionality without
> needlessly importing modules. What do you think?
>
>
> But then how different is this from refine ?
>
>
> |Program| uses a bidirectional type-inference mechanism. This is the
> main use of |Program| for me: a cleaner and bidirectional |refine|
> (cleaner in the sense that visually |Program Definition foo : type :=
> term.| is nicer than |Definition foo : type. refine (term).|).
Right. Also, "Obligations tactic" can be used to easily automatically
solve goals, so we can entirely hide the "proof block", and use
"Program" features even when stating a Lemma, which is AFAIK not
possible with "refine".
Furthermore, with "Program", one doesn't have to state the entire type
even if one has holes in the term, while "Definition ... refine" forces
one to write down the type. (Or maybe that's what you meant by
"bidirectional" above.)
Kind regards,
Ralf
- [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jacques-Henri Jourdan, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Beta Ziliani, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Pierre Courtieu, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jacques-Henri Jourdan, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Guillaume Melquiond, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Matthieu Sozeau, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Pierre-Marie Pédrot, 08/19/2016
- RE: [Coq-Club] Axioms reported by coqchk, Soegtrop, Michael, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jacques-Henri Jourdan, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Pierre Courtieu, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Beta Ziliani, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jacques-Henri Jourdan, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
Archive powered by MHonArc 2.6.18.