refactor: Update succAbove notation for tensor tree
This commit is contained in:
parent
da6679ea90
commit
bfaaf36485
1 changed files with 2 additions and 2 deletions
|
@ -572,10 +572,10 @@ inductive TensorTree (S : TensorSpecies) : {n : ℕ} → (Fin n → S.C) → Typ
|
|||
/-- A node corresponding to the contraction of indices of a tensor. -/
|
||||
| contr {n : ℕ} {c : Fin n.succ.succ → S.C} : (i : Fin n.succ.succ) →
|
||||
(j : Fin n.succ) → (h : c (i.succAbove j) = S.τ (c i)) → TensorTree S c →
|
||||
TensorTree S (c ∘ Fin.succAbove i ∘ Fin.succAbove j)
|
||||
TensorTree S (c ∘ i.succAbove ∘ j.succAbove)
|
||||
/-- A node corresponding to the evaluation of an index of a tensor. -/
|
||||
| eval {n : ℕ} {c : Fin n.succ → S.C} : (i : Fin n.succ) → (x : ℕ) → TensorTree S c →
|
||||
TensorTree S (c ∘ Fin.succAbove i)
|
||||
TensorTree S (c ∘ i.succAbove)
|
||||
|
||||
namespace TensorTree
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue