OAI/Algebra/DepthFive/BlockPartition.lean
26 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.Problem335.blockLengthsline 9Source documentation
Full blocks followed by one possible shorter final block.
def blockLengths (n t : ℕ) : List ℕ := …
- theorem
OAI.Problem335.blockLengths_sumline 12 - theorem
OAI.Problem335.blockLengths_posline 19 - theorem
OAI.Problem335.blockLengths_leline 31 - theorem
OAI.Problem335.blockLengths_lengthline 42 - def
OAI.Problem335.consecutiveBlocksline 63Source documentation
Consecutive blocks, with their lengths prescribed explicitly.
def consecutiveBlocks {α : Type*} (t : ℕ) (l : List α) : List (List α) := … - theorem
OAI.Problem335.consecutiveBlocks_flattenline 66 - theorem
OAI.Problem335.consecutiveBlocks_map_lengthline 71 - theorem
OAI.Problem335.consecutiveBlocks_lengthline 76 - theorem
OAI.Problem335.consecutiveBlocks_length_posline 81 - theorem
OAI.Problem335.consecutiveBlocks_length_leline 87 - theorem
OAI.Problem335.consecutiveBlocks_nonemptyline 93 - theorem
OAI.Problem335.consecutiveBlocks_prodline 99 - theorem
OAI.Problem335.consecutiveBlocks_map_prodline 103 - def
OAI.Problem335.layerBlocksline 113Source documentation
The consecutive blocks of the matrix-layer index list.
def layerBlocks (n t : ℕ) : List (List (Fin n)) := …
- theorem
OAI.Problem335.layerBlocks_flattenline 116 - theorem
OAI.Problem335.layerBlocks_lengthline 120 - theorem
OAI.Problem335.layerBlocks_length_posline 128 - theorem
OAI.Problem335.layerBlocks_length_leline 132 - theorem
OAI.Problem335.layerBlocks_nonemptyline 136 - theorem
OAI.Problem335.layerBlocks_get_length_posline 140 - theorem
OAI.Problem335.layerBlocks_get_length_leline 144 - theorem
OAI.Problem335.layerBlocks_sum_lengthsline 148 - theorem
OAI.Problem335.layerBlocks_map_prodline 152 - theorem
OAI.Problem335.imm_eq_layerBlocksline 157Source documentation
The entry defining IMM can be computed from the consecutive block products.
theorem imm_eq_layerBlocks (K : Type*) [CommSemiring K] {n : ℕ} (hn : 0 < n) (t : ℕ) : imm K n = (((layerBlocks n t).map (fun b : List (Fin n) => (b.map (immLayer K n)).prod)).prod) ⟨0, hn⟩ ⟨0, hn⟩ := by …Mentions: OAI.Problem335.imm, OAI.Problem335.layerBlocks, OAI.Problem335.immLayer
- theorem
OAI.Problem335.layerBlocks_power_sum_leline 165Source documentation
The block-expansion lower-product gate budget.
theorem layerBlocks_power_sum_le {n t : ℕ} (hn : 0 < n) (ht : 0 < t) : ((layerBlocks n t).map (fun b => n ^ (b.length + 1))).sum ≤ ceilDiv n t * n ^ (t + 1) := by …Mentions: OAI.Problem335.layerBlocks, OAI.Problem335.ceilDiv