【计算机中的数学笔记3】Ordering

1. DEFINITION

Let S be a set.

Let R\subset S\times S be a relation.

R is reflective if (x, x)\subseteq R, \forall x.

R is transitive if (x,y),(y,z)\subseteq R \Rightarrow (x,z)\subseteq R

R is anti-symmetric if x\leq y, y\leq x \Rightarrow x=y

Then, R is an ordering.

Linear Ordering/Total Ordering: x\leq y\ or\ y\leq x

(vs. Partial Ordering)

2. Hasse Diagram: containing immediate predecessor, unique for finite set

x is the immediate predecessor of y if:

x<y\ and\ there\ is\ no\ t\ with\ x<t<y

3. Further Definition

1) comparable, incomparable

(S, \leq),\ C\subseteq X, \forall a, b\in C,\ a,b\ comparable \Rightarrow C\ is\ a\ chain

incomparable \Rightarrow anti-chain

2) maximal\neg \exists y,\ x<y

maximumx\geq y, \forall y\in S

usually not the same if it's not a linear ordering.

3)induced sub-ordering

4.Mirsky's Theorem: max size of chains = min size of anti-chains

height: largest chain

width: largest anti-chain

height(S) is the minimum t such that we can partition S into t anti-chains:

S=A_1\cup A_2\cup \cdots \cup A_t

OR: S can be partitioned into t anti-chains, if and only if every chain has size at most t. 

5.Dilworth Theorem: max size of anti-chains = min size of chains

6.Applicaiton

Corollay: height(S)*width(S)>=|S|

1, 3, 2, 8, 6, 4, 13, 7, 9

Theorem: There's one increasing-subsequence of at least sqrt(n) size, or a decreasing-subsequence of at least sqrt(n) size.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值