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
Type and sort annotations in jEdit
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
 
Florian Haftmann  
View profile  
 More options Sep 22 2012, 2:54 pm
Newsgroups: fa.isabelle
From: Florian Haftmann <florian.haftm...@informatik.tu-muenchen.de>
Date: Sat, 22 Sep 2012 18:54:04 UTC
Local: Sat, Sep 22 2012 2:54 pm
Subject: [isabelle] Type and sort annotations in jEdit

Hi,

in certain situations in is necessary to inspect sort constraints of
type variables and similar things in theorems and proof states.

Currently, in jEdit one can do something like

  setup {* Config.put_global Printer.show_sorts true *}

similar to what one has done in PG.

What seems more desirable is that mouseover-tooltips for type variables
would carry sort constraints (similar for term variables / constants and
type constraints).  Is there already something to configure Isabelle
that way, or, in a broader perspective, what are the currently floating
ideas how inspection of sort constraints should be accomplished in jEdit?

Thanks a lot,
        Florian

--

PGP available:
http://home.informatik.tu-muenchen.de/haftmann/pgp/florian_haftmann_a...

  signature.asc
< 1K Download

 
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.
Makarius  
View profile  
 More options Sep 22 2012, 3:05 pm
Newsgroups: fa.isabelle
From: Makarius <makar...@sketis.net>
Date: Sat, 22 Sep 2012 19:05:33 UTC
Local: Sat, Sep 22 2012 3:05 pm
Subject: Re: [isabelle] Type and sort annotations in jEdit

On Sat, 22 Sep 2012, Florian Haftmann wrote:
> Currently, in jEdit one can do something like

>  setup {* Config.put_global Printer.show_sorts true *}

> similar to what one has done in PG.

Since this option is embedded into the Isar attribute space, you can
use this equivalent form:

   declare [[show_types]]

> What seems more desirable is that mouseover-tooltips for type variables
> would carry sort constraints (similar for term variables / constants and
> type constraints).  Is there already something to configure Isabelle
> that way, or, in a broader perspective, what are the currently floating
> ideas how inspection of sort constraints should be accomplished in
> jEdit?

Just last week I've started revisiting these ideas.  The next release will
have output with hyperlinks and tooltips, as you see them in Isabelle2012
for the input source already.

It is just a matter to modify output produced by the prover to annotate
constraints (types for term variables, sorts for type variables) using the
existing infrastructure of PIDE document markup.  This requires some
care, though, since the total type information is an order of magnitude
larger than then the term information without constraints.

Just a few days ago, I've managed to make the new Isabelle/jEdit "rich
text area" fit for huge term collections produced by 'print_theory' or
'find_theorems (9999) _' such that > 0.25 MB is rendered in < 0.5s without
blocking the GUI.  Exercising this sport a bit more, there is some hope
that for the next release full types/sorts can be included by default.

The user may then inspect hyperlinks or tooltips hierarchically to reveal
more and more of the information that is implicit in the document model.

        Makarius


 
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.
Makarius  
View profile  
 More options Sep 22 2012, 3:17 pm
Newsgroups: fa.isabelle
From: Makarius <makar...@sketis.net>
Date: Sat, 22 Sep 2012 19:17:22 UTC
Local: Sat, Sep 22 2012 3:17 pm
Subject: Re: [isabelle] Type and sort annotations in jEdit

On Sat, 22 Sep 2012, Makarius wrote:
> On Sat, 22 Sep 2012, Florian Haftmann wrote:

>> Currently, in jEdit one can do something like

>>  setup {* Config.put_global Printer.show_sorts true *}

>> similar to what one has done in PG.

> Since this option is embedded into the Isar attribute space, you can
> use this equivalent form:

>  declare [[show_types]]

This should be "declare [[show_sorts]]".  Both can be handled somewhat
uniformly, despite some slight differences in the internal concepts.

        Makarius


 
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 »