Nuprl Lemma : last-data-stream

[L:Top List]. ∀[P:Top].  (last(data-stream(P;L)) if null(L) then ⊥ else snd(P*(firstn(||L|| 1;L))(last(L))) fi )


Proof




Definitions occuring in Statement :  data-stream: data-stream(P;L) iterate-dataflow: P*(inputs) dataflow-ap: df(a) firstn: firstn(n;as) last: last(L) length: ||as|| null: null(as) list: List bottom: ifthenelse: if then else fi  uall: [x:A]. B[x] top: Top pi2: snd(t) subtract: m natural_number: $n sqequal: t
Definitions unfolded in proof :  uall: [x:A]. B[x] member: t ∈ T all: x:A. B[x] implies:  Q bool: 𝔹 unit: Unit it: btrue: tt uiff: uiff(P;Q) and: P ∧ Q uimplies: supposing a ifthenelse: if then else fi  bfalse: ff exists: x:A. B[x] prop: or: P ∨ Q sq_type: SQType(T) guard: {T} bnot: ¬bb assert: b false: False not: ¬A top: Top cons: [a b] last: last(L) select: L[n] nil: [] so_lambda: λ2y.t[x; y] so_apply: x[s1;s2] so_lambda: so_lambda(x,y,z.t[x; y; z]) so_apply: x[s1;s2;s3] true: True satisfiable_int_formula: satisfiable_int_formula(fmla) subtract: m nat: ge: i ≥  decidable: Dec(P) le: A ≤ B

Latex:
\mforall{}[L:Top  List].  \mforall{}[P:Top].
    (last(data-stream(P;L))  \msim{}  if  null(L)  then  \mbot{}  else  snd(P*(firstn(||L||  -  1;L))(last(L)))  fi  )



Date html generated: 2016_05_17-AM-10_21_36
Last ObjectModification: 2016_01_18-AM-00_20_25

Theory : process-model


Home Index