Barnes.Projects

Formal Methods/ Type Theory & Ontology/ Oct 2026

Invisible Coercions and Untyped Refinement: Why Formal Proofs and System Verification Need Explicit Layer Semantics

A coercion that Lean’s elaborator inserts and a refinement relation between a specification and its implementation have one thing in common. Each carries a claim from one structure into another, and neither says what kind of crossing it is or what survives it. This essay argues that the crossing should be an object with a type of its own.

Series: Layered Event Modelling & Formal Ontology
Target systems: Dependent Type Theory · Lean 4 · Formal Verification
Paper: Revised and extended in Typed Crossings (Zenodo, 2026). Please cite the paper.

Working Thesis

Informal mathematics lets one symbol stand for different operations on different structures, and a competent reader supplies the difference. A proof assistant and a verification proof cannot rely on that reader. Where a symbol, a predicate or a guarantee is carried across a boundary, whether it still means the same on the other side is a property of the map that carries it. The thesis is that this map should be declared and typed: by its kind, which fixes what a failure of the crossing consists in, and by what it preserves. Lean’s Mathlib does this wherever its cast automation works, and verification practice does it one property at a time. Layered Event Modelling states it as a general rule: type the edges, not only the nodes.

1. The Price of Syntactic Continuity

Mathematicians apply a single symbol or predicate — +, ≤, ≅, compact, regular, valid — to objects of quite different construction. On the blackboard this abuse of notation is a feature. It compresses the exposition, because a competent reader reconstructs which structure is meant.

A proof assistant such as Lean 4 (de Moura & Ullrich, 2021), Rocq or Isabelle/HOL has no such reader, and neither has the formal verification of a compiler, a kernel or a protocol. There the argument runs:

  1. Distinct structures may give one symbol different truth conditions. Subtraction on the natural numbers is not subtraction on the integers.
  2. Reusing the symbol is harmless exactly where its truth conditions are invariant under the map between the structures. Where they are not, the reuse conceals a shift.
  3. Which of the two holds is a property of the map and the operation together. It cannot be read off the symbol.
  4. Where the properties of the map are not declared, every proof and every verification claim that crosses the boundary must establish them again, case by case. Where they are declared, the crossing can be automated and its failure conditions can be stated.

Layered Event Modelling (LEM; Kreinz, 2026c) makes this argument for layered models of risk. It is a method paper: its six axioms are stipulations adopted for their consequences, not theorems. Four of them matter here. Every node belongs to exactly one layer (A1, node typing). A predicate is defined at a declared layer and may be reused at another only where its truth conditions and argument structure are demonstrably invariant (A2, predicate locality). Where nodes of different layers refer to the same thing, that co-reference is declared (A3). And every edge carries a declared type, which determines which properties, duration among them, are defined for it (A4).

LEM was worked out for cyber and operational risk, and it says of itself that its transfer to other domains is untested and would have to be argued, not read off a resemblance. This essay argues two cases: the handling of casts in Lean 4, and refinement proofs in system verification. In neither case is the claim that the field lacks the insight. Both fields apply it locally, and stating it as a rule about edges shows what the local solutions have in common.

2. The Coercion in Lean 4

A theorem prover based on dependent type theory enforces node typing (A1) by construction. Every term has a type. A natural number n : ℕ is not an integer; where an integer is wanted, the term is ↑n : ℤ, a different term of a different type.

To stay usable, Lean gives syntactic continuity back in two ways:

  • Typeclasses (Add, Sub, LE, OfNat): one symbol, and one operation per type.
  • Coercions (Coe and its relatives): where a term of type α stands in a place that expects β, the elaborator inserts a map ↑ : α → β.

Invisible in the Source, Placed by the Elaborator

The inserted map is not hidden from the kernel, and Lean’s goal display prints it as an arrow. What the author does not write, and so does not see in the source, is where the elaborator puts it. That placement decides what the expression means:

