jhana
← The Docket

Suit: The Ontological Layer for Law

Why legal AI needs structure, not just language. How Suit turns messy files into computable legal objects.

Headnote

An ontology teaches a system the structure of a domain. Suit reconstructs the internal structure of a legal matter from messy, real-world inputs: parties, filings, dates, events, and relationships. This turns legal work from text processing into computation.

Ontologies in professional work

An ontology is a way of teaching a system what the world looks like in structure. Instead of treating everything as text, it defines the kinds of things that exist in a domain, the properties they have, and the relationships and constraints that govern how they connect.

Most lawyers already work with ontologies without calling them that. A lawyer who opens a case file maps what is in it onto a mental model: parties, claims, elements, defenses, evidence, dates, and procedural posture. A piece of evidence supports specific assertions and is subject to admissibility rules. A deadline constrains what actions are legally possible.

The same is true of other structured professions. A chartered accountant looks at a spreadsheet and sees transactions, accounts, periods, and compliance thresholds. The work consists of applying rules to a known structure.

Key Takeaway

Once this structure exists, reasoning becomes mechanical. A query that was a vague search through text becomes a traversal over known objects and relationships. An action that was free-form becomes a state change that must satisfy explicit rules.

Ontologies turn professional judgment into something systems can operate on. They make it possible to ask precise questions, enforce consistency, and verify that outputs respect how the world is allowed to work.

Law breaks without structure

Law looks textual, but it does not behave like text. Courts evaluate a filing by whether it meets formal requirements, however well it reads. Elements must be pleaded, limitation respected, and deadlines calculated correctly, and each authority must support the proposition it is cited for. Miss any one of these and the work fails, however persuasive the writing sounds.

The Structural Gap
This is where document-first legal systems break down. A system that treats everything as text cannot tell whether a claim is time-barred, whether an element is unsupported, or whether a procedural step is even available at that stage. It can retrieve, summarize, and draft, but it cannot check, and a system that cannot check cannot be trusted with work that has real legal consequences.

Lawyers compensate for this manually. They carry limitation periods, triggers, exclusions, and tolling rules in their heads and constantly verify against them. That is slow, error-prone, and expensive, and it does not scale. The absence of an explicit ontology is why legal software stalls at assistance instead of becoming infrastructure.

An ontology makes legal work computable. It gives the system something to reason over besides raw text, and without it every downstream capability remains fragile.

Suit in jhana

Suit is jhana's document-intelligence engine, but that description undersells what it does. Beyond reading documents, Suit reconstructs the internal structure of a legal matter from messy, real-world inputs.

A typical matter file is chaotic: multiple pleadings, annexures spanning hundreds of pages, scanned exhibits, handwritten notes, overlapping dates, and repeated facts stated differently across documents. Suit ingests all of this and imposes order. It extracts parties, filings, dates, events, and references, builds indices so lawyers can navigate the bundle, and constructs timelines so procedural history is explicit.

It also generates comparative tables and compliance matrices. Unlike summaries, these mappings line up facts across documents, align obligations against statutory requirements, and show what is present and what is missing.

Legal Objects in Suit's Ontology
Parties
Roles that remain consistent
Filings
Procedural effects & links
Dates
Limitation clocks & constraints
Evidence
Admissibility & support
Claims
Elements & defenses
Events
Timeline & causation

In all of this, Suit is already doing ontology-adjacent work: it identifies entities, relationships, and constraints implicitly. The opportunity is to make that explicit and canonical, so the structure Suit infers becomes the shared source of truth for the matter.

Key Takeaway

Once that happens, Suit stops being a preprocessing step and becomes the layer that defines what the matter is for the rest of the system.

From extracted structure to a formal ontology

Extracting structure is the first step. The shift comes when that structure becomes the authoritative model of the matter.

Suit reaches this by treating a bundle as one connected system instead of a collection of files. It reads documents, reasons over individual pages, searches across text, and builds relationships between documents, events, and entities inferred from the material. Each document is understood in context: it is linked to the filings it belongs to and the events it references, and it carries its procedural role in the matter.

How the information is represented counts for more than how it is accessed. A party is more than a name appearing in multiple documents; it has a role that remains consistent across the bundle. A filing triggers procedural effects and links to annexures, evidence, and orders. A date starts or stops a limitation clock and constrains what actions are legally permissible.

Because Suit connects every document into a shared representation, its timelines, limitation calculations, compliance tables, and summaries are all views over the same underlying model. When new material is added, that model updates and the entire bundle remains coherent.

This is what makes Suit an ontology for the law. It encodes legal objects, relationships, and constraints so that systems can reason over the state of a matter as well as read its documents.

Formal proof verification for the law

Drafting is the visible part of legal work, and verification is the part that decides the outcome. Most legal failures have nothing to do with style. They happen because a formal requirement is not met: an element is missing, limitation is miscalculated, or an authority does not support the proposition it is cited for. These are structural failures, independent of judgment.

Formal proof verification for law means checking whether a structured legal object satisfies the constraints imposed by the legal system. The proof in question is the kind courts apply, which differs from the mathematical kind: whether the required predicates have been met, and whether each step can be justified.

Feature: Legal Verifiers

A legal verifier operates over Suit's structured representation. It checks, for a given jurisdiction and posture, whether required elements exist, whether evidence is linked and admissible, whether dates comply with limitation and procedure, and whether citations are controlling. The output is a pass, a fail, or a flagged risk, each with traceable reasons.

This requires only structure and rules. Once legal work is represented ontologically, verification becomes mechanical, repeatable, and auditable, without relying on human preference. Suit provides the substrate, and the verifiers provide the guarantees.

Test-time verification and legal reasoning

Legal reasoning takes more than one pass. Lawyers explore multiple paths, test them against rules, and discard what fails. Modern AI systems that use test-time verification follow the same pattern.

Instead of producing a single answer, the system generates multiple candidate structures over Suit's structured representation of the matter: different issue framings, different element mappings, and different ways of connecting facts, evidence, and authority. Verifiers then score each candidate against explicit legal constraints and select the ones that survive.

Test-Time Verification Flow
1. Generate

Multiple candidate structures over Suit's representation

2. Verify

Score each candidate against explicit legal constraints

3. Select

Choose the structures that survive verification

This approach changes the economics of quality. Smaller models become effective because weak branches are filtered out, and accuracy improves through selection as well as generation. Law is particularly well suited to this regime because latency is secondary and failure conditions are formal and well defined.

Key Takeaway

Quality is no longer tied to a single draft. It emerges from comparison and rejection, the same way lawyers reason under pressure.

jhana as legal infrastructure

This framing turns jhana into legal infrastructure, beyond a drafting or legal research tool. Suit becomes the structured representation of a matter, Search supplies authoritative legal constraints, and verifiers continuously check completeness, limitation, and support. Every output is grounded in an explicit model of legal state.

The Result

The work can be inspected and trusted. Quality is explicit, risk is surfaced early, and the matter's structure replaces its text as the source of truth.

This is how legal systems move from assistance to reliability, and why Suit sits at the center of that shift.

Learn More
Explore Suit—Upload any file, never lose a detail. Any format. Any volume. Total fidelity.