Koszul Sign perm eq append
Wick.koszulSign_perm_eq_append
Project documentation
Gives a factor of - 1 for every fermion-fermion (q is 1) crossing that occurs when sorting a list of based on r. -/ def koszulSign (q : ๐ โ FieldStatistic) (le : ๐ โ ๐ โ Prop) [DecidableRel le] : List ๐ โ โ | [] => 1 | a :: l => koszulSignInsert q le a l * koszulSign q le l @[simp] lemma koszulSign_singleton (q : ๐ โ FieldStatistic) (le : ๐...
Exact Lean statement
lemma koszulSign_perm_eq_append [IsTrans ๐ le] (ฯ : ๐) (ฯs ฯs' ฯs2 : List ๐)
(hp : ฯs.Perm ฯs') : (h : โ ฯ' โ ฯs, le ฯ ฯ' โง le ฯ' ฯ) โ
koszulSign q le (ฯs ++ ฯs2) = koszulSign q le (ฯs' ++ ฯs2)Formal artifact
Lean source
lemma koszulSign_perm_eq_append [IsTrans ๐ le] (ฯ : ๐) (ฯs ฯs' ฯs2 : List ๐) (hp : ฯs.Perm ฯs') : (h : โ ฯ' โ ฯs, le ฯ ฯ' โง le ฯ' ฯ) โ koszulSign q le (ฯs ++ ฯs2) = koszulSign q le (ฯs' ++ ฯs2) := by let motive (ฯs ฯs' : List ๐) (hp : ฯs.Perm ฯs') : Prop := (h : โ ฯ' โ ฯs, le ฯ ฯ' โง le ฯ' ฯ) โ koszulSign q le (ฯs ++ ฯs2) = koszulSign q le (ฯs' ++ ฯs2) change motive ฯs ฯs' hp apply List.Perm.recOn ยท simp [motive] ยท intro x l1 l2 h ih hxฯ simp_all only [List.mem_cons, or_true, and_self, implies_true, nonempty_prop, forall_const, forall_eq_or_imp, List.cons_append, motive] simp only [koszulSign, ih, mul_eq_mul_right_iff] left apply koszulSignInsert_eq_perm exact (List.perm_append_right_iff ฯs2).mpr h ยท intro x y l h simp_all only [List.mem_cons, forall_eq_or_imp, List.cons_append] apply Wick.koszulSign_swap_eq_rel_cons ยท exact IsTrans.trans y ฯ x h.1.2 h.2.1.1 ยท exact IsTrans.trans x ฯ y h.2.1.2 h.1.1 ยท intro l1 l2 l3 h1 h2 ih1 ih2 h simp_all only [and_self, implies_true, nonempty_prop, forall_const, motive] refine (ih2 ?_) intro ฯ' hฯ refine h ฯ' ?_ exact (List.Perm.mem_iff (id (List.Perm.symm h1))).mp hฯ- Project
- Physlib
- License
- Apache-2.0
- Commit
- dd43e9e65791
- Source
- Physlib/QFT/PerturbationTheory/Koszul/KoszulSign.lean:393-419
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.