-- elaborated as ↑(2 - 3): subtract in ℕ, then cast example : ((2 - 3 : Nat) : Int) = 0 := rfl -- elaborated as ↑2 - ↑3: cast, then subtract in ℤ example : ((2 : Nat) - (3 : Nat) : Int) = -1 := rfl

Both lines use the same symbol -. On ℕ it is truncated subtraction, where a - b = 0 whenever a ≤ b. On ℤ it is the group operation. The two readings agree only under a side condition:

↑(a − b) = ↑a − ↑b    provided   b ≤ a

Lean’s library states this as Int.ofNat_sub, with the hypothesis in its signature. The cast from ℕ to ℤ commutes with addition and multiplication unconditionally, and with subtraction conditionally. Nothing in the symbol - or in the arrow says so.

Where the Library Typed the Edge

Mathlib’s answer shows the thesis at work. It records the properties of the crossing in two places.

  • Bundled morphisms. Beside the bare coercion, the library holds the same map as an object whose type says what it preserves. Nat.castRingHom is the cast as a homomorphism of semirings; an embedding α ↪ β is a map together with a proof that it is injective; an equivalence α ≃ β carries its inverse.
  • Cast lemmas. The tactics norm_cast and push_cast work from lemmas registered for the purpose and sorted into three kinds (Lewis & Madelaine, 2020). Move lemmas say that a cast may be moved across an operation, as in ↑(a + b) = ↑a + ↑b. Elim lemmas say that a relation between casts is a relation between the originals, as in ↑a ≤ ↑b ↔ a ≤ b. Squash lemmas collapse a chain of casts into one.

The automation reaches exactly as far as these registrations. Where a lemma is missing, the tactic stops, and the missing lemma is the undeclared property of the edge. Practice thus confirms the fourth premise in both directions: a declared crossing can be automated, and an undeclared one is re-established by hand.

What remains untyped is the coercion itself. An instance Coe α β says that a canonical map exists. It does not say what kind of map it is or what it preserves. That knowledge sits beside the map, lemma by lemma, in a database keyed on the operations.

Three Kinds of Crossing

