All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Pure prod P assoc

TensorSpecies.Tensor.Pure.prodP_assoc'

Project documentation

Given two pure tensors p1 : Pure S c and p2 : Pure S c, prodP p p2 is the tensor product of those tensors returning an element in Pure S (Sum.elim c c1 ∘ ⇑finSumFinEquiv.symm). -/ def Pure.prodP {n1 n2} {c : Fin n1 → C} {c1 : Fin n2 → C} (p1 : Pure S c) (p2 : Pure S c1) : Pure S (Fin.append c c1) := Fin.addCases (fun i => LinearEquiv.cast (R := k)...

Exact Lean statement

lemma Pure.prodP_assoc' {n n1 n2} {c : Fin n → C}
    {c1 : Fin n1 → C} {c2 : Fin n2 → C}
    (p : Pure S c) (p1 : Pure S c1) (p2 : Pure S c2) :
    prodP p (prodP p1 p2) = permP _ IsReindexing.append_assoc_left (prodP (prodP p p1) p2)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma Pure.prodP_assoc' {n n1 n2} {c : Fin n  C}    {c1 : Fin n1  C} {c2 : Fin n2  C}    (p : Pure S c) (p1 : Pure S c1) (p2 : Pure S c2) :    prodP p (prodP p1 p2) = permP _ IsReindexing.append_assoc_left (prodP (prodP p p1) p2) := by  ext i  refine Fin.addCases (fun i => ?_) (fun i => Fin.addCases (fun i => ?_) (fun i => ?_) i) i  · have h0 : (i.castAdd (n1 + n2)).cast (by grind) = (i.castAdd n1).castAdd n2 := by grind    simp [permP,  congr_right _ _ _ h0]  · have h0 : ((i.castAdd n2).natAdd n).cast (by grind) = (i.natAdd n).castAdd n2 := by grind    simp [permP,  congr_right _ _ _ h0]  · have h0 : ((i.natAdd n1).natAdd n).cast (by grind) = i.natAdd (n + n1) := by grind    simp [permP,  congr_right _ _ _ h0]
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Relativity/Tensors/Product.lean:329-340

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