Homomorphism

In abstract algebra, a homomorphism is a structure-preserving map between two algebraic structures (such as groups, rings, or vector spaces). The word homomorphism comes from the Greek language: (homos) meaning “same” and (morphe) meaning “shape”.

— Wikipedia on Homomorphism

2010.03.22 Monday ACHK

空即是色

多次元宇宙 5

.

(安:色即是空,即是話「現象『即是』本體」。

「空性」是指,物體本身的本性為「空」; 意思是,因為「本體」不能直接被觀察到,我們只能透過「現象」,去觀察「本體」。

雖然「本體」是客觀存在的,但是因為「現象」是不斷演化,我們透過「現象」,去觀察「本體」時,並不能直接觀察到,「本體」的固定性質。所以,相對於我們來說,「本體」所引起的「現象」,性質為「空」。

『本體』所引起『現象』的性質為『空』

化簡為

『本體』的性質為『空』

然後,再化簡為

性『空』

所以,「空」這個字,就用來代表「本體」。

而「色」這個字,就用來代表「現象」,因為「現象」是,我們對「本體」的感官知覺。)

.

正如當我看到一隻杯時,並不是直接觀察到,那隻杯的「本身」,因為我並不能一次過,觀察到那隻杯的「整體」。我每次觀察到的,只是那隻杯的某個角度,投射在我視網膜上的平面影像。在任何一個角度觀察到的「投影」,都不是那隻杯「本身」。在不同角度看,就會有不同的「投影」。所以「投影」本身,並不是客觀的,而是隨著不同觀點(觀察角度)而變化。

雖然「杯本身」是客觀存在的,但是因為「投影」隨著,轉換觀點而變化,我們透過「投影」,去觀察「杯本身」時,並不能直接觀察到,「杯本身」的固定性質。所以相對於我們來說,「杯本身」所引起的「投影」,性質為「空」。

『杯本身』所引起『投影』的性質為『空』

化簡為

『杯』的性質為『空』

然後,再化簡為

性『空』

所以,「空」這個字,就用來代表「杯本身」。

而「色」這個字,就用來代表「投影」,因為「投影」是,我們對「杯本身」的感官知覺——在視網膜上的顏影像。

— Me@2010.03.21

.

.

2010.03.21 Sunday (c) All rights reserved by ACHK

色即是空

多次元宇宙 4

.

上次我們是說「本體」與「現象」。你可不可以「重新下載」,有關「本體」與「現象」的內容?

(安:好似有少少印象 ……)

上次(幾年前)我們討論「色即是空,空即是色」。你又說二千多年前,古人在沒有我們,現今思考工具的情況下,都仍然可以洞察到,這麼深刻的道理;你十分佩服,古人的功力。我們現今有,什麼思考工具呢?

我們有的其中一個,思考工具是

『本體』就對應於,一件物件本身(object itself);『現象』就對應於,該物件的投影(projections)。

而我們每人的 point of view(觀點/視角),就是其中一個 projection。因為世界有很多人,每人有自己的 point of view,所以總共有很多,不同的 points of view。

(安:好似有點印象 …… 我有想過「不同的 projections 可不可以加在一起?」)

不同的 projections 加在一起 …… 那又怎樣?

(安:「本體」是 object itself ,而「現象」就是(比喻成)projections ……)

是。

(安:色即是空,即是話「現象『即是』本體」。

「空性」是指,物體本身的本性為「空」; 意思是,因為「本體」不能直接被觀察到,我們只能透過「現象」,去觀察「本體」。

雖然「本體」是客觀存在的,但是因為「現象」是不斷演化,我們透過「現象」,去觀察「本體」時,並不能直接觀察到,「本體」的固定性質。所以,相對於我們來說,「本體」所引起的「現象」,性質為「空」。

『本體』所引起『現象』的性質為『空』

化簡為

『本體』的性質為『空』

然後,再化簡為

性『空』

所以,「空」這個字,就用來代表「本體」。)

正如當我看到一隻杯時,並不是直接觀察到,那隻杯的「本身」,因為我並不能一次過,觀察到那隻杯的「整體」。我每次觀察到的,只是那隻杯的某個角度,投射在我視網膜上的平面影像。在任何一個角度觀察到的「投影」,都不是那隻杯「本身」。在不同角度看,就會有不同的「投影」。所以「投影」本身,並不是客觀的,而是隨著不同觀點(觀察角度)而變化。

雖然「杯本身」是客觀存在的,但是因為「投影」隨著,轉換觀點而變化,我們透過「投影」,去觀察「杯本身」時,並不能直接觀察到,「杯本身」的固定性質。所以相對於我們來說,「杯本身」所引起的「投影」,性質為「空」。

『杯本身』所引起『投影』的性質為『空』

化簡為

『杯』的性質為『空』」

