Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Trouble constructing terms of dependent types involving proofs

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Trouble constructing terms of dependent types involving proofs


Chronological Thread 
  • From: Clément Pit--Claudel <clement.pit AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Trouble constructing terms of dependent types involving proofs
  • Date: Thu, 3 Mar 2016 14:26:58 -0700
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=clement.pit AT gmail.com; spf=SoftFail smtp.mailfrom=clement.pit AT gmail.com; spf=None smtp.helo=postmaster AT mout.kundenserver.de
  • Ironport-phdr: 9a23:LaTi9hemLysufULKIockVqUHlGMj4u6mDksu8pMizoh2WeGdxc6+Yx7h7PlgxGXEQZ/co6odzbGG7Oa/BSdZusfJmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbvipNuMP04R32v1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GLdfFXEtN30/zMztrxjKCwWVtVUGVWBDuR7JBgXD8CbCX4u09wD+v/dx1S3SacbyQLU5Xyjk96Z3YBDtgSYDcTU+9TeE2YRLkKtHrUf59FREyInObdTNOQ==



On 03/03/2016 02:23 PM, Ralf Jung wrote:
>> )
> All my experiments with tactics-in-terms lead to the same trouble as
> plain eq_refl: The tactic is run before the contexts are propagated
> down, so things don't work. But it may well be that I did this wrong; I
> have yet to see a successful use of tactics-in-terms ;-)

Something like this?

Definition test2 : expr nil :=
ltac:(refine (Lam _ "x" (Var _ "x" _)); apply eq_refl).

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.18.

Top of Page