AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기NRS³ · Landauer and Carnot: erasing a bit costs k_B T ln 2; no engine beats 1 − T_c/T_h; one bath gives no work — Lean 4 + Physlib
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
The second law as a limit, in Lean 4. Erasing information costs heat: a system that loses entropy ΔS to a reservoir at temperature T gives it at least k_B T ΔS (Landauer; one bit, k_B T ln 2). No engine beats Carnot: between reservoirs at T_h and T_c the work is at most (1 − T_c / T_h) of the heat taken in, and a single reservoir gives no work at all (Kelvin–Planck). Both come from one inequality, Klein's: the thermal state has the most entropy at its mean energy. ▶ Try it: erase a bit into a chain of d sites · ▶ Try it: build engines between two chainsREADME 전문 보기 ↗
The second law as a limit, in Lean 4. Erasing information costs heat: a system that loses
entropy ΔS to a reservoir at temperature T gives it at least k_B T ΔS (Landauer; one bit,
k_B T ln 2). No engine beats Carnot: between reservoirs at T_h and T_c the work is at
most (1 − T_c / T_h) of the heat taken in, and a single reservoir gives no work at all
(Kelvin–Planck). Both come from one inequality, Klein's: the thermal state has the most entropy at
its mean energy.
▶ Try it: erase a bit into a chain of d sites · ▶ Try it: build engines between two chains
| Statement | Lean |
|---|---|
log (exp A) = A for Hermitian A; the Gibbs state γ = exp(−βH) / Z | HermitianMat.log_exp, MState.gibbsState |
S(γ) = β ⟨H⟩_γ + log Z | MState.Sᵥₙ_gibbsState |
Klein: S(σ) ≤ β ⟨H⟩_σ + log Z for every state σ | MState.Sᵥₙ_le_gibbs |
S(ρ ⊗ σ) = S(ρ) + S(σ); S(U ρ U†) = S(ρ) | MState.Sᵥₙ_prod, MState.Sᵥₙ_uConj |
S(ρ) − S(ρ′_S) ≤ β (⟨H⟩_{ρ′_R} − ⟨H⟩_γ), ρ′ = U (ρ ⊗ γ) U† | MState.landauer |
at temperature T: k_B T ΔS ≤ Q; one bit: k_B T ln 2 ≤ Q | MState.landauer_temperature, MState.landauer_bit |
Finite-dimensional system and reservoir, any Hamiltonian H, any unitary U on the pair.
Temperature and k_B are Physlib's (Temperature, Constants.kB).
On the cube a path at the speed limit takes one step per unit of time, each along one axis,
always forward: in k = a + b + c steps it reaches the edge of the light cone, the octahedron
|Δx| + |Δy| + |Δz| = k. Along one axis there is a single such path; as soon as two axes move
there are C(k, a) C(b + c, b) of them, the multinomial. That count is entropy even at the speed
limit, and by Landauer erasing which path was taken costs heat — the entropy of the path the
entropy took (Szilard 1929, Landauer 1961).
| Statement | Lean |
|---|---|
C(a + b + c, a) C(b + c, b) paths at the speed limit | PathEntropy.card_lightPath |
along one axis exactly one, path entropy 0 | card_lightPath_axis, pathEntropy_axis |
with two axes moving, at least two; path entropy > 0 | one_lt_card_lightPath, pathEntropy_pos |
erasing which path was taken releases heat ≥ k_B T · S_path | landauer_pathEntropy |
▶ Pruébalo (español): la entropía de los caminos a la velocidad límite
The same file is in Physlib as PhyslibAlpha/CondensedMatter/TightBindingChain/PathEntropy.lean.
The open chain hops only between neighbours, so after k steps nothing connects sites more than
k apart: ⟨m| H^k |n⟩ = 0 for |m − n| > k. Two packets emitted from the same site m ≥ 1
steps apart are nested, and the later one never reaches the front of the earlier one: both are
capped at the speed limit. The count ends: the Gibbs state holds the most entropy its mean energy
allows, at most log d, and is passive — nothing left to distinguish, no work left to extract.
| Statement | Lean |
|---|---|
| light cone `⟨m | H^k |
| the front on time, `⟨n + k | H^k |
window of an event: nothing before step r, nonzero at step r | event_window |
| nested packets | inner_pow_openHamiltonian_front_eq_zero |
Gibbs: most entropy at fixed energy, ≤ log d, passive | MState.gibbsState_end_of_count |
▶ Pruébalo (español): paquetes topados en c y el fin del conteo
| Statement | Lean |
|---|---|
Kelvin–Planck: ⟨H⟩_γ ≤ ⟨H⟩_{U γ U†}, one reservoir gives no work | MState.inner_gibbsState_le_uConj |
two reservoirs: β_h Q_h ≤ β_c Q_c | MState.carnot_entropy |
Carnot: W = Q_h − Q_c ≤ (1 − β_h / β_c) Q_h | MState.carnot |
the same with temperatures: W ≤ (1 − T_c / T_h) Q_h | MState.carnot_temperature |
The theorems hold for every finite Hamiltonian; they do not use the pair T_d : P_d. In the
figures and on the pages the reservoirs are the open chain of d sites, the transport
Hamiltonian of RS^N³ (levels −2 cos(kπ/(d+1))), and the unitaries are rotations and permutations
of the joint energy levels. Those values are numerical; the bounds they never cross are the Lean
theorems.
Carnot (1824) bounded the efficiency of heat engines; Clausius (1850) and Kelvin (1851) made it
the second law. Gibbs (1902) wrote the canonical state, von Neumann (1927–32) the entropy
−tr ρ log ρ, and Klein (1931) the inequality behind every proof here. Landauer (1961) read the
same inequality as the cost of erasing information; the form with a unitary on system and
reservoir follows Reeb and Wolf (2014).
Lean 4 v4.34.1 and Physlib at
1433e0de (it brings Mathlib v4.34.1): von Neumann entropy, Klein's inequality and
subadditivity come from Physlib's QuantumInfo.
lake exe cache get
lake build
lake env lean Verification/Axioms.lean # only propext, Classical.choice, Quot.sound
Every file: no sorry, lines of at most 100 characters, English headers. Figures:
python3 docs/simulation/figures_landauer.py, python3 docs/simulation/figures_carnot.py.
RS^N answers a question of the Solvay era with later tools. The series is placed in that window: what falls inside it is the history the theorem belongs to; what falls after it is a proposal, not part of RS^N³.
| Year | Event | Repository |
|---|---|---|
| 1824–1902 | Carnot, Clausius, Kelvin, Gibbs: the second law and the canonical state | nrs3-landauer-carnot (this one) |
| 1911 | First Solvay conference: radiation and the quanta | |
| 1911–12 | Poincaré: Planck's law forces discrete levels | nrs3-poincare |
| 1915–20 | Szegő: limit theorems for Toeplitz matrices (the limit C_N^∞, D8) | base repository (RS^N, RS^N³) |
| 1917–27 | Einstein and de Sitter: Λ and the empty universe; Friedmann and Lemaître: the expanding universe | nrs3-de-sitter |
| 1925–27 | Pauli: exclusion, shells 2n², spin matrices | nrs3-pauli-dirac |
| 1927–32 | von Neumann: the entropy of a quantum state; Klein's inequality (1931) | nrs3-landauer-carnot (this one) |
| 1928 | Dirac: the 4 × 4 gamma matrices | nrs3-pauli-dirac |
| 1929 | van der Waerden: spinors, SL(2, ℂ) on Hermitian matrices; the uncertainty cone |
After the window. Landauer (1961) is a later reading of the 1931 inequality: the cost of erasure. The theorem is Klein's and von Neumann's; the name is Landauer's. Lean 4, Mathlib and Physlib are the verification.
NRS Noncommercial License 1.0.0, see LICENSE. Author: Eduardo Nava-Hernandez.
nrs3-uncertainty-cone| 1929–30 | Robertson and Schrödinger: the uncertainty inequality | base repository (RS^N, RS^N³) |
| 1945–46 | Mandelstam–Tamm: the time–energy bound; Rao (1945), Cramér (1946) | nrs3-mandelstam-tamm-cramer-rao |