Nuprl Lemma : consensus-rcv-crosses-threshold

[V:Type]
  ∀A:Id List. ∀t:ℕ+. ∀n:ℤ. ∀L:consensus-rcv(V;A) List. ∀r:consensus-rcv(V;A).
    (∃a:{a:Id| (a ∈ A)} 
      ∃v:V. ((r Vote[a;n;v] ∈ consensus-rcv(V;A)) ∧ (¬↑null(filter(λr.n 1 <inning(r);L))) ∧ (0 ≤ n))) supposing 
       ((((2 t) 1) ≤ ||values-for-distinct(IdDeq;votes-from-inning(n;L [r]))||) and 
       (||values-for-distinct(IdDeq;votes-from-inning(n;L))|| ≤ (2 t)))


Proof




Definitions occuring in Statement :  votes-from-inning: votes-from-inning(i;L) rcvd-inning-gt: i <inning(r) cs-rcv-vote: Vote[a;i;v] consensus-rcv: consensus-rcv(V;A) id-deq: IdDeq Id: Id values-for-distinct: values-for-distinct(eq;L) l_member: (x ∈ l) length: ||as|| null: null(as) filter: filter(P;l) append: as bs cons: [a b] nil: [] list: List nat_plus: + assert: b uimplies: supposing a uall: [x:A]. B[x] le: A ≤ B all: x:A. B[x] exists: x:A. B[x] not: ¬A and: P ∧ Q set: {x:A| B[x]}  lambda: λx.A[x] multiply: m subtract: m add: m natural_number: $n int: universe: Type equal: t ∈ T
Definitions unfolded in proof :  uall: [x:A]. B[x] all: x:A. B[x] uimplies: supposing a member: t ∈ T le: A ≤ B and: P ∧ Q not: ¬A implies:  Q false: False nat_plus: + prop: subtype_rel: A ⊆B so_lambda: λ2x.t[x] so_apply: x[s] values-for-distinct: values-for-distinct(eq;L) top: Top pi1: fst(t) votes-from-inning: votes-from-inning(i;L) rcvd-inning-eq: inning(r) =z i rcvd-vote: rcvd-vote(x) mapfilter: mapfilter(f;P;L) rcv-vote?: rcv-vote?(x) consensus-rcv: consensus-rcv(V;A) outr: outr(x) bfalse: ff band: p ∧b q ifthenelse: if then else fi  satisfiable_int_formula: satisfiable_int_formula(fmla) exists: x:A. B[x] spreadn: spread3 btrue: tt nat: ge: i ≥  bool: 𝔹 unit: Unit it: uiff: uiff(P;Q) iff: ⇐⇒ Q rev_implies:  Q cs-rcv-vote: Vote[a;i;v] cand: c∧ B sq_type: SQType(T) guard: {T} decidable: Dec(P) or: P ∨ Q Id: Id append: as bs so_lambda: so_lambda(x,y,z.t[x; y; z]) so_apply: x[s1;s2;s3]

Latex:
\mforall{}[V:Type]
    \mforall{}A:Id  List.  \mforall{}t:\mBbbN{}\msupplus{}.  \mforall{}n:\mBbbZ{}.  \mforall{}L:consensus-rcv(V;A)  List.  \mforall{}r:consensus-rcv(V;A).
        (\mexists{}a:\{a:Id|  (a  \mmember{}  A)\} 
            \mexists{}v:V.  ((r  =  Vote[a;n;v])  \mwedge{}  (\mneg{}\muparrow{}null(filter(\mlambda{}r.n  -  1  <z  inning(r);L)))  \mwedge{}  (0  \mleq{}  n)))  supposing 
              ((((2  *  t)  +  1)  \mleq{}  ||values-for-distinct(IdDeq;votes-from-inning(n;L  @  [r]))||)  and 
              (||values-for-distinct(IdDeq;votes-from-inning(n;L))||  \mleq{}  (2  *  t)))



Date html generated: 2016_05_16-PM-00_39_02
Last ObjectModification: 2016_01_17-PM-08_01_04

Theory : event-ordering


Home Index