The Integers and the Real Numbers
以上我們談了一些 邏輯的基礎,接下來我們會談一些 數學的基礎,也就是整數與實數系統。其實我們已經用了很多,非正式地,接下來我們會正式地討論他們。
要 建構 實數系統的一個方法就是利用公理跟集合論來建構。
首先我們需要從集合論出發,定義在 set $A$ 上的 二元運算子(binary operator):
Def.
$$
f: A times A rightarrow A
$$
我們在描述一個二元運算子的時候並不會如同以往的函數一樣, $f(a, a’)$,而是會把運算子寫在中間, $afa’$。一般來說,我們會用符號來表示,而不是字母,像是加號 $+$、乘號 $cdot$。
假設
我們假設存在一個 set $mathbb{R}$,代表實數,有兩個運算子分別是加法運算子 $+$、乘法運算子 $cdot$,以及一個次序關係 $lt$ 定義於 $mathbb{R}$ 上,會有以下特性:
代數特性(Algebraic Properties)
- $(x + y) + z = x + (y + z), forall x, y, z in mathbb{R}$
$(x cdot y) cdot z = x cdot (y cdot z), forall x, y, z in mathbb{R}$
- $x + y = y + x, forall x, y, z in mathbb{R}$
$x cdot y = y cdot x, forall x, y, z in mathbb{R}$
- $exists! 0 in mathbb{R}, forall x in mathbb{R}, s.t. enspace x + 0 = x$
$exists! 1 in mathbb{R}, forall x in mathbb{R}, s.t. enspace x cdot 1 = x$
- $for enspace each enspace x, exists! y, s.t. enspace x + y = 0$
$for enspace each enspace x, exists! y, s.t. enspace x cdot y = 1$
- $x cdot (y + z) = (x cdot y) + (x cdot z), forall x, y, z in mathbb{R}$
混合代數與次序特性(A Mixed Algebraic and Order Property)
- $If enspace x gt y, then enspace x + z gt y + z$
$If enspace x gt y, z gt 0, then enspace x cdot z gt y cdot z$
次序特性(Order Properties)
- 次序關係 $lt$ 有最小上界性
- $If enspace x lt y, then enspace exists z enspace s.t. enspace x lt z, z lt y$
由 1~5 點我們可以導出一些代數性質,像是負數、減法運算、倒數跟商的概念。我們可以定義正數($x gt 0$)跟負數($x lt 0$)。在代數領域,擁有 1~5 點特性的代數結構,我們會稱為域(field)。如果有包含第六點就稱為有序域(ordered field)。在拓樸領域我們通常會討論的是第7、8點,他只牽涉到次序關係,同時擁有這兩點的集合稱為線性連續統(li 大专栏 The Integers and the Real Numbersnear continuum)。
說到這邊我們還沒提到整數呢!我們就用前6點來定義整數(integer)。
Def.
$A subseteq mathbb{R} enspace is enspace inductive:$
- $1 in A$
- $forall x in A enspace s.t. enspace x + 1 in A$
Def.
$mathcal{A} enspace is enspace a enspace collection enspace of enspace all enspace inductive enspace subsets enspace of enspace mathbb{R}$
$positive enspace integers enspace is enspace a enspace set enspace mathbb{N} = bigcap_{A in mathcal{A}} A$
這樣的定義是很巧妙的,他其實只有明確的定義了1是在這個集合裡,後面都以 $x+ 1$ 的形式去推演,這稱為可歸納。而正整數是眾多可歸納集合的交集,可見正整數是最小的子集。
正整數有些特性:
- 正整數是可歸納的(inductive)
- (Principle of inductive)如果 set $A$ 是可歸納的,而且含正整數的集合,那麼 $A = mathbb{N}$
與實數不同的是,他不會有第八點特性,也就是,$for enspace each enspace n in mathbb{N}, nexists a in mathbb{N} enspace s.t. enspace n lt a lt n + 1$。
如果有個正整數 $n$,我們用 $S_{n}$ 來代表所有小於 $n$ 的正整數的集合,我們稱他為 section:
$$
S_{n + 1} = {1, dots , n}
$$
接下來我們會描述 證明 兩個可能不是很熟悉但很有用的特性,你可以看成是另一個版本的數學歸納法:
Theorem: Well-ordering property
$$
S subseteq mathbb{N}, S neq emptyset, S enspace has enspace smallest enspace element.
$$
他描述了 $mathbb{N}$ 的非空子集,一定有最小元素。
Theorem: Strong induction principle
$$
A enspace is enspace a enspace set enspace of enspace positive enspace integers,
$$
$$
for enspace each enspace n, S_n subseteq A enspace s.t. enspace n in A, then enspace A = mathbb{N}
$$
這邊描述了,對每個 $n$ 來說,由 $S_n subseteq A$ 可以推出 $n in A$ 的話,那麼 $A$ 就是 $mathbb{N}$。
以上我們用了有序域中的第 1~6 點公理,那第 7 點呢?
你用會用到第 7 點(最小上界公理)來證明,正整數集合 $mathbb{N}$ 在實數的集合 $mathbb{R}$ 中是沒有上界的。
Theorom: Archimedean ordering property
$$
the enspace set enspace mathbb{N} enspace has enspace no enspace upper enspace bound enspace in enspace mathbb{R}.
$$
The Integers and the Real Numbers的更多相关文章
- PAT1120: Friend Numbers
1120. Friend Numbers (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Two in ...
- PAT 1120 Friend Numbers
1120 Friend Numbers (20 分) Two integers are called "friend numbers" if they share the sa ...
- A1120. Friend Numbers
Two integers are called "friend numbers" if they share the same sum of their digits, and t ...
- PAT A1120 Friend Numbers (20 分)——set
Two integers are called "friend numbers" if they share the same sum of their digits, and t ...
- Lintcode521-Remove Duplicate Numbers in Array-Easy
Description Given an array of integers, remove the duplicate numbers in it. You should: Do it in pla ...
- 1120 Friend Numbers (20 分)
1120 Friend Numbers (20 分) Two integers are called "friend numbers" if they share the same ...
- PAT甲级 1120. Friend Numbers (20)
1120. Friend Numbers (20) 时间限制 400 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Two in ...
- PAT 1120 Friend Numbers[简单]
1120 Friend Numbers (20 分) Two integers are called "friend numbers" if they share the same ...
- PAT_A1120#Friend Numbers
Source: PAT A1120 Friend Numbers (20 分) Description: Two integers are called "friend numbers&qu ...
随机推荐
- screen模式下鼠标无法滚动【问题】
忍了很久, 终于查到原因了. 回滚模式: CTRL+A (释放), [ 切换模式: CTRL+ C 参考: https://serverfault.com/questions/206303/how-t ...
- 获取deeplearning电子书
deeplearning 电子书 http://www.deeplearningbook.org/ 获取文件名,有顺序 curl http://www.deeplearningbook.org/ | ...
- 吴裕雄--天生自然 PYTHON3开发学习:MySQL - mysql-connector 驱动
import mysql.connector mydb = mysql.connector.connect( host="localhost", # 数据库主机地址 user=&q ...
- day55-mysql-用户权限、修改秘密、忘记密码
.用户权限:新创建的用户没有库,如果想让新用户访问我的库,必须给它授权才可以.我在使用的navicat要关闭新用户的连接才可以授权给它. .创建用户 '; -- 创建用户 .移除用户 drop use ...
- AI大火之下智能手机行业能适应这一风口吗?
今年智能手机行业的变化,实在是让人摸不到头脑.一方面是智能手机厂商依然在拿出各种具有噱头的产品,仿佛整个市场还依然热火朝天.但在另一方面,智能手机出货量却出现大幅下滑.据中国信息通信研究院发布的数据显 ...
- mqtt协议系统设计参考
作者:极寒链接:https://zhuanlan.zhihu.com/p/28525517来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非商业转载请注明出处. 回顾自己的工作经历最遗憾的是没 ...
- [LC] 285. Inorder Successor in BST
Given a binary search tree and a node in it, find the in-order successor of that node in the BST. Th ...
- 39)PHP,选取数据库中的两列
首先是我的文件关系: 我的b.php是主php文件,BBB.php是配置文件,login.html是显示文件, b.php文件代码: <?php /** * Created by PhpStor ...
- D - Association for Control Over Minds Kattis - control (并查集+STL)
You are the boss of ACM (Association for Control over Minds), an upstanding company with a single go ...
- 我是如何在四年时间里,从厨师转行为 Serverless 应用开发者
▎本文系译文,我的软件开发入行经历非常有趣 -- 我一开始其实是厨师. 作者:KieranMcCarthy 译者:Aceyclee 我在高中时就喜欢烹饪和烘焙,用不同食材的搭配去做出美味的食物,就像个 ...