[Ufmrg] Re: Bugs in theorem prover(s)

Felix Linker <linkerfelix@gmail.com> Wed, 12 August 2026 14:07 UTC

Return-Path: <linkerfelix@gmail.com>
X-Original-To: ufmrg@mail2.ietf.org
Delivered-To: ufmrg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id CE6BF12892C1F for <ufmrg@mail2.ietf.org>; Wed, 12 Aug 2026 07:07:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786543648; bh=NdFTOtN/HCBe0P0Lo9JNaUrmhJJINl/Zl/6Z9nNofiw=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=arDfqUqClzLNmxIwJEk6U1dXBX27kqVJ+zg/7n8fYhN0XZ/rq2Ussa0icwKKzQeTX 7LQ42sv0svziFErwxV5BRYy4Rt1UqzkpSf8NafCZQ8egcZz9I4C9YgFub1k8mVB5Xp wxVuMNsTaGp2vKwyExNP6D/69ePoazk4iNwVlfes=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C3d_dibNircu for <ufmrg@mail2.ietf.org>; Wed, 12 Aug 2026 07:07:28 -0700 (PDT)
Received: from mail-yx1-xb12c.google.com (mail-yx1-xb12c.google.com [IPv6:2607:f8b0:4864:20::b12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 4C90612892C14 for <ufmrg@irtf.org>; Wed, 12 Aug 2026 07:07:28 -0700 (PDT)
Received: by mail-yx1-xb12c.google.com with SMTP id 956f58d0204a3-6688a2dceb8so820769d50.3 for <ufmrg@irtf.org>; Wed, 12 Aug 2026 07:07:28 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1786543642; cv=none; d=google.com; s=arc-20260327; b=DwhtvGrgWkBPDH0Ux6/U8ANi1lInfRK7oqhcRqPh9towMTeAlbAHVwVt/Iq/JIjoFO xt4Vxi8vmgMBGh+VwtEzwuEwVCP0LVGs+r35A5T5TSNCP73duukYS4wG8UVphVVgLjqM TDp+JMt2iRJhFxrS2S0NCaP09+nvax3eH6cLGOUz63LKQsAgngl3m/2IxUaADVz5eqDt ITx6No6DgF857r8yYhbPSP1t9WeUXCnm2yijmFZLZRyGFfolUoVaD+/fo9viYF0VkDIK vvbqK3WOeEcI/UIGn+zEXcl4mzZQBxeCe7wjLWGBeMnNyCNWzztxJP08964MeZaaEGvA ypjA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=82aNOYTaxTLUvOHbnjcDN2DSN//LGvEUCgkx/IIGTD4=; fh=H0x3nTLekcwHUz6G2PobvsfcrmkFD2Xpy0Sw6sh1wQk=; b=QVhXOPLNAaJISmPRJUvx08KC+CkejnU+cvleu/x7IDmk8bR2NjDK0pHyNNfnsflGSu mVT4cKYBu2UEfA5ufmGyaWdeE+qlr5DrIdgjIZ05ruHUOoE6395ag9K9HLwLFt6DPZC3 Waps6o/fGmViyb6nVRF6L8QqK/Ol72gMeHI71wMWw1f/QkciW1UpSVueghZ6nFM8lGdL P83LZWolPMVJrzJm7pTXN18oINHXCuT5FiT2/e30Y3alHMClikqp39MZN9tQhnUi03Va w7Ylaw/Ixmenb5klx8SEzRKeqaMaNOxdT4zoHLQHKh/7MMamM/JCO8pxAsnKAftLpkKQ SA4Q==; darn=irtf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786543642; x=1787148442; darn=irtf.org; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=82aNOYTaxTLUvOHbnjcDN2DSN//LGvEUCgkx/IIGTD4=; b=cYkD3YErblqaump9JsR8Xip7vR2UX7DXI4+0SWgKQJm8LTvCgvIAgBWLH0biRdFvlL 0PwzIyEtYwX4uzcsoKCZiKBLmRAa9Ve8jfEqvLFG+tQmqIVeP2IEqZEdtnlQVaj75yq0 xTkzxYht4B+bIVoZPJ7I4WPLQ2ytIhi4B9KCqSmQwxWedD3fCffoGFjlA84F3HegDfmM 7ue5RRe+8vhxHM87usIzmzSRvfW4qDZTmXNQ1vTiK1BOh2aCHjG901bLlA3XnlZYMRZu aBAy44b66fPBI3xeMyqvh/pc6TlCLZ9YlWvjfjJF/i5PVTjyp2WsajsrEp+SLQ5SXXMC Sk7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786543642; x=1787148442; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=82aNOYTaxTLUvOHbnjcDN2DSN//LGvEUCgkx/IIGTD4=; b=LF9qlN904viNwFlMnPeDnqAk7q67pk/rQmqz9+rd6fH0d553/Q5OGcppxB6+lJ1XVN hHClSrq6TkRxZ5KVxOmm6U4YMMR+0d06eLspg3YFx6VfkX+CcQaSF73DJsNPfUmPJQw9 edWImGFUFipBtdtmVLiYNC6vqiVIE2CK8UEhDC5ldgzD/MB1HVbopePdEBdKUG9sF2j2 recak7ItRNOXanIQDtIsYL7f8254Fw3qhLLS9UTP4rsLLXX2j6a+TzEFBI81oJUWV03T rOATwVV2spFBO/p+t/0n75OcbfqD1rY5/FwVFGOhpCHyNHaW5HWE7NvN6IIrp/Y0kpTa O1vw==
X-Forwarded-Encrypted: i=1; AHgh+RqnS5nk5cdmybGNkdsauD8Bd+k8I7O5NrW9MEORH0IyKSRbN8R8v2yuiHq26n6VWOzFlSFesw==@irtf.org
X-Gm-Message-State: AOJu0Yz5yLIGGi2dWKH5aP1qZU9NqfUwogDO3X4zrsTQ00pk34tI65CW 9x2mybhbJHEy1vjGjv1SlQWmM4nS7ENFZ+S7ZglyYgfsus7zKehHP2QSI/PghbGC0tBKRVN/fTE mtTKUXvxwXL/7sddD+ou7ZE4UBi4JNvfvKQ==
X-Gm-Gg: AR+sD11kEjuIjTUmBjR4vbG7FMyuS+IBe5MI2skENogcWGoyl+7h6B6Z38iTLHlHjBS 8wmqlUCo4qBfuO8ZlffQhR6hcEDMLaxZPxGHOKVpaLRQ1QWfxCxnANu8lm2O3L10GMOnsx6I0yN ZykZNe/5XDsxsKU3zbYfrlJm/LMXfUpjxhLh3dsqbtfhIxmG3MiXnrezK5vGCggmvMPwKXJIcr5 m4Ilw0ayVIzTpKvrgSjZSDnP5kSw2Woi4p9PcH4bwYpWHrqW0Z2CgMtssQ0mcZSxL4lVl+tD61K HbI/5VHRa2yYeJaHCbpbiBAUpGEvCGKPEqXrusAb50pGnHdarkziW1Stlin02VausxacKUBiWSt JMMvWF/VRtgGLZPa74aDLxNOF
X-Received: by 2002:a05:690e:1187:b0:668:8dfd:8c88 with SMTP id 956f58d0204a3-66b343b8100mr1918191d50.32.1786543641633; Wed, 12 Aug 2026 07:07:21 -0700 (PDT)
MIME-Version: 1.0
References: <MN2PR17MB4031EB4953242A6CF2EB3052CDCA2@MN2PR17MB4031.namprd17.prod.outlook.com> <3DA4B130-8EC6-42C4-86CE-C3E37425C2A5@symbolic.software> <CAPeSryqQM+daK1M_os32UFFz+BVGi9pm8yE5=P2PyyZJAiubKQ@mail.gmail.com> <946FFA9F-C316-4FED-86C3-C78F85A40412@symbolic.software>
In-Reply-To: <946FFA9F-C316-4FED-86C3-C78F85A40412@symbolic.software>
From: Felix Linker <linkerfelix@gmail.com>
Date: Wed, 12 Aug 2026 16:07:10 +0200
X-Gm-Features: AUfX_mzUHqPKEDnkbjfa0jeKzCqsr4a1w3ldnEhGyjk_OLupR_xH9_sPn6QZgUI
Message-ID: <CAPeSrypeOtO2W4KsXXtkdeor0qKhNskBDn58doq1AJt-Xqd+5w@mail.gmail.com>
To: Nadim Kobeissi <nadim@symbolic.software>
Content-Type: multipart/alternative; boundary="00000000000022ac040658da1b64"
Message-ID-Hash: YXCI3UAOX5SLLWB2SRR3YQ3WFGIFL5SQ
X-Message-ID-Hash: YXCI3UAOX5SLLWB2SRR3YQ3WFGIFL5SQ
X-MailFrom: linkerfelix@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "Salz, Rich" <rsalz=40akamai.com@dmarc.ietf.org>, "ufmrg@irtf.org" <ufmrg@irtf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Ufmrg] Re: Bugs in theorem prover(s)
List-Id: Usable Formal Methods Research Group <ufmrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ufmrg/gDrBz1dDzsO3jNAZH8zWSlFo8UM>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ufmrg>
List-Help: <mailto:ufmrg-request@irtf.org?subject=help>
List-Owner: <mailto:ufmrg-owner@irtf.org>
List-Post: <mailto:ufmrg@irtf.org>
List-Subscribe: <mailto:ufmrg-join@irtf.org>
List-Unsubscribe: <mailto:ufmrg-leave@irtf.org>

Hi Nadim,

The change to isSafetyFormula is just defensive programming. It's not
relevant to the fix.

You can call the bug a soundness issue, if you like. I haven't made up my
mind and don't plan to.

Cheers,
Felix


Am Mi., 12. Aug. 2026 um 15:52 Uhr schrieb Nadim Kobeissi
<nadim@symbolic.software>:

> Hi Felix,
>
>  It’s debatable whether this is a soundness bug as no proof rule was
> changed.
>
>
> No, I’m sorry, let’s all be honest. Your changes to the language interface
> were insufficient, and you had to make additional fixes to
> `isSafetyFormula`, which is a soundness-related function that you added in
> 2012 specifically to check for soundness issues and to fix a soundness bug:
>
> Full details here:
>
>
> https://github.com/tamarin-prover/tamarin-prover/issues/917#issuecomment-5267310122
>
> I wish you and the Tamarin team the very best, but it’s important to me
> that the truth be recognized: this is undeniably and objectively a
> soundness issue in the Tamarin prover.
>
> I have no issues with your other comments.
>
> Thank you,
>
> Nadim Kobeissi
> Symbolic Software • https://symbolic.software
>
> On 12 Aug 2026, at 3:47 PM, Felix Linker <linkerfelix@gmail.com> wrote:
>
> Hi Nadim,
>
> Thanks for putting in the work and bringing some bugs to our attention!
>
> I can confirm that with theories 1-3 you identified two bugs. We fixed
> both bugs in these pull requests:
>
>    - https://github.com/tamarin-prover/tamarin-prover/pull/915
>    - https://github.com/tamarin-prover/tamarin-prover/pull/916
>
> Theories 5 and 8 do not exemplify a bug.
>
> As for theories 1 to 2, the issue is that you add a restriction that uses
> the last keyword. That keyword is intended for internal use only. We didn’t
> check in enough places that this keyword does not occur. It’s debatable
> whether this is a soundness bug as no proof rule was changed. We didn’t
> apply all necessary checks to the input, though.
>
> In theory 3, the property proven true is in fact true. But you are right
> that a warning should be generated to inform the user about the modeling
> mistake.
>
> Theories 5 and 8 are not buggy. To prove "false" lemmas, they require
> using correctly refuted sources or auxiliary lemmas. A lemma can only be
> considered proven when the lemma itself and all auxiliary/sources lemmas
> that it relies upon are proven. This is not the case here. But I and others
> certainly see room for improvement of Tamarin's usability; the issue is
> known to the team:
> https://github.com/tamarin-prover/tamarin-prover/issues/454
>
> Best,
> Felix
>
>
> Am Di., 11. Aug. 2026 um 12:58 Uhr schrieb Nadim Kobeissi
> <nadim@symbolic.software>:
>
>> I just found many critical soundness bugs in Tamarin using an LLM.
>> Artifacts as well as paper are here:
>>
>> https://github.com/nadimkobeissi/tamarin-bugs
>>
>> This has been disclosed to the Tamarin developers.
>>
>> (Paper will soon be on ePrint.)
>>
>> Nadim Kobeissi
>> Symbolic Software • https://symbolic.software
>>
>> On 29 Jul 2026, at 5:14 PM, Salz, Rich <rsalz=40akamai.com@dmarc.ietf.org>
>> wrote:
>>
>> I *think*​ this is on-topic for this list, apologies if not (and if you
>> could explain the why I’d greatly appreciate it). From
>> https://infosec.exchange/@0xabad1dea/117002106099986943
>>
>> Someone used an LLM to generate a proof of the Collatz conjecture, and a
>> proof of its correctness from Lean. Turns out bugs in the prover, and
>> related provers, were exploited to show the proof was correct; it wasn’t.
>>
>> Links to all the info are in the URL above.
>>
>> --
>> Ufmrg mailing list -- ufmrg@irtf.org
>> To unsubscribe send an email to ufmrg-leave@irtf.org
>>
>>
>> --
>> Ufmrg mailing list -- ufmrg@irtf.org
>> To unsubscribe send an email to ufmrg-leave@irtf.org
>>
>
>