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

pathLength1

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

open explainer

Read the cached plain-language explainer.

open lean source

IndisputableMonolith.Quantum.DoubleSlit on GitHub at line 76.

browse module

All declarations in this module, on Recognition.

explainer page

A cached Ask Recognition explainer exists for this declaration.

open explainer

depends on

used by

formal source

  73  2 * π * r / lambda
  74
  75/-- Path length from source through slit 1 to point y on screen. -/
  76noncomputable def pathLength1 (setup : DoubleSlitSetup) (y : ℝ) : ℝ :=
  77  Real.sqrt (setup.L^2 + (y - setup.d/2)^2)
  78
  79/-- Path length from source through slit 2 to point y on screen. -/
  80noncomputable def pathLength2 (setup : DoubleSlitSetup) (y : ℝ) : ℝ :=
  81  Real.sqrt (setup.L^2 + (y + setup.d/2)^2)
  82
  83/-- Path length difference (small angle approximation). -/
  84noncomputable def pathDifference (setup : DoubleSlitSetup) (y : ℝ) : ℝ :=
  85  -- In small angle approximation: Δr ≈ d × sin(θ) ≈ d × y / L
  86  setup.d * y / setup.L
  87
  88/-- Phase difference between the two paths. -/
  89noncomputable def phaseDifference (setup : DoubleSlitSetup) (y : ℝ) : ℝ :=
  90  2 * π * pathDifference setup y / setup.lambda
  91
  92/-! ## Interference Pattern -/
  93
  94/-- The amplitude at point y is the sum of two complex amplitudes.
  95    A(y) = e^{iφ₁} + e^{iφ₂} -/
  96noncomputable def amplitude (setup : DoubleSlitSetup) (y : ℝ) : ℂ :=
  97  let φ1 := pathPhase (pathLength1 setup y) setup.lambda
  98  let φ2 := pathPhase (pathLength2 setup y) setup.lambda
  99  Complex.exp (I * φ1) + Complex.exp (I * φ2)
 100
 101/-- The intensity (probability) at point y.
 102    I(y) = |A(y)|² = 2 + 2cos(Δφ) = 4cos²(Δφ/2) -/
 103noncomputable def intensity (setup : DoubleSlitSetup) (y : ℝ) : ℝ :=
 104  let Δφ := phaseDifference setup y
 105  4 * (Real.cos (Δφ / 2))^2
 106