806 Event Data Recorders: \(\Phi ^{-1}\) in the Courtroom

The preceding structure is not confined to origin questions. It appears wherever a cause is inferred from a record, and it carries legal consequence. Automotive event data recorders (EDRs) furnish a case in which liability is assigned on the strength of an inverse that does not exist.

806.0.1 The Inference

In unintended-acceleration disputes the EDR typically reports full throttle and no brake application. The inference drawn is

\begin{equation} \boxed { \frac {\text {driver error} \to \text {EDR: throttle }100\%, \qquad \text {EDR: throttle }100\%} {\therefore \ \text {driver error}} \qquad \text {\ding {55}}} \tag{27433}\end{equation}

which is affirming the consequent (Section 805.1).

806.0.2 Hypotheses Yielding the Same Record

# Hypothesis Mechanism
1 driver error pedal actually depressed
2 sensor fault pedal-position sensor misreads
3 ECU malfunction throttle opens uncommanded; EDR logs throttle state as input
4 timing offset misalignment within the buffer window
5 electromagnetic interference transient signal corruption
6 vacuum loss brake pressed but assist absent, logged as no braking
7 software state cruise or regenerative mode read as pedal signal
8 impact corruption the collision itself disturbs the final record
9 trigger definition the choice of \(t = 0\) shifts what is captured

All nine produce the same \(D\). Since \(P(D \mid H_i) \approx 1\) for each,

\begin{equation} P(H_i \mid D) \;\approx \; P(H_i) , \tag{27434}\end{equation}
and the record moves the posterior nowhere. Liability then tracks whichever prior was brought to the case.
806.0.3 Two Additional Obstructions

The window is a partition. An EDR retains roughly five seconds. If the malfunction began earlier,

\begin{equation} \text {events before } t_{-5} \in U \;\Longrightarrow \; \text {inaccessible to } O , \tag{27435}\end{equation}
so the causal interval lies outside the record by construction. What is recovered is a projection, and the projection discards precisely the interval in question.

The instrument is the defendant. The EDR is written by the control system whose malfunction is at issue:

\begin{align} \text {hypothesis: ECU malfunctioned} &\;\Longrightarrow \; \text {its log is not trustworthy}, \tag{27436}\\ \text {assumption: the log is trustworthy} &\;\Longrightarrow \; \text {the malfunction hypothesis is excluded}. \tag{27437}\end{align}
\begin{equation} \boxed {\text {the test instrument is the object under test.}} \tag{27438}\end{equation}

This is the self-measurement circle of Section 27: no measurement escapes \(T\), and here the measuring apparatus lies inside the very subsystem whose behaviour is in question. Admitting the record as decisive presupposes the conclusion.

806.0.4 Structural Summary
\begin{equation} \Phi : \{\text {causes}\} \longrightarrow \text {EDR record} \quad \text {many-to-one} \;\Longrightarrow \; \Phi ^{-1}\ \text {DNE} . \tag{27439}\end{equation}

Assumed in practice Actual status
record determines cause \(\Phi \) many-to-one
absence of fault code \(=\) absence of fault only forward inference valid
five seconds suffice causal interval may lie in \(U\)
log is neutral evidence log is produced by the accused system

806.1 Software Faults Leave No Trace: \(\Phi \) is Partial

The EDR case assumed that a fault, if present, could in principle be established. For software this fails at a deeper level: the map from fault to detectable evidence is not merely non-invertible but partial. A large class of faults leaves no image at all, and whether a given program has the relevant property is undecidable.

806.1.1 Absence of Trace is the Normal Case
\begin{align} \text {hardware fault} &\;\Longrightarrow \; \text {physical trace} \quad (\text {burn marks, cracks, corrosion}), \tag{27440}\\ \text {software fault} &\;\Longrightarrow \; \text {no trace}. \tag{27441}\end{align}

Execution state does not persist. After the event,

\begin{equation} \text {correct code} \;\equiv \; \text {code that has just failed} \qquad \text {(under static inspection)} . \tag{27442}\end{equation}

The following classes are irreproducible in principle:

# Class Condition for occurrence
1 race condition nanosecond-scale timing coincidence
2 heap corruption one particular memory layout
3 integer overflow one accumulated value
4 floating-point drift one path length
5 stack overflow one combination of call depths
6 single-event upset physically random; zero residue
7 watchdog reset state erased by the reset
8 undefined behaviour depends on compiler optimisation

