Skip to Content.
Sympa Menu

ssreflect - Re: [ssreflect] [rewrite foo in hyp] weirdness

Subject: Ssreflect Users Discussion List

List archive

Re: [ssreflect] [rewrite foo in hyp] weirdness


Chronological Thread 
  • From: Robbert Krebbers <>
  • To:
  • Subject: Re: [ssreflect] [rewrite foo in hyp] weirdness
  • Date: Wed, 13 Jan 2016 15:43:30 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:z8XiIRbDIyeL7sWGux1W0n3/LSx+4OfEezUN459isYplN5qZpcq4bnLW6fgltlLVR4KTs6sC0LqI9fC/EjJbqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh770q8KYPV4ArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Kr8jV7FWCDktL0gw/9eutB/ZTALJ530GU2xQnAAbLRLC6UTAWZ37vzHm/sln1SOQMNftBeQxUDWm7qFkTB7zlDwvLTkz+mzNls9qgahRrQi64Rp7ld2HKLqJPeZzK/uONegRQnBMC55c

Dear Emilio,

Thanks for your reply.

On 01/13/2016 01:16 PM, Emilio Jesús Gallego Arias wrote:
However it has some particularities, as your next example shows:

>rewrite H1 in H2.
>(* Error: tampering with discharged assumptions of "in" tactical *)
This may be avoided using:

>rewrite H1 in H2 *.
The manual does a better job than I could ever do in explaining "in *".
From the ref man:

The operation described by tactic is
performed in the facts listed in ident +
and in the goal if a * ends the list.

I do not necessarily want the rewrite to be performed in the goal as well, so always using * seems not to be the solution.

As Assia remarked here https://github.com/math-comp/math-comp/issues/16#issuecomment-171295569 , it is probably a bug.

Best,

Robbert




Archive powered by MHonArc 2.6.18.

Top of Page