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] "Opaquify operator" to simplify work with dependent types
- Date: Wed, 16 May 2018 16:13:14 +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 mga12.intel.com
- Dlp-product: dlpe-windows
- Dlp-reaction: no-action
- Dlp-version: 11.0.200.100
- Ironport-phdr: 9a23:TUBDnhd7zGvFSyl6cxsUmO2wlGMj4u6mDksu8pMizoh2WeGdxcS+Yh7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM38H/ZhNFsjKxVoxyhqR5ww4/Ib46aL/dxZL/RcNcASGZdQspcVSpMCZ68YYsVCOoBOP5Vo4fgqVsJsxS+ChWsBPnoyj9QnnP9wKo00+U9HgHGxgMvAdYOvHrJp9jyMacSUPy6zKnSwjrda/Nawyz96I/WfRAuvfGMR7VwcdLKxEkuEQPFkkufqYj/MzyJ0eQNtnGW4ux9XuyhjG4nrht+ojmpxso0i4nJgJ4VxU7A9Slj3Yk6O9u1Q1N4b968CJZcqiWXO5VsTs4iQ2xkoiY3xqMctZKmciUHyYwrywPeZvGJaYSF7BzuWPyPLTp2gH9pYq+zihWs/US41+HxV8253ExUoidFndTArG4B2wbN5sWITvZw+Fqq1yyV2ADJ8O5EJFg5larFJJ4lxb49jp8TsUvZESPrhkn6lq6WdkM4+ue27+TreKnpppiZN4NsiwH+NLohmtCnDOglNgUCQXKX9OS82bH5/UD1Xq9GguA4n6TYqJzaIN4Upq+9Aw9byIYj7BO/Ai+j0NQZgXYHLEhKdwyDj4TzIFHOJ+73Dfijg1S2lzdr3+vLPrznApXRMHfDlK3tcqp6605Z0AYz18xQ54pICrEdJ/L+QlP+tNvBDhMgLwO0x/vnB85m24MFWWOPB7eZP7nIvV+J4OIvOeiMa5UPtDbzMfh2r8Lp2DUynkZYdq2017MWbmq5F7JoOQ/RNXHrm5IKFXoAlgs4Vu3jzlOYB219fXG3CugH4Tw0FJihFcOLY4GmgLWM2G3zSphXbWBPB1TKCnDleJmeXO8kaSSOL8snmTsBA+vyA7Q93A2j4Vepg4FsKfDZr3VB5MDTkeNt7uiWrikcsDl9DsCTyWaIFjgmn2UUSjtw16d68xUklgWzlJNgivkdLuR9outTW15jZ5/a0+F+Tdv1X1CZJ4rbeBOdWtyjRAoJYJcxztsJOhkvHtqr10qF3iy2DrtTnLuOVsQ5
Dear Fabian,
> Do you have an example where performance is degenerating because of this … ?
the main issue I see is with “match goal” constructs with context. I make heavy use of automation and Ltac and use this frequently to decide if it makes sense to apply a certain lemma or not. I would think that any context search would go into the proof term and I don’t see how Maximilian’s approach would prevent this.
Of cause I can give Argument options to prevent cbn or simpl from ever expanding opaque, but the complete term is still there in the argument list of opaque, so a context search would go into it even without expanding opaque. Btw.: I am not sure how context search is influenced by implicit arguments – I need to check, but I guess not at all.
For unification I don’t know if I have issues, but I also don’t think that Maximilian’s proposal makes a difference here. It is good for controlling what is printed, but I think that’s it, and as far as I understood this is also what Maximilian claims his proposal does.
But in general my experience with automation is: if there is some path you don’t want automation to follow and if you are sure you don’t need this path, close the gate to this path.
Best regards,
Michael Intel Deutschland GmbH |
- [Coq-Club] "Opaquify operator" to simplify work with dependent types, Soegtrop, Michael, 05/15/2018
- RE: [Coq-Club] "Opaquify operator" to simplify work with dependent types, Jason -Zhong Sheng- Hu, 05/15/2018
- RE: [Coq-Club] "Opaquify operator" to simplify work with dependent types, Soegtrop, Michael, 05/16/2018
- Re: [Coq-Club] "Opaquify operator" to simplify work with dependent types, Fabian Kunze, 05/16/2018
- RE: [Coq-Club] "Opaquify operator" to simplify work with dependent types, Soegtrop, Michael, 05/16/2018
- Re: [Coq-Club] "Opaquify operator" to simplify work with dependent types, Fabian Kunze, 05/16/2018
- RE: [Coq-Club] "Opaquify operator" to simplify work with dependent types, Soegtrop, Michael, 05/16/2018
- Re: [Coq-Club] "Opaquify operator" to simplify work with dependent types, Maximilian Wuttke, 05/15/2018
- RE: [Coq-Club] "Opaquify operator" to simplify work with dependent types, Soegtrop, Michael, 05/15/2018
- RE: [Coq-Club] "Opaquify operator" to simplify work with dependent types, Jason -Zhong Sheng- Hu, 05/15/2018
Archive powered by MHonArc 2.6.18.