然後,再化簡為

性『空』

所以,「空」這個字,就用來代表「杯本身」。

— Me@2010.03.18

.

.

2010.03.18 Thursday (c) All rights reserved by ACHK

Anthropic principle

The nucleosynthesis of carbon-12

Fred Hoyle invoked anthropic reasoning to make a remarkable prediction of an astrophysical phenomenon. He reasoned from the prevalence on earth of life forms whose chemistry was based on carbon-12 atoms, that there must be an undiscovered resonance in the carbon-12 nucleus facilitating its synthesis in stellar interiors via the triple-alpha process. He then calculated the energy of this undiscovered resonance to be 7.6 million electron-volts.[39][40] Willie Fowler’s research group soon found this resonance, and its measured energy was close to Hoyle’s prediction.

— Wikipedia on Anthropic principle

It is deduction from the results, not the prediction from the so-called “principle”.

— Me@2010.03.17

2010.03.18 Thursday ACHK

先決條件

多次元宇宙 3

我們現在討論的「原因」是取其廣義,意思是「眾多先決條件之一」。而日常生活中的所講的「原因」,是取其狹義,意思是 「眾多先決條件中,最重要的一個」。

(安:問題是,怎樣才為之「先決條件」?)

如果事件 A 沒有發生,事件 B 就一定不會發生的話,事件 A 就為之事件 B 的「先決條件」。

「Not-A –> Not-B」 = 「A is one of the necessary conditions of B.」

例如,即使你「勤力讀書」,你都未必可以「高中狀元」。所以「勤力讀書」並不是「高中狀元」的充份條件 (sufficient condition)。

但是,你不「勤力讀書」的話,就完全沒有可能「高中狀元」。所以「勤力讀書」就是「高中狀元」的先決條件 (necessary condition)。

(安:如果事件 A 沒有發生,事件 B 就一定不可以發生 …)

「一定不可以發生」,就即是「一定不發生」。「一定不可以發生」和「一定不發生」的意思一樣。所以在這裡,「可以」這兩個字是多餘的。又例如,「我一定可以拿到諾貝爾獎」和「我一定拿到諾貝爾獎」意思是一樣的。所以「可以」這兩個字又是多餘的。

(安:如果這樣說的話,「一定會」中的「一定」都是多餘的。)

那又是。加了「一定」,意思上沒有任何增加,所以「一定會」中的「一定」意思上是多餘的。雖然意思上多餘,但是 presentation 上(表達效果上)可能不多餘,例如有加強語氣的作用。

— Me@2010.03.16

necessary condition = 先決條件 = 必要條件

2010.03.16 Tuesday (c) All rights reserved by ACHK

Sage (mathematics software)

Design Philosophy of Sage

.

William Stein realized several important facts when designing Sage.

* To create viable alternatives to Magma, Maple, Mathematica, and MATLAB, would take hundreds, or thousands of man-years if one started from the beginning.
* There was a large collection of open-source mathematics software already written, but which was written in different languages (C, C++, Fortran and Python being the most common).

So rather than start from the beginning, Sage which is written in Python and Cython integrates all their specialized mathematics software into a common interface. A user needs to know only Python.

Where no open-source option exists for a particular class of problem, then this would be written in Sage. But Sage does not reinvent the wheel. The same design philosophy is used in commercial mathematics program such as Mathematica, but Sage can use a much wider range of open source software solutions than nonfree software, since some open source licensing imposes restrictions on commercial use of code.

— Wikipedia on Sage (mathematics software)

.

.

2010.03.14 Sunday ACHK

多次元宇宙 2

(安:「因果」是一個比喻空泛的一個概念 … 除了它有一個元素,就是「原因先於結果」。但是,除此之外,什麼是「因果」 呢?其實意思是迷迷糊糊的。)

其實可以這樣說:「不會無 A 而有 B」,那樣,A 就為之 B 的「因」。

(安:你的意思是將「原因」介定為「先決條件」?)

是。

(安:但是,你這個架構,和「原因」這個詞在日常生活的用法不相符。例如,有一件事件 B,它有十個先決條件:A1, A2, …, A10。要 A1, A2 … 到 A10 都發生了,B 才會發生。那樣,哪一個才算是 B 的原因呢?)

簡化起見,假設要 A, B, C 都發生了,D 才會發生。那我可以說「A, B, C 都是 D 的原因」。如果我說「A 是 D 的原因」的話,我都沒有錯,因為我不是說「A 是 D 的唯一原因」。

(安:如果根據你這個講法,「原因」這個詞就更加空泛:幾乎發生於 D 之前的任何事,都可以稱為 D 的原因。)

正正是這樣。所有在事件 D 的過去的事,都是事件 D 的原因。

(安:這樣用的話,會令到「原因」這個詞空泛到完全沒有意義。)

