Overpartitions
Overpartition
StructureOverpartition#✓fully proved
An overpartition of a natural number \(n\) consists of a partition \(p\) of \(n\) together with a finite set of overlined part sizes, each of which occurs as a part of \(p\).
@[ext]
structure Overpartition (n : ℕ) where
/-- The underlying partition. -/
toPartition : Partition n
/-- The distinct part sizes that are overlined. -/
overlines : Finset ℕ
/-- Every overlined size occurs in the underlying partition. -/
overlines_subset : overlines ⊆ toPartition.parts.toFinset
deriving DecidableEq
overlines : Finset ℕ
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:50
toPartition : Partition n
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:48
Used by 36
DefinitionOverlined part size#✓fully proved
A natural number \(a\) is overlined in an overpartition \(O\) of \(n\) when \(a\) belongs to the set of overlined part sizes of \(O\).
def IsOverlined {n : ℕ} (O : Overpartition n) (a : ℕ) : Prop :=
a ∈ O.overlines
@[ext]
structure Overpartition (n : ℕ) where
/-- The underlying partition. -/
toPartition : Partition n
/-- The distinct part sizes that are overlined. -/
overlines : Finset ℕ
/-- Every overlined size occurs in the underlying partition. -/
overlines_subset : overlines ⊆ toPartition.parts.toFinset
deriving DecidableEq
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:46
Uses 1 · Used by 5
TheoremCharacterization of overlined sizes#✓fully proved
For an overpartition \(O\) of \(n\) and a natural number \(a\), \(a\) is overlined in \(O\) if and only if \(a\) belongs to the set of overlined part sizes of \(O\).
theorem isOverlined_iff {n : ℕ} {O : Overpartition n} {a : ℕ} :
O.IsOverlined a ↔ a ∈ O.overlines
@[ext]
structure Overpartition (n : ℕ) where
/-- The underlying partition. -/
toPartition : Partition n
/-- The distinct part sizes that are overlined. -/
overlines : Finset ℕ
/-- Every overlined size occurs in the underlying partition. -/
overlines_subset : overlines ⊆ toPartition.parts.toFinset
deriving DecidableEq
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:46
Uses 2
TheoremOverlined sizes are parts#✓fully proved
If \(a\) is overlined in an overpartition \(O\) of \(n\), then \(a\) is a part of the underlying partition of \(O\).
theorem isOverlined_mem_parts {n : ℕ} {O : Overpartition n} {a : ℕ}
(h : O.IsOverlined a) : a ∈ O.toPartition.parts
@[ext]
structure Overpartition (n : ℕ) where
/-- The underlying partition. -/
toPartition : Partition n
/-- The distinct part sizes that are overlined. -/
overlines : Finset ℕ
/-- Every overlined size occurs in the underlying partition. -/
overlines_subset : overlines ⊆ toPartition.parts.toFinset
deriving DecidableEq
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:46
Uses 2 · Used by 1
TheoremOverlined sizes are positive#✓fully proved
If \(a\) is overlined in an overpartition \(O\) of \(n\), then \(a > 0\).
theorem isOverlined_pos {n : ℕ} {O : Overpartition n} {a : ℕ}
(h : O.IsOverlined a) : 0 < a
@[ext]
structure Overpartition (n : ℕ) where
/-- The underlying partition. -/
toPartition : Partition n
/-- The distinct part sizes that are overlined. -/
overlines : Finset ℕ
/-- Every overlined size occurs in the underlying partition. -/
overlines_subset : overlines ⊆ toPartition.parts.toFinset
deriving DecidableEq
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:46
Uses 3
DefinitionThe overpartition attached to a partition#✓fully proved
For a partition \(p\) of a natural number \(n\), the overpartition of \(n\) attached to \(p\) has underlying partition \(p\) and no overlined part sizes.
def ofPartition {n : ℕ} (p : Partition n) : Overpartition n where
toPartition := p
overlines := ∅
overlines_subset := by simp
@[ext]
structure Overpartition (n : ℕ) where
/-- The underlying partition. -/
toPartition : Partition n
/-- The distinct part sizes that are overlined. -/
overlines : Finset ℕ
/-- Every overlined size occurs in the underlying partition. -/
overlines_subset : overlines ⊆ toPartition.parts.toFinset
deriving DecidableEq
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:46
Uses 1 · Used by 6
TheoremThe underlying partition of the overpartition attached to a partition#✓fully proved
For every partition \(p\) of a natural number \(n\), the underlying partition of the overpartition of \(n\) attached to \(p\) (underlying partition \(p\), no part size overlined) is \(p\).
@[simp]
theorem ofPartition_toPartition {n : ℕ} (p : Partition n) :
(ofPartition p).toPartition = p
def ofPartition {n : ℕ} (p : Partition n) : Overpartition n where
toPartition := p
overlines := ∅
overlines_subset := by simp
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:77
Uses 2
TheoremThe overpartition attached to a partition has no overlined sizes#✓fully proved
For every partition \(p\) of a natural number \(n\), the overpartition of \(n\) attached to \(p\) (underlying partition \(p\), no part size overlined) has an empty set of overlined part sizes.
@[simp]
theorem ofPartition_overlines {n : ℕ} (p : Partition n) :
(ofPartition p).overlines = ∅
def ofPartition {n : ℕ} (p : Partition n) : Overpartition n where
toPartition := p
overlines := ∅
overlines_subset := by simp
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:77
Uses 2
TheoremNo overlines in a plain partition#✓fully proved
For every partition \(p\) of \(n\) and every natural number \(a\), \(a\) is not overlined in the overpartition whose underlying partition is \(p\) and whose set of overlined part sizes is empty.
@[simp]
theorem not_isOverlined_ofPartition {n : ℕ} (p : Partition n) (a : ℕ) :
¬ (ofPartition p).IsOverlined a
def ofPartition {n : ℕ} (p : Partition n) : Overpartition n where
toPartition := p
overlines := ∅
overlines_subset := by simp
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:77
Uses 2
DefinitionFully overlined overpartition#✓fully proved
For a partition \(p\) of \(n\), the fully overlined overpartition of \(p\) is the overpartition of \(n\) whose underlying partition is \(p\) and whose set of overlined part sizes is the set of all distinct parts of \(p\).
def full {n : ℕ} (p : Partition n) : Overpartition n where
toPartition := p
overlines := p.parts.toFinset
overlines_subset := fun _ hx => hx
@[ext]
structure Overpartition (n : ℕ) where
/-- The underlying partition. -/
toPartition : Partition n
/-- The distinct part sizes that are overlined. -/
overlines : Finset ℕ
/-- Every overlined size occurs in the underlying partition. -/
overlines_subset : overlines ⊆ toPartition.parts.toFinset
deriving DecidableEq
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:46
Uses 1 · Used by 3
TheoremUnderlying partition of the fully overlined overpartition#✓fully proved
For every partition \(p\) of \(n\), the underlying partition of the fully overlined overpartition of \(p\) is \(p\).
@[simp]
theorem full_toPartition {n : ℕ} (p : Partition n) :
(full p).toPartition = p
def full {n : ℕ} (p : Partition n) : Overpartition n where
toPartition := p
overlines := p.parts.toFinset
overlines_subset := fun _ hx => hx
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:101
Uses 2
TheoremOverlined sizes of the fully overlined overpartition#✓fully proved
For every partition \(p\) of \(n\), the set of overlined part sizes of the fully overlined overpartition of \(p\) is the set of distinct parts of \(p\).
@[simp]
theorem full_overlines {n : ℕ} (p : Partition n) :
(full p).overlines = p.parts.toFinset
def full {n : ℕ} (p : Partition n) : Overpartition n where
toPartition := p
overlines := p.parts.toFinset
overlines_subset := fun _ hx => hx
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:101
Uses 2
TheoremOverlined sizes in the fully overlined overpartition#✓fully proved
For every partition \(p\) of \(n\) and every natural number \(a\), \(a\) is overlined in the fully overlined overpartition of \(p\) if and only if \(a\) is a part of \(p\).
@[simp]
theorem isOverlined_full {n : ℕ} (p : Partition n) (a : ℕ) :
(full p).IsOverlined a ↔ a ∈ p.parts
def full {n : ℕ} (p : Partition n) : Overpartition n where
toPartition := p
overlines := p.parts.toFinset
overlines_subset := fun _ hx => hx
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:101
Uses 2
TheoremOverpartitions of zero have no overlined sizes#✓fully proved
Every overpartition of \(0\) has no overlined part sizes.
theorem overlines_eq_empty_of_zero {O : Overpartition 0} : O.overlines = ∅
@[ext]
structure Overpartition (n : ℕ) where
/-- The underlying partition. -/
toPartition : Partition n
/-- The distinct part sizes that are overlined. -/
overlines : Finset ℕ
/-- Every overlined size occurs in the underlying partition. -/
overlines_subset : overlines ⊆ toPartition.parts.toFinset
deriving DecidableEq
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:46
Uses 1 · Used by 1
TheoremUniqueness of the overpartition of zero#✓fully proved
Any two overpartitions of \(0\) are equal.
theorem eq_of_zero (O₁ O₂ : Overpartition 0) : O₁ = O₂
@[ext]
structure Overpartition (n : ℕ) where
/-- The underlying partition. -/
toPartition : Partition n
/-- The distinct part sizes that are overlined. -/
overlines : Finset ℕ
/-- Every overlined size occurs in the underlying partition. -/
overlines_subset : overlines ⊆ toPartition.parts.toFinset
deriving DecidableEq
MathlibExt/Combinatorics/Enumerative/Partition/Overpartition.lean:46
Uses 2 · Used by 3
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.