eFLINT
A language for norms as duties, acts and facts, in the tradition of Hohfeld's legal relations, with an executable reference interpreter.
What it is
eFLINT is an open-source language for executable norm specifications, introduced at GPCE 2020 and developed on GitLab by the eFLINT project, to formalise norms so that they can be executed and explored. A specification declares facts, acts and duties; duties have a holder and a claimant, and conditions say when they hold. The reference implementation is open source under the BSD 3-Clause licence.
Good for
- Exploring the legal relations between parties: who owes what to whom.
- Simulating scenarios in the eFLINT interpreter.
- Research and prototypes in normative reasoning.
What an extraction gives you
Each obligation is a Duty with its holder and claimant and a Holds when clause for its conditions; parties and conditions are declared as facts, and every norm is preceded by a comment with its provision and source quote.
The download
One file, eflint.eflint: an eFLINT specification in plain text. The disclaimer and the fidelity summary are // comments at the top of the file.
How norms appear
The graph and the file name each part of a norm in eFLINT's own terms.
| In the act | In eFLINT |
|---|---|
| A party the norm addresses | Actor |
| Obligation | Duty |
| Permission | Act |
| Prohibition | Act (forbidden) |
| What the party does | Act |
| Condition | Fact (holds when) |
| Exception | holds when not |
| Precedence over another norm | overrides |
// Parties
Fact financial-entity // Financial entity
Fact relevant-competent-authority // Relevant competent authority
Fact public-authority // claimant where the text names none
// Conditions
// dora.art19.1.c1, Art. 19(1): "Financial entities shall report major ICT-related incidents"
Fact an-ict-related-incident-is-classified-as-major
// dora.art5.1, Art. 5(1), obligation: "Financial entities shall have in place an internal governance and control framework that ensures an effective and prudent management of ICT risk"
Duty have-in-place-an-internal-governance-and
Holder financial-entity
Claimant public-authority
// dora.art19.1, Art. 19(1), obligation: "Financial entities shall report major ICT-related incidents to the relevant competent authority"
Duty report-the-incident-to-the-relevant-competent
Holder financial-entity
Claimant relevant-competent-authority
Holds when an-ict-related-incident-is-classified-as-majorOn the extraction's page
- Graph
- The norms as a 2D or 3D graph in eFLINT's vocabulary, each traced to its source quote.
- Source
- The eFLINT file with its validation result, to read and download.
- Fidelity
- How fully each norm is expressed in eFLINT, and which checks ran.
How it is checked
- Every source quote is verified against the act.
- NormEngineer's structural validator checks the eFLINT file of every extraction.
- NormEngineer does not check extractions with the eFLINT reference interpreter.
The Fidelity tab of each extraction says which checks ran on it. An extraction is AI-generated and not legal advice.
How fully it expresses a norm
Duties with one holder and one claimant, acts, conditions and exceptions are in eFLINT's own declarations.
What eFLINT does not express fully
- Partly expressed
Only one bearer is encoded; the alternative bearers are named in a comment.
When the act lets any one of several parties bear the norm.
- Partly expressed
Only the first addressee is encoded; the others are named in a comment.
When the norm is directed at more than one party.
- Partly expressed
The act names no party this duty is owed to, but the DSL requires one: a stand-in party fills the place.
When an obligation names no party it is owed to: a declared public authority is the claimant.
- Partly expressed
Its precedence over another norm is stated in a comment only.
When a norm takes precedence over another.
- Partly expressed
The DSL has no deadlines: the deadline is only in the source quote.
When a norm has a deadline.
Each extraction's fidelity report counts the norms each of these applies to.