這裡,「原因」這個詞,其實已化成「時間」的意思。「原因」就即是「過去」。當我們說事件 A 是事件 D 的「原因」,其實即是話 A 在 D 的過去。

(安:這個講法很奇怪,而且遺反了日常生活中「原因」這個詞的用法。例如,我說「我有好成績的原因是我有努力讀書。」意思並不只是 「『努力讀書』是在『拿到好成績』的過去。」)

所以要非常小心。我們現在討論的「原因」是取其廣義,意思是「眾多先決條件之一」。而日常生活中的所講的「原因」,是取其狹義,意思是 「眾多先決條件中,最重要的一個」。

— Me@2010.03.13

2010.03.13 Saturday (c) All rights reserved by ACHK

多次元宇宙

Multi-dimensional universe

上次你說有關 multi-dimensional 的問題。你可不可以由第一句開始講?

(安:Multi-dimensional … 時間 … 其實我不太記得上次我們說了什麼 …)

我們說有關 points of view 的問題。有時候我的講法和你的講法不同。然後我說,”看法不同” 這個現象可以比喻成,我們其實看著同一個 object(物件),只不過我們各自 由不同的角度去觀察它。

(安:哪和時間有什麼關係呢?)

你上次問,雖然我用了 multi-dimensional universe(多次元宇宙)來比喻 “本體”,但是我這個比喻沒有處理到宇宙萬物的 “因果關係”。接著,我就說,multi-dimension 的其中一個次元就是 ”時間”。而 ”時間”,就是 ”因果網絡”。所以,我這個比喻,已經包括了 “因果關係”。

(安:”因果” 是一個比喻空泛的一個概念 … 除了它有一個元素,就是 ”原因 先於 結果”。但是,除此之外,什麼是 ”因果” 呢?其實意思是迷迷糊糊的。)

其實可以這樣說: “不會無 A 而有 B ” ,那樣,A 就為之 B 的 “因”。

(安:你的意思是將 ”原因” 介定為 ”先決條件”?)

是。

— Me@2010.02.10

2010.03.10 Wednesday (c) All rights reserved by ACHK

時間定義

時間 = 因果網絡

all the necessary conditions(所有先決條件)= sufficient condition(充份條件)

(廣義)原因 = one of the necessary conditions(先決條件之一)

(狹義)原因 = 主要原因 = 主要先決條件

先決條件: 不能有 B 而沒有 A 的話,那 A 就是 B 的先決條件。

怎樣判別一個先決條件是不是主要先決條件?

— Me@2010.02.10

2010.03.09 Tuesday (c) All rights reserved by ACHK

A great artist

Anybody can look at a pretty girl and see a pretty girl. An artist can look at a pretty girl and see the old woman she will become. A better artist can look at an old woman and see the pretty girl that she used to be. But a great artist — a master — and that is what Auguste Rodin was — can look at an old woman, portray her exactly as she is… and force the viewer to see the pretty girl she used to be…. and more than that, he can make anyone with the sensitivity of an armadillo, or even you, see that this lovely young girl is still alive, not old and ugly at all, but simply prisoned inside her ruined body. He can make you feel the quiet, endless tragedy that there was never a girl born who ever grew older than eighteen in her heart…. no matter what the merciless hours have done to her. Look at her, Ben. Growing old doesn’t matter to you and me; we were never meant to be admired — but it does to them. Look at her! (UC)

— Robert A. Heinlein

.

.

2010.03.09 Tuesday ACHK

Curry–Howard correspondence 2

The Curry–Howard correspondence also raised new questions regarding the computational content of proof concepts which were not covered by the original works of Curry and Howard. In particular, classical logic has been shown to correspond to the ability to manipulate the continuation of programs and the symmetry of sequent calculus to express the duality between the two evaluation strategies known as call-by-name and call-by-value.

Speculatively, the Curry–Howard correspondence may be expected to lead to a substantial unification between mathematical logic and foundational computer science:

— Wikipedia on Curry–Howard correspondence

2010.03.08 Monday ACHK

Curry–Howard correspondence

If one now abstracts on the peculiarities of this or that formalism, the immediate generalization is the following claim: a proof is a program, the formula it proves is a type for the program. Most informally, this can be seen as an analogy which states that the return type of a function (i.e., the type of values returned by a function) is analogous to a logical theorem, subject to hypotheses corresponding to the types of the argument values passed to the function; and that the program to compute that function is analogous to a proof of that theorem. This sets a form of logic programming on a rigorous foundation: proofs can be represented as programs, and especially as lambda terms, or proofs can be run.

The correspondence has been the starting point of a large spectrum of new research after its discovery, leading in particular to a new class of formal systems designed to act both as a proof system and as a typed functional programming language.

