From makarius at sketis.net Mon May 4 21:12:07 2026 From: makarius at sketis.net (Makarius) Date: Mon, 4 May 2026 21:12:07 +0200 Subject: Time limiting apply and by commands In-Reply-To: References: Message-ID: <03d7b55b-b796-4032-9113-8695c078a781@sketis.net> On 13/04/2026 12:13, Lawrence Paulson via isabelle-dev wrote: > A year or two ago, I proposed an option to let users impose a time limit on > the execution of proof methods, to make it easier to find performance > regressions after making a change to a large development. It would also make > it easier to find slow steps in any large development. Some people opposed to > this on the grounds that it was “not portable”, which misses the point: it is > not intended to be left in a completed development In the first place. All it > can do is make a proof fail. > It would be a useful feature to have, and extremely easy to implement, so I > hope this time there will be no objections. I am still busy elsewhere, approx. for the next 2 weeks, due to project deadlines. This means, I still did not find time to retrieve the relevant mail threads from 1-2 years ago. Without that it does not make sense to do "extremely easy" things. (Where is the proof for that claim?) We do have fundamental problems with ML timeouts, due to complexities of multithreading and garbage collection. I won't enter that lair right now --- maybe a bit later, when revisiting many PIDE document processing concepts. And that might actually expose better approaches and proper solutions to old problems. I am not following the recent trend to apply adhoc changes blindly, without understanding of the overall context --- of the sources and discussions about approaches to the problem at hand. Makarius From makarius at sketis.net Mon May 4 21:41:45 2026 From: makarius at sketis.net (Makarius) Date: Mon, 4 May 2026 21:41:45 +0200 Subject: NEWS: uniform support for Message_Digest / SHA1 / SHA256 in Isabelle/ML/Scala Message-ID: *** ML *** * Both SHA1 and SHA256 are supported via Isabelle/Scala, with minor changes of the supported operations: Minor INCOMPATIBILITY. SHA1.fake has been replaced by SHA1.parse (including proper checks). Structure Message_Digest provides general operations. The native SHA1 implementation in ML has been discontinued, which may impact performance. *** System *** * Both SHA1 and SHA256 are supported in Isabelle/Scala. SHA1 is still used routinely, but will be eventually phased out. Result is of type Message_Digest.T, with slightly different toString method. Subtle INCOMPATIBILITY: use "rep" instead (as in Isabelle/ML). This refers to Isabelle/50d7fead3758. After dismantling parts of the old "use_thy" loader state, the ML operation SHA1.digest turned out to be unused (in Pure), so that was a good opportunity to dismantle our native SHA1 C-module for Poly/ML, and thus simplify the poly build process and make it more robust. SHA1 remains relevant to some other Isabelle/ML tools (e.g. Sledgehammer, caches), but it now goes through the explicit ML-Scala-function protocol. Adding SHA256 was an easy exercise in re-use of high-quality cryptographic algorithms on the JVM: We may use SHA256 routinely at a later stage, when SHA1 has been generally discredited. There is no immediate need for action, though. My motivation to provide SHA256 right now was a talk at FOSDEM 2026 about the next decade of git. The really interesting talks at that conference were non-git / post-git ones, see also https://fosdem.org/2026/schedule/track/main --- I did not attend this event in person, but a small open source event in Augsburg, where one post-git guy mentioned the very talk that I had watched myself some weeks before. Makarius From lp15 at cam.ac.uk Thu May 7 13:09:45 2026 From: lp15 at cam.ac.uk (Lawrence Paulson) Date: Thu, 7 May 2026 11:09:45 +0000 Subject: The repository is unresponsive Message-ID: hg fetch does not terminate. Larry From makarius at sketis.net Thu May 7 17:24:23 2026 From: makarius at sketis.net (Makarius) Date: Thu, 7 May 2026 17:24:23 +0200 Subject: The repository is unresponsive In-Reply-To: References: Message-ID: <996747a5-2409-4ee8-823d-00d2ec0c5f9d@sketis.net> On 07/05/2026 13:09, Lawrence Paulson via isabelle-dev wrote: > hg fetch does not terminate. It looks fine right now. Makarius From lp15 at cam.ac.uk Sun May 31 09:56:06 2026 From: lp15 at cam.ac.uk (Lawrence Paulson) Date: Sun, 31 May 2026 07:56:06 +0000 Subject: Builds keep failing Message-ID: <3571309C-1123-4872-B543-630E99BA62D7@cam.ac.uk> Does anyone know what is going on here? The repeated failures are getting distracting. Larry Estimated 0:02:32 build time with generation scheme (default heuristic) (took 0.015s) Running Isabelle-Solidity (started 0:01:50 on of1-proof_schedule+0-15) ... Isabelle-Solidity FAILED (see also "isabelle build_log -H Error Isabelle-Solidity") ... *** Reason: *** Can't unify Proof.context to 'a -> thm list -> context *** (Incompatible types) *** ML error (line 154 of "~~/dirs/AFP/thys/Isabelle-Solidity/Specification.ML"): *** Type error in function application. From lp15 at cam.ac.uk Sun May 31 10:40:01 2026 From: lp15 at cam.ac.uk (Lawrence Paulson) Date: Sun, 31 May 2026 08:40:01 +0000 Subject: Builds keep failing Message-ID: Does anyone know what is going on here? The repeated failures are getting distracting. Larry Estimated 0:02:32 build time with generation scheme (default heuristic) (took 0.015s) Running Isabelle-Solidity (started 0:01:50 on of1-proof_schedule+0-15) ... Isabelle-Solidity FAILED (see also "isabelle build_log -H Error Isabelle-Solidity") ... *** Reason: *** Can't unify Proof.context to 'a -> thm list -> context *** (Incompatible types) *** ML error (line 154 of "~~/dirs/AFP/thys/Isabelle-Solidity/Specification.ML"): *** Type error in function application. From makarius at sketis.net Sun May 31 13:13:50 2026 From: makarius at sketis.net (Makarius) Date: Sun, 31 May 2026 13:13:50 +0200 Subject: Builds keep failing In-Reply-To: <3571309C-1123-4872-B543-630E99BA62D7@cam.ac.uk> References: <3571309C-1123-4872-B543-630E99BA62D7@cam.ac.uk> Message-ID: <90e6485d-1b70-4589-ab16-f6a2aeea290e@sketis.net> On 31/05/2026 09:56, Lawrence Paulson via isabelle-dev wrote: > Does anyone know what is going on here? The repeated failures are getting distracting. > Larry > > Estimated 0:02:32 build time with generation scheme (default heuristic) (took 0.015s) > Running Isabelle-Solidity (started 0:01:50 on of1-proof_schedule+0-15) ... > Isabelle-Solidity FAILED (see also "isabelle build_log -H Error Isabelle-Solidity") > ... > *** Reason: > *** Can't unify Proof.context to 'a -> thm list -> context > *** (Incompatible types) > *** ML error (line 154 of "~~/dirs/AFP/thys/Isabelle-Solidity/Specification.ML"): > *** Type error in function application. Looking briefly at the history, I see this change: changeset: 16628:a4778d4a4355 parent: 16626:9d47a38b2406 user: dmarmsoler date: Fri May 29 17:58:39 2026 +0100 files: thys/Isabelle-Solidity/Bank.thy thys/Isabelle-Solidity/Casino.thy thys/Isabelle-Solidity/Contract.thy thys/Isabelle-Solidity/Data.ML thys/Isabelle-Solidity/Invariant.ML thys/Isabelle-Solidity/LICENSE thys/Isabelle-Solidity/Memory.thy thys/Isabelle-Solidity/ROOT thys/Isabelle-Solidity/SimpleAuction.thy thys/Isabelle-Solidity/Solidity.thy thys/Isabelle-Solidity/Specification.ML thys/Isabelle-Solidity/State.thy thys/Isabelle-Solidity/State_Monad.thy thys/Isabelle-Solidity/Stores.thy thys/Isabelle-Solidity/Token.thy thys/Isabelle-Solidity/Unit_Tests.thy thys/Isabelle-Solidity/Utils.ML thys/Isabelle-Solidity/Verification.ML thys/Isabelle-Solidity/Voting.thy thys/Isabelle-Solidity/WP.thy thys/Isabelle-Solidity/document/orcidlink.sty thys/Isabelle-Solidity/document/root.tex description: Major improvements to Isabelle-Solidity - The semantics was updated to be compliant with a more recent version of Solidity (v0.8.25). - In addition to external functions it now also supports internal functions. - In addition to the verification of invariants, it now also supports the verification of (multiple) pre/post-conditions for functions. - Type consistency is added as pre-condition for functions. See now: changeset: 16635:bfc13a2200a1 user: wenzelm date: Sun May 31 12:57:00 2026 +0200 files: thys/Isabelle-Solidity/Specification.ML thys/Isabelle-Solidity/Verification.ML description: make Isabelle-Solidity actually work with current Isabelle/6f7803fbcc0f (amending a4778d4a4355); Makarius From balazs.toth at lmu.de Sun May 31 16:34:07 2026 From: balazs.toth at lmu.de (Balazs Toth) Date: Sun, 31 May 2026 16:34:07 +0200 Subject: Inconsistent behavior of indent-lines in jEdit Message-ID: If I enable the setting "Restore previously open files on startup" and restart jEdit, then indenting lines (automatic on new line and via the short-cut) puts everything to the start of the lines. I can consistently reproduce it on my MacBook. Balazs