Three-state kernel for a massless Møller return measurement
DefinitionMarkovScattering_MollerKernelmarkov-scattering
Defines the empty state and the two one-word states, the transition matrix for two channel rates, and the rational normalization .
Definition code
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Data.Fintype.Prod
import Mathlib.Tactic.DeriveFintype
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.Ring
namespace MarkovScattering.MollerChain
inductive State
| empty
| word1
| word2
deriving DecidableEq
instance : Fintype State :=
⟨{State.empty, State.word1, State.word2}, fun x => by cases x <;> simp⟩
open State
/-- The kernel of Definition 1: `empty → word i` has mass `1/2`, `word i → empty` has mass
`y_i/(2C)`, `word i → word i` has the rest, every other entry is `0`. -/
noncomputable def Q (y1 y2 : ℝ) : State → State → ℝ
| empty, word1 => 1 / 2
| empty, word2 => 1 / 2
| word1, empty => y1 / (2 * (y1 + y2))
| word2, empty => y2 / (2 * (y1 + y2))
| word1, word1 => 1 - y1 / (2 * (y1 + y2))
| word2, word2 => 1 - y2 / (2 * (y1 + y2))
| _, _ => 0
noncomputable def T (y1 y2 : ℝ) : ℝ := 1 + (y1 + y2) ^ 2 / (y1 * y2)
end MarkovScattering.MollerChain
Source