Insert And Contract snd Field Of Contract some incl
WickContraction.insertAndContract_sndFieldOfContract_some_incl
Plain-language statement
Given a Wick contraction φsΛ for a list φs of 𝓕.FieldOp, an element φ of 𝓕.FieldOp, an i ≤ φs.length and a k in Option φsΛ.uncontracted i.e. is either none or some element of φsΛ.uncontracted, the new Wick contraction φsΛ.insertAndContract φ i k is defined by inserting φ into φs after the first i-elements and moving the value...
Exact Lean statement
@[simp]
lemma insertAndContract_sndFieldOfContract_some_incl (φ : 𝓕.FieldOp) (φs : List 𝓕.FieldOp)
(φsΛ : WickContraction φs.length) (i : Fin φs.length.succ) (j : φsΛ.uncontracted) :
(φsΛ ↩Λ φ i (some j)).sndFieldOfContract
(congrLift (insertIdx_length_fin φ φs i).symm ⟨{i, i.succAbove j}, by
simp [insertAndContractNat]⟩) =
if i < i.succAbove j.1 then
finCongr (insertIdx_length_fin φ φs i).symm (i.succAbove j.1) else
finCongr (insertIdx_length_fin φ φs i).symm iFormal artifact
Lean source
@[simp]lemma insertAndContract_sndFieldOfContract_some_incl (φ : 𝓕.FieldOp) (φs : List 𝓕.FieldOp) (φsΛ : WickContraction φs.length) (i : Fin φs.length.succ) (j : φsΛ.uncontracted) : (φsΛ ↩Λ φ i (some j)).sndFieldOfContract (congrLift (insertIdx_length_fin φ φs i).symm ⟨{i, i.succAbove j}, by simp [insertAndContractNat]⟩) = if i < i.succAbove j.1 then finCongr (insertIdx_length_fin φ φs i).symm (i.succAbove j.1) else finCongr (insertIdx_length_fin φ φs i).symm i := by split · rename_i h refine (φsΛ ↩Λ φ i (some j)).eq_sndFieldOfContract_of_mem (a := congrLift (insertIdx_length_fin φ φs i).symm ⟨{i, i.succAbove j}, by simp [insertAndContractNat]⟩) (i := finCongr (insertIdx_length_fin φ φs i).symm i) (j := finCongr (insertIdx_length_fin φ φs i).symm (i.succAbove j)) ?_ ?_ ?_ · simp [congrLift] · simp [congrLift] · rw [Fin.lt_def] at h ⊢ simp_all · rename_i h refine (φsΛ ↩Λ φ i (some j)).eq_sndFieldOfContract_of_mem (a := congrLift (insertIdx_length_fin φ φs i).symm ⟨{i, i.succAbove j}, by simp [insertAndContractNat]⟩) (i := finCongr (insertIdx_length_fin φ φs i).symm (i.succAbove j)) (j := finCongr (insertIdx_length_fin φ φs i).symm i) ?_ ?_ ?_ · simp [congrLift] · simp [congrLift] · rw [Fin.lt_def] at h ⊢ simp_all only [Nat.succ_eq_add_one, Fin.val_fin_lt, not_lt, finCongr_apply, Fin.val_cast] have hi : i.succAbove j ≠ i := Fin.succAbove_ne i j omega- Project
- Physlib
- License
- Apache-2.0
- Commit
- dd43e9e65791
- Source
- Physlib/QFT/PerturbationTheory/WickContraction/InsertAndContract.lean:186-217
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
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.
Source project: Physlib
Person-level attribution pending.
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.
Source project: Physlib
Person-level attribution pending.
Deriv Within mean Energy Beta eq neg variance
CanonicalEnsemble.derivWithin_meanEnergy_Beta_eq_neg_variance
Plain-language statement
(∂U/∂β) = -Var(E) for finite systems.
Source project: Physlib
Person-level attribution pending.