Disclosure.lean

Board Support, CEO (Mis)Reporting, and Scapegoating · December 2, 2026 verification

1import Posterior23open Std Lean.Grind Scapegoating4namespace Disclosure56variable {R : Type} [Field R] [LE R] [LT R] [IsLinearOrder R] [LawfulOrderLT R] [OrderedRing R]78/-- Primitive production and cost on feasible supports. Cost divergence is9the level consequence of the manuscript's assumption on marginal cost. -/10structure Economy (R : Type) [Field R] [LE R] [LT R] where11  β : R12  X : R13  L : R14  G : R → R15  B : R → R16  C : R → R17  dG : R → R18  dB : R → R19  dC : R → R20  prior : 0<β ∧ β<121  cash : 1<L ∧ L<X22  tech : ∀ x, 0≤x → 0<B x ∧ B x<G x ∧ G x<123  slopes : ∀ x, 0≤x → HasSlopeAt G x (dG x) ∧ HasSlopeAt B x (dB x) ∧ HasSlopeAt C x (dC x)24  production : ∀ x, 0≤x → 0<dG x ∧ 0<dB x25  costZero : dC 0=026  costTail : ∀ k, ∃ b, 0<b ∧ ∀ x, b≤x → k<C x2728namespace Economy29variable (E : Economy R)3031def P (x : R) := mix E.β (E.G x) (E.B x)32def H (x : R) := highRep E.β (E.G x) (E.P x)33def F (x : R) := lowRep E.β (E.G x) (E.P x) 134def rho (x : R) := E.H x-E.F x35def W (x : R) := E.L+(E.X-E.L)*E.P x-E.C x36def disclosed (m : R) := baselineValue E.W E.G E.B E.β m37def silent (m conjecture x : R) := silentValue E.W E.P E.rho m x conjecture38def complement := ∀ x, 0≤x → E.G x*E.dB x<E.B x*E.dG x3940theorem probabilities (x : R) (hx : 0≤x) :41    0<E.P x ∧ E.P x<1 ∧ 0<E.F x ∧ E.F x<E.H x ∧ E.H x<1 := by42  obtain ⟨b,bg,g⟩ := E.tech x hx43  obtain ⟨_,_,p0,p1⟩ := probabilityBounds E.β (E.G x) (E.B x) 1 E.prior.1 E.prior.2 b bg g44    OrderedRing.zero_lt_one (by grind)45  have pp : 0<E.P x ∧ E.P x<1 := by dsimp [P]; grind46  have gap := (spreadBounds E.β (E.G x) (E.B x) 1 E.prior.1 E.prior.2 b bg g47    OrderedRing.zero_lt_one (by grind)).148  change 0<E.H x-E.F x at gap49  have Hi : E.H x*(E.P x)=E.β*E.G x := Field.div_mul_cancel (by grind)50  have Lo : E.F x*(1-E.P x)=E.β*(1-E.G x) := by51    simpa only [F,lowRep,Semiring.one_mul] using52      (Field.div_mul_cancel (x := E.β*(1-E.G x)) (show 1-E.P x≠0 by grind))53  have a := OrderedRing.mul_pos E.prior.1 (show 0<1-E.G x by grind)54  have k := OrderedRing.mul_pos (show 0<1-E.β by have := E.prior; grind) b55  refine ⟨pp.1,pp.2,?_,by grind,?_⟩56  · apply (Field.IsOrdered.mul_lt_mul_iff_of_pos_right (show 0<1-E.P x by grind)).mp; grind57  · apply (Field.IsOrdered.mul_lt_mul_iff_of_pos_right pp.1).mp58    have id : E.P x=E.β*E.G x+(1-E.β)*E.B x := rfl59    grind6061theorem cancellation (x : R) (hx : 0≤x) :62    E.P x*E.H x+(1-E.P x)*E.F x=E.β ∧63    (1-E.P x)*E.rho x=E.β*(1-E.β)*(E.G x-E.B x)/E.P x := by64  obtain ⟨b,bg,g⟩ := E.tech x hx65  have q := bayesCancellation E.β (E.G x) (E.B x) 1 E.prior.1 E.prior.2 b bg g66    OrderedRing.zero_lt_one (by grind)67  simpa only [P,H,F,rho,spread,Semiring.one_mul] using q6869theorem sameSupport (m x : R) (hx : 0≤x) : E.disclosed m x=E.silent m x x := by70  have k := (E.cancellation x hx).271  change E.W x-(m*E.β*(1-E.β)*(E.G x-E.B x))/(E.P x)=E.W x-m*(1-E.P x)*E.rho x72  rw [Field.div_eq_mul_inv] at *73  have := congrArg (fun z => m*z) k74  grind7576theorem spreadContinuous : ContinuousSupport E.rho := by77  apply Posterior.continuousOfDerivatives78  intro x hx79  obtain ⟨g,b,_⟩ := E.slopes x hx80  obtain ⟨u,v,_,_,D,_,_⟩ := Posterior.bayesDerivatives E.G E.B E.β x _ _ E.prior (E.tech x hx) g b81  exact ⟨u-v,D⟩8283theorem nested (complete : CompleteSupport R) (comp : E.complement) :84    ∀ x y, 0≤x → x<y → E.P x<E.P y ∧ E.H x<E.H y ∧ E.F y<E.F x := by85  have Ds (z : R) (hz : 0≤z) :86      ∃ p h f, 0<p ∧ 0<h ∧ f<0 ∧ HasSlopeAt E.P z p ∧ HasSlopeAt E.H z h ∧ HasSlopeAt E.F z f := by87    obtain ⟨g,b,_⟩ := E.slopes z hz88    obtain ⟨u,v,H,F,_,_,_,hu,hv,_⟩ := Posterior.posteriorDerivatives E.G E.B E.β z _ _89      E.prior (E.tech z hz) g b (E.production z hz).2 (comp z hz)90    have t := Posterior.affineSlope E.β (1-E.β) 0 g b91    obtain ⟨dg,db⟩ := E.production z hz92    have g1 := OrderedRing.mul_pos E.prior.1 dg93    have b1 := OrderedRing.mul_pos (show 0<1-E.β by have := E.prior; grind) db94    refine ⟨E.β*E.dG z+(1-E.β)*E.dB z,u,v,?_,hu,hv,?_,H,F⟩95    · exact show 0<E.β*E.dG z+(1-E.β)*E.dB z by grind96    · change HasSlopeAt (fun y => E.β*E.G y+(1-E.β)*E.B y) z _97      simpa only [Semiring.add_zero] using t98  have Ds' (z : R) (hz : 0≤z) :99      ∃ p h f, 0<p ∧ 0<h ∧ 0<f ∧ HasSlopeAt E.P z p ∧ HasSlopeAt E.H z h ∧ HasSlopeAt (fun t => -E.F t) z f := by100    obtain ⟨p,h,f,hp,hh,hf,Pd,Hd,Fd⟩ := Ds z hz101    have n := Posterior.affineSlope (-1) 0 0 Fd Fd102    have fn : (fun y => (-1)*E.F y+0*E.F y+0)=(fun y => -E.F y) := by funext y; grind103    rw [fn] at n104    have vn : (-1)*f+0*f = -f := by grind105    rw [vn] at n106    exact ⟨p,h,-f,hp,hh,by grind,Pd,Hd,n⟩107  have inc (f : R → R) (pos : ∀ z, 0≤z → ∃ d, 0<d ∧ HasSlopeAt f z d)108      (x y : R) (hx : 0≤x) (xy : x<y) : f x<f y := by109    apply Verification.strictIncreaseFromSlope f complete x y hx xy110    · apply Posterior.continuousOfDerivatives111      intro z hz; obtain ⟨d,_,h⟩ := pos z hz; exact ⟨d,h⟩112    · intro z h _; exact pos z (by grind)113  intro x y hx xy114  have p := inc E.P (by intro z hz; obtain ⟨p,_,_,h,_,_,s,_,_⟩ := Ds' z hz; exact ⟨p,h,s⟩) x y hx xy115  have h := inc E.H (by intro z hz; obtain ⟨_,p,_,_,h,_,_,s,_⟩ := Ds' z hz; exact ⟨p,h,s⟩) x y hx xy116  have f := inc (fun t => -E.F t) (by intro z hz; obtain ⟨_,_,p,_,_,h,_,_,s⟩ := Ds' z hz; exact ⟨p,h,s⟩) x y hx xy117  exact ⟨p,h,by grind⟩118end Economy119120/-- The manuscript assumes strictly concave support objectives with attained maxima. -/121def Concave (U : R → R) : Prop :=122  ∀ a b c, 0≤a → a<b → b<c → (c-b)*U a+(b-a)*U c < (c-a)*U b123124theorem quasi {U : R → R} (h : Concave U) : Quasiconcave U := by125  intro a b c y ha hab hbc l r126  have e := h a b c ha hab hbc127  have i := OrderedRing.mul_le_mul_of_nonneg_left l (show 0≤c-b by grind)128  have j := OrderedRing.mul_le_mul_of_nonneg_left r (show 0≤b-a by grind)129  apply (Field.IsOrdered.mul_le_mul_iff_of_pos_left (show 0<c-a by grind)).mp130  grind131132private theorem unique {U : R → R} {t : R} (h : Concave U) (opt : Maximizes U t)133    (x : R) (hx : 0≤x) (hne : x≠t) : U x<U t := by134  let mid := (t+x)/2135  have half : mid*2=t+x := Field.div_mul_cancel (by grind)136  have bound := opt.2 mid (by have := opt.1; grind)137  have neq (a b : R) (ha : 0≤a) (ab : a<b) (hm : mid*2=a+b)138      (hbm : U mid≤U t) (ua : U t≤U a) (ub : U t≤U b) : False := by139    have q := h a mid b ha (by grind) (by grind)140    have l := OrderedRing.mul_le_mul_of_nonneg_left ua (show 0≤b-mid by grind)141    have r := OrderedRing.mul_le_mul_of_nonneg_left ub (show 0≤mid-a by grind)142    have v := OrderedRing.mul_le_mul_of_nonneg_left hbm (show 0≤b-a by grind)143    grind144  by_cases z : U x<U t145  · exact z146  · by_cases tt : x<t147    · exact False.elim (neq x t hx tt (by grind) bound (by grind) (by grind))148    · exact False.elim (neq t x opt.1 (by grind) half bound (by grind) (by grind))149150namespace Economy151variable (E : Economy R)152153/-- Proposition 4, existence: a consistent conjecture after silence exists,154and no silent or disclosed support deviation improves on disclosure at star. -/155theorem disclosureExists (m star : R) (hm : 0<m ∧ m<1) (complete : CompleteSupport R)156    (opt : Maximizes (E.disclosed m) star)157    (choices : ∀ c, 0≤c → ∃ s, Maximizes (E.silent m c) s)158    (conc : ∀ c, 0≤c → Concave (E.silent m c)) :159    ∃ dag, Maximizes (E.silent m dag) dag ∧160      (∀ x, 0≤x → E.silent m dag x ≤ E.disclosed m star) ∧161      (∀ x, 0≤x → E.disclosed m x ≤ E.disclosed m star) := by162  classical163  let br (c : R) := if h : 0≤c then Classical.choose (choices c h) else 0164  have best (c : R) (hc : 0≤c) : Maximizes (E.silent m c) (br c) := by165    simpa [br,hc] using Classical.choose_spec (choices c hc)166  obtain ⟨b,hb,tail⟩ := E.costTail (E.X-(E.W 0-m))167  have wf (x : R) (hx : b≤x) : E.W x<E.W 0-m := by168    have lim := tail x hx169    have p := (E.probabilities x (by grind)).2.1170    have d := OrderedRing.mul_lt_mul_of_pos_left p (show 0<E.X-E.L by have := E.cash; grind)171    dsimp [W]; change E.L+(E.X-E.L)*E.P x-E.C x < _; unfold W at lim; grind172  have ⟨dag,hd⟩ := nondisclosureExists E.W E.P E.rho br m b hm.1 hm.2 hb173    (by intro x hx; have p := E.probabilities x hx; exact ⟨p.1,p.2.1⟩)174    (by intro x hx; have p := E.probabilities x hx; dsimp [rho]; grind)175    E.spreadContinuous wf best (by intro c hc; exact unique (conc c hc) (best c hc))176    (fun c hc => quasi (conc c hc)) (complete b)177  refine ⟨dag,hd,?_,opt.2⟩178  intro x hx179  have d := hd.2 x hx180  have same := E.sameSupport m dag hd.1181  exact le_trans d (le_trans (le_of_eq same.symm) (opt.2 dag hd.1))182183/-- Strict deviation from every candidate silent equilibrium under complementarity. -/184theorem disclosureStrict (m star fb : R) (hm : 0<m) (complete : CompleteSupport R)185    (comp : E.complement) (opt : Maximizes (E.disclosed m) star)186    (optW : Maximizes E.W fb) (conc : Concave (E.disclosed m)) :187    star<fb ∧ ∀ dag, Maximizes (E.silent m dag) dag → fb≤dag ∧188      ∀ x, 0≤x → E.silent m dag x < E.disclosed m star := by189  have h := Verification.mainSupportRanking E.G E.B E.C E.dG E.dB E.dC E.β m E.X E.L fb star190    E.prior.1 E.prior.2 hm E.cash.2 E.tech E.slopes (E.production 0 (by grind)) E.costZero191    optW opt conc192  have under := h.1 (comp fb optW.1)193  refine ⟨under,?_⟩194  intro dag hd195  have p := E.probabilities dag hd.1196  have pos : 0<E.rho dag := by dsimp [rho]; grind197  have over := silentSupport E.W E.P E.rho m fb dag optW hd hm pos198    (fun x hx xy => (E.nested complete comp x fb hx xy).1)199  have strict := unique conc opt dag hd.1 (by grind)200  refine ⟨over,?_⟩201  intro x hx202  exact lt_of_le_of_lt (hd.2 x hx) (lt_of_eq_of_lt (E.sameSupport m dag hd.1).symm strict)203def future (r s : R) := E.X*(r*E.G s+(1-r)*E.B s)-E.C s204205/-- Proposition 5. The cutoff and the future hiring-value integral are206common to every control level and every admissible silent fixed point.207The only future-employer input is an optimizer of its primitive support208problem at each candidate reputation. -/209theorem welfare (complete : CompleteSupport R) (comp : E.complement)210    (futureAct : R → R) (futureOpt : ∀ r, 0≤r → r≤1 → Maximizes (E.future r) (futureAct r)) :211    let V := fun r => E.future r (futureAct r)212    ∃ J : R → R,213      (∀ r y, 0≤r → r≤y → y≤1 → (y-r)*V r≤J y-J r ∧ J y-J r≤(y-r)*V y) ∧214      let Γ := fun r => r*V r+J 1-J r215      let T := fun s => E.W s+hiringValue Γ E.P E.H E.F s216      ∃ cutoff, 0<cutoff ∧ ∀ m star fb dag, 0<m → m<1 →217        Maximizes (E.disclosed m) star → Concave (E.disclosed m) →218        Maximizes E.W fb → Maximizes (E.silent m dag) dag →219        star<fb ∧ fb≤dag ∧ (m<cutoff → T star<T dag) := by220  let V := fun r => E.future r (futureAct r)221  let g := fun r => E.X*(E.G (futureAct r)-E.B (futureAct r))222  have tan (r y : R) (hr : 0≤r) (hr1 : r≤1) (hy : 0≤y) (hy1 : y≤1) :223      V r+g r*(y-r) ≤ V y := by224    have bound := (futureOpt y hy hy1).2 (futureAct r) (futureOpt r hr hr1).1225    dsimp [V,g,future] at *; grind226  have inc (r y : R) (hr : 0≤r) (hy : r<y) (hy1 : y≤1) : V r<V y := by227    have upper := tan r y hr (by grind) (by grind) hy1228    have x := E.cash229    have val := (E.tech (futureAct r) (futureOpt r hr (by grind)).1).2.1230    have k : 0<g r := OrderedRing.mul_pos (by grind) (by grind)231    have := OrderedRing.mul_pos k (show 0<y-r by grind)232    grind233  obtain ⟨J,rect,cut,pos,rank⟩ := Verification.uniformWelfare E.W E.P E.H E.F V g complete234    inc tan E.probabilities (by intro x y hx hy; exact (E.cancellation x hx).1.trans (E.cancellation y hy).1.symm)235    (E.nested complete comp)236  refine ⟨J,rect,cut,pos,?_⟩237  intro m star fb dag hm _ opt conc optW hd238  obtain ⟨under,allSilent⟩ := E.disclosureStrict m star fb hm complete comp opt optW conc239  obtain ⟨over,_⟩ := allSilent dag hd240  exact ⟨under,over,fun small => rank star fb dag m opt.1 under over hm small optW hd⟩241end Economy242end Disclosure