Policy
Challenges
- Policy intent must become precise operational criteria and decision steps.
- Eligibility thresholds interact with exceptions, evidence, and appeal routes.
- Small wording changes can produce broad downstream implementation effects.
- Stakeholders need explanations that connect outcomes back to approved policy.
Problems We Solve
- Policy Representation Structure definitions, criteria, exceptions, and dependencies.
- Eligibility Validation Check decisions against explicit qualifying conditions.
- Impact Simulation Compare representative outcomes before policy changes.
- Consistency Checking Find gaps between policy intent and operating rules.
- Decision Explanation Present a traceable path from inputs to outcome.
Domain portfolio
Application patterns
Compare two formal-assurance approaches, then explore the domain workflows as interactive state machines.
01 Public-benefit eligibility determination workbench Explore pattern
System/use case
Operational setting
Decision/claim boundary
Candidate checked statements
Illustrative controlled-English propositions for a future program setup could include:
- “For every applicant, if the qualifying threshold is met and required residency evidence is verified, the applicant is eligible for substantive review.”
- “If a mandatory evidence item is missing, the case requires evidence follow-up rather than an eligibility denial.”
- “Every adverse preliminary outcome has an available supervisor-review route.”
These are examples of candidate statements, not claims that current setups implement these predicates or that any applicant satisfies them.
Example architecture
Where verified readback fits
Potential benefits
Limits/adoption considerations
02 Policy-to-operations rule traceability service Explore pattern
System/use case
Operational setting
Decision/claim boundary
Candidate checked statements
Possible illustrative candidates are:
- “If an application enters the exceptional-circumstances route, standard automatic disposition is inhibited.”
- “Every operational eligibility rule must reference an approved policy criterion.”
- “If a policy criterion changes, each dependent form question and decision step requires owner review.”
Example architecture
Where verified readback fits
Potential benefits
Limits/adoption considerations
03 Proposed-policy scenario and distributional-review sandbox Explore pattern
System/use case
Operational setting
Decision/claim boundary
Candidate checked statements
Illustrative candidates include:
- “Under option B, every household meeting the revised threshold enters the qualifying cohort unless an approved exclusion applies.”
- “If a representative case qualifies under the baseline but not the proposal, that case is classified as a transition loss.”
- “Every scenario with an unresolved exception requires qualitative policy review.”
Example architecture
Where verified readback fits
Potential benefits
Limits/adoption considerations
04 Appeals, reconsideration, and decision-explanation quality service Explore pattern
System/use case
Operational setting
Decision/claim boundary
Candidate checked statements
Future controlled vocabularies might support candidates such as:
- “If the only unmet condition is supported by evidence under review, the case remains pending rather than finally adverse.”
- “Every adverse decision explanation identifies the applicable criterion and the recorded case finding.”
- “If a reviewer overturns the original classification, the case requires a revised notice and decision record.”
Example architecture
Where verified readback fits
Potential benefits
Limits/adoption considerations
Applicability frame
MLTTDB can support policy assurance when an approved policy has been translated into proof-assistant row types, tables, and propositions. Agda, Lean, or Rocq source owns that semantic model. The SQLite store owns ordered source-language rows, UUIDs, projections, language metadata, and stored table definitions; it can start verification, but the proof assistant performs the semantic check. Agda currently supports finite lookup of known UUID rows subject to declaration and dependency rules. Current Lean and Rocq preprocessors do not support that lookup. Consultation, source-data stewardship, identity and access, case workflow, evidence assessment, system reconciliation, operational decisions, runtime enforcement, provenance, and formalization governance must be supplied by surrounding components.
Current data mode checks fetched rows as separate definitions; it does not expose a table to application proofs as an enumerable, first-class collection. Whenever an example below claims whole-snapshot coverage, uniqueness, graph acyclicity, or aggregate impact, the architecture therefore assumes either a finite domain declared in proof source or an external snapshot compiler that emits a reconciled aggregate manifest/certificate term. The proof assistant checks that aggregate term, while external reconciliation establishes that it represents the table export supplied for policy review.
01 Public-benefit eligibility operations assurance Explore pattern
Operational context
Why MLTTDB fits
Unknown or disputed inputs lead to referral rather than being treated as false. Separating source declarations from stored scenarios also supports regression when a threshold or exception changes.Example architecture
case system -> worker-confirmed findings -> minimal case projection adapter
policy instrument -> accountable formalization -> model repository
projection -> MLTTDB -> Agda/Lean/Rocq check -> supervisor queue -> case workflow
The case platform retains personal data, evidence, correspondence, and final authority. A privacy-minimizing adapter maps reviewed findings to the formal vocabulary and writes source-language rows. CI or the store launches the verifier against a pinned model. A result translator presents failed proof obligations and model assumptions to a supervisor. Only the external case workflow records approval, produces notice content, triggers payment, and manages reconsideration or appeal.
Representative typed artifacts
policyVersions :T: PolicyVersion, householdScenarios :T: HouseholdScenario, and decisionProposals :T: DecisionProposal. Types distinguish Submitted, Verified, Disputed, and Unavailable evidence and use an explicit ThreeWay result such as Qualifies, DoesNotQualify, or NeedsReview. Threshold values carry unit, household basis, period, and effective interval. A proposition such as supportedDecision connects only confirmed modeled findings to a proposed reason path. In Agda, proposals may look up earlier policy-version rows by UUID; portable models should avoid assuming the same capability in Lean or Rocq.Checks and evidence
Potential benefits
Deployment boundary
02 Grant-program award-criteria validation Explore pattern
Operational context
Why MLTTDB fits
Example architecture
approved scheme -> policy-to-model review -> versioned proof model
grant platform configuration -> configuration exporter -> MLTTDB assurance database
assessor packets -> batch verification -> exception dashboard -> panel secretariat
The proof model is developed and approved before program configuration. An exporter renders the actual grant-platform configuration and selected de-identified assessor packets into typed source terms, rather than maintaining an unconnected duplicate. A batch service fetches the ordered tables and runs proof-assistant validation. The exception dashboard groups failures by criterion or model proposition. The secretariat resolves discrepancies in the authoritative grants system and records panel and delegated decisions there.
Representative typed artifacts
programCalls :T: ProgramCall, rubricDefinitions :T: RubricDefinition, assessmentPackets :T: AssessmentPacket, and delegations :T: Delegation. A Criterion records whether it is gateway, scored, tie-break, or advisory, plus evidence requirement and effective call. AssessmentPacket distinguishes raw assessor judgments from moderated values and the panel recommendation. A GrantConfigurationManifest aggregate term, reconciled to the platform export, enumerates the questions, reason codes, rubric criteria, and delegations used for whole-configuration checks. Propositions can then check that weights belong to the approved rubric, all mandatory dimensions represented in the manifest have dispositions, conflicted assessors do not supply counted scores, and the proposed approving role has sufficient delegation. Cross-row lookup can be concise in Agda; other backends need generated or embedded associations.Checks and evidence
Potential benefits
Deployment boundary
03 Permit and licence decision-table preflight Explore pattern
Operational context
Why MLTTDB fits
Example architecture
policy and authority sources -> multidisciplinary rule workshop -> proof model
online portal/case system -> reconciliation adapter -> MLTTDB typed projection
officer preflight -> proof-assistant result -> reasoned human decision -> register
Policy, legal, operational, and subject-matter specialists jointly approve the model. The portal and case system remain authoritative for applications, evidence, fees, consultations, and correspondence. A reconciliation adapter creates a minimal projection with source revision identifiers. Verification may be initiated from the officer workbench through store orchestration, but semantic errors come from Agda, Lean, or Rocq. A decision service blocks release only according to separately approved workflow policy and records the officer’s independent disposition in the authoritative register.
Representative typed artifacts
licenceClasses :T: LicenceClass, decisionProfiles :T: DecisionProfile, applicationProjections :T: ApplicationProjection, and conditionSets :T: ConditionSet. EvidenceStatus distinguishes received, validated, disputed, waived-with-authority, and expired. DecisionProfile associates mandatory findings and consultation paths with one effective policy version. A PermitConfigurationManifest aggregate term, built from and reconciled to the portal configuration export, enumerates routes, classes, evidence and reason codes, delegations, and condition templates. Decision procedures may compute proofs or counterexample data, but presenting that data requires a project-owned evaluator and result encoder; store-owned row evaluation is currently Agda-only. An Agda implementation can refer to earlier class and condition rows via literal UUID lookups; Lean/Rocq preprocessors require ordinary generated associations.Checks and evidence
Potential benefits
Deployment boundary
04 Policy-change impact and regression laboratory Explore pattern
Operational context
Why MLTTDB fits
NeedsReview handling. Running the same UUID-addressed scenarios against both branches yields a precise semantic regression set. This complements, rather than replaces, economic models and qualitative policy analysis.Example architecture
research and consultation -> policy hypotheses -> current/candidate model branches
governed scenarios + declared paths/witnesses -> MLTTDB -> dual verification runs
checked declarations -> project-owned comparator -> impact review portal and teams
A scenario governance group approves synthetic archetypes, boundary cases, and any privacy-protected samples. Model authors encode proposals with traceable links to policy design decisions. For portability, each branch-specific scenario declaration carries a declared PolicyPath and a witness under that branch’s decision relation. A runner validates those declarations; a project-owned comparator then groups changed, unchanged, newly indeterminate, and invalid declarations and links them to assumptions. It does not treat generic validation output as a computed classification API. Costing, distributional analysis, operational design, and consultation use those findings as one input and remain separate systems and disciplines.
Representative typed artifacts
scenarioCohorts :T: ScenarioCohort, policyScenarios :T: PolicyScenario, and expectedTransitions :T: ExpectedTransition. A scenario records units, time basis, evidence status, and explicitly bounded characteristics, never a loose map of fields. Each ExpectedTransition names a model branch, declares an algebraic PolicyPath and modeled reasons, and carries a witness that the branch’s decision relation admits that path. Propositions check total handling of the selected finite domain, transition-rule applicability, and preservation requirements identified by policy owners. In Agda, earlier-table UUID lookups can share cohort definitions; for backend portability, scenarios can be generated as self-contained terms.Checks and evidence
Potential benefits
Deployment boundary
These read-only, pan-and-zoom models expose three abstraction levels for each workflow. They are explanatory examples, not live operational or decision systems.
Emergency relief delivery
About this workflow
This example represents delivery of time-critical public assistance after a disaster or emergency while preserving eligibility, authorization, delivery, and reconciliation controls. It recognizes the central operational tension: a program must act quickly enough to meet immediate safety and subsistence needs, yet still prevent duplicate, diverted, or unsupported payments and retain a reviewable explanation of who received what assistance.
The workflow starts by capturing the immediate need and contact details and assigning a traceable relief case. Urgency triage evaluates safety and the time available to act, then selects standard or expedited handling under published criteria. Standard cases proceed through event, location, and household verification. Missing evidence can return the request to intake for completion. In an expedited case, emergency evidence exceptions are documented and authorization may occur before the normal evidentiary package is complete; expedited handling changes the sequence, not the obligation to account for the decision.
Authorization calculates the permitted assistance package and approves the delivery channel and its controls. Delivery dispatches funds, goods, or services and confirms recipient access. A failed, duplicate, or diverted delivery opens an exception and protects remaining value while staff investigate. A corrected exception can resume delivery, while a conflict in entitlement, amount, or channel returns for reauthorization. Confirmed delivery advances to reconciliation, where the case team compares authorization with delivery records and publishes a reviewable outcome. A later reconciliation gap reopens the exception rather than being written off as administratively complete.
These controls matter because emergency conditions weaken ordinary evidence sources, displace households, create urgency, and attract fraud attempts at the same time. A traceable case identifier and explicit expedited criteria support equitable triage. Bounded authorization and delivery controls limit loss without delaying every case. Reconciliation allows the program to act on provisional evidence while preserving accountability to affected people, program managers, finance teams, and public auditors.
Layer 1 — Emergency relief lifecycle
Layer 2 — Relief case operations
Layer 3 — Relief checks and actions
Housing assistance determination
About this workflow
This example represents a public housing-support determination from application through evidence review, eligibility decision, payment authorization, renewal, material-change review, denial, and appeal. It treats eligibility as a reasoned case decision rather than a single income comparison: household composition, residence, housing cost, need thresholds, evidence rules, exceptions, and the applicable policy period all contribute to the outcome.
The workflow starts by registering the household application and issuing clear evidence and consent requirements. Case staff verify household, residence, and cost records and resolve omissions or inconsistent declarations. Incomplete evidence returns to intake so the applicant can respond instead of producing an unexplained adverse decision. Once the record is complete, the eligibility decision applies income and need thresholds, records any authorized exception, and produces an explanation tied to the relied-upon criteria.
An eligible household moves to active assistance, where the payment schedule is authorized and renewal and change-reporting obligations are monitored. A household that does not meet the criteria receives reasons and an open reconsideration window. A timely appeal assembles the original decision record and routes new evidence to independent review; review can uphold the denial or reverse it and activate assistance. Active cases are not assumed to remain static. A reported material change pauses payments only under the applicable rule and triggers review. Cleared changes restore assistance, disqualifying changes produce a reasoned denial, and scheduled renewals return the case to evidence review.
These controls matter because small factual or policy differences can affect access to essential housing support. Clear evidence requests reduce avoidable attrition, a recorded rule path supports consistent decisions across caseworkers, and independent appeal prevents the original conclusion from becoming self-validating. Renewal and change controls protect public funds while ensuring that suspension or denial follows an authorized process and remains explainable to the household, supervisors, auditors, and review bodies.
Layer 1 — Housing assistance lifecycle
Layer 2 — Eligibility case operations
Layer 3 — Decision checks and actions
Public grant administration
About this workflow
This example represents a competitive public-grant program from publication of the funding opportunity through eligibility screening, merit assessment, award, performance monitoring, remediation, and closeout. It connects the approved policy objectives and assessment criteria to award decisions, milestone payments, outcome evidence, expenditure review, and the retained public record.
The workflow begins when the authority publishes objectives, thresholds, exclusions, submission rules, and a controlled clarification record. After the submission window closes, applications are screened for timeliness and applicant eligibility. Curable defects return through the published clarification or correction route; non-curable conditions are recorded consistently. Eligible proposals proceed to assessment against the approved criteria, with conflicts of interest and moderation evidence captured. An inconsistency can reopen screening rather than allowing an unreliable score to advance.
An approved proposal becomes an active award with executed conditions and funding released only against authorized milestones. Monitoring reviews outcome and expenditure evidence and applies defined variance and change-control thresholds. Completed milestones and satisfactory final records permit closeout. Non-performance, an award-condition breach, or a closeout gap enters remediation. The response may be a corrective plan followed by renewed monitoring, reissued award terms, suspension, or recovery action. Even a nominally closed grant can reopen if final financial or outcome evidence does not support closure.
These controls matter because public funding decisions must be fair, consistent, and demonstrably connected to published purposes. Controlled clarifications avoid giving one applicant an informational advantage. Eligibility screening and conflict management protect the integrity of competition, while moderated scoring makes judgment reviewable without pretending it is mechanical. Milestone controls, documented variations, and remediation protect public money and program outcomes. A retained decision and audit trail supports applicants, oversight bodies, auditors, and the public in understanding both selection and post-award stewardship.