Proposition 806.1 (The Inference is Sound but Unsound). The argument

\begin{equation} \frac {\text {fault} \to \text {trace}, \qquad \neg \,\text {trace}} {\therefore \ \neg \,\text {fault}} \tag{27443}\end{equation}
is valid in form (modus tollens) but has a false major premise, since software faults do not entail traces.

This is subtler than affirming the consequent: the inference pattern is correct, and the error lies in a premise imported from hardware reasoning.

Bayesian restatement:

\begin{equation} P(\text {no trace} \mid \text {no fault}) = 1, \qquad P(\text {no trace} \mid \text {software fault}) = 1, \tag{27444}\end{equation}
so the likelihoods cancel and
\begin{equation} \boxed {P(\text {no fault} \mid \text {no trace}) = P(\text {no fault}) .} \tag{27445}\end{equation}
Cleanliness moves nothing. Once more the prior decides.
806.1.2 The Layer Chain

Source code is not what executes. Between the text and the behaviour lie four translations:

\begin{equation} \boxed {S \xrightarrow {\ C\ } B \xrightarrow {\ M\ } H \xrightarrow {\ \Sigma \ } P} \tag{27446}\end{equation}
source \(S\), compiler \(C\), binary \(B\), microcode \(M\), hardware \(H\), silicon \(\Sigma \), physical behaviour \(P\). Each is an independent source of fault, and verification at each layer trusts the one below.
\begin{equation} \exists \, p \in \mathcal {P} \;:\quad \operatorname {Sem}(p, S, C, M, \Sigma ) \;\not \equiv \; \operatorname {Sem}(p, S) . \tag{27447}\end{equation}
The semantics of a program as executed need not agree with its semantics as written. Auditing \(S\) therefore does not settle \(P\).

Remark 806.2 (Trusting Trust). Thompson’s construction makes the gap concrete: a compiler can be made to insert a backdoor into a target program and into any compiler compiled from clean source, so that the backdoor survives while never appearing in any source text. Inspection of \(S\) at every layer can return clean while \(P\) is compromised. The chain has no layer at which inspection is self-certifying — the same absence of a top level met in the universe hierarchy.

806.1.3 Rice’s Theorem: Auditing Cannot Be Complete

Define the property at issue:

\begin{equation} \mathcal {P}_{\mathrm {throttle}} := \bigl \{\, p \;\bigm |\; \exists x:\ \operatorname {Throttle}(p,x) \neq \operatorname {Expected}(x) \,\bigr \} . \tag{27448}\end{equation}
This is a non-trivial semantic property: it concerns what \(p\) does, not how it is written, and neither all programs nor none possess it.

Theorem 806.3 (Rice). For every algorithm \(A\) there exists a program \(p\) such that

\begin{equation} A(p)\!\uparrow \quad \lor \quad \bigl (A(p) = \mathrm {YES} \wedge p \notin \mathcal {P}_{\mathrm {throttle}}\bigr ) \quad \lor \quad \bigl (A(p) = \mathrm {NO} \wedge p \in \mathcal {P}_{\mathrm {throttle}}\bigr ). \tag{27449}\end{equation}

\begin{equation} \boxed {\mathcal {P}_{\mathrm {nontrivial}} \notin \mathrm {Decidable}} \qquad \Longleftrightarrow \qquad \boxed {\text {nontrivial semantic property} \;\Longrightarrow \; \text {undecidable in general}} \tag{27450}\end{equation}

No audit procedure — manual, static, or automated — decides \(\mathcal {P}_{\mathrm {throttle}}\) for arbitrary \(p\). What audits achieve is detection of particular recognisable patterns, which is a proper subclass.

Remark 806.4 (Bookout v. Toyota, 2013). Expert review of the source found stack-overflow exposure, loss of throttle control from a single bit flip, and insufficient stack margin in code without recursion. No physical trace existed; the findings came from reading the code. The case demonstrates both directions: source audit can succeed where physical examination cannot, and what it finds is the recognisable subclass. Faults outside that subclass leave no route of discovery.

806.1.4 Three Outcomes, Two Indistinguishable

