Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unexpected assumptions in nested contexts
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Lars Hupel  
View profile  
 More options Oct 28 2012, 5:19 pm
Newsgroups: fa.isabelle
From: Lars Hupel <hu...@in.tum.de>
Date: Sun, 28 Oct 2012 21:19:02 UTC
Local: Sun, Oct 28 2012 5:19 pm
Subject: [isabelle] Unexpected assumptions in nested contexts
(I already posted this several months ago, got no replies, and forgot
about it. I'm sending it again in case there's a solution/workaround
which I've missed. The original thread is at
<https://lists.cam.ac.uk/pipermail/cl-isabelle-users/2012-June/msg0005...>.)

Nesting two contexts, where the inner context makes assumptions about
fixed variables from the outer context, results in unexpected
all-quantified assumptions. Consider this minimal example:

context
  fixes I :: "'a set"
begin

  context
    assumes I: "finite I"
  begin
    lemma test: "something_about I"
    sorry
  end

end

Looking at the fact `test` from outside both contexts with `thm test`, I
get:

(!!I. finite I) ==> ?something_about ?I

Obviously, this fact says something completely different. Am I doing
something wrong here?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Sternagel  
View profile  
 More options Oct 28 2012, 11:35 pm
Newsgroups: fa.isabelle
From: Christian Sternagel <c-ste...@jaist.ac.jp>
Date: Mon, 29 Oct 2012 03:35:29 UTC
Local: Sun, Oct 28 2012 11:35 pm
Subject: Re: [isabelle] Unexpected assumptions in nested contexts
Dear Lars,

it seems that your message was at least considered, see

https://mailmanbroy.informatik.tu-muenchen.de/pipermail/isabelle-dev/...

Unfortunately that was not visible on the isabelle-users mailing list.
As far as I can tell (from looking at the development version of
Isabelle), the next Isabelle release will behave as expected on your
example, i.e., the result will be:

   finite ?I ⟹ ?something_about ?I

cheers

chris

On 10/29/2012 06:13 AM, Lars Hupel wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Lochbihler  
View profile  
 More options Oct 29 2012, 3:46 am
Newsgroups: fa.isabelle
From: Andreas Lochbihler <andreas.lochbih...@kit.edu>
Date: Mon, 29 Oct 2012 07:46:15 UTC
Local: Mon, Oct 29 2012 3:46 am
Subject: Re: [isabelle] Unexpected assumptions in nested contexts
Hi Lars,

Makarius has already fixed this in the development branch, your example works
there. This will also work in the next Isabelle release as expected. For the
moment, you cannot do much about this in Isabelle2012. If you absolutely depend
on this working correct, you could try and switch to the development version,
but this incurs a lot of extra trouble.

Best,
Andreas

Am 28.10.2012 22:13, schrieb Lars Hupel:

--
Karlsruher Institut f r Technologie
IPD Snelting

Dr. Andreas Lochbihler
wissenschaftlicher Mitarbeiter
Am Fasanengarten 5, Geb. 50.34, Raum 025
76131 Karlsruhe

Telefon: +49 721 608-47399
Fax: +49 721 608-48457
E-Mail: andreas.lochbih...@kit.edu
http://pp.info.uni-karlsruhe.de
KIT - Universit t des Landes Baden-W rttemberg und nationales Forschungszentrum
in der Helmholtz-Gemeinschaft


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »