Skip to Content.
Sympa Menu

coq-club - [Coq-Club] selective zeta reduction

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] selective zeta reduction


Chronological Thread 
  • From: Jonathan Leivent <jonikelee AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] selective zeta reduction
  • Date: Tue, 10 Feb 2015 18:05:12 -0500

Given a term, is there a way to do selective zeta reduction, so that only certain local definitions are reduced? For example, consider a term like:

let x:=1 in let y:=2 in f x y

is there a way to do zeta reduction only on y, to end up with:

let x:=1 in f x 2

I'm not even sure how one would pick out which local definition to target - perhaps by its value or type. Even if there was just a way to reduce only the outermost local definition, that could perhaps be used to build a more general approach.

Is there anything along these lines in Coq?

-- Jonathan




Archive powered by MHonArc 2.6.18.

Top of Page