coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: RE: [Coq-Club] Easy question re: implicit parameters
- Date: Mon, 18 Sep 2017 07:53:47 +0000
- Accept-language: de-DE, en-US
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=michael.soegtrop AT intel.com; spf=Pass smtp.mailfrom=michael.soegtrop AT intel.com; spf=None smtp.helo=postmaster AT mga09.intel.com
- Dlp-product: dlpe-windows
- Dlp-reaction: no-action
- Dlp-version: 11.0.0.116
- Ironport-phdr: 9a23:Sgj1KRwfh8Y6nUvXCy+O+j09IxM/srCxBDY+r6Qd0uMXIJqq85mqBkHD//Il1AaPBtqLra8cw8Pt8IneGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2NBXupSj45jkLXx77KABdJ+LvG4eUgd79n7S5/ISWaAFVjhK8Z6lzJVO4t1OCmNMRhN4oEaE8xQfTpWMMM8FXzmNhKFbZ10L558yw9ZNntT9Xtv097clYeaT8Y6k8C7dfCWJ1YCgO+MT3uEybHkO07XwGXzBOnw==
Dear Guillaume,
> I cannot reproduce your issue. I tried with 8.5, 8.6, and 8.7, and they all
> agree
> that all the arguments lie in scope type_scope. This is consistent with
Interesting. On Windows in CoqIDE with Coq 8.6 and 8.6.1 (using a fresh
install using the official installers with no environment changes) I get the
below behavior. What exact version did you use?
Best regards,
Michael
>>> SigTest.v starts here <<<
Print sig.
(*
Query commands should not be inserted in
scripts
Inductive sig (A : Type) (P : A -> Prop) : Type :=
exist : forall x : A, P x -> {x : A | P x}
For sig: Argument A is implicit
For exist: Argument A is implicit
For sig: Argument scopes are [type_scope type_scope]
For exist: Argument scopes are [type_scope function_scope _ _]
*)
Inductive sig2 {A:Type} (P:A -> Prop) : Type :=
exist2 : forall x:A, P x -> sig2 P.
Print sig2.
(*
Query commands should not be inserted in
scripts
Inductive sig2 (A : Type) (P : A -> Prop) : Type :=
exist2 : forall x : A, P x -> sig2 P
For sig2: Argument A is implicit and maximally inserted
For exist2: Argument A is implicit and maximally inserted
For sig2: Argument scopes are [type_scope function_scope]
For exist2: Argument scopes are [type_scope function_scope _ _]
*)
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
- Re: [Coq-Club] Easy question re: implicit parameters, (continued)
- Re: [Coq-Club] Easy question re: implicit parameters, Maxime Dénès, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Ralf Jung, 09/15/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/15/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/15/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/15/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Jason Gross, 09/16/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/18/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Guillaume Melquiond, 09/18/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/18/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Maxime Dénès, 09/15/2017
- RE: [Coq-Club] Easy question re: implicit parameters, Soegtrop, Michael, 09/18/2017
- Re: [Coq-Club] Easy question re: implicit parameters, Ralf Jung, 09/16/2017
Archive powered by MHonArc 2.6.18.