Audit result Reality Distinguishable?
fault found fault present yes
no fault found fault present (missed) no
no fault found no fault no
\begin{equation} P(\text {not found} \mid \text {fault}) > 0, \qquad P(\text {not found} \mid \text {no fault}) = 1 . \tag{27451}\end{equation}
Non-discovery is weak evidence of absence, and for the irreproducible classes above it is nearly no evidence at all.
806.1.5 \(\Phi \) is Not Total

Earlier sections established that \(\Phi \) is many-to-one, so \(\Phi ^{-1}\) does not exist. Here the situation is stronger:

\begin{equation} \boxed {\Phi : \{\text {faults}\} \longrightarrow \{\text {discoverable evidence}\} \quad \text {is partial.}} \tag{27452}\end{equation}
A substantial part of the domain has no image whatever. Not only can one not invert \(\Phi \); for many faults there is nothing to invert from.

Assumed in practice Actual status
a real fault leaves evidence false for software
clean audit \(=\) no fault likelihoods cancel
inspection can be exhaustive Rice: undecidable
source determines behaviour \(\operatorname {Sem}(p,S,C,M,\Sigma ) \neq \operatorname {Sem}(p,S)\)
some layer certifies itself no top layer

Remark 806.5 (The Burden Cannot Be Met). Requiring a claimant to demonstrate a software fault asks for the solution of an undecidable problem on a system whose faults need leave no trace, using records produced by the accused system, within a window that may exclude the causal interval. Each obstruction alone would be severe; together they make the burden unsatisfiable in principle rather than in practice. Where \(\Phi \) is partial and \(\Phi ^{-1}\) does not exist, allocating responsibility by demand for proof is allocating it by prior — and this is a choice about how to distribute an irreducible uncertainty, not a finding of fact.

806.2 Formalisation: Composite Projection in Instrumented Records

806.2.1 The Chain

Definition 806.6 (Measurement chain). Let \(\mathcal {U}\) be the space of actual states and let

\begin{equation} U \xrightarrow {\ \Phi _1\ } S \xrightarrow {\ \Phi _2\ } A \xrightarrow {\ \Phi _3\ } D \xrightarrow {\ \Phi _4\ } O \tag{27453}\end{equation}
denote actual state, sensor signal, digitised value, recorder state, and retained record. Write
\begin{equation} \Phi := \Phi _4 \circ \Phi _3 \circ \Phi _2 \circ \Phi _1, \qquad O = \Phi (U). \tag{27454}\end{equation}

Definition 806.7 (Nominal and actual transfer). For each stage let \(\Phi _i^{*}\) denote the nominal transfer map and \(\Phi _i\) the realised one. The stage is faithful at \(u\) iff \(\Phi _i(u) = \Phi _i^{*}(u)\).

806.2.2 Non-injectivity

Theorem 806.8. If some stage is unfaithful somewhere, i.e.

\begin{equation} \exists \, i \in \{1,2,3,4\},\ \exists \, u \in \mathcal {U}:\quad \Phi _i(u) \neq \Phi _i^{*}(u), \tag{27455}\end{equation}
then \(\Phi \) is not injective:
\begin{equation} \exists \, u \neq u' :\quad \Phi (u) = \Phi (u'). \tag{27456}\end{equation}
Consequently \(\Phi ^{-1}(O)\) is not in general a singleton,
\begin{equation} \bigl |\Phi ^{-1}(O)\bigr | > 1, \tag{27457}\end{equation}
and \(O \nRightarrow U\).

