Skip to content
Binay Dalai

2026 · research · Schreyer honors thesis, fall 2026

The model proposes, the solver decides

The verification platform part way through a run: a column of cards, one for each stage, marked done as they finish, above a box for typing commands. Every number on the screen is blurred.
The platform running its chain on the text of the 5G security standard. Each stage reports as it finishes. The numbers are blurred because the results are not published yet.

A language model can write a security rule or a motion plan for a robot in seconds. My thesis is about checking that output with a solver before anything relies on it.

The model only proposes. A checker that follows fixed rules decides what is accepted, and a fix counts only if the problem is gone and the useful behavior is still there. Three studies apply that rule: to rules extracted from the 5G security standard, to whether an extracted rule still says what its source sentence says, and to motion plans for a robot. One paper is accepted at ICTAI 2026. One is under review and one is being revised, so their results stay off this site until they are published.

An honest run

SUCISUCI, its nameRAND, AUTN, hashRAND, AUTNcheck AUTN ✓RES*check hash ✓RES*check RES* ✓key, identityAttackerPhoneServing networkHome network

The home network confirms, and gives the serving network the anchor key for the session and the identity of the phone.

A message sequence between a phone, the serving network and the home network, with a lane for an attacker. In an honest run the phone sends its hidden identity, the home network answers with a challenge and a token, the phone checks the token and answers, and both networks check the answer. In a second run an attacker replays an old challenge; the phone’s check of the token fails and the challenge is rejected. It is the public 5G-AKA procedure, simplified. It plays by itself and repeats. Press Space, or press on it, to pause or play; the arrow keys step it by hand.

Fig. 1. The 5G-AKA message exchange, simplified. A message that fails its check is rejected with ⊥.
How this works

This is the 5G-AKA procedure of the standard, 3GPP TS 33.501, with the detail taken out: each network is one box where the standard has several, and the key derivations are left out.

A check that passes is marked ✓. A check that fails is marked ⊥, and the message it was checking is rejected.

The second run shows the sequence number in the token at work: a challenge that was valid once is refused when it is sent again.

Demo1 of 6

  1. Accounts are made on the server, so the address shows nothing but a sign-in form.

  2. A standards document it has not seen is read in and split into sentences and normative statements. Nothing has been judged yet.

  3. Six stages run in order and report as they finish: ingest, glossary and statements, then the gate, the solver and the fixes.

  4. The gate’s card shows every verdict, and for each refused rule the step at which it stopped.

  5. Each property is listed with the answer the Z3 solver gave for it. The model proposes, and this is where the solver decides.

  6. One command asks for the evidence: the source sentence, its logical form, and the concrete assignment the solver found.

A recording of the real thing. Press Play to watch it. It plays at twice its speed.Recorded on November 24, 2026 from the platform running on its own code: one run of its offline engine on the text of the 5G security standard, 3GPP TS 33.501. Its numbers are blurred, because the results are not published yet, and the waits for two stages are shortened. Nothing else is edited.

The verification platform in use, from sign-in to the witness

Video, 52 seconds, played here at twice its speed, no sound. Recorded on November 24, 2026 from the platform running on its own code: one run of its offline engine on the text of the 5G security standard, 3GPP TS 33.501. Its numbers are blurred, because the results are not published yet, and the waits for two stages are shortened. Nothing else is edited.

Venue

Schreyer honors thesis, fall 2026. Supervisor: Prof. Mahfuza Farooque. One paper accepted at ICTAI 2026.

Problem

A language model can turn a security standard into formal rules, or an instruction into a motion plan, far faster than a person can. The output looks right whether or not it is. A solver cannot settle that alone: it proves things about the rule it was given, and the rule may not say what the standard says.

Approach

One rule runs through all three studies. The model proposes, and a checker that follows fixed rules decides. A fix is accepted only if the failure is gone and the useful behavior remains.

Security rules for 5G (RelVerif)

Does a proposed rule or fix establish the security property it claims, in a model of the protocol? Rules that a language model extracted from 3GPP TS 33.501 are treated as untrusted. Each one is written in a typed form linked to its source sentence and checked for form. Then Z3 searches a bounded model of 5G-AKA for an attack. A fix must remove the attack and still let an honest phone log in. Supported properties also compile to the Tamarin prover.

Accepted as a short paper at ICTAI 2026, written with Prof. Farooque. The artifact is public.

Does the rule still say what the standard says?

A rule can pass every solver check and still mean something different from the sentence it came from. This study compares source sentences with extracted rules from four standards: 3GPP TS 33.501 (Release 17, V17.5.0), NIST SP 800-63-4, NIST SP 800-63B-4 and OWASP ASVS 5.0.

A manuscript, being revised. Not published.

Robot plans

Does a generated motion plan avoid every obstacle and still finish its task? The plans are forward and turn commands for a robot in two dimensions. Z3 checks the whole path. When a plan fails, the point of first contact goes back to the model as the reason. This one is a team project. Two collaborators wrote the simulator and the verifier. I ran the language models through the scenarios, ran the check-and-repair experiments and did the analysis.

A paper under review.

My role

Thesis author. First author of the 5G paper.

Stack
  • Z3
  • Tamarin
  • Python
Scope and limits

None of this shows that a system built on these checks is correct. The 5G study covers one protocol and attacks that were already published. The robot study is a two-dimensional model with no physical robot. I am holding every number until the paper it belongs to is published. I am happy to discuss the drafts with faculty on request.