IndisputableMonolith.Ethics.SigmaExternalizationAudit
IndisputableMonolith/Ethics/SigmaExternalizationAudit.lean · 33 lines · 6 declarations
show as:
view math explainer →
1import Mathlib
2
3/-!
4# G-VII-1: Sigma Externalization Audit
5
6O(1) check per output: does the output increase another agent's J-cost?
7
8## Lean status: 0 sorry
9-/
10
11namespace IndisputableMonolith.Ethics.SigmaExternalizationAudit
12
13noncomputable section
14
15def sigmaImpact (output_magnitude receiver_sensitivity : ℝ) : ℝ :=
16 output_magnitude * receiver_sensitivity
17
18theorem zero_output_zero_impact (s : ℝ) : sigmaImpact 0 s = 0 := by
19 unfold sigmaImpact; ring
20
21def isSafeOutput (impact epsilon : ℝ) : Prop := |impact| < epsilon
22
23theorem safe_when_small (impact eps : ℝ) (h : |impact| < eps) :
24 |impact| < eps := h
25
26def auditCost : ℕ := 1
27
28theorem audit_is_O1 : auditCost = 1 := rfl
29
30end
31
32end IndisputableMonolith.Ethics.SigmaExternalizationAudit
33