— Wikipedia on Curry–Howard correspondence

2010.03.07 Sunday ACHK

Hacker ethic

* Access to computers — and anything which might teach you something about the way the world works — should be unlimited and total. Always yield to the Hands-On Imperative!
Levy is recounting hackers’ abilities to learn and build upon pre-existing ideas and systems. He believes that access gives hackers the opportunity to take things apart, fix, or improve upon them and to learn and understand how they work. This gives them the knowledge to create new and even more interesting things (Levy, 1984:226). Access aids the expansion of technology.

* All information should be free.
Linking directly with access, information needs to be free for hackers to fix, improve, and reinvent systems. A free exchange of information allows for greater overall creativity. In the hacker viewpoint, any system could benefit from an easy flow of information.

* Mistrust authority — promote decentralization.
The best way to promote the free exchange of information is to have an open system that presents no boundaries between a hacker and his quest for knowledge. Hackers believe that bureaucracies, whether corporate, government, or university, are flawed systems.

* Hackers should be judged by their hacking, not criteria such as degrees, age, race, sex, or position.
Inherent in the hacker ethic is a meritocratic system where superficiality is disregarded in esteem of skill. Levy articulates that criteria such as age, sex, race, position, and qualification are deemed irrelevant within the hacker community. Hacker skill is the ultimate determinant of acceptance. Such a code within the hacker community fosters the advance of hacking and software development.

Testament to the hacker ethic of equal opportunity, L. Peter Deutsch, a twelve-year-old hacker, was accepted in the TX-0 community, though was not recognised by non-hacker graduate students.

* You can create art and beauty on a computer.
Hackers deeply appreciate innovative techniques which allow programs to perform complicated tasks with few instructions. A program’s code was considered to hold a beauty of its own, having been carefully composed and artfully arranged. Learning to create programs which used the least amount of space almost became a game between the early hackers.

* Computers can change your life for the better.

Hackers felt that computers had enriched their lives, given their lives focus, and made their lives adventurous. Hackers regarded computers as Aladdin’s lamps that they could control. They believed that everyone in society could benefit from experiencing such power and that if everyone could interact with computers in the way that hackers did, then the Hacker Ethic might spread through society and computers would improve the world. The hacker succeeded in turning dreams of endless possibilities into realities. The hackers primary object was to teach society that “the world opened up by the computer was a limitless one” (Levy 230:1984)

… free and open source software allows hackers to access the code used to create the software to improve or reuse it. In effect the free and open source software movements embody all of the hacker ethics.

— Wikipedia on Hacker ethic

.

“Hacker” here means a highly skilled programmer, not a computer criminal. — Me

The basic difference is this: hackers build things, crackers break them. — Eric S. Raymond

“In academia, a “hacker” is a person who follows a spirit of playful cleverness and enjoys programming.” -– Wikipedia on Hacker (academia)

.

.

2010.03.06 Saturday ACHK

Category Theory | Lisp

My current self-study programme includes

1. read almost everything written by Paul Graham

public domain image
Wikipedia

2. learn Lisp programming language (Common Lisp/Scheme) by reading Paul Graham’s textbooks

3. learn Category Theory so that I can read almost everything written by John Baez

public domain image
Wikipedia

Yester-night and tonight, I discovered that they are related:

“Lists, and recursive operations on them, are an excellent case in point. But the path connecting them to their mathematical underpinnings is a long and winding one, which lays in the realm of Category Theory.” — jao

I had never expected that. They are one thing.

Paul Graham –> Lisp –> Category Theory –> John Baez

I have been learning Lisp since 2000 (Machine Intelligence course), since 2006 (Structure and Interpretation of Classical Mechanics, Structure and Interpretation of Computer Programs), since 2010. I have been learning Category Theory since 2006-2008 (John Baez), since 2008 (Sets for Mathematics), since 2010. I had never expected that they are just two different languages of the same thing.

— Me@2010.03.04

2010.03.05 Friday (c) All rights reserved by ACHK

diff

In computing, diff is a file comparison utility that outputs the differences between two files. It is typically used to show the changes between a file and a former version of the same file.

— Wikipedia on diff

2010.03.03 Wednesday ACHK

Categorical logic

In an even broader perspective, one might take category theory to be to the mathematics of the second half of the twentieth century, what measure theory was to the first half.

— Wikipedia on Categorical logic

2010.03.01 Monday ACHK

Kairos

Kairos is an ancient Greek word meaning the right or opportune moment (the supreme moment). The ancient Greeks had two words for time, chronos and kairos. While the former refers to chronological or sequential time, the latter signifies a time in between, a moment of undetermined period of time in which something special happens. What the special something is depends on who is using the word. While chronos is quantitative, kairos has a qualitative nature.

— Wikipedia on Kairos

2010.02.24 Wednesday ACHK