pith. machine review for the scientific record. sign in
def

outcomeCost

definition
show as:
view math explainer →
module
IndisputableMonolith.Quantum.Measurement.WavefunctionCollapse
domain
Quantum
line
216 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.Quantum.Measurement.WavefunctionCollapse on GitHub at line 216.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

depends on

used by

formal source

 213
 214/-- The recognition cost of a measurement outcome.
 215    Higher amplitude → lower cost → higher probability. -/
 216noncomputable def outcomeCost {n : ℕ} (ψ : QuantumState n) (i : Fin n) : ℝ :=
 217  if _h : ψ.amplitudes i ≠ 0 then
 218    -(Real.log (‖ψ.amplitudes i‖^2))  -- Negative log probability = information cost
 219  else
 220    0  -- Infinite cost for impossible outcomes
 221
 222/-- **THEOREM (Cost-Probability Relation)**: Probability decreases with cost.
 223    P(i) = exp(-Cost(i)) when properly normalized.
 224
 225    Proof: P(i) = |ψᵢ|², Cost(i) = -log(|ψᵢ|²)
 226           exp(-Cost(i)) = exp(--log(|ψᵢ|²)) = exp(log(|ψᵢ|²)) = |ψᵢ|² = P(i) -/
 227theorem cost_probability_relation : ∀ {n : ℕ} (ψ : QuantumState n) (i : Fin n),
 228    ψ.amplitudes i ≠ 0 →
 229    measurementProbability ψ i = Real.exp (-(outcomeCost ψ i)) := by
 230  intro n ψ i hz
 231  unfold measurementProbability outcomeCost
 232  rw [dif_pos hz, neg_neg]
 233  have hpos : ‖ψ.amplitudes i‖^2 > 0 := sq_pos_of_pos (norm_pos_iff.mpr hz)
 234  exact (Real.exp_log hpos).symm
 235
 236/-! ## The Measurement Postulate Derived -/
 237
 238/-- **THEOREM (Measurement Postulate from Ledger)**:
 239    The quantum measurement postulate follows from ledger commitment:
 240
 241    1. Before measurement: superposition (uncommitted ledger)
 242    2. Measurement: ledger commitment to one branch
 243    3. After measurement: definite state (committed ledger)
 244    4. Probability: given by |amplitude|² (recognition weight)
 245
 246    This is not a postulate in RS - it's a theorem about how ledgers work. -/