All proofs
Project-declaredLean 4.32.0 Β· mathlib@81a5d257c8e4

Harmonic Wave X is Plane Wave

Electromagnetism.ElectromagneticPotential.harmonicWaveX_isPlaneWave

Project documentation

The electromagnetic potential for a Harmonic wave travelling in the x-direction with wave number k. -/ noncomputable def harmonicWaveX (𝓕 : FreeSpace) (k : ℝ) (Eβ‚€ : Fin d β†’ ℝ) (Ο† : Fin d β†’ ℝ) : ElectromagneticPotential d.succ where val := fun x ΞΌ => match ΞΌ with | Sum.inl 0 => 0 | Sum.inr 0 => 0 | Sum.inr ⟨Nat.succ i, h⟩ => -Eβ‚€ ⟨i, Nat.succ_lt_succ_i...

Exact Lean statement

lemma harmonicWaveX_isPlaneWave {d} (𝓕 : FreeSpace) (k : ℝ) (hk : k β‰  0)
    (Eβ‚€ : Fin d β†’ ℝ) (Ο† : Fin d β†’ ℝ) :
    IsPlaneWave 𝓕 (harmonicWaveX 𝓕 k Eβ‚€ Ο†) ⟨Space.basis 0, by simp⟩

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma harmonicWaveX_isPlaneWave {d} (𝓕 : FreeSpace) (k : ℝ) (hk : k β‰  0)    (Eβ‚€ : Fin d β†’ ℝ) (Ο† : Fin d β†’ ℝ) :    IsPlaneWave 𝓕 (harmonicWaveX 𝓕 k Eβ‚€ Ο†) ⟨Space.basis 0, by simp⟩ := by  apply And.intro  Β· use fun u => WithLp.toLp 2 fun i =>      match i with      | 0 => 0      | ⟨Nat.succ i, h⟩ => Eβ‚€ ⟨i, by grind⟩ * cos (-k * u + Ο† ⟨i, by grind⟩)    ext t x i    match i with    | 0 =>      simp [harmonicWaveX_electricField_zero, planeWave]      rfl    | ⟨Nat.succ i, h⟩ =>      simp only [Nat.succ_eq_add_one, neg_mul]      rw [← Fin.succ_mk _ _ (by grind)]      rw [harmonicWaveX_electricField_succ _ _ hk]      simp [planeWave]      left      ring_nf  Β· use fun u ij =>      match ij with      | (0, 0) => 0      | (0, ⟨Nat.succ j, hj⟩) =>        (- Eβ‚€ ⟨j, by grind⟩ / 𝓕.c.val) * cos (-k * u + Ο† ⟨j, by grind⟩)      | (⟨Nat.succ i, hi⟩, 0) =>        (Eβ‚€ ⟨i, by grind⟩ / 𝓕.c.val) * cos (-k * u + Ο† ⟨i, by grind⟩)      | (⟨Nat.succ i, hi⟩, ⟨Nat.succ j, hj⟩) => 0    intro t x    ext ij    match ij with    | (0, 0) =>      simp only [Nat.succ_eq_add_one, magneticFieldMatrix_diag_eq_zero, inner_basis, neg_mul]      rfl    | (⟨0, h0⟩, ⟨Nat.succ j, hj⟩) =>      simp only [Nat.succ_eq_add_one, Fin.zero_eta, inner_basis, neg_mul]      rw [← Fin.succ_mk _ _ (by grind)]      rw [harmonicWaveX_magneticFieldMatrix_zero_succ _ k hk]      simp only [Nat.succ_eq_add_one, mul_eq_mul_left_iff, div_eq_zero_iff, neg_eq_zero,        SpeedOfLight.val_ne_zero, or_false]      left      ring_nf    | (⟨Nat.succ i, hi⟩, ⟨0, h0⟩) =>      simp only [Nat.succ_eq_add_one, Fin.zero_eta, inner_basis, neg_mul]      rw [← Fin.succ_mk _ _ (by grind)]      rw [harmonicWaveX_magneticFieldMatrix_succ_zero _ k hk]      simp only [Nat.succ_eq_add_one, mul_eq_mul_left_iff, div_eq_zero_iff,        SpeedOfLight.val_ne_zero, or_false]      left      ring_nf    | (⟨Nat.succ i, hi⟩, ⟨Nat.succ j, hj⟩) =>      simp only [Nat.succ_eq_add_one]      rw [← Fin.succ_mk _ _ (by grind)]      rw [← Fin.succ_mk _ _ (by grind)]      rw [harmonicWaveX_magneticFieldMatrix_succ_succ _ _]
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Vacuum/HarmonicWave.lean:485-539

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.32.0

Adiabatic relation log

adiabatic_relation_log

Plain-language statement

Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Adiabatic relation Ua Ub Va Vb

adiabatic_relation_UaUbVaVb

Plain-language statement

Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record