逐步主鏈
S01 · definition
操作前
\lim_{x\to a}f(x)=L操作後
\forall\varepsilon>0\ \exists\delta>0\ \forall x:\ 0<|x-a|<\delta\Rightarrow|f(x)-L|<\varepsilon
條件:無
規則:mko_func_limit · 依賴:G1, func_limit_def
葉節點依據:func_limit_def + def_unfold
依 MKO 展開去心極限。條件 0<|x−a|<δ 排除 x=a,所以 f(a) 是否存在、取什麼值都不進入定義;輸入距離是嚴格小於 δ,輸出誤差也是嚴格小於 ε。
S02 · implies
操作前
\mathrm{dom}(f)=\mathbb{R}\setminus\{3\}操作後
\forall\delta>0:\ \{x:0<|x-3|<\delta\}\subseteq\mathrm{dom}(f),\ 3+\tfrac{\delta}{2}\ \text{in it}條件:無
規則:mko_func_limit · 依賴:G2, S01
葉節點依據:set_builder + order_basics
去心鄰域中的 x 都滿足 x≠3,所以都在 f 的論域內;而且 3+δ/2 屬於它(0<δ/2<δ),鄰域不空。因此「x→3 時 f 的極限」是有意義的問題,雖然 f(3)=(9−9)/(3−3) 是 0/0,沒有定義。
S03 · equivalent
操作前
x^2-9
操作後
(x-3)(x+3)
條件:無
規則:distributive · 依賴:G2, distributive
葉節點依據:distributive + add_inverse + add_zero
以分配律展開 (x−3)(x+3)=x²+3x−3x−9=x²−9,這是對所有實數 x 成立的恆等式(N1)。
S04 · equivalent
操作前
f(x)=\frac{(x-3)(x+3)}{x-3}\ (x\neq 3)操作後
f(x)=x+3\ (x\neq 3)
條件:x-3\neq 0
規則:frac_rules · 依賴:S03, frac_rules
葉節點依據:frac_rules + mul_inverse_nonzero
對 x≠3,x−3≠0,可以約去公因子:(x+3)(x−3)/(1·(x−3))=(x+3)/1(a/b=(ak)/(bk),k=x−3≠0)。這只在論域 ℝ∖{3} 上成立;它不給 f 在 3 的值,因為在 3 約分要除以 0。
S05 · equivalent
操作前
|f(x)-6|\ (x\neq 3)
操作後
|(x+3)-6|=|x-3|
條件:x\neq 3
規則:eq_replace · 依賴:S04
葉節點依據:eq_replace + add_assoc + add_inverse
在 x≠3 處以 S04 代入 f(x)=x+3,(x+3)−6=x−3。輸出誤差恰等於輸入距離。
S06 · implies
操作前
\varepsilon>0\ \text{arbitrary},\ \delta=\varepsilon操作後
0<|x-3|<\delta\Rightarrow|f(x)-6|=|x-3|<\varepsilon;\ \lim_{x\to 3}f(x)=6條件:\varepsilon>0
規則:forall_intro · 依賴:S01, S02, S05
葉節點依據:forall_intro + exists_intro + func_limit_def
取任意 ε>0,令 δ=ε>0。若 0<|x−3|<δ,則 x≠3,由 S05,|f(x)−6|=|x−3|<δ=ε。ε 任意,依全稱推廣及 S01,lim_(x→3) f(x)=6。極限 6 不是 f(3):f(3) 依然無定義(S02)。
S07 · equivalent
操作前
|g(x)-7|,\ g(x)=4x-1,\ 7=4\cdot 2-1
操作後
|4x-8|=|4(x-2)|=4|x-2|
條件:無
規則:abs_rules · 依賴:G3, abs_rules
葉節點依據:abs_rules + distributive + numeric_evaluation
仿射極限值 ma+b=4·2−1=7(MKO 假設 a2)。g(x)−7=4x−8=4(x−2)(N3),依 |uv|=|u||v|,|g(x)−7|=4|x−2|。
S08 · equivalent
操作前
|m|\cdot\frac{u}{v}\le\frac{p}{q}操作後
|m|\,u\,q\le p\,v
條件:q>0; v>0
規則:order_basics · 依賴:G3, frac_rules
葉節點依據:order_basics + frac_rules
兩邊同乘正數 qv,不等號方向不變,得整數判準 |m|uq≤pv,即 MKO 假設 a3 的形式。這裡是「≤」,等號允許。
S09 · theorem_application
操作前
4\cdot 1\cdot 2=8\le 8=1\cdot 8
操作後
0<|x-2|<\tfrac18\Rightarrow|g(x)-7|<\tfrac12
條件:|m|\delta\le\varepsilon
規則:L_affine_bound · 依賴:S07, S08, G3
葉節點依據:abs_rules + order_basics + case_analysis
代入 m=4、u=1、v=8、p=1、q=2:|m|uq=8≤8=pv,等號成立,即 |m|δ=4·(1/8)=1/2=ε。依引理 L_affine_bound,δ=1/8 合法。等號可以,因為輸入距離嚴格小於 δ:4|x−2|<4·(1/8)=1/2。引理在 S09.1 至 S09.3 證明。
S10 · implies
操作前
\delta=\tfrac17:\ 4\cdot 1\cdot 2=8>7=1\cdot 7
操作後
x=2+\tfrac18:\ 0<|x-2|<\tfrac17,\ |g(x)-7|=\tfrac12\not<\tfrac12
條件:無
規則:quantifier_negation · 依賴:S07, S08, G3
葉節點依據:quantifier_negation + numeric_evaluation + order_basics
δ=1/7 時判準 8≤7 不成立。這時引理不適用,但還要證明 δ=1/7 真的不合法:取 x=2+1/8,|x−2|=1/8<1/7 且 x≠2,而 |g(x)−7|=4·(1/8)=1/2,不小於 ε=1/2。一個反例就否定了「所有 0<|x−2|<1/7 的 x 都合格」。
S11 · implies
操作前
x<1:\ |h(x)-2|
操作後
|(x+1)-2|=|x-1|;\ \delta=\varepsilon\ \text{gives}\ L^-=2條件:x<1
規則:one_sided_def · 依賴:G4, one_sided_def
葉節點依據:one_sided_def + abs_rules + forall_intro
左側 x<1 時 h(x)=x+1,(x+1)−2=x−1(N9)。對任意 ε>0 取 δ=ε:若 1−δ<x<1,則 |h(x)−2|=|x−1|<δ=ε。所以左極限是 2,即左分支 1·1+1 的值。
S12 · implies
操作前
x>1:\ |h(x)-5|
操作後
|(2x+3)-5|=2|x-1|;\ \delta=\tfrac{\varepsilon}{2}\ \text{gives}\ L^+=5條件:x>1
規則:one_sided_def · 依賴:G4, one_sided_def
葉節點依據:one_sided_def + abs_rules + forall_intro
右側 x>1 時 h(x)=2x+3,(2x+3)−5=2(x−1)(N10)。取 δ=ε/2:若 1<x<1+δ,則 |h(x)−5|=2|x−1|<2δ=ε。所以右極限是 5,即右分支 2·1+3 的值。
S13 · implies
操作前
\lim_{x\to 1}h(x)=L\ \text{(assumed)},\ \varepsilon=\tfrac32操作後
\delta>0,\ t=\tfrac{\delta}{2}:\ |h(1+t)-L|<\tfrac32,\ |h(1-t)-L|<\tfrac32條件:無
規則:exists_elim · 依賴:S01, G4
葉節點依據:exists_elim + forall_elim + order_basics
反證:假設兩側極限 L 存在。對 ε=3/2,定義給出某個 δ>0。令 t=δ/2,則 0<t<δ,點 1+t 與 1−t 都滿足 0<|x−1|<δ,所以 |h(1+t)−L|<3/2 且 |h(1−t)−L|<3/2。選 ε=3/2 是因為左右極限相差 3,3/2 是其一半。
S14 · implies
操作前
|h(1+t)-h(1-t)|\le|h(1+t)-L|+|L-h(1-t)|<3
操作後
h(1+t)-h(1-t)=3+3t>3:\ \text{contradiction};\ \lim_{x\to 1}h(x)\ \text{does not exist}條件:t>0
規則:contradiction · 依賴:S13, abs_rules
葉節點依據:contradiction + abs_rules + order_basics + numeric_evaluation
三角不等式與 |L−h(1−t)|=|h(1−t)−L| 給出 |h(1+t)−h(1−t)|<3/2+3/2=3。但直接計算 h(1+t)−h(1−t)=(2(1+t)+3)−((1−t)+1)=3+3t(N11),因 t>0,它大於 3,絕對值也大於 3。矛盾,所以兩側極限不存在。
S15 · implies
操作前
\text{S06, S09, S10, S11, S12, S14}操作後
\lim_{x\to3}f=6;\ \delta=\tfrac18\ \text{valid},\ \tfrac17\ \text{not};\ L^-=2\neq 5=L^+,\ \text{no two-sided limit}條件:無
規則:and_intro_elim · 依賴:S06, S09, S10, S11, S12, S14
葉節點依據:and_intro_elim
匯總三個結論。對 h,兩個單側極限 2 與 5 都合法存在,只是不相等,所以只否定兩側極限;不能把其中一側抹掉,也不能以 h(1)(無定義)來補。