Proof. Unfaithfulness at stage \(i\) gives \(u\) with \(\Phi _i(u) = \Phi _i^{*}(u')\) for some \(u' \neq u\) in the fibre of \(\Phi _i^{*}\). Postcomposing with the remaining stages yields \(\Phi (u) = \Phi (u')\). Hence the fibre \(\Phi ^{-1}(O)\) contains at least two points, and no function on \(O\) recovers \(U\). □

Corollary 806.9. \(\Phi ^{-1}\) does not exist as a function. Inference from \(O\) to \(U\) is affirming the consequent (Section 805.1).

806.2.3 Accident-Localised Error Conditions

Definition 806.10. Let

\begin{align} E_1 &= \{\Delta V \neq 0\} && \text {(supply transient)}, \tag{27458}\\ E_2 &= \{\Delta G \neq 0\} && \text {(ground bounce)}, \tag{27459}\\ E_3 &= \{\text {contact discontinuity}\}, \tag{27460}\\ E_4 &= \{\mathrm {EMI} \neq 0\}, \tag{27461}\\ E_5 &= \{\Delta T \neq 0\} && \text {(thermal transient)}, \tag{27462}\\ E_6 &= \{\text {CAN frame loss}\}. \tag{27463}\end{align}

Lemma 806.11 (Temporal localisation).

\begin{equation} E_i(t) = 0 \quad (t \notin I_{\mathrm {accident}}), \qquad E_i(t_{\mathrm {accident}}) \neq 0 . \tag{27464}\end{equation}
Hence for any reinspection time \(t' \notin I_{\mathrm {accident}}\),
\begin{equation} \Phi _i(t') = \Phi _i^{*}(t') \quad \text {while}\quad \Phi _i(t_{\mathrm {accident}}) \neq \Phi _i^{*}(t_{\mathrm {accident}}). \tag{27465}\end{equation}

Faithfulness at \(t'\) therefore carries no information about faithfulness at \(t_{\mathrm {accident}}\).

806.2.4 Reinspection Has Unit Likelihood Ratio

Definition 806.12. \(F := \{\text {intermittent fault at } t_{\mathrm {accident}}\}\), \(R := \{\text {reinspection normal at } t' \}\).

Theorem 806.13.

\begin{equation} P(R \mid F) \approx 1, \qquad P(R \mid \neg F) = 1, \tag{27466}\end{equation}
so the likelihood ratio is
\begin{equation} \Lambda (R) := \frac {P(R\mid F)}{P(R\mid \neg F)} \approx 1, \tag{27467}\end{equation}
and by Bayes
\begin{equation} \boxed {P(F \mid R) = \frac {P(R\mid F)\,P(F)}{P(R)} \approx P(F).} \tag{27468}\end{equation}

Corollary 806.14. \(R \nRightarrow \neg F\). The implication \(F \to \neg R\), whose contrapositive \(R \to \neg F\) would license the inference, is false: an intermittent fault does not entail abnormal reinspection,

\begin{equation} F \nrightarrow \neg R . \tag{27469}\end{equation}

806.2.5 No Self-Validating Closure

Definition 806.15 (Validation chain). Let \(V_1 \to V_2 \to V_3 \to \cdots \) where \(V_{n+1}\) validates \(V_n\), with all \(V_n\) internal to the system.

Theorem 806.16. If no \(V_n\) is independent of its predecessors,

\begin{equation} \forall n \in \mathbb {N}:\quad V_n \not \perp V_{n+1}, \tag{27470}\end{equation}
then
\begin{equation} \boxed {\nexists \, V_k :\quad V_k \perp \{V_1,\dots ,V_{k-1}\} .} \tag{27471}\end{equation}
The chain admits no finite self-validating closure.

Proof. Suppose \(V_k \perp \{V_1,\dots ,V_{k-1}\}\) for some \(k\). Then \(V_k\) is an independent reference channel, contradicting the hypothesis that every consecutive pair is dependent, since \(V_k\) validates \(V_{k-1}\) and is therefore coupled to it. □

Corollary 806.17. Validation terminates only by assumption, not by construction. This is the absence of a top level met in the universe hierarchy: no partial system certifies itself.

806.2.6 Summary
\begin{equation} \boxed { U \to S \to A \to D \to O, \qquad \Phi = \Phi _4\circ \Phi _3\circ \Phi _2\circ \Phi _1 \ \text {non-injective} \;\Longrightarrow \; O \nRightarrow U .} \tag{27472}\end{equation}

Result Statement Consequence
Non-injectivity \(|\Phi ^{-1}(O)| > 1\) \(\Phi ^{-1}\) DNE
Temporal localisation \(E_i \neq 0\) only on \(I_{\mathrm {accident}}\) reinspection uninformative
Unit likelihood ratio \(\Lambda (R) \approx 1\) \(P(F\mid R) \approx P(F)\)
No closure \(\nexists \, V_k \perp \{V_1,\dots ,V_{k-1}\}\) validation not self-terminating
\begin{equation} \boxed {\Phi \ \text {non-injective, partial, self-referential} \;\Longleftrightarrow \; O < T} \tag{27473}\end{equation}

806.3 Derivability Does Not Establish Its Premises

The preceding cases share a further confusion, distinct from affirming the consequent: a conclusion validly derived from assumptions is treated as establishing those assumptions. We separate the two. Judgment is made under assumptions, so whether the assumptions are actually correct or incorrect cannot be proven or unknowable. The derivation establishes only the conditional, and the standing of the premises is not transferred backwards.

806.3.1 Setup

Let

\begin{equation} H = \{H_1,\ldots ,H_n\}, \qquad J = \text {the judgement}, \qquad C = \text {the conclusion}. \tag{27474}\end{equation}

The derivation has the form

\begin{equation} H_1 \wedge H_2 \wedge \cdots \wedge H_n \;\vdash \; J, \qquad J \models C, \tag{27475}\end{equation}
so that
\begin{equation} (H_1 \wedge \cdots \wedge H_n) \rightarrow C . \tag{27476}\end{equation}

Suppose further that at least one assumption is unproved:

\begin{equation} \neg \operatorname {Prov}(H_i) \quad \text {for some } i . \tag{27477}\end{equation}
806.3.2 The Theorem

Theorem 806.18.

\begin{equation} \operatorname {Prov}(C) \;\not \Rightarrow \; \operatorname {Prov}(H_i). \tag{27478}\end{equation}

Proof by contradiction. Assume

\begin{equation} \operatorname {Prov}(C) \Rightarrow \operatorname {Prov}(H_i). \tag{27479}\end{equation}
By hypothesis \(\operatorname {Prov}(C)\) holds, since \(C\) was derived. Hence \(\operatorname {Prov}(H_i)\). But by assumption
\begin{equation} \neg \operatorname {Prov}(H_i), \tag{27480}\end{equation}
giving
\begin{equation} \operatorname {Prov}(C) \wedge \neg \operatorname {Prov}(H_i) \;\Rightarrow \; \bot . \tag{27481}\end{equation}
Therefore
\begin{equation} \operatorname {Prov}(C) \not \Rightarrow \operatorname {Prov}(H_i). \qedhere \tag{27482}\end{equation}
□
806.3.3 Consequences

The derivation establishes only the conditional:

\begin{equation} \underbrace {H}_{\text {assumption}} \;\vdash \; \underbrace {C}_{\text {judgement}} . \tag{27483}\end{equation}

Two things must therefore be distinguished:

\begin{equation} \text {truth of } H \;\not \equiv \; \text {derivability of } C \text { from } H . \tag{27484}\end{equation}

In particular, where \(H\) is unproved,

\begin{equation} H \vdash C \quad \not \Rightarrow \quad \vdash H . \tag{27485}\end{equation}
\begin{equation} \therefore \qquad \text {validity of the judgement} \;\neq \; \text {factuality of the assumption}. \tag{27486}\end{equation}
806.3.4 Relation to the Preceding Cases

Affirming the consequent moves from an observation to a hypothesis that entails it. The present error is adjacent: it moves from the internal soundness of a derivation to the standing of its premises. A conclusion may be impeccably derived and still rest on assumptions that no evidence supports.

Case Unproved \(H_i\) Conclusion \(C\) presented as established
Miller–Urey reducing atmosphere abiotic origin demonstrated
Zircon proxies signal preserved for \(4\) Gyr atmospheric composition fixed
EDR recorder faithful at \(t_{\mathrm {accident}}\) driver error established
Software audit fault would leave discoverable trace no fault present
Eugenics \(\Phi ^{-1}\) exists cause of difference identified

In each row the derivation from \(H\) to \(C\) is unobjectionable. What is absent is \(\operatorname {Prov}(H_i)\), and by the theorem above the derivation cannot supply it. The strength of a conclusion is bounded by the standing of its premises, and internal validity does not transfer backwards.

Remark 806.19. This is the syntactic counterpart of the semantic result established earlier. There, \(\Phi \) non-injective gave \(O \nRightarrow U\): the record does not determine the state. Here, \(H \vdash C\) gives \(\operatorname {Prov}(C) \nRightarrow \operatorname {Prov}(H)\): the derivation does not determine its assumptions. Both are the same one-way structure — forward inference is available, the reverse is not.