refactor: Note

This commit is contained in:
jstoobysmith 2025-02-04 15:53:27 +00:00
parent ff6c8955b5
commit 256a1c3e94
5 changed files with 27 additions and 19 deletions

View file

@ -236,6 +236,9 @@ def cardFun :
| 1 => 1
| Nat.succ (Nat.succ n) => cardFun (Nat.succ n) + (n + 1) * cardFun n
/-- The number of Wick contractions for `n : ` fields, i.e. the cardinality of
`WickContraction n`, is equal to the terms in
Online Encyclopedia of Integer Sequences (OEIS) A000085. -/
theorem card_eq_cardFun : (n : ) → Fintype.card (WickContraction n) = cardFun n
| 0 => by decide
| 1 => by decide