From dominique.unruh at ut.ee Mon Mar 01 11:29:10 2021
Received: from ppsw-30.csi.cam.ac.uk ([131.111.8.130]:36814)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lGggZ-00025o-FV (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 11:25:59 +0000
X-Cam-SpamDetails: score -0.3 from SpamAssassin-3.4.4-1886993
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [40.107.1.125 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
* [40.107.1.125 listed in wl.mailspike.net]
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay
* -0.0 NICE_REPLY_A Looks like a legit reply (A)
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-eopbgr10125.outbound.protection.outlook.com
([40.107.1.125]:34187
helo=EUR02-HE1-obe.outbound.protection.outlook.com)
by ppsw-30.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.146]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lGgbL-0006gJ-eK (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 11:20:36 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=WNJMNsxcZYM1DIwyPlKXlbe2uQXP+u3wKNK/SjiIWwYgy/R6JuL2jyM4z014qVy9TGChSmaJE7fs5eM2nw4Z+WyhZXpGVbagI5XIm5cpQPQLcBiURuAzPAz/NLcAfuhE1F+EZ4wV8jaPAJfuOxVcO/h97HoFRkAyzR0YPDIvRxIeoJlebnW2D8cgbcR/gXc1Gh9s8g3xUQxCMLMxyxDzbXl3CuDgE8VPiSCMzincmAXALLYWRgJjljwT3uSyIICnQFeXLDi5UzQoQyeaZLC4Qva6WvgadHKQlpAeqPv1vgIE7dkPdXSamCpnH1WAotcyfoHFkeGE4IPyrcif15tknQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=3LrDvG4ZcTbswvG7K2/tHKW1xAZ3hxuQdK1mnjcvaWc=;
b=X93+oORULz4wr2MIbk/UaFEUA+4VlCcCjW/dqX6c/t2EevJZ+ngUBOiG6tKK4130jf/zEgnNmlq+0DJvQ0TwvWzhSzQP3Fx1B25W1ZsebIxMvzsm1Dtr77pvmPYGSay6k5et2IfI1x2xF/cWjvFvK0cljw6CAm+91nHVzjldeCAPg54c9ZNd7r29njZ54gesGbgFuNeGWD6NZYFV2u+ahhFtf3ItBUuEjyOFAOEzyveshmPT9eR4k2XLLoxXjc8hazNUrVhvi7MTOKFMi/nDblvk/4yz9S28sUpUYAfK6hWaBC8+V/9t8Hk3iyduhJTSjaYCk5ALDbNkidcmKlUh3g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=ut.ee; dmarc=pass action=none header.from=ut.ee; dkim=pass
header.d=ut.ee; arc=none
Authentication-Results: lists.cam.ac.uk; dkim=none (message not signed)
header.d=none; lists.cam.ac.uk; dmarc=none action=none header.from=ut.ee;
Received: from DB9PR02MB6522.eurprd02.prod.outlook.com (2603:10a6:10:214::7)
by DB6PR0202MB2694.eurprd02.prod.outlook.com (2603:10a6:4:1e::16) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.28;
Mon, 1 Mar 2021 11:20:23 +0000
Received: from DB9PR02MB6522.eurprd02.prod.outlook.com
([fe80::2cb1:e7aa:4023:9778]) by
DB9PR02MB6522.eurprd02.prod.outlook.com
([fe80::2cb1:e7aa:4023:9778%7]) with mapi id 15.20.3890.028;
Mon, 1 Mar 2021 11:20:23 +0000
To: Makarius ,
cl-isabelle-users
References: <98db2f8c-aaaf-8fff-04bd-99f97a53e548 at sketis.net>
From: Dominique Unruh
Message-ID: <597e351a-6661-8465-cc90-2712cba488d7 at ut.ee>
Date: Mon, 1 Mar 2021 13:02:34 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.6.1
In-Reply-To: <98db2f8c-aaaf-8fff-04bd-99f97a53e548 at sketis.net>
Content-Type: multipart/alternative;
boundary="------------A32E1550415C9739D0846E44"
Content-Language: en-US
X-Originating-IP: [2001:bb8:2002:2400:3236:bc3a:e451:c52b]
X-ClientProxiedBy: AM3PR04CA0136.eurprd04.prod.outlook.com (2603:10a6:207::20)
To DB9PR02MB6522.eurprd02.prod.outlook.com
(2603:10a6:10:214::7)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [IPv6:2001:bb8:2002:2400:3236:bc3a:e451:c52b]
(2001:bb8:2002:2400:3236:bc3a:e451:c52b) by
AM3PR04CA0136.eurprd04.prod.outlook.com (2603:10a6:207::20)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.20
via Frontend Transport; Mon, 1 Mar 2021 11:20:23 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 6c3426e0-2e14-494c-41ae-08d8dca401da
X-MS-TrafficTypeDiagnostic: DB6PR0202MB2694:
X-Microsoft-Antispam-PRVS:
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: x21L7P0GAUWyXp0Ccj5ATF0ho2qmaum7pSj44D7Ee5L+UAgb5l6f7GHj9aQEPrNtAbIZxYB122eSMUn2hYiJEQ1eq+S5hvlkBws8mSShP92k+f3sPsbij2d3OTRpeI81WLd9Axd+nGvv1dW/70t566rnAvHoXtbX9Tdeo51sTYw36M09G/4yOkOQJgxIn7LJo2Og2UnK9cAA6jIGKG6V2pNXtMOx9KOqeuKrMknhRiLEovng86gM8yDT8Z+xWuwtGhGUov9zjRex5/CePsc/DMdbPyQscE9s7BxVsK+DhV3VikEaL6X8WFDbBkZwgmubupiV1eGeY+eUcw6v6n+33VexJnT/9/lG1UaQGMC+s/FQWDBRJ1hZqRi4LbAqjKmAUvT+c+2eWNWd7beokdGkbRVgwN9OJ4L0y0gr6lOjyYAiu32LeJfdop4+vR9ca6IxdgUpXdohXRF7LpefuBepmeMB/fJQLGC4g8pXUVSvAMiZDdo6EgqB6nbBbLX4dwk4BTSeLdvxHDXcmRJN/auzXn9z4uBbjbsqlnnICBxGlkR7ICt2UQu6Jb14eWAcmmSYfXf9enqg8x0CbG5zqHJnv2ocBQMn2BuAigbid5VwYq0=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM;
H:DB9PR02MB6522.eurprd02.prod.outlook.com; PTR:; CAT:NONE;
SFS:(346002)(136003)(39860400002)(396003)(376002)(366004)(786003)(8676002)(8936002)(316002)(36756003)(110136005)(2906002)(31696002)(31686004)(83380400001)(52116002)(186003)(2616005)(6486002)(478600001)(6666004)(66556008)(5660300002)(66476007)(33964004)(66946007)(16526019)(45980500001)(43740500002);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?S3VFK1Z2dGRORlNXdUlTQWFqTWdUZ2RUdEkxd2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tabFhGaUs3blVXRE1tNnRB?=
=?utf-8?B?ZEdwemdQU3k4bVFDUnl0SisvUTBrYW9NaXppWGZqbW0wTWx2Q3FiL0R5TTVi?=
=?utf-8?Q?1PC+/sB669GB3?=
X-OriginatorOrg: ut.ee
X-MS-Exchange-CrossTenant-Network-Message-Id: 6c3426e0-2e14-494c-41ae-08d8dca401da
X-MS-Exchange-CrossTenant-AuthSource: DB9PR02MB6522.eurprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2021 11:20:23.7888 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 6d356317-0d04-4abc-b6b6-8c9773885bb0
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 5gqpAPCZ6B/iDwrrT8u2RYGMLXC8qE68focXwFeCl7myri7T5OHKzXPvH00JTsoo
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0202MB2694
Subject: Re: [isabelle] Remaining uses of "isabelle process" and "isabelle
console"
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 01 Mar 2021 11:29:10 -0000
--------------A32E1550415C9739D0846E44
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
> There are many
> possibilities, and I don't think that raw ML processes are still needed. Are
> there genuine counter examples to this claim?
My scala-isabelle library currently uses 'isabelle process'. It uses it
in the following way:
* From a Scala application, the Isabelle process is invoked with '-e
somefile.ML' where somefile.ML contains a loop that reads commands
from one named pipe (or socket in Windows) and writes responses
asynchronously to another named pipe (or socket).
I would be happy to use Isabelle/Scala for this (or some other builtin
method), but I would like to keep the following features:
* It should be possible that the Scala application starts Isabelle.
(As opposed to the Scala application being invoked as a component in
Isabelle.)
* I do not want to have to install any components inside the Isabelle
home / user home.
(Because I want that an application that uses scala-isabelle can run
with an existing Isabelle installation without the user having to do
anything but tell the Scala application where Isabelle is located.
In particular, I don't want to potentially mess up an existing
installation.)
* I do not want to use the PIDE protocol for communication between the
Scala application and scala-isabelle (but instead my own binary
protocol).
(Because I got a factor 1000 or so in round-trip time when switching
to my own minimalistic RPC protocol compared to libisabelle that
used PIDE.)
It may very well be that this can be easily achieved without 'isabelle
process' or Isabelle/Scala. For example, one idea would be to simply
load a theory in a headless noninteractive session that contains a
(nonterminating) ML_file command which contains the communication loop.
(Of course, this theory would never be included in a heap because it
does not terminate.) Or an ML_file command that forks the loop into a
separate thread and then returns. But I would need some tips for that
because my experiments with these things has mainly lead to me getting
some messages like "invalid execution id" etc.
On the long run, I want to support Isabelle/Scala in scala-isabelle in
the sense that the existing Isabelle/Scala infrastructure should be an
optional mechanism how an scala-isabelle application can interact with
Isabelle. But here also my initial attempts ran into "invalid execution
id" like problems.
Best wishes,
Dominique.
--------------A32E1550415C9739D0846E44
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
There are many
possibilities, and I don't think that raw ML processes are still needed. Are
there genuine counter examples to this claim?
My scala-isabelle library currently uses 'isabelle process'. It
uses it in the following way:
- From a Scala application, the Isabelle process is invoked with
'-e somefile.ML' where somefile.ML contains a loop that reads
commands from one named pipe (or socket in Windows) and writes
responses asynchronously to another named pipe (or socket).
I would be happy to use Isabelle/Scala for this (or some other
builtin method), but I would like to keep the following features:
- It should be possible that the Scala application starts
Isabelle.
(As opposed to the Scala application being invoked as a
component in Isabelle.)
- I do not want to have to install any components inside the
Isabelle home / user home.
(Because I want that an application that uses scala-isabelle can
run with an existing Isabelle installation without the user
having to do anything but tell the Scala application where
Isabelle is located. In particular, I don't want to potentially
mess up an existing installation.)
- I do not want to use the PIDE protocol for communication
between the Scala application and scala-isabelle (but instead my
own binary protocol).
(Because I got a factor 1000 or so in round-trip time when
switching to my own minimalistic RPC protocol compared to
libisabelle that used PIDE.)
It may very well be that this can be easily achieved without
'isabelle process' or Isabelle/Scala. For example, one idea would
be to simply load a theory in a headless noninteractive session
that contains a (nonterminating) ML_file command which contains
the communication loop. (Of course, this theory would never be
included in a heap because it does not terminate.) Or an ML_file
command that forks the loop into a separate thread and then
returns. But I would need some tips for that because my
experiments with these things has mainly lead to me getting some
messages like "invalid execution id" etc.
On the long run, I want to support Isabelle/Scala in
scala-isabelle in the sense that the existing Isabelle/Scala
infrastructure should be an optional mechanism how an
scala-isabelle application can interact with Isabelle. But here
also my initial attempts ran into "invalid execution id" like
problems.
Best wishes,
Dominique.
--------------A32E1550415C9739D0846E44--
From nipkow at in.tum.de Mon Mar 01 11:55:22 2021
Received: from ppsw-41.csi.cam.ac.uk ([131.111.8.141]:33958)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lGh90-0004Zp-Gu (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 11:55:22 +0000
X-Cam-SpamDetails: score -2.4 from SpamAssassin-3.4.4-1886993
* -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/,
* medium trust
* [131.159.0.36 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [131.159.0.36 listed in wl.mailspike.net]
* 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-out2.in.tum.de ([131.159.0.36]:52835
helo=mail-out2.informatik.tu-muenchen.de)
by ppsw-41.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.149]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lGh8z-000OrC-SH (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 11:55:22 +0000
Received: by mail.in.tum.de (Postfix, from userid 107)
id 090971C1540; Mon, 1 Mar 2021 12:55:21 +0100 (CET)
Received: (Authenticated sender: nipkow)
by mail.in.tum.de (Postfix) with ESMTPSA id A88311C1539
for ;
Mon, 1 Mar 2021 12:55:18 +0100 (CET)
(Extended-Queue-bit tech_hbugz at fff.in.tum.de)
To: Isabelle Users List
From: Tobias Nipkow
Message-ID: <0ab86814-8576-2a5b-2ffd-bcbb8325c493 at in.tum.de>
Date: Mon, 1 Mar 2021 12:55:17 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0)
Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature";
micalg=sha-256; boundary="------------ms070902070505040303090307"
Subject: [isabelle] build output
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 01 Mar 2021 11:55:22 -0000
This is a cryptographically signed message in MIME format.
--------------ms070902070505040303090307
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
In the past the build script would tell me precisely where it put a file,=
now I=20
only get the info that the presentation is in a certain directory and I h=
ave to=20
dig down from there, which is less convenient.
Tobias
--------------ms070902070505040303090307
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
EX4wggUSMIID+qADAgECAgkA4wvV+K8l2YEwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYT
AkRFMSswKQYDVQQKDCJULV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Mar 01 11:59:29 2021
Received: from ppsw-31.csi.cam.ac.uk ([131.111.8.131]:39760)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lGhCz-0004oR-5B (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 11:59:29 +0000
X-Cam-SpamDetails: score -0.3 from SpamAssassin-3.4.4-1886993
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [185.70.40.141 listed in list.dnswl.dnsbl.ja.net]
* 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4)
* [185.70.40.141 listed in wl.mailspike.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider * [inpefess[at]protonmail.com]
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid * 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-40141.protonmail.ch ([185.70.40.141]:12605)
by ppsw-31.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.147]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lGhCy-000oOU-Kk (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 11:59:29 +0000
Date: Mon, 01 Mar 2021 11:59:26 +0000
To: Makarius
Message-ID:
In-Reply-To: <28911efa-fea5-0377-c8f2-2b78ae14c7b2 at sketis.net>
References:
<987ec4ef-95e7-5199-1469-31e0e588f37b at sketis.net>
<28911efa-fea5-0377-c8f2-2b78ae14c7b2 at sketis.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
mailout.protonmail.ch
Cc: "cl-isabelle-users at lists.cam.ac.uk"
Subject: Re: [isabelle] Error in DockerHub documentation
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
From: Boris Shminke via Cl-isabelle-users
Reply-To: Boris Shminke
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 01 Mar 2021 11:59:29 -0000
Dear Makarius,
> The present approach has an implicit assumption that the connection is lo=
cal
> and the password (UUID) for the connection can be provided by a file that=
is
> private to the user.
Yes, you're right that simply adding this option to `isabelle server` comma=
nd is not very useful.
> Can you provide a pointer to the relevant documentation of Jupyter?
Sure, https://jupyter-notebook.readthedocs.io/en/stable/public_server.html#=
running-a-public-notebook-server (for a config file)
https://jupyter-notebook.readthedocs.io/en/stable/public_server.html#docker=
-cmd (for a command line option)
Of course, they have SSL support, as well as possibility to set password to=
a server.
> Is the absence of ssh theoretical or based on concrete experience?
Yes, it's based on a situation in which I use Jupyter server provided by my=
lab. I don't have ssh access to it, although the ports are open for me thr=
ough VPN.
Regards,
Boris
From nipkow at in.tum.de Mon Mar 01 12:37:07 2021
Received: from ppsw-30.csi.cam.ac.uk ([131.111.8.130]:34262)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lGhnP-0006qd-Oa (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 12:37:07 +0000
X-Cam-SpamDetails: score -2.4 from SpamAssassin-3.4.4-1886993
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/,
* medium trust
* [131.159.0.8 listed in list.dnswl.dnsbl.ja.net]
* 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [131.159.0.8 listed in wl.mailspike.net]
* 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mta1.cl.cam.ac.uk ([128.232.0.57]:34133)
by ppsw-30.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.146]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lGhnO-000de7-fo (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 12:37:07 +0000
Received: from ppsw-31.csi.cam.ac.uk ([2001:630:212:8::e:f31])
by mta1.cl.cam.ac.uk with esmtp (Exim 4.90_1)
(envelope-from ) id 1lGhnO-0003jB-Sg
for isabelle-users at cl.cam.ac.uk; Mon, 01 Mar 2021 12:37:06 +0000
X-Cam-SpamDetails: score -2.4 from SpamAssassin-3.4.4-1886993
* -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/,
* medium trust
* [131.159.0.8 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [131.159.0.8 listed in wl.mailspike.net]
* 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-out1.in.tum.de ([131.159.0.8]:34269
helo=mail-out1.informatik.tu-muenchen.de)
by ppsw-31.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.147]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lGhnN-000YS3-Lu (Exim 4.94) for isabelle-users at cl.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 12:37:06 +0000
Received: by mail.in.tum.de (Postfix, from userid 107)
id C2AD11C1540; Mon, 1 Mar 2021 13:37:04 +0100 (CET)
Received: (Authenticated sender: nipkow)
by mail.in.tum.de (Postfix) with ESMTPSA id 6CD1C1C1539
for ; Mon, 1 Mar 2021 13:37:02 +0100 (CET)
(Extended-Queue-bit tech_jetgl at fff.in.tum.de)
To: Isabelle Users
From: Tobias Nipkow
Message-ID: <8d10aa99-d51c-e1d0-60c7-1f8fdeecbf59 at in.tum.de>
Date: Mon, 1 Mar 2021 13:37:01 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0)
Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature";
micalg=sha-256; boundary="------------ms050407000002060903020803"
X-debug-header: local_aliases has suffix
Subject: [isabelle] =?utf-8?q?New_in_the_AFP=3A_The_Sunflower_Lemma_of_Erd?=
=?utf-8?q?=C5=91s_and_Rado?=
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 01 Mar 2021 12:37:07 -0000
This is a cryptographically signed message in MIME format.
--------------ms050407000002060903020803
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
The Sunflower Lemma of Erd=C5=91s and Rado
Ren=C3=A9 Thiemann
We formally define sunflowers and provide a formalization of the sunflowe=
r lemma=20
of Erd=C5=91s and Rado: whenever a set of size-k-sets has a larger cardin=
ality than=20
(r - 1)^k =C2=B7 k!, then it contains a sunflower of cardinality r.
https://www.isa-afp.org/entries/Sunflowers.html
Enjoy!
--------------ms050407000002060903020803
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
EX4wggUSMIID+qADAgECAgkA4wvV+K8l2YEwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYT
AkRFMSswKQYDVQQKDCJULVN5c3RlbXMgRW50ZXJwcmlzZSBTZXJ2aWNlcyBHbWJIMR8wHQYD
VQQLDBZULVN5c3RlbXMgVHJ1c3QgQ2VudGVyMSUwIwYDVQQDDBxULVRlbGVTZWMgR2xvYmFs
Um9vdCBDbGFzcyAyMB4XDTE2MDIyMjEzMzgyMloXDTMxMDIyMjIzNTk1OVowgZUxCzAJBgNV
BAYTAkRFMUUwQwYDVQQKEzxWZXJlaW4genVyIEZvZXJkZXJ1bmcgZWluZXMgRGV1dHNjaGVu
IEZvcnNjaHVuZ3NuZXR6ZXMgZS4gVi4xEDAOBgNVBAsTB0RGTi1QS0kxLTArBgNVBAMTJERG
Ti1WZXJlaW4gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMjCCASIwDQYJKoZIhvcNAQEBBQAD
ggEPADCCAQoCggEBAMtg1/9moUHN0vqHl4pzq5lN6mc5WqFggEcVToyVsuXPztNXS43O+FZs
FVV2B+pG/cgDRWM+cNSrVICxI5y+NyipCf8FXRgPxJiZN7Mg9mZ4F4fCnQ7MSjLnFp2uDo0p
eQcAIFTcFV9Kltd4tjTTwXS1nem/wHdN6r1ZB+BaL2w8pQDcNb1lDY9/Mm3yWmpLYgHurDg0
WUU2SQXaeMpqbVvAgWsRzNI8qIv4cRrKO+KA3Ra0Z3qLNupOkSk9s1FcragMvp0049ENF4N1
xDkesJQLEvHVaY4l9Lg9K7/AjsMeO6W/VRCrKq4Xl14zzsjz9AkH4wKGMUZrAcUQDBHHW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Any7BC9FWBU1beik7NcBMDlG4o6soilMX4FHU+h/6xegQjnkK8PC9ZUBQMNPvnuf
RDi1sCgL1+2x2PMg3PMZPLn+EAkG6u+x7gdZee4Y4GB2nRS0mWXQWtRo+vVBNYLJ34Ucm3hS
vPF72Q79MuCQwpRW6X7bLEH7GdksVoavB32fYbihq4rlqn534g3cgOyXCN8Z4mGUxeMmkS24
dgx5LgPCHj1BUm8AAAAAAAA=
--------------ms050407000002060903020803--
From makarius at sketis.net Mon Mar 01 12:45:15 2021
Received: from ppsw-30.csi.cam.ac.uk ([131.111.8.130]:47450)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lGhvH-000750-TZ (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 12:45:15 +0000
X-Cam-SpamDetails: score -0.3 from SpamAssassin-3.4.4-1886993
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [188.68.61.103 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* -0.0 NICE_REPLY_A Looks like a legit reply (A)
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from relay.yourmailgateway.de ([188.68.61.103]:40205)
by ppsw-30.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.146]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lGhvH-000ltn-d3 (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 12:45:15 +0000
Received: from mors-relay-8403.netcup.net (localhost [127.0.0.1])
by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4Dq0NB28VWz8g1v;
Mon, 1 Mar 2021 13:45:14 +0100 (CET)
Received: from policy01-mors.netcup.net (unknown [46.38.225.35])
by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4Dq0N94jn8z8g1G;
Mon, 1 Mar 2021 13:45:13 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net
X-Spam-Flag: NO
X-Spam-Score: -1.001
X-Spam-Level:
X-Spam-Status: No, score=-1.001 required=6.31 tests=[ALL_TRUSTED=-1,
BAYES_20=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=ham autolearn_force=no
Received: from mx2f26.netcup.net (unknown [10.243.12.53])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by policy01-mors.netcup.net (Postfix) with ESMTPS id 4Dq0N85SCqz8sYn;
Mon, 1 Mar 2021 13:45:12 +0100 (CET)
Received: from [192.168.178.32] (aftr-62-216-204-15.dynamic.mnet-online.de
[62.216.204.15])
by mx2f26.netcup.net (Postfix) with ESMTPSA id 99E45A8374;
Mon, 1 Mar 2021 13:45:11 +0100 (CET)
Authentication-Results: mx2f26;
spf=pass (sender IP is 62.216.204.15) smtp.mailfrom=makarius at sketis.net
smtp.helo=[192.168.178.32]
Received-SPF: pass (mx2f26: connection is authenticated)
To: Dominique Unruh ,
cl-isabelle-users
References: <98db2f8c-aaaf-8fff-04bd-99f97a53e548 at sketis.net>
<597e351a-6661-8465-cc90-2712cba488d7 at ut.ee>
From: Makarius
Autocrypt: addr=makarius at sketis.net; prefer-encrypt=mutual; keydata=
mQINBFcrF+4BEADMcXMnu3XHg6bRsGe3tajAHqvm89+ecn/Y0WhjI2FplhkZs1LwM+ZA9eXh
hiBrC/yX0FJ+qjzVIfm66CX4nzVG1f8qwaervMpvpA+gbhtQiXc0t+LDcqV+5cdtpKplPHSu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EIAA8F
AlcrF+4CGwwFCQlmAYAACgkQ89KUEoG/Tbh7VQ/9Fc4bdwJYc3jH/LiuXv6uMg50Cv6lg2NT
bL9DClWGNiYzejfM2A4c5K+GRUXhyD7S9U203MOv3z7uTbtyQL8XVolNnQlRIkB00f8nJ2sw
HMXx/hemjXBvtlneq+vrMORJexldXUMFq19ZZrvj0zZL+pUnGFqt+IWTEE5GpL7wu20Demaj
jYyGyKcDZyJOWZcl4e45Yn3hl0EI2xVmVh7ZinVsb3+nqgcltFy4Jt+drezwV2EiLGJHfGsT
jEQb3C9VpneU4Jo+hHtfqLK4Q8+WlIOzSfyvwbabxrhyqg7i11fu8yckNW3dCURPYigV07HK
4dN0zhj53M0Q3eTwegJRPJb8XoLDcSdbsaU2HIShlGDKmzS9KL4JzLikQ9dXROC4cae3jRKH
aexFi4B55Ab6FxIfXj09wUCO6Nm0owDfIBDMgiywvi2Rb2etCjBgRbSj71S2nntd9ZitoYvE
yKirLkWmJRbp3ln8cHi8Uc/jr1cDPVRWuLUN0uceMj5+AR+NZVakcNUHWJCinMMjacho0SyP
QmocdU8pzzupreaVWruqaSzqcpWBPwrE5OxEtJ+OyIBjKmRJ5eptjh4rKgNaVnKjhqbvr+Yz
pUAgPp38jjf4HJghUGIfWArKNelKJEJOYk94DAbmT67LgqEdZ0yaA2BCHmreN727WIzV9vkX
NMc=
Message-ID: <622c0254-8556-550f-bb28-60e12b3d3d95 at sketis.net>
Date: Mon, 1 Mar 2021 13:45:11 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <597e351a-6661-8465-cc90-2712cba488d7 at ut.ee>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-PPP-Message-ID: <161460271176.17143.7312307483159712983 at mx2f26.netcup.net>
X-PPP-Vhost: sketis.net
X-NC-CID: PszQC3wFngFu33sS2bQCTCwb/661LhR9cEsnri0RH6est2s=
Subject: Re: [isabelle] Remaining uses of "isabelle process" and "isabelle
console"
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 01 Mar 2021 12:45:15 -0000
On 01/03/2021 12:02, Dominique Unruh wrote:
> My scala-isabelle library currently uses 'isabelle process'. It uses it in the
> following way:
>
> * From a Scala application, the Isabelle process is invoked with '-e
> somefile.ML' where somefile.ML contains a loop that reads commands from
> one named pipe (or socket in Windows) and writes responses asynchronously
> to another named pipe (or socket).
The proper way to invoke an Isabelle ML process in Scala is is via
isabelle.ML_Process() --- it has a lot of flexibility. At the same time I
reckon that this approach will not do the job, because it is not connected
properly to Isabelle/Scala via the PIDE protocol.
> * I do not want to use the PIDE protocol for communication between the Scala
> application and scala-isabelle (but instead my own binary protocol).
> (Because I got a factor 1000 or so in round-trip time when switching to my
> own minimalistic RPC protocol compared to libisabelle that used PIDE.)
The PIDE protocol is already very minimalistic and efficient. Maybe you have
just noticed the default delay that was there until recently (after
Isabelle2021):
user: wenzelm
date: Sat Feb 20 21:38:23 2021 +0100
files: src/Pure/System/message_channel.ML
description:
more reactive protocol messages, e.g. for Scala.function (relevant for
Bash.process);
Afterwards, the measured roundtrip for Scala.function is approx. 0..2ms.
If there are remaining inconveniences, we can try to sort it out, but
dismissing PIDE is not an option.
> It may very well be that this can be easily achieved without 'isabelle
> process' or Isabelle/Scala. For example, one idea would be to simply load a
> theory in a headless noninteractive session that contains a (nonterminating)
> ML_file command which contains the communication loop. (Of course, this theory
> would never be included in a heap because it does not terminate.) Or an
> ML_file command that forks the loop into a separate thread and then returns.
> But I would need some tips for that because my experiments with these things
> has mainly lead to me getting some messages like "invalid execution id" etc.
How about using "isabelle server" or Headless.Session directly in
Isabelle/Scala? The rest is done declaratively within the PIDE document model,
without any homegrown protocols around it.
There are many possibilities to do it correctly within the Isabelle framework,
without disrupting it.
> On the long run, I want to support Isabelle/Scala in scala-isabelle in the
> sense that the existing Isabelle/Scala infrastructure should be an optional
> mechanism how an scala-isabelle application can interact with Isabelle. But
> here also my initial attempts ran into "invalid execution id" like problems.
Once more: Isabelle/Scala (with PIDE protocol) is non-optional for
Isabelle/ML. In the next release this will be even more noticeable in everyday
use.
Makarius
From makarius at sketis.net Mon Mar 01 13:29:07 2021
Received: from ppsw-40.csi.cam.ac.uk ([131.111.8.140]:46122)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lGibi-00019P-W5 (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 13:29:06 +0000
X-Cam-SpamDetails: score -0.3 from SpamAssassin-3.4.4-1886993
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [188.68.63.170 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.0 NICE_REPLY_A Looks like a legit reply (A)
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from relay.yourmailgateway.de ([188.68.63.170]:39271)
by ppsw-40.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.148]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lGibh-000pjU-mB (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 13:29:06 +0000
Received: from mors-relay8203.netcup.net (localhost [127.0.0.1])
by mors-relay8203.netcup.net (Postfix) with ESMTPS id 4Dq1Lm6X4gz8cV7;
Mon, 1 Mar 2021 13:29:04 +0000 (UTC)
Received: from policy01-mors.netcup.net (unknown [46.38.225.35])
by mors-relay8203.netcup.net (Postfix) with ESMTPS id 4Dq1Lm5wG0z8cGW;
Mon, 1 Mar 2021 13:29:04 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level:
X-Spam-Status: No, score=-2.9 required=6.31 tests=[ALL_TRUSTED=-1,
BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=ham autolearn_force=no
Received: from mx2f26.netcup.net (unknown [10.243.12.53])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by policy01-mors.netcup.net (Postfix) with ESMTPS id 4Dq1Lm0RTSz8sYn;
Mon, 1 Mar 2021 14:29:03 +0100 (CET)
Received: from [192.168.178.32] (aftr-62-216-204-15.dynamic.mnet-online.de
[62.216.204.15])
by mx2f26.netcup.net (Postfix) with ESMTPSA id 37A38ABCEB;
Mon, 1 Mar 2021 14:29:03 +0100 (CET)
Authentication-Results: mx2f26;
spf=pass (sender IP is 62.216.204.15) smtp.mailfrom=makarius at sketis.net
smtp.helo=[192.168.178.32]
Received-SPF: pass (mx2f26: connection is authenticated)
To: Boris Shminke ,
"cl-isabelle-users at lists.cam.ac.uk"
References:
From: Makarius
Autocrypt: addr=makarius at sketis.net; prefer-encrypt=mutual; keydata=
mQINBFcrF+4BEADMcXMnu3XHg6bRsGe3tajAHqvm89+ecn/Y0WhjI2FplhkZs1LwM+ZA9eXh
hiBrC/yX0FJ+qjzVIfm66CX4nzVG1f8qwaervMpvpA+gbhtQiXc0t+LDcqV+5cdtpKplPHSu
oW+KzJKyCdkDB5fYMOzuaXQwYi12YAEQH2r6K7Q7Np+k82Xli1pWe+Tha/BH0pKJ5Q01aPep
ASrNW9F+moX7C0fxWl65LiXGm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2A4c5K+GRUXhyD7S9U203MOv3z7uTbtyQL8XVolNnQlRIkB00f8nJ2sw
HMXx/hemjXBvtlneq+vrMORJexldXUMFq19ZZrvj0zZL+pUnGFqt+IWTEE5GpL7wu20Demaj
jYyGyKcDZyJOWZcl4e45Yn3hl0EI2xVmVh7ZinVsb3+nqgcltFy4Jt+drezwV2EiLGJHfGsT
jEQb3C9VpneU4Jo+hHtfqLK4Q8+WlIOzSfyvwbabxrhyqg7i11fu8yckNW3dCURPYigV07HK
4dN0zhj53M0Q3eTwegJRPJb8XoLDcSdbsaU2HIShlGDKmzS9KL4JzLikQ9dXROC4cae3jRKH
aexFi4B55Ab6FxIfXj09wUCO6Nm0owDfIBDMgiywvi2Rb2etCjBgRbSj71S2nntd9ZitoYvE
yKirLkWmJRbp3ln8cHi8Uc/jr1cDPVRWuLUN0uceMj5+AR+NZVakcNUHWJCinMMjacho0SyP
QmocdU8pzzupreaVWruqaSzqcpWBPwrE5OxEtJ+OyIBjKmRJ5eptjh4rKgNaVnKjhqbvr+Yz
pUAgPp38jjf4HJghUGIfWArKNelKJEJOYk94DAbmT67LgqEdZ0yaA2BCHmreN727WIzV9vkX
NMc=
Message-ID: <6a8f0bd0-5dc5-e405-5367-f05ce439177f at sketis.net>
Date: Mon, 1 Mar 2021 14:29:02 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To:
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-PPP-Message-ID: <161460534337.27180.13502385054026110496 at mx2f26.netcup.net>
X-PPP-Vhost: sketis.net
X-NC-CID: Yt90hCyCfbXyAQU8vHvqfJXRKLNw6TDhn1LedoplbPPW0o4=
Subject: Re: [isabelle] Python client to Isabelle server
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 01 Mar 2021 13:29:07 -0000
On 26/02/2021 16:56, Boris Shminke via Cl-isabelle-users wrote:
>
> I use Isabelle for my research, and I find Isabelle server very helpful when
> you need to check dozens of theory files in parallel. My primary language is
> Python, so I prefer to communicate with the server through TCP. Some time ago,
> I wrote Python code to do that directly instead of invoking the native
> Isabelle client. Then I decided to take this script and create a piece of
> software that anyone interested can use.
>
> Here it is: https://github.com/inpefess/isabelle-client
Great. I don't know Python myself and was hoping that someone else would start
connecting it systematically to the Isabelle server.
Your implementation looks mostly clear and straightforward. Just a few
spontaneous comments on current version d28d72f2c69e:
* examples/dummy.thy: Isabelle theories should have a capitalized name;
imports for Isabelle/HOL below the checkpoint "Main" should be avoided, to
avoid exposing the complexity of the theory/ML bootstrap to applications.
* examples/example.py "isabelle server > server.info": Here you ask user to
start the server and provide its "info" to the Python function. Can this be
done by Python as well? There is a technical delicacy behind it due to the way
how the process is started and how it outputs the stdout message (this is not
a regular Unix "daemon", because of the surrounding JVM).
* For the low-level message formats (plain line, or line with length
followed by that number of bytes), see also these reference implementations in
ML, Scala, Haskell --- it could make sense to follow the signatures more closely:
https://isabelle.sketis.net/repos/isabelle-release/file/Isabelle2021/src/Pure/PIDE/byte_message.ML
https://isabelle.sketis.net/repos/isabelle-release/file/Isabelle2021/src/Pure/PIDE/byte_message.scala
https://isabelle.sketis.net/repos/isabelle-release/file/Isabelle2021/src/Tools/Haskell/Haskell.thy#l1682
* isabelle_client.use_theories: here the bulk of prover messages appear in
the response, but there is no way to "tap" into incremental message output as
it occurs. This will be probably one of the first "feature requests" (or
rather "pull requests) when some other Isabelle users discover your Python
project.
Makarius
From makarius at sketis.net Mon Mar 01 14:08:46 2021
Received: from ppsw-31.csi.cam.ac.uk ([131.111.8.131]:42934)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lGjE6-0003Ei-JM (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 14:08:46 +0000
X-Cam-SpamDetails: score -0.3 from SpamAssassin-3.4.4-1886993
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [188.68.63.162 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.0 NICE_REPLY_A Looks like a legit reply (A)
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from relay.yourmailgateway.de ([188.68.63.162]:43473)
by ppsw-31.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.147]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lGjE5-000DuU-Lp (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Mon, 01 Mar 2021 14:08:46 +0000
Received: from mors-relay-8201.netcup.net (localhost [127.0.0.1])
by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4Dq2DY1t13zBTr9;
Mon, 1 Mar 2021 15:08:45 +0100 (CET)
Received: from policy02-mors.netcup.net (unknown [46.38.225.35])
by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4Dq2DY1TX2zBTr4;
Mon, 1 Mar 2021 15:08:45 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level:
X-Spam-Status: No, score=-2.9 required=6.31 tests=[ALL_TRUSTED=-1,
BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=ham autolearn_force=no
Received: from mx2f26.netcup.net (unknown [10.243.12.53])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by policy02-mors.netcup.net (Postfix) with ESMTPS id 4Dq2DX0VFjz8scj;
Mon, 1 Mar 2021 15:08:43 +0100 (CET)
Received: from [192.168.178.32] (aftr-62-216-204-15.dynamic.mnet-online.de
[62.216.204.15])
by mx2f26.netcup.net (Postfix) with ESMTPSA id DBC18ABEB5;
Mon, 1 Mar 2021 15:08:42 +0100 (CET)
Authentication-Results: mx2f26;
spf=pass (sender IP is 62.216.204.15) smtp.mailfrom=makarius at sketis.net
smtp.helo=[192.168.178.32]
Received-SPF: pass (mx2f26: connection is authenticated)
To: Boris Shminke
References:
<987ec4ef-95e7-5199-1469-31e0e588f37b at sketis.net>
<28911efa-fea5-0377-c8f2-2b78ae14c7b2 at sketis.net>
From: Makarius
Autocrypt: addr=makarius at sketis.net; prefer-encrypt=mutual; keydata=
mQINBFcrF+4BEADMcXMnu3XHg6bRsGe3tajAHqvm89+ecn/Y0WhjI2FplhkZs1LwM+ZA9eXh
hiBrC/yX0FJ+qjzVIfm66CX4nzVG1f8qwaervMpvpA+gbhtQiXc0t+LDcqV+5cdtpKplPHSu
oW+KzJKyCdkDB5fYMOzuaXQwYi12YAEQH2r6K7Q7Np+k82Xli1pWe+Tha/BH0pKJ5Q01aPep
ASrNW9F+moX7C0fxWl65LiXGmF0UJep6fqKruhy8oNF4p6I2oZhktvaR/x6tkL2PkT3r+xUS
6g5i3BOjfwhoGY57nsioeK+8VFvdRH5DK4CbrTgDl7ddcrEeENrfpDiPLs/afVbe/T9oDXmJ
OJAO4WMpfZNiFhx9SSVTHohw29Fyzn0N1UQGjPqAY1jg32DAxlnMQ0co/KabEFAcoQsW1/6U
ZGiNxYVIyEKGrnSY4WuLuNC8CmU1RaYSdTk1y9tYdxufM9lH9ynzJwac6FdalOOxMR2G9JG8
L9/dk3ytlP6DVwkPBSCpJaTkTyMp1wSkF1oK/BDu5x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GDKmzS9KL4JzLikQ9dXROC4cae3jRKH
aexFi4B55Ab6FxIfXj09wUCO6Nm0owDfIBDMgiywvi2Rb2etCjBgRbSj71S2nntd9ZitoYvE
yKirLkWmJRbp3ln8cHi8Uc/jr1cDPVRWuLUN0uceMj5+AR+NZVakcNUHWJCinMMjacho0SyP
QmocdU8pzzupreaVWruqaSzqcpWBPwrE5OxEtJ+OyIBjKmRJ5eptjh4rKgNaVnKjhqbvr+Yz
pUAgPp38jjf4HJghUGIfWArKNelKJEJOYk94DAbmT67LgqEdZ0yaA2BCHmreN727WIzV9vkX
NMc=
Message-ID: <1ef7aeb5-86ff-d859-9a4f-847b357eaa4c at sketis.net>
Date: Mon, 1 Mar 2021 15:08:42 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To:
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-PPP-Message-ID: <161460772313.4036.12726403337930544677 at mx2f26.netcup.net>
X-PPP-Vhost: sketis.net
X-NC-CID: Wnwfz8Yf7ICiu0/Fi+qOEhX8GefW/3FxEmSOj6e43pgIK/4=
Cc: "cl-isabelle-users at lists.cam.ac.uk"
Subject: Re: [isabelle] Error in DockerHub documentation
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Mon, 01 Mar 2021 14:08:46 -0000
On 01/03/2021 12:59, Boris Shminke via Cl->
>> Can you provide a pointer to the relevant documentation of Jupyter?
>
> Sure, https://jupyter-notebook.readthedocs.io/en/stable/public_server.html#running-a-public-notebook-server (for a config file)
>
> https://jupyter-notebook.readthedocs.io/en/stable/public_server.html#docker-cmd (for a command line option)
>
> Of course, they have SSL support, as well as possibility to set password to a server.
I see a lot of side-conditions to the "secure" setup: To do something like
this with "isabelle server" would require careful thoughts.
Since you are using docker anyway, you could also try to remap the port as
documented here: https://docs.docker.com/config/containers/container-networking
Of course this will be still "insecure" as it is by default on 127.0.0.1.
>> Is the absence of ssh theoretical or based on concrete experience?
>
> Yes, it's based on a situation in which I use Jupyter server provided by my lab. I don't have ssh access to it, although the ports are open for me through VPN.
So the remaining question: Are there notable VPN configurations where ports
are not forwarded like that?
Makarius
From jsylvest at ualberta.ca Tue Mar 02 06:53:08 2021
Received: from ppsw-43.csi.cam.ac.uk ([131.111.8.143]:43468)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lGyu4-0004wz-Rt (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 06:53:08 +0000
X-Cam-SpamDetails: score -0.1 from SpamAssassin-3.4.4-1887025
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [209.85.218.50 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [209.85.218.50 listed in wl.mailspike.net]
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-ej1-f50.google.com ([209.85.218.50]:35510)
by ppsw-43.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.149]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
id 1lGyu4-000OKM-nB (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 06:53:08 +0000
Received: by mail-ej1-f50.google.com with SMTP id dx17so5564669ejb.2
for ;
Mon, 01 Mar 2021 22:53:08 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=npUuxZDusrbStSfll2HK0XXoZq2w58jiQwy1QWZCjwU=;
b=PuR+lIipQcWI992jDeJ6RnusI22XOZVeeLaiQMQKTJ4wE/NBC+Nmxtg8UlBQiZI2Zr
SOG9oZF5x2F+8CMrcGEt9HJbdD6KqSA9QQlPhFnhmlWY1pqQychDTwM4XsWB3HuNDP3S
xXEcwa2VrSGOTCk04gfaf1fTRowc5lHNFiwKzdm+sEZaTvbIMENpg32RSiAuiEYKNZDN
gU91pIF85tzRMkeBxxArYHy8MWCnZHIDZGdjzgljYoaFHTz88iTLiuS61r6j1OQLQ7H4
167X0BRkSAaqsIFAeGp8GDeqyztQHH33ISwt1wsO5VogrDs1JYegwVUF326NtP320vCs
1NcQ==
X-Gm-Message-State: AOAM530rTtkqlczdqWhfuvCspQY3A+20P21ZUWlXZcyNfr+mPmkiFTIN
wKpkdGPjxOs76MImUVtPV28FTQSblXXH1kTuptZTM0UZ0KY=
X-Google-Smtp-Source: ABdhPJz/dIicDu8suO+TdAu0RneK/k9cJpdeP6fXItp+3NhjYrxcD4e8ZVRgdRbz4RUYzxswCNwiyMAl5IaUI7RBtGo=
X-Received: by 2002:a17:906:d938:: with SMTP id
rn24mr13113841ejb.87.1614667987519;
Mon, 01 Mar 2021 22:53:07 -0800 (PST)
MIME-Version: 1.0
From: Jeremy Sylvestre
Date: Mon, 1 Mar 2021 23:52:56 -0700
Message-ID:
To: cl-isabelle-users at lists.cam.ac.uk
Content-Type: multipart/alternative; boundary="000000000000d39ca505bc882f6f"
Subject: [isabelle] VS Code extension
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 06:53:08 -0000
--000000000000d39ca505bc882f6f
Content-Type: text/plain; charset="UTF-8"
Will the Isabelle2021 version of the VS Code extension be published to the
Marketplace?
--000000000000d39ca505bc882f6f
Content-Type: text/html; charset="UTF-8"
Will the Isabelle2021 version of the VS Code extension be published to the Marketplace?
--000000000000d39ca505bc882f6f--
From makarius at sketis.net Tue Mar 02 09:58:28 2021
Received: from ppsw-43.csi.cam.ac.uk ([131.111.8.143]:39076)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH1nQ-0008Ph-Cp (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 09:58:28 +0000
X-Cam-SpamDetails: score -0.3 from SpamAssassin-3.4.4-1887025
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [188.68.61.103 listed in list.dnswl.dnsbl.ja.net]
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.0 NICE_REPLY_A Looks like a legit reply (A)
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from relay.yourmailgateway.de ([188.68.61.103]:44019)
by ppsw-43.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.149]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lH1nP-000T7h-nH (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 09:58:28 +0000
Received: from mors-relay-8403.netcup.net (localhost [127.0.0.1])
by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4DqXdG3Y3Bz8pm5
for ;
Tue, 2 Mar 2021 10:58:26 +0100 (CET)
Received: from policy02-mors.netcup.net (unknown [46.38.225.35])
by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4DqXdG39YPz8plh
for ;
Tue, 2 Mar 2021 10:58:26 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level:
X-Spam-Status: No, score=-2.9 required=6.31 tests=[ALL_TRUSTED=-1,
BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=ham autolearn_force=no
Received: from mx2f26.netcup.net (unknown [10.243.12.53])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by policy02-mors.netcup.net (Postfix) with ESMTPS id 4DqXdF5w7vz8skK
for ;
Tue, 2 Mar 2021 10:58:25 +0100 (CET)
Received: from [192.168.178.32] (aftr-62-216-204-32.dynamic.mnet-online.de
[62.216.204.32])
by mx2f26.netcup.net (Postfix) with ESMTPSA id AB21CA73F7
for ;
Tue, 2 Mar 2021 10:58:24 +0100 (CET)
Authentication-Results: mx2f26;
spf=pass (sender IP is 62.216.204.32) smtp.mailfrom=makarius at sketis.net
smtp.helo=[192.168.178.32]
Received-SPF: pass (mx2f26: connection is authenticated)
To: cl-isabelle-users at lists.cam.ac.uk
References:
From: Makarius
Autocrypt: addr=makarius at sketis.net; prefer-encrypt=mutual; keydata=
mQINBFcrF+4BEADMcXMnu3XHg6bRsGe3tajAHqvm89+ecn/Y0WhjI2FplhkZs1LwM+ZA9eXh
hiBrC/yX0FJ+qjzVIfm66CX4nzVG1f8qwaervMpvpA+gbhtQiXc0t+LDcqV+5cdtpKplPHSu
oW+KzJKyCdkDB5fYMOzuaXQwYi12YAEQH2r6K7Q7Np+k82Xli1pWe+Tha/BH0pKJ5Q01aPep
ASrNW9F+moX7C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DClWGNiYzejfM2A4c5K+GRUXhyD7S9U203MOv3z7uTbtyQL8XVolNnQlRIkB00f8nJ2sw
HMXx/hemjXBvtlneq+vrMORJexldXUMFq19ZZrvj0zZL+pUnGFqt+IWTEE5GpL7wu20Demaj
jYyGyKcDZyJOWZcl4e45Yn3hl0EI2xVmVh7ZinVsb3+nqgcltFy4Jt+drezwV2EiLGJHfGsT
jEQb3C9VpneU4Jo+hHtfqLK4Q8+WlIOzSfyvwbabxrhyqg7i11fu8yckNW3dCURPYigV07HK
4dN0zhj53M0Q3eTwegJRPJb8XoLDcSdbsaU2HIShlGDKmzS9KL4JzLikQ9dXROC4cae3jRKH
aexFi4B55Ab6FxIfXj09wUCO6Nm0owDfIBDMgiywvi2Rb2etCjBgRbSj71S2nntd9ZitoYvE
yKirLkWmJRbp3ln8cHi8Uc/jr1cDPVRWuLUN0uceMj5+AR+NZVakcNUHWJCinMMjacho0SyP
QmocdU8pzzupreaVWruqaSzqcpWBPwrE5OxEtJ+OyIBjKmRJ5eptjh4rKgNaVnKjhqbvr+Yz
pUAgPp38jjf4HJghUGIfWArKNelKJEJOYk94DAbmT67LgqEdZ0yaA2BCHmreN727WIzV9vkX
NMc=
Message-ID:
Date: Tue, 2 Mar 2021 10:58:24 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To:
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-PPP-Message-ID: <161467910480.29568.5496177300591462251 at mx2f26.netcup.net>
X-PPP-Vhost: sketis.net
X-NC-CID: b23VwOaWAKL/EOSPVESUN47DOpsl2URPyBk9j/TbEf1FLSA=
Subject: Re: [isabelle] VS Code extension
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 09:58:28 -0000
On 02/03/2021 07:52, Jeremy Sylvestre wrote:
> Will the Isabelle2021 version of the VS Code extension be published to the
> Marketplace?
It is already here:
https://marketplace.visualstudio.com/items?itemName=makarius.Isabelle2021
Makarius
From RaskaMartin at seznam.cz Tue Mar 02 08:58:52 2021
Received: from ppsw-42.csi.cam.ac.uk ([131.111.8.142]:45168)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH0rk-0002lh-Jr (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 08:58:52 +0000
X-Cam-SpamDetails: score -0.3 from SpamAssassin-3.4.4-1887025
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
* [77.75.76.210 listed in wl.mailspike.net]
* 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider * [raskamartin[at]seznam.cz]
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mxd2.seznam.cz ([77.75.76.210]:56236)
by ppsw-42.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.148]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lH0rk-00018r-6b (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 08:58:52 +0000
Received: from email.seznam.cz
by email-smtpc21a.ng.seznam.cz (email-smtpc21a.ng.seznam.cz
[10.23.18.26]) id 056286f4e6a8b80e057be9c7;
Tue, 02 Mar 2021 09:58:47 +0100 (CET)
Received: from unknown ([::ffff:78.128.195.233])
by email.seznam.cz (szn-ebox-5.0.57) with HTTP;
Tue, 02 Mar 2021 09:58:44 +0100 (CET)
From: =?utf-8?q?Martin_Ra=C5=A1ka?=
To:
Date: Tue, 02 Mar 2021 09:58:44 +0100 (CET)
Message-Id: <3Eo.6TeB.4FHjnqoGt45.1WFVv4 at seznam.cz>
Mime-Version: 1.0 (szn-mime-2.1.11)
X-Mailer: szn-ebox-5.0.57
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailman-Approved-At: Tue, 02 Mar 2021 10:32:54 +0000
Subject: [isabelle] =?utf-8?q?Working_with_list_symmetry_=28Attributes_for?=
=?utf-8?q?_theory-specific_theorem_transformations=3F=29?=
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 08:58:52 -0000
Hello,
while working on formalization of combinatorics on words, we face the phen=
omenon that most of the definitions and theorems about lists have symmetri=
c versions obtained by isomorphism
rev:: 'a list =E2=87=92 'a list.
Although in the theory Sublist.thy the reverse-symmetry is treated by simp=
le repeating the symmetric claims, we would like to approach the problem i=
n a more systematic way, since we face this phenomenon to a greater extent=
.
My question is whether it is good practice to create a rule attribute [rev=
ersed] for transforming theorems about lists to their reverse-symmetric ve=
rsions.
Simple example (mostly from Sublist.thy):
definition prefix :: "'a list =E2=87=92 'a list =E2=87=92 bool"
where "prefix xs ys =E2=9F=B7 (=E2=88=83zs. ys =3D xs @ zs)"
symmetric definition:
definition suffix :: "'a list =E2=87=92 'a list =E2=87=92 bool"
where "suffix xs ys =3D (=E2=88=83zs. ys =3D zs @ xs)"
example theorem:
lemma prefixE: prefix xs ys =E2=9F=B9 (=E2=8B=80zs. ys =3D xs @ zs =
=E2=9F=B9 thesis) =E2=9F=B9 thesis
consider following "reversal" rules:
lemma "(=E2=8B=80x. PROP P x) =E2=89=A1 (=E2=8B=80x. PROP P (rev x))"
lemma rev_append [symmetric]: "rev ys @ rev xs =3D rev (xs @ ys)"
lemma rev_is_rev_conv: "(rev xs =3D rev ys) =3D (xs =3D ys)"
lemma suffix_to_prefix [symmetric]: "prefix (rev xs) (rev ys) =E2=9F=B7 su=
ffix xs ys"
Then by instantiations xs=3D"rev xs" ys=3D"rev ys" in prefixE and rewritin=
gs according to reversal rules, we obtain symmetric
lemma suffixE: suffix xs ys =E2=9F=B9 (=E2=8B=80zs. ys =3D zs @ xs =
=E2=9F=B9 thesis) =E2=9F=B9 thesis
>From this follows my approach:
I started writing a declaration attribute [reversal_rule] for storing the =
rules performing rewritings and a rule attribute [reversed] which transfor=
ms theorem by instantiating list-type schematic variables xs to "rev xs" a=
nd by performing rewritings according to the current list of reversal rule=
s.
After that, we could write:
lemma suffixE: suffix xs ys =E2=9F=B9 (=E2=8B=80zs. ys =3D zs @ xs =
=E2=9F=B9 thesis) =E2=9F=B9 thesis
by (fact prefixE[reversed])
or
lemmas suffixE =3D prefixE[reversed]
or simply use prefixE[reversed] in proofs without having binding suffixE a=
t all.
Is there a better/canonical way to treat this?
Best regards,
Martin Raska
From lukas.stevens+isabelle-users at in.tum.de Tue Mar 02 11:55:05 2021
Received: from ppsw-43.csi.cam.ac.uk ([131.111.8.143]:58878)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH3cH-00080n-GQ (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path );
Tue, 02 Mar 2021 11:55:05 +0000
X-Cam-SpamDetails: score -2.4 from SpamAssassin-3.4.4-1887025
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/,
* medium trust
* [131.159.0.36 listed in list.dnswl.dnsbl.ja.net]
* 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [131.159.0.36 listed in wl.mailspike.net]
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-out2.in.tum.de ([131.159.0.36]:54692
helo=mail-out2.informatik.tu-muenchen.de)
by ppsw-43.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.149]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lH3cF-000ZAl-ni (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path );
Tue, 02 Mar 2021 11:55:05 +0000
Received: by mail.in.tum.de (Postfix, from userid 107)
id 994CC1C1541; Tue, 2 Mar 2021 12:55:02 +0100 (CET)
Received: (Authenticated sender: stevensl)
by mail.in.tum.de (Postfix) with ESMTPSA id 71F7C1C153A
for ;
Tue, 2 Mar 2021 12:55:00 +0100 (CET)
(Extended-Queue-bit tech_cffca at fff.in.tum.de)
To: cl-isabelle-users at lists.cam.ac.uk
From: Lukas Stevens
Message-ID:
Date: Tue, 2 Mar 2021 12:54:59 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.3.1
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="------------627421302675144A18FE1E61"
Content-Language: en-US
Subject: [isabelle] Code generation for a subtype with free_constructors
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 11:55:05 -0000
This is a multi-part message in MIME format.
--------------627421302675144A18FE1E61
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Dear all,
I define some general term type
datatype 'a trm = App "'a trm" "'a trm" | Const string | Var 'a
Now I want to embed a specific type of terms into this general type,
namely a type of order terms. The inequality between two variables x and
y would be
App (App (Const ''LE'') (Var x)) (Var y)
In order to achieve this, I first define a predicate on 'a trm which is
true for terms that are order terms. Then I use typedef to introduce a
subtype that only contains order terms. Since I also want to define
functions using pattern matching on this subtype, I am using
free_constructors to introduce constructors for the different types of
order terms; however, generating code for the following lifted definition
lift_definition trm_of_order_trm :: "'a order_trm ⇒ 'a trm" is id .
now doesn't work since it now uses Rep_order_trm. One can prove the code
equation manually (see below) but is there a way to derive it automatically?
Cheers,
Lukas
Full example:
theory Scratch imports Main
begin
datatype 'a trm = App "'a trm" "'a trm" | Const string | Var 'a
fun is_order_trm :: "'a trm ⇒ bool" where
"is_order_trm (App (App (Const c) (Var x)) (Var y)) ⟷ c = ''LE'' ∨ c = ''LT'' ∨ c = ''EQ''" |
"is_order_trm _ ⟷ False"
typedef 'a order_trm = "{t::'a trm. is_order_trm t}"
by (metis is_order_trm.simps(1) mem_Collect_eq)
setup_lifting type_definition_order_trm
abbreviation (input) "App2ConstVars c x y ≡ (App (App ((Const c)) (Var x)) (Var y))"
abbreviation (input) "CtorOrder c x y ≡ Abs_order_trm (App2ConstVars c x y)"
definition "CtorLE ≡ CtorOrder ''LE''"
definition "CtorLT ≡ CtorOrder ''LT''"
definition "CtorEQ ≡ CtorOrder ''EQ''"
lemmas order_ctor_defs = CtorLE_def CtorLT_def CtorEQ_def
lemma order_trm_cases:
fixes t :: "'a order_trm"
obtains
(LE) x y where "t = CtorLE x y"
| (LT) x y where "t = CtorLT x y"
| (EQ) x y where "t = CtorEQ x y"
proof(cases t)
case (Abs_order_trm t')
then have "is_order_trm t'"
by simp
then show ?thesis using that Abs_order_trm
apply(induction t' rule: is_order_trm.induct)
by (auto simp: order_ctor_defs)
qed
lift_definition trm_of_order_trm :: "'a order_trm ⇒ 'a trm" is id .
free_constructors case_order_trm for
"CtorLE" | "CtorLT" | "CtorEQ"
apply(fact order_trm_cases)
by (auto simp: order_ctor_defs Abs_order_trm_inject)
text ‹I want to define functions on @{typ "'a order_trm"} using pattern matching›
fun sem :: "'a rel ⇒ 'a order_trm ⇒ bool" where
"sem r (CtorLE x y) ⟷ (x, y) ∈ r" |
"sem r (CtorLT x y) ⟷ (x, y) ∈ r ∧ x ≠ y" |
"sem r (CtorEQ x y) ⟷ x = y"
definition "Sem r A ≡ (∀t ∈ A. sem r t)"
lemma "¬ Sem r {CtorLT x y, CtorEQ x y}"
unfolding Sem_def
by simp
text ‹
Exporting code only works if I prove the following code equation manually.
Can it be derived automatically?
›
lemma [code]:
"Rep_order_trm t = (case t of
CtorLE x y ⇒ App2ConstVars ''LE'' x y
| CtorLT x y ⇒ App2ConstVars ''LT'' x y
| CtorEQ x y ⇒ App2ConstVars ''EQ'' x y)"
by (auto split: order_trm.splits simp: Abs_order_trm_inverse order_ctor_defs)
export_code sem trm_of_order_trm in SML
value "Sem {(1::nat, 2)} {(CtorEQ 1 2), (CtorLT 1 2)}"
--------------627421302675144A18FE1E61
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
Dear all,
I define some general term type
datatype 'a trm = App "'a trm" "'a trm" | Const string | Var 'a
Now I want to embed a specific type of terms into this general
type, namely a type of order terms. The inequality between two
variables x and y would be
App (App (Const ''LE'') (Var x)) (Var y)
In order to achieve this, I first define a predicate on 'a trm
which is true for terms that are order terms. Then I use typedef
to introduce a subtype that only contains order terms. Since I
also want to define functions using pattern matching on this
subtype, I am using free_constructors to introduce constructors
for the different types of order terms; however, generating code
for the following lifted definition
lift_definition trm_of_order_trm :: "'a order_trm ⇒ 'a trm" is id .
now doesn't work since it now uses Rep_order_trm. One can prove
the code equation manually (see below) but is there a way to
derive it automatically?
Cheers,
Lukas
Full example:
theory Scratch imports Main
begin
datatype 'a trm = App "'a trm" "'a trm" | Const string | Var 'a
fun is_order_trm :: "'a trm ⇒ bool" where
"is_order_trm (App (App (Const c) (Var x)) (Var y)) ⟷ c = ''LE'' ∨ c = ''LT'' ∨ c = ''EQ''" |
"is_order_trm _ ⟷ False"
typedef 'a order_trm = "{t::'a trm. is_order_trm t}"
by (metis is_order_trm.simps(1) mem_Collect_eq)
setup_lifting type_definition_order_trm
abbreviation (input) "App2ConstVars c x y ≡ (App (App ((Const c)) (Var x)) (Var y))"
abbreviation (input) "CtorOrder c x y ≡ Abs_order_trm (App2ConstVars c x y)"
definition "CtorLE ≡ CtorOrder ''LE''"
definition "CtorLT ≡ CtorOrder ''LT''"
definition "CtorEQ ≡ CtorOrder ''EQ''"
lemmas order_ctor_defs = CtorLE_def CtorLT_def CtorEQ_def
lemma order_trm_cases:
fixes t :: "'a order_trm"
obtains
(LE) x y where "t = CtorLE x y"
| (LT) x y where "t = CtorLT x y"
| (EQ) x y where "t = CtorEQ x y"
proof(cases t)
case (Abs_order_trm t')
then have "is_order_trm t'"
by simp
then show ?thesis using that Abs_order_trm
apply(induction t' rule: is_order_trm.induct)
by (auto simp: order_ctor_defs)
qed
lift_definition trm_of_order_trm :: "'a order_trm ⇒ 'a trm" is id .
free_constructors case_order_trm for
"CtorLE" | "CtorLT" | "CtorEQ"
apply(fact order_trm_cases)
by (auto simp: order_ctor_defs Abs_order_trm_inject)
text ‹I want to define functions on @{typ "'a order_trm"} using pattern matching›
fun sem :: "'a rel ⇒ 'a order_trm ⇒ bool" where
"sem r (CtorLE x y) ⟷ (x, y) ∈ r" |
"sem r (CtorLT x y) ⟷ (x, y) ∈ r ∧ x ≠ y" |
"sem r (CtorEQ x y) ⟷ x = y"
definition "Sem r A ≡ (∀t ∈ A. sem r t)"
lemma "¬ Sem r {CtorLT x y, CtorEQ x y}"
unfolding Sem_def
by simp
text ‹
Exporting code only works if I prove the following code equation manually.
Can it be derived automatically?
›
lemma [code]:
"Rep_order_trm t = (case t of
CtorLE x y ⇒ App2ConstVars ''LE'' x y
| CtorLT x y ⇒ App2ConstVars ''LT'' x y
| CtorEQ x y ⇒ App2ConstVars ''EQ'' x y)"
by (auto split: order_trm.splits simp: Abs_order_trm_inverse order_ctor_defs)
export_code sem trm_of_order_trm in SML
value "Sem {(1::nat, 2)} {(CtorEQ 1 2), (CtorLT 1 2)}"
--------------627421302675144A18FE1E61--
From wolfgang-it at jeltsch.info Tue Mar 02 13:23:34 2021
Received: from ppsw-42.csi.cam.ac.uk ([131.111.8.142]:53694)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH4zu-0004Np-HO (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path );
Tue, 02 Mar 2021 13:23:34 +0000
X-Cam-SpamDetails: score -0.1 from SpamAssassin-3.4.4-1887025
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from schaeffer.softbase.org ([88.198.48.142]:33292)
by ppsw-42.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.148]:25)
with esmtps (TLS1:ECDHE-RSA-AES256-SHA:256)
id 1lH4zs-000Tuz-99 (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path );
Tue, 02 Mar 2021 13:23:34 +0000
Received: from idefix.lan (182-178-191-90.dyn.estpak.ee
[::ffff:90.191.178.182])
(AUTH: PLAIN jeltsch, SSL: TLSv1/SSLv3,256bits,AES256-SHA)
by schaeffer.softbase.org with ESMTPSA; Tue, 02 Mar 2021 14:23:31 +0100
id 00000000200E4EA6.00000000603E3C53.00002874
Message-ID: <0915bf12b306dbbda817c7148b3039e9edd9a724.camel at jeltsch.info>
From: Wolfgang Jeltsch
To: cl-isabelle-users at lists.cam.ac.uk
Date: Tue, 02 Mar 2021 15:23:30 +0200
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [isabelle] Fixing type variables in locales
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 13:23:34 -0000
Hello!
I want to define a locale that (among other things) fixes a type `'a`
and assumes that the type `'a` is infinite but doesn’t fix any variables
with types that include `'a`.
I can write the following:
locale l = assumes "infinite (UNIV :: 'a set)"
This results in the following output:
locale l
assumes "l TYPE('a)"
Additional type variable(s) in locale specification "l": 'a
Unfortunately, it seems that I cannot really make use of this type
variable later. Let’s say I add the following declaration to the locale
context:
type_synonym t = "'a ⇒ 'a"
This results in the following output, of which the “Extra variables”
part is an error message:
Ignoring sort constraints in type variables(s): "'a"
in type abbreviation "t"
Extra variables on rhs: "'a"
The error(s) above occurred in type abbreviation "t"
I can also try out the following declaration:
type_synonym 'a t = "'a ⇒ 'a"
However, this results in the following error message:
Locally fixed type arguments "'a" in type declaration "t"
How can I achieve what I want?
All the best,
Wolfgang
From c.sternagel at gmail.com Tue Mar 02 13:35:57 2021
Received: from ppsw-32.csi.cam.ac.uk ([131.111.8.132]:34158)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH5Bs-0005A5-WC (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 13:35:57 +0000
X-Cam-SpamDetails: score -0.3 from SpamAssassin-3.4.4-1887025
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [209.85.128.41 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
* [209.85.128.41 listed in wl.mailspike.net]
* 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider * [c.sternagel[at]gmail.com]
* 0.0 HTML_MESSAGE BODY: HTML included in message
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-wm1-f41.google.com ([209.85.128.41]:51020)
by ppsw-32.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.146]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
id 1lH5Bs-000bTp-1K (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 13:35:56 +0000
Received: by mail-wm1-f41.google.com with SMTP id i9so2252653wml.0
for ;
Tue, 02 Mar 2021 05:35:56 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=u/6jgCULmbHQ3wZ3VBVuoPle/p3FOl9VjF9npfj4kD8=;
b=QBBFpfNKuRQtu6V/kG5Zkb4GcKzbiSg3v3eD7iL6cIO5kCfnmiHSHSOP86yRrFrHig
VWp1MG5+xT05EBKqCPMU2ZIGp3N8mhh+0nr8cUKAFzlHGyWmsp3u3vTYoVfdi6upmex5
mCWmuJwEbB2Q/77X/wUGyZQE4FLPHyhJvQkGKAnc6ZAXbx/9U9aa0tcfrjy5Lu1xekZ7
EdPeI+uXoGK5k1zoGeywX/oLPkN9GoTsZ1cra7PI13nb2hK3pDitiUFGBH9QsrM+N4AJ
wwDBon67mK+IHO9geC+H5jZS1O5BgrmN8NKGkqpekdvAb5uReR3yK9WJYXOfqMySKCs9
8PNA==
X-Gm-Message-State: AOAM5325wcp1eotlD/3jbUnsPimaTnNZ9TQTABTlhK/F8wRZ3Hm9LrEu
5qtZndoyH2rwvgVOLNgUoxEnoVBJxM8rWenQY/wCRNMS
X-Google-Smtp-Source: ABdhPJybsJ3pGZjBfzK3B+6Ok54fD8MQ2akd365ma1oWBgYWTCcRejAc/T5K0OGes3574KjTAwtpKkWHiwcEdTYYRtc=
X-Received: by 2002:a7b:c4c9:: with SMTP id g9mr3109697wmk.82.1614692156137;
Tue, 02 Mar 2021 05:35:56 -0800 (PST)
MIME-Version: 1.0
References: <0915bf12b306dbbda817c7148b3039e9edd9a724.camel at jeltsch.info>
In-Reply-To: <0915bf12b306dbbda817c7148b3039e9edd9a724.camel at jeltsch.info>
From: Christian Sternagel
Date: Tue, 2 Mar 2021 14:35:43 +0100
Message-ID:
To: Wolfgang Jeltsch
Content-Type: multipart/alternative; boundary="0000000000006362cd05bc8dd0f8"
Cc: Cl-isabelle Users
Subject: Re: [isabelle] Fixing type variables in locales
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 13:35:57 -0000
--0000000000006362cd05bc8dd0f8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Dear Wolfgang,
On Tue, Mar 2, 2021, 14:25 Wolfgang Jeltsch
wrote:
> Hello!
>
> I want to define a locale that (among other things) fixes a type `'a`
> and assumes that the type `'a` is infinite but doesn=E2=80=99t fix any va=
riables
> with types that include `'a`.
>
> I can write the following:
>
> locale l =3D assumes "infinite (UNIV :: 'a set)"
>
I think this assumption is fine. The problems below result from incorrect
usage of type_synonym. But that is not really related to the initial
question of fixing a type variable for some infinite type.
I don't think that type_synonym is localized (and I'm unsure whether it
could be made so). If that assumption is correct then type_synonym only
makes sense in a global context.
cheers
chris
> This results in the following output:
>
> locale l
> assumes "l TYPE('a)"
> Additional type variable(s) in locale specification "l": 'a
>
> Unfortunately, it seems that I cannot really make use of this type
> variable later. Let=E2=80=99s say I add the following declaration to the =
locale
> context:
>
> type_synonym t =3D "'a =E2=87=92 'a"
> This results in the following output, of which the =E2=80=9CExtra variabl=
es=E2=80=9D
> part is an error message:
>
> Ignoring sort constraints in type variables(s): "'a"
> in type abbreviation "t"
> Extra variables on rhs: "'a"
> The error(s) above occurred in type abbreviation "t"
>
> I can also try out the following declaration:
>
> type_synonym 'a t =3D "'a =E2=87=92 'a"
>
> However, this results in the following error message:
>
> Locally fixed type arguments "'a" in type declaration "t"
>
> How can I achieve what I want?
>
> All the best,
> Wolfgang
>
>
>
--0000000000006362cd05bc8dd0f8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Dear Wolfgang,
Hello!
I want to define a locale that (among other things) fixes a type `'a`
and assumes that the type `'a` is infinite but doesn=E2=80=99t fix any =
variables
with types that include `'a`.
I can write the following:
=C2=A0 =C2=A0 locale l =3D assumes "infinite (UNIV :: 'a set)"=
;
I think this assumption is fine. The problems below result from incorrect =
usage of type_synonym. But that is not really related to the initial questi=
on of fixing a type variable for some infinite type.
I don't think that type_synonym is localiz=
ed (and I'm unsure whether it could be made so). If that assumption is =
correct then type_synonym only makes sense in a global context.
cheers
<=
/div>
chris
This results in the following output:
=C2=A0 =C2=A0 locale l
=C2=A0 =C2=A0 =C2=A0 assumes "l TYPE('a)"
=C2=A0 =C2=A0 Additional type variable(s) in locale specification "l&q=
uot;: 'a
Unfortunately, it seems that I cannot really make use of this type
variable later. Let=E2=80=99s say I add the following declaration to the lo=
cale
context:
=C2=A0 =C2=A0 type_synonym t =3D "'a =E2=87=92 'a"
This results in the following output, of which the =E2=80=9CExtra variables=
=E2=80=9D
part is an error message:
=C2=A0 =C2=A0 Ignoring sort constraints in type variables(s): "'a&=
quot;
=C2=A0 =C2=A0 in type abbreviation "t"
=C2=A0 =C2=A0 Extra variables on rhs: "'a"
=C2=A0 =C2=A0 The error(s) above occurred in type abbreviation "t"=
;
I can also try out the following declaration:
=C2=A0 =C2=A0 type_synonym 'a t =3D "'a =E2=87=92 'a"=
However, this results in the following error message:
=C2=A0 =C2=A0 Locally fixed type arguments "'a" in type decla=
ration "t"
How can I achieve what I want?
All the best,
Wolfgang
--0000000000006362cd05bc8dd0f8--
From inpefess at protonmail.com Tue Mar 02 13:58:45 2021
Received: from ppsw-32.csi.cam.ac.uk ([131.111.8.132]:50702)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH5Xx-00067I-T3 (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 13:58:45 +0000
X-Cam-SpamDetails: score -1.0 from SpamAssassin-3.4.4-1887025
* 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4)
* [185.70.40.135 listed in wl.mailspike.net]
* -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/,
low * trust
* [185.70.40.135 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider * [inpefess[at]protonmail.com]
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-40135.protonmail.ch ([185.70.40.135]:49679)
by ppsw-32.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.146]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lH5Xx-000rCS-0K (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 13:58:45 +0000
Date: Tue, 02 Mar 2021 13:58:37 +0000
To: Makarius
Message-ID:
In-Reply-To: <6a8f0bd0-5dc5-e405-5367-f05ce439177f at sketis.net>
References:
<6a8f0bd0-5dc5-e405-5367-f05ce439177f at sketis.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
mailout.protonmail.ch
Cc: "cl-isabelle-users at lists.cam.ac.uk"
Subject: Re: [isabelle] Python client to Isabelle server
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
From: Boris Shminke via Cl-isabelle-users
Reply-To: Boris Shminke
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 13:58:45 -0000
> Great. I don't know Python myself and was hoping that someone else would =
start
> connecting it systematically to the Isabelle server.
Thank you:)
> imports for Isabelle/HOL below the checkpoint "Main" should be avoide=
d, to
> avoid exposing the complexity of the theory/ML bootstrap to applicati=
ons.
Do you mean one should change 'imports HOL.Nitpick' to 'imports Main'?
> Can this be done by Python as well? There is a technical delicacy behind =
it due to the way
> how the process is started and how it outputs the stdout message (this is=
not
> a regular Unix "daemon", because of the surrounding JVM).
Do you mean one should add a function `start_isabelle_server` which, e.g. r=
uns `isabelle server` command and returns 'info'?
> - For the low-level message formats (plain line, or line with length
> followed by that number of bytes), see also these reference implement=
ations in
> ML, Scala, Haskell --- it could make sense to follow the signatures m=
ore closely:
Yes, that's good idea! I already look at the code and find it a bit primiti=
ve, so consulting some Scala code might be helpful to get some insights in =
doing it right.
> - isabelle_client.use_theories: here the bulk of prover messages appear=
in
> the response, but there is no way to "tap" into incremental message o=
utput as
> it occurs. This will be probably one of the first "feature requests" =
(or
> rather "pull requests) when some other Isabelle users discover your P=
ython
> project.
Yes, I already thought about that. I've created several issues following th=
is email here: https://github.com/inpefess/isabelle-client/issues.
Thank you for helpful comments!
Cheers,
Boris
From Rene.Thiemann at uibk.ac.at Tue Mar 02 14:00:14 2021
Received: from ppsw-33.csi.cam.ac.uk ([131.111.8.133]:58478)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH5ZO-0006Cq-9v (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path );
Tue, 02 Mar 2021 14:00:14 +0000
X-Cam-SpamDetails: score -2.4 from SpamAssassin-3.4.4-1887025
* -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/,
* medium trust
* [138.232.1.142 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [138.232.1.142 listed in wl.mailspike.net]
* 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from lmr1.uibk.ac.at ([138.232.1.142]:37084 helo=smtp.uibk.ac.at)
by ppsw-33.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.147]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
id 1lH5ZI-000pfZ-hu (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path );
Tue, 02 Mar 2021 14:00:14 +0000
Received: from exchange.uibk.ac.at (xmbx9.uibk.ac.at [138.232.2.161])
by smtp.uibk.ac.at (8.14.4/8.14.4/F1) with ESMTP id 122DxAon027770
(version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL);
Tue, 2 Mar 2021 14:59:10 +0100
Received: from xmbx11.uibk.ac.at (138.232.2.173) by xmbx9.uibk.ac.at
(138.232.2.161) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2;
Tue, 2 Mar 2021 14:59:09 +0100
Received: from xmbx11.uibk.ac.at ([fe80::7590:1e5f:a401:7e0f]) by
xmbx11.uibk.ac.at ([fe80::7590:1e5f:a401:7e0f%3]) with mapi id
15.01.2176.004; Tue, 2 Mar 2021 14:59:09 +0100
From: =?utf-8?B?VGhpZW1hbm4sIFJlbsOp?=
To: Christian Sternagel , Wolfgang Jeltsch
Thread-Topic: [isabelle] Fixing type variables in locales
Thread-Index: AQHXD2eTV6eU9SHRHUKIknTU2OIQS6pwok+AgAAGjIA=
Date: Tue, 2 Mar 2021 13:59:09 +0000
Message-ID:
References: <0915bf12b306dbbda817c7148b3039e9edd9a724.camel at jeltsch.info>
In-Reply-To:
Accept-Language: de-DE, de-AT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [138.232.2.105]
Content-Type: text/plain; charset="utf-8"
Content-ID: <9B476145AE600F47A4EA95EE714D7C47 at exchange.uibk.ac.at>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Spam-Score: () -4.9 FROM_EXCESS_BASE64,FROM_NET_2,RCV_SMTP_UIBK
X-Scanned-By: MIMEDefang 2.84 at uibk.ac.at
Cc: Cl-isabelle Users
Subject: Re: [isabelle] Fixing type variables in locales
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 14:00:14 -0000
RGVhciBXb2xmZ2FuZywNCg0KeW91IGNhbiBnZXQgcmlkIG9mIHRoZSB3YXJuaW5nIG9mIHRoZSBs
b2NhbGUgZGVjbGFyYXRpb24gYnkgYWRkZWQgc29tZSBkdW1teSBhcmd1bWVudCB0aGF0DQpmaXhl
cyB0aGUgdHlwZS4gRm9yIG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gZXJyb3IgbWVzc2FnZToNCj4gDQo+
ICAgICBJZ25vcmluZyBzb3J0IGNvbnN0cmFpbnRzIGluIHR5cGUgdmFyaWFibGVzKHMpOiAiJ2Ei
DQo+ICAgICBpbiB0eXBlIGFiYnJldmlhdGlvbiAidCIgDQo+ICAgICBFeHRyYSB2YXJpYWJsZXMg
b24gcmhzOiAiJ2EiDQo+ICAgICBUaGUgZXJyb3IocykgYWJvdmUgb2NjdXJyZWQgaW4gdHlwZSBh
YmJyZXZpYXRpb24gInQiDQo+IA0KPiBJIGNhbiBhbHNvIHRyeSBvdXQgdGhlIGZvbGxvd2luZyBk
ZWNsYXJhdGlvbjoNCj4gDQo+ICAgICB0eXBlX3N5bm9ueW0gJ2EgdCA9ICInYSDih5IgJ2EiDQo+
IA0KPiBIb3dldmVyLCB0aGlzIHJlc3VsdHMgaW4gdGhlIGZvbGxvd2luZyBlcnJvciBtZXNzYWdl
Og0KPiANCj4gICAgIExvY2FsbHkgZml4ZWQgdHlwZSBhcmd1bWVudHMgIidhIiBpbiB0eXBlIGRl
Y2xhcmF0aW9uICJ0Ig0KPiANCj4gSG93IGNhbiBJIGFjaGlldmUgd2hhdCBJIHdhbnQ/DQo+IA0K
PiBBbGwgdGhlIGJlc3QsDQo+IFdvbGZnYW5nDQo+IA0KPiANCg0K
From wolfgang-it at jeltsch.info Tue Mar 02 14:34:17 2021
Received: from ppsw-42.csi.cam.ac.uk ([131.111.8.142]:54902)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH66L-0000OB-LV (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path );
Tue, 02 Mar 2021 14:34:17 +0000
X-Cam-SpamDetails: score -0.1 from SpamAssassin-3.4.4-1887025
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from schaeffer.softbase.org ([88.198.48.142]:48154)
by ppsw-42.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.148]:25)
with esmtps (TLS1:ECDHE-RSA-AES256-SHA:256)
id 1lH66L-000DAd-6U (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path );
Tue, 02 Mar 2021 14:34:17 +0000
Received: from idefix.lan (182-178-191-90.dyn.estpak.ee
[::ffff:90.191.178.182])
(AUTH: PLAIN jeltsch, SSL: TLSv1/SSLv3,256bits,AES256-SHA)
by schaeffer.softbase.org with ESMTPSA; Tue, 02 Mar 2021 15:34:16 +0100
id 00000000200E4EA6.00000000603E4CE8.00002A4E
Message-ID: <72f6290458d0e0c11a6474b0c3b6316231e2ecbf.camel at jeltsch.info>
From: Wolfgang Jeltsch
To: cl-isabelle-users at lists.cam.ac.uk
Date: Tue, 02 Mar 2021 16:34:10 +0200
In-Reply-To:
References: <0915bf12b306dbbda817c7148b3039e9edd9a724.camel at jeltsch.info>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: Re: [isabelle] Fixing type variables in locales
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 14:34:17 -0000
Am Dienstag, den 02.03.2021, 14:35 +0100 schrieb Christian Sternagel:
> Dear Wolfgang,
>
> On Tue, Mar 2, 2021, 14:25 Wolfgang Jeltsch wrote:
> > Hello!
> >
> > I want to define a locale that (among other things) fixes a type
> > `'a` and assumes that the type `'a` is infinite but doesn’t fix any
> > variables with types that include `'a`.
> >
> > I can write the following:
> >
> > locale l = assumes "infinite (UNIV :: 'a set)"
>
> I think this assumption is fine. The problems below result from
> incorrect usage of `type_synonym`. But that is not really related to
> the initial question of fixing a type variable for some infinite type.
>
> I don’t think that `type_synonym` is localized (and I’m unsure whether
> it could be made so). If that assumption is correct then
> `type_synonym` only makes sense in a global context.
Ah, that makes sense. Thanks for this explanation.
Initially I thought that the impossibility of using `type_synonym` in
the way I wanted would pose a problem, but it seems that it can be
worked around. My solution is to leave the locale context immediately
after declaring the locale, declare the type synonym outside the locale
context, and add `(in l)` to every lemma that needs the infinity
constraint. This seems to work fine for me.
All the best,
Wolfgang
From jsylvest at ualberta.ca Tue Mar 02 17:33:38 2021
Received: from ppsw-32.csi.cam.ac.uk ([131.111.8.132]:47718)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH8tu-0002wF-FS (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 17:33:38 +0000
X-Cam-SpamDetails: score -0.1 from SpamAssassin-3.4.4-1887025
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [209.85.208.43 listed in list.dnswl.dnsbl.ja.net]
* -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
* [209.85.208.43 listed in wl.mailspike.net]
* 0.0 HTML_MESSAGE BODY: HTML included in message
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-ed1-f43.google.com ([209.85.208.43]:44956)
by ppsw-32.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.146]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
id 1lH8tt-000q99-2p (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 17:33:38 +0000
Received: by mail-ed1-f43.google.com with SMTP id g3so26213900edb.11
for ;
Tue, 02 Mar 2021 09:33:37 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=/3EjVA4kAIiFi0J43Z7h091p7oevEVtJmwfZBUAKIa0=;
b=CFGCHFL5JXNTLq74gawatc3kbEt+z41SIVycDC7RTbZecmpxMwashyRAS+4ouoOzF2
+tPR9vC4cnAG9Rhaf042z8lc0TmXtHfoU7/bw5IxZ8KrzunGSN57hXJ8enO/b/DnSzz9
G89Txtj0iWECxW3EfXAbR+a0OgFvHR7oDUP81PWsZg7l9pYkEoihsX7ASy0IjzYxzjGR
JWRiJwS2qex0bbYzDDgp4Np75CQD7WhfR2AeF3il4olSlc9gxYNcng1sa9JzHQuT1VAt
Am5NncPI2UhgMcydt8vudQ8QICTk9mTrs/N0coDi+ImsaOVvurHEyiRZis8dz9fNUyzM
wJOw==
X-Gm-Message-State: AOAM533MupkoT1gLHJiQHrl01a36v2pUWECdHIE5BKME6cFtXcYqggUU
OSDt8MIVSJP6eDxOPxmN/fwACDKVZK+J0z4kBH7PxpOC8Ts=
X-Google-Smtp-Source: ABdhPJwzo2a0UxfAIxz0rHxSNxKnS6g7p9YjMWBhulS4Xvc/mWFm4iUao2OxHYbxGIOcHo8wLLv4QpbFLXK2i/QqFm8=
X-Received: by 2002:a05:6402:8c2:: with SMTP id
d2mr20791302edz.4.1614706417145;
Tue, 02 Mar 2021 09:33:37 -0800 (PST)
MIME-Version: 1.0
From: Jeremy Sylvestre
Date: Tue, 2 Mar 2021 10:33:26 -0700
Message-ID:
To: cl-isabelle-users at lists.cam.ac.uk
Content-Type: multipart/alternative; boundary="000000000000692d2e05bc9122b1"
Subject: Re: [isabelle] VS Code extension
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 17:33:38 -0000
--000000000000692d2e05bc9122b1
Content-Type: text/plain; charset="UTF-8"
Thanks! Odd that searching for it in the Marketplace last night didn't
bring up any results.
--000000000000692d2e05bc9122b1
Content-Type: text/html; charset="UTF-8"
Thanks! Odd that searching for it in the Marketplace last night didn't bring up any results.
--000000000000692d2e05bc9122b1--
From jsylvest at ualberta.ca Tue Mar 02 17:52:57 2021
Received: from ppsw-33.csi.cam.ac.uk ([131.111.8.133]:60836)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH9Cb-0003Y0-40 (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 17:52:57 +0000
X-Cam-SpamDetails: score -0.1 from SpamAssassin-3.4.4-1887025
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [209.85.208.44 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
* [209.85.208.44 listed in wl.mailspike.net]
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-ed1-f44.google.com ([209.85.208.44]:36715)
by ppsw-33.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.147]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
id 1lH9Ca-000xAt-gs (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 17:52:57 +0000
Received: by mail-ed1-f44.google.com with SMTP id l12so26334172edt.3
for ;
Tue, 02 Mar 2021 09:52:56 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=0iFfR5S9lw7aEmLG0x7yYFVjauDoqYTH+/62qxESo+c=;
b=pqYeQQU8l3gIIL1vYxHh5RioPn0afRrI7cQPqjntAxSAhNdNU2WFikREwYoNJwdHs2
ktKuINKiVdVqxNm81D4cURF/Skv0WvnEVAEBBFea2e0CjurV8+GsZuWgPr4Pid5lKQ9k
OqVjaFmD+o4coAXqEjCbIZWiQnuLrovck4juT+rbF79hqOkE+GSMY0yqwPvpk8yRTq+c
htNQ80ysk8snvl8fzLHIXVfx8epGvU30JMnKNuAlkzZvoOBDp3s+L0ePKYDk2fm3Zv7R
WdsFleaBO9iDNu4e4EDvgCJ8hcwq3ZtXmtid8ATnyD4Q7muSZuI4D1TwLnZeKsXgvv7U
t3xQ==
X-Gm-Message-State: AOAM532rcrDrVjX/tBe0JZCwCPU/BOxaO5icAKd0OSoi/+UXzoW9KKry
5oCXdLRFVuwkp34REOlvnAItlr3NYWY9AkNnQi2FvpPbhsRT/Q==
X-Google-Smtp-Source: ABdhPJzovIOw2UfRiYyNQ2ylR8Fm8UJlCtdXPdb2Xhgua6V70vB2G1+eHXwlxtd+eGFsQIDcB1yLT4MtXShPoqZvDUk=
X-Received: by 2002:a05:6402:8c2:: with SMTP id
d2mr20861695edz.4.1614707575310;
Tue, 02 Mar 2021 09:52:55 -0800 (PST)
MIME-Version: 1.0
From: Jeremy Sylvestre
Date: Tue, 2 Mar 2021 10:52:44 -0700
Message-ID:
To: cl-isabelle-users at lists.cam.ac.uk
Content-Type: multipart/alternative; boundary="00000000000071579505bc9167e2"
Subject: Re: [isabelle] VS Code extension
X-BeenThere: cl-isabelle-users at lists.cam.ac.uk
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: Isabelle Users List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 02 Mar 2021 17:52:57 -0000
--00000000000071579505bc9167e2
Content-Type: text/plain; charset="UTF-8"
Any chance you would consider also publishing the VS Code extension on Open
VSX?
https://open-vsx.org/
--00000000000071579505bc9167e2
Content-Type: text/html; charset="UTF-8"
--00000000000071579505bc9167e2--
From svanrijnswou at gmail.com Tue Mar 02 14:35:19 2021
Received: from ppsw-42.csi.cam.ac.uk ([131.111.8.142]:56936)
by lists-1.csi.cam.ac.uk (lists.cam.ac.uk [131.111.8.15]:25)
with esmtp id 1lH67L-0000Tt-2E (Exim 4.92.3) for
cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 14:35:19 +0000
X-Cam-SpamDetails: score -0.3 from SpamAssassin-3.4.4-1887025
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no * trust
* [209.85.166.171 listed in list.dnswl.dnsbl.ja.net]
* -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
* [209.85.166.171 listed in wl.mailspike.net]
* 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider * [svanrijnswou[at]gmail.com]
* 0.0 HTML_MESSAGE BODY: HTML included in message
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
* envelope-from domain
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus
Received: from mail-il1-f171.google.com ([209.85.166.171]:44487)
by ppsw-42.csi.cam.ac.uk (mx.cam.ac.uk [131.111.8.148]:25)
with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
id 1lH67K-000DnU-7x (Exim 4.94) for cl-isabelle-users at lists.cam.ac.uk
(return-path ); Tue, 02 Mar 2021 14:35:19 +0000
Received: by mail-il1-f171.google.com with SMTP id v14so6975939ilj.11
for ;
Tue, 02 Mar 2021 06:35:18 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=k/8uPBFAMEG6L/7fs+bDiChUbVf/x9iq4y5QAmemP4Q=;
b=GDzWD6VxFs/+RBAUIa0NfyA0BAxMWZptPZzMWN5SWSVD2DxlkEWRZl1l3qw7UMifx3
yu2U3vhEoprY3MIHDF3QdN/k7R9BckXdT+UHJsC94aHpaYmk4UtRNlUQPh44T+z3xtxO
rEfGTPPjQQVMpdb8hYaPk5dFeU0I/tRepXnQqeagbo/tufBYodDXWCkZCXlEDFcMxwBj
38sj+ghwMjoZNPZBBewA1054JDb0xM2Ix831mMHRW7r4fBGWxtuaMOAkvULJkb39Lnir
N/X5oxYtFZfRBXyuzW5OATWD9MPEsVWdCgh9uEQZ1Q+hZO7sIp4b4Thz/hFSrxgHI/VK
Kfqw==
X-Gm-Message-State: AOAM530EV5BG9S4S0/9BCL4YGRSww1ZpFmE6M8IQnpbFMznd3cUj/2Wj
waK0Sww83WODjze0HQFga70iJCVj/PrSjfxDHs/ANFr0tLotpA==
X-Google-Smtp-Source: ABdhPJwISjP+BvlBycnb17iy2rDzwkNJyg0bWscgQFBNyD5LHYT+ZluYAZuTfQD3ZMIyGuOBUQFBba4+Q5AYvd6fMSg=
X-Received: by 2002:a92:cd8a:: with SMTP id r10mr17524617ilb.110.1614695716805;
Tue, 02 Mar 2021 06:35:16 -0800 (PST)
MIME-Version: 1.0
From: Sander van Rijnswou
Date: Tue, 2 Mar 2021 15:35:05 +0100
Message-ID: