Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Trying examples in formalized programming languages

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Trying examples in formalized programming languages


Chronological Thread 
  • From: Klaus Ostermann <klaus.ostermann AT uni-tuebingen.de>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Trying examples in formalized programming languages
  • Date: Fri, 30 Sep 2016 11:51:51 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=klaus.ostermann AT uni-tuebingen.de; spf=None smtp.mailfrom=klaus.ostermann AT uni-tuebingen.de; spf=None smtp.helo=postmaster AT mx04.uni-tuebingen.de
  • Ironport-phdr: 9a23:JKswVxHc0/E6B6aT3vDpIZ1GYnF86YWxBRYc798ds5kLTJ76r8qwAkXT6L1XgUPTWs2DsrQf2rCQ6fmrAzRIoc7Y9itdINoUD15NoP5VtjJjKfbNMVf8Iv/uYn5yN+V5f3ghwUuGN1NIEt31fVzYry76xzcTHhLiKVg9fbytScaBx/iwguu14tjYZxhCrDu7e7J7ahus/ivLscxDoo9rN7157QDVr2FNcuJQjTdrIVuOhFD7/du95ptq9SJ4pvQgstJdXK/7eas1S/pUAWJ1YCgO+MT3uEybHkO07XwGXzBOnw==

Never mind. I just found out that the "Software Foundations" contains
a section on just this problem. Sorry for the noise on the mailing list.


Am 30/09/16 um 09:39 schrieb Klaus Ostermann:
> I have formalized a small programming language in the style proposed by
> the "Software Foundations" book.
>
> I have defined an inductive type "tm" of Terms and
> an inductive type
>
> Inductive step : tm -> tm -> Prop
>
> to formalize the small-step reduction semantics of the language:
>
> I'd like to test the definitions with some examples. Let's say I have an
> example term t1. I want to find the term t2 such that "step t1 t2" holds.
>
> What is the best way to formalize such tests? Should one use an
> existential type, like
>
> exists t2, step t1 t2
>
> If so, how can one extract the witness t2 from such a theorem for
> inspection?
>
> Is there a way to automate the proof search such that the derivation does
> not have to be built by hand for every example?
>
> Klaus
>




Archive powered by MHonArc 2.6.18.

Top of Page