The maps that cross levels of construction in formalised mathematics differ in what a failure of the crossing consists in.

  1. Embedding. ℕ ↪ ℤ, or a subtype {x : α // P x} ↪ α. The map is injective (x = y ↔ ↑x = ↑y) and the target extends the source. An operation fails to commute where the target gives it a wider meaning than the source could, as subtraction acquires negative results. The repair is a side condition under which the two readings agree.
  2. Quotient projection. α ↠ α / ~. The map is many-to-one: distinct objects fall into one class. A function on the source carries over only if it respects the relation. Here Lean does type the crossing. Quotient.lift takes the function together with a proof that it respects the relation, and without that proof there is no term.
  3. Representation. A bit vector for a number (BitVec 64 → ℕ), a floating-point value for a real, a Gödel number for a formula. The source stands for a referent in the target, and the referent sets the standard. Failure is misrepresentation: (x + y).toNat = (x.toNat + y.toNat) % 2^64, so the sum of two representations represents the sum only while nothing overflows.

The function alone does not tell the first kind from the third. The maps ℕ → ℤ and BitVec 64 → ℕ are both injective, and each commutes with some operation only under a condition. What differs is which side sets the standard. The source of an embedding is what it is, and the target adds to it. The source of a representation is correct or incorrect by reference to the target. That is why the kind has to be declared and cannot be inferred from the map. It is also why the kind alone is not enough. A typed crossing needs both: the kind, which says what a failure is, and the list of what is preserved, with the conditions under which the rest is.

LEM’s edge taxonomy has the same shape. It types edges by what would have to be true for the edge to fail. It has a representational type, whose failure is misrepresentation, and a classificatory type, which holds under a declared scheme and changes when the scheme changes, as a quotient class depends on the declared relation. The correspondence is offered as a parallel, not as an identity.

3. Refinement Proofs: What One Relation Does Not Say

The same question arises at a larger scale when a proof assistant is used to verify an operating-system kernel such as seL4 (Klein et al., 2009) or a compiler such as CompCert (Leroy, 2009). The standard method is refinement. An abstract specification and a concrete implementation are linked by a simulation relation R ⊆ S_impl × S_spec, such that every concrete step is matched by an abstract step, or by none (a stuttering step), and R is preserved (Abadi & Lamport, 1991).

What a refinement proof carries from the specification to the implementation is what the relation preserves, and no more. Properties of single executions carry over; that is the point of the method. Properties that compare executions do not in general. Clarkson and Schneider (2010) show that refinement, which never invalidates a property of single traces, can invalidate a hyperproperty such as noninterference: a system that satisfies a confidentiality policy can have a refinement that violates it. The security literature knows this as the refinement paradox.

The practice of the field confirms it one property at a time. The functional-correctness proof of seL4 has no notion of time and so makes no claim about timing channels; time protection had to be added as a mechanism of its own (Ge et al., 2019). The semantic preservation theorem of CompCert does not say that compiled code keeps the constant-time behaviour of its source; that took a modified compiler and a separate proof (Barthe et al., 2020). Each time a further property was carried across the same boundary, and each time it needed a preservation argument of its own. In the vocabulary of Section 2 these are move lemmas, registered one property at a time.

Where verified systems fail in use, the failures sit where this account expects them. Fonseca et al. (2017) examined three formally verified distributed systems and found sixteen bugs. None was in the verified protocols. They lay in what the proofs had to assume: the interface to unverified code, the specifications and the verification tools. The proofs were sound. What failed was the transfer of a predicate. “Verified” is established of a model, under stated assumptions and for a stated property, and is then said of the artefact. That is the reuse A2 restricts: a predicate carried to another layer without showing that its truth conditions hold there.

Five Structures Behind One Relation

LEM separates five structures that layered models tend to draw as one stack. They are not levels of one ladder. Each corresponds to a question that a refinement relation, taken alone, leaves open.

Structure In verification Kind of relation What a single refinement relation leaves undeclared
S1 · Substrate Hardware: registers, caches, memory cells, the machines that code runs on. Containment and physical locality. Effects propagate by physical mechanism. Causal paths that run through the substrate and are absent from the model. Spectre leaks through cache state that the instruction-set model does not contain, and leaves the modelled state untouched (Kocher et al., 2019). Rowhammer is different in kind: a fault that flips bits, and so changes the modelled state by a transition the model does not have (Kim et al., 2014). TLCTC classifies the first as #2 and the second as #8 (Kreinz, 2026a).
S2 · Event abstraction Operational semantics: small-step, big-step, service-level traces. Events ordered by the description under which they are individuated, and causal transitions between them, whose durations bound the windows for intervention. Big-step semantics relates initial states to final states. Intermediate states and durations are abstracted away, so an interleaving between two concrete steps of one abstract step cannot even be stated at the abstract level.
S3 · Representation Bytes in memory, the parsed syntax tree, the abstract value. Semantic correspondence. Failure is misrepresentation. A functional-correctness proof of a parser establishes correspondence: the tree represents the bytes. It is silent on provenance, and a verified parser parses a forged message correctly. Provenance is a different property with proofs of its own, such as authentication in protocol verification.
S4 · Epistemic access Observational equivalence and noninterference; runtime monitors and logs. Evidential: what an observation supports. What an observer can infer is a property of sets of executions, which refinement does not preserve in general. And an observation is produced by a process with a latency of its own, which is no part of the transition observed.
S5 · Normative Security policies, access-control rules, contracts, regulatory requirements. Deontic: an act or an omission stands as fulfilment or violation of a norm. Encoding a prohibition as an obligation to omit, Oblige(¬φ), keeps every verdict. The type of a norm then no longer says what an idle step means.

Two Lessons

A. A Refinement Relation Has No Duration, and a Consequence Chain Is Not a Refinement

On the mechanistic account of levels, relations between levels are constitutive and not causal. The higher-level state is realised by the lower-level states at the same time, and what looks like causation between levels is causation within a level together with constitution (Craver & Bechtel, 2007). A simulation relation is of this kind. It says which abstract state a concrete state amounts to or, for data, which abstract value some bytes represent. Nothing passes from the one to the other and no time elapses. In LEM’s terms such an edge has no Δt. The duration is undefined, not zero, because duration is a function on causal edges alone.

Two errors follow from reading every vertical arrow in this way.

The first lies inside verification. A step that is atomic in the specification may be realised by several concrete steps with time between them. In the abstract model that interval does not exist, so nothing can be said to happen in it. Time-of-check to time-of-use races and reentrancy have this form: the check and the use are one step above and two below, and the attack happens in between. Unless atomicity is itself proved of the implementation, the refinement is sound for the model and silent about the window.

The second lies in modelling consequences. In a risk model, the arrows from a system event to a data event to a business event also run upward, from a technical description to a business one. They are not refinement. In the TLCTC consequence chain (Kreinz, 2026a), malware alters a payment-generation process, a false payment instruction is generated, and funds are transferred. These are three events, not three descriptions of one. Time elapses between them, and payment screening can intervene between the second and the third. Drawn as levels of one stack, they invite the constitutive reading, and with it the window in which monitors and circuit-breaker controls act disappears from the model. LEM’s rule is that the type of an edge is determined per edge, by test, and not by which pair of layers the edge connects. The tests ask whether a non-zero interval between the two ends is coherent, and whether an intervention can break the edge without changing what its two ends are (Woodward, 2003).

B. Three Deontic Types in Policy Languages

Deontic logic can define a prohibition as an obligation to omit: Forbid(φ) ≡ Oblige(¬φ) (von Wright, 1951). The reduction is correct and costs nothing in expressive power. Every act and every omission receives the same verdict before and after it.

What the reduction gives up is a diagnostic property. Take the idle step: an omission, skip, the stuttering step of a refinement proof.

  • Under a prohibition, an idle step is fulfilment.
  • Under an obligation, an idle step is a violation, once the obligation is due.
  • Under a right, in the sense of a permission, it is neither. The right is simply not exercised.

With three types, the type of a norm settles the standing of an omission. With two it does not. Oblige(φ) and Oblige(¬φ) are both obligations, and the same idle step violates the one and fulfils the other. Only the content of the norm tells them apart. This is what LEM’s state-partition test (P4) asks of a vocabulary, and it is the reason the compliance ontology (Kreinz, 2026b) and LEM keep three types. The choice is a modelling convention, not a claim of logical irreducibility.

The qualification “once it is due” has a standard formal ground. A prohibition is a safety property: a violation shows in a finite prefix of the trace, because the forbidden act has occurred. An obligation without a deadline is a liveness property: no finite prefix violates it, because the act may still come (Alpern & Schneider, 1985). Only a deadline turns an obligation into something a monitor can find violated. The two types therefore differ in more than their verdict on an idle step. They are different kinds of trace property, and a policy language that keeps them apart keeps two kinds of check apart.

A note on the third type. The right meant here is a permission, which Hohfeld (1913) calls a privilege. It is not his claim-right, the correlative of another party’s duty. Whether a norm of any of the three types applies to a case at all is decided above them, by a meta-layer of authority, competence, enforceability and scope.

The link from a step of a trace to the norm it fulfils or violates is an edge of a type of its own, the normative edge. It is not classificatory: amending a counting rule changes what an event is counted as, while amending a norm changes what is required. And it carries no Δt. A deadline is not a duration on this edge. It bounds a separate causal process, which runs from the event that starts the clock to the act that discharges the duty.

4. Encoding Layered Event Semantics in Lean 4

The six axioms translate into dependent type theory with little friction. The block below is the minimal formalisation of LEM §11, a typed multigraph. Nodes are indexed by layer (A1). States and predicates are local to a layer (A2). Co-reference is a declared relation between nodes of different layers (A3). Edges form a type of their own with a type map (A4). Duration is a function on the causal edges alone (§6). The type-level stratum is a separate structure (A6). Directional openness (A5) is the absence of a constraint: nothing relates the layers of an edge’s source and target.

-- Minimal formalisation of Layered Event Modelling (Axioms A1–A6) in Lean 4 universe u v w /-- The five structures (LEM §4). -/ inductive StructureKind where | S1_Substrate : StructureKind | S2_Event : StructureKind | S3_Representation : StructureKind | S4_Epistemic : StructureKind | S5_Normative : StructureKind deriving DecidableEq, Repr /-- A layer is a level within one structure (§11). -/ structure Layer where struct : StructureKind level : Nat deriving DecidableEq, Repr /-- A1 (node typing). A node of layer `l`. The layer is part of the node's type, so nodes of two layers differ in type even where their carriers `V l` coincide. -/ structure Node (V : Layer → Type u) (l : Layer) where val : V l /-- The node set is the disjoint union over layers: every node lies in exactly one. -/ abbrev TotalNode (V : Layer → Type u) := Σ l : Layer, Node V l /-- States and predicates are kept apart (§11). Each node carries a state in the state space `St l` of its own layer. -/ def LayerState (V : Layer → Type u) (St : Layer → Type v) (l : Layer) := Node V l → St l /-- A2 (predicate locality). A domain predicate ranges over the nodes of one layer. -/ def LocalPredicate (V : Layer → Type u) (l : Layer) := Node V l → Prop /-- A relational predicate takes further arguments of a declared sort `A`, as retrievability does: retrievable by an agent. -/ def LocalRelation (V : Layer → Type u) (l : Layer) (A : Type v) := Node V l → A → Prop /-- A3 (explicit cross-layer identity). Co-reference is a declared relation between nodes of different layers. It is not an edge and carries no dynamics. -/ structure CrossLayerCoRef (V : Layer → Type u) where rel : TotalNode V → TotalNode V → Prop cross_layer : ∀ a b, rel a b → a.1 ≠ b.1 /-- The six edge types (§6). -/ inductive EdgeType where | causal : EdgeType -- brings about under intervention; alone carries Δt | constitutive : EdgeType -- synchronous realisation; nothing propagates | classificatory : EdgeType -- satisfies the criteria of a declared scheme | normative : EdgeType -- stands as fulfilment or violation of an S5 norm | representational : EdgeType -- corresponds to a referent; can misrepresent | evidential : EdgeType -- an observation supports an inference (S4) deriving DecidableEq, Repr /-- A4 (edge typing). Edges form a type of their own with source, target and type maps, so two edges of one type may join the same pair of nodes: a multigraph, not a relation. A5 (directional openness) is the absence of any constraint between the layers of `src` and `tgt`. -/ structure EventGraph (V : Layer → Type u) where Edge : Type w src : Edge → TotalNode V tgt : Edge → TotalNode V kind : Edge → EdgeType /-- The causal edges. -/ def EventGraph.CausalEdge {V : Layer → Type u} (G : EventGraph V) := { e : G.Edge // G.kind e = EdgeType.causal } /-- Δt is a function on the causal edges and on nothing else (§6, §11), with values in a type `Dur` of durations (the non-negative reals in LEM). Asking it of any other edge requires a proof that the edge is causal. -/ structure CausalDuration {V : Layer → Type u} (G : EventGraph V) (Dur : Type) where deltaT : G.CausalEdge → Dur /-- The three object-level elements of S5. They are kept distinct so that the type of a norm alone settles how an omission is evaluated: a diagnostic convention, not a claim of logical irreducibility. -/ inductive DeonticPrimitive where | right : DeonticPrimitive | obligation : DeonticPrimitive | prohibition : DeonticPrimitive deriving DecidableEq, Repr /-- A6 (stratum separation). Dependencies and the normative meta-layer form a separate type-level graph. `licenses` relates it to token-level edges; how that relation is to be constrained is left open (§11). -/ structure TypeLevelStratum (TV : Layer → Type u) {V : Layer → Type u} (G : EventGraph V) where dependsOn : TotalNode TV → TotalNode TV → Prop licenses : TotalNode TV → G.Edge → Prop

Three things follow from the types alone:

  1. No cross-layer application of a predicate (A2). If Compromised : LocalPredicate V l_SRE is declared at the layer of system risk events, applying it to a node d : Node V l_DRE at the layer of data risk events is a type error. The layer is part of the node’s type, so this holds even in a model whose two layers have the same carrier.
  2. No duration on a non-causal edge (§6). CausalDuration.deltaT takes a causal edge, which is an edge together with a proof that its type is causal. For a constitutive, classificatory or normative edge that proof does not exist, and a term that asks for its Δt is ill-typed.
  3. Duration belongs to the edge, not to the pair of nodes. Because edges are a type of their own, two causal edges between the same two nodes are two edges and may carry different durations.

The encoding does not decide the type of any edge. Types are declared by the modeller. The diagnostics by which LEM proposes to decide them are not formalised here, and LEM records that they have not yet been validated between raters. The checker guarantees that a declaration is used consistently, not that it is right.

The definitions are published as the Lean package lem-lean (Kreinz, 2026e), with negative tests for the first two points and machine-checked theorems for the third and for the deontic results of Section 3: with three types the type of a norm settles the standing of an omission (three_types_settle_omission), with two it does not (two_types_do_not_settle_omission), and the reduction leaves every verdict on the idle step unchanged (toNorm2_preserves_omission).

5. Proof Checkers and Learned Models

LEM closes with a conjecture (Note N6), marked there as not established. Evaluating a learned model by comparing its output with a reference takes place inside the representation structure: output and reference are both representations. Such evaluation can improve correspondence without reconstructing the path that produced the output.

Pairing a language model with a proof checker changes what is evaluated. The kernel does not compare the output with a reference. It checks every step of a derivation against the rules and accepts only a complete one. In LEM’s terms it checks a classificatory edge: this proof term satisfies these rules. That is a different operation from matching outputs, and it requires of the model an explicit, step-by-step certificate. What that certificate does and does not cover is the subject of the next essay (Kreinz, 2026d).

The argument of this essay also yields a prediction that existing benchmarks could test. Proof steps that cross a boundary — a cast, a change of representation, a step from operational semantics to an invariant — should be over-represented among the failures of automated provers, relative to steps inside one structure. Declaring the kind of the crossing and what it preserves should reduce them. No measurement is cited here; this is a prediction, not a finding.

The proposal is modest in its means. A boundary crossing, whether a cast, a simulation relation or the link from an act to a norm, becomes an object with a type: its kind, what it preserves, and under which conditions. What was carried by an overloaded word or an inserted cast becomes something that can be inspected and checked.


References

  1. Abadi, M., & Lamport, L. (1991). The existence of refinement mappings. Theoretical Computer Science, 82(2), 253–284.
  2. Alpern, B., & Schneider, F. B. (1985). Defining liveness. Information Processing Letters, 21(4), 181–185.
  3. Barthe, G., Blazy, S., Grégoire, B., Hutin, R., Laporte, V., Pichardie, D., & Trieu, A. (2020). Formal verification of a constant-time preserving C compiler. Proceedings of the ACM on Programming Languages, 4(POPL), Article 7. https://doi.org/10.1145/3371075
  4. Clarkson, M. R., & Schneider, F. B. (2010). Hyperproperties. Journal of Computer Security, 18(6), 1157–1210. https://doi.org/10.3233/JCS-2009-0393
  5. Craver, C. F., & Bechtel, W. (2007). Top-down causation without top-down causes. Biology and Philosophy, 22(4), 547–563.
  6. de Moura, L., & Ullrich, S. (2021). The Lean 4 theorem prover and programming language. In Automated Deduction – CADE 28 (LNAI 12699, pp. 625–635). Springer.
  7. Fonseca, P., Zhang, K., Wang, X., & Krishnamurthy, A. (2017). An empirical study on the correctness of formally verified distributed systems. In Proceedings of the Twelfth European Conference on Computer Systems (EuroSys ’17) (pp. 328–343). ACM. https://doi.org/10.1145/3064176.3064183
  8. Ge, Q., Yarom, Y., Chothia, T., & Heiser, G. (2019). Time protection: The missing OS abstraction. In Proceedings of the Fourteenth EuroSys Conference (EuroSys ’19). ACM.
  9. Hohfeld, W. N. (1913). Some fundamental legal conceptions as applied in judicial reasoning. Yale Law Journal, 23(1), 16–59.
  10. Kim, Y., Daly, R., Kim, J., Fallin, C., Lee, J. H., Lee, D., Wilkerson, C., Lai, K., & Mutlu, O. (2014). Flipping bits in memory without accessing them: An experimental study of DRAM disturbance errors. In Proceedings of the 41st Annual International Symposium on Computer Architecture (ISCA ’14) (pp. 361–372). IEEE.
  11. Klein, G., Elphinstone, K., Heiser, G., Andronick, J., Cock, D., Derrin, P., Elkaduwe, D., Engelhardt, K., Kolanski, R., Norrish, M., Sewell, T., Tuch, H., & Winwood, S. (2009). seL4: Formal verification of an OS kernel. In Proceedings of the 22nd ACM Symposium on Operating Systems Principles (SOSP ’09) (pp. 207–220). ACM.
  12. Kocher, P., Horn, J., Fogh, A., Genkin, D., Gruss, D., Haas, W., Hamburg, M., Lipp, M., Mangard, S., Prescher, T., Schwarz, M., & Yarom, Y. (2019). Spectre attacks: Exploiting speculative execution. In 2019 IEEE Symposium on Security and Privacy (pp. 1–19). IEEE.
  13. Kreinz, B. (2026a). A Cause-Oriented Cyber Threat Taxonomy: The Top Level Cyber Threat Clusters Framework (v2.7). Zenodo. https://doi.org/10.5281/zenodo.20633176 · https://www.tlctc.net
  14. Kreinz, B. (2026b). Rechte, Pflichten, Verbote: Compliance als Ontologieproblem. Barnes Projects. https://www.barnes.ch/BP-Compliance-Ontologie.html
  15. Kreinz, B. (2026c). Layered Event Modelling: Semantic Separation as a Precondition for Explicit Causal Analysis (Version 1.0). Zenodo. https://doi.org/10.5281/zenodo.23438101 · https://www.tlctc.net/tlctc-layered-event-modelling.html
  16. Kreinz, B. (2026d). Where Does a Model Reason? Five Layers, Three Edges, and What a Proof Kernel Certifies. Barnes Projects. https://www.barnes.ch/BP-Where-Does-A-Model-Reason.html
  17. Kreinz, B. (2026e). lem-lean: Layered Event Modelling in Lean 4 [Software]. https://github.com/Barnes70/lem-lean
  18. Leroy, X. (2009). Formal verification of a realistic compiler. Communications of the ACM, 52(7), 107–115.
  19. Lewis, R. Y., & Madelaine, P.-N. (2020). Simplifying casts and coercions. arXiv:2001.10594. https://arxiv.org/abs/2001.10594
  20. von Wright, G. H. (1951). Deontic logic. Mind, 60(237), 1–15.
  21. Woodward, J. (2003). Making Things Happen: A Theory of Causal Explanation. Oxford University Press.