Exercise · Volume 1 · 1.2.5-15
Exercise 1.2.5-15
proved in Lean solution written
| Rating | HM15 |
|---|---|
| Markers | HM (needs higher mathematics) |
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.5 of Volume 1. Companion chapter: Permutations and factorials |
The task
Find the permanent of the matrix whose entry in row and column is .
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
The permanent is the sum, over all permutations of the columns, of the product of the entries .
Hint 2
Factor each term. The row numbers and the column numbers each give a product that does not depend on .
Solution
Show the solution
The permanent is over the permutations of . Here , so for each
The second product is because takes each of the values once. Every one of the terms equals , so the permanent is .
Check
For the matrix is and the permanent is . For the permanent is . Python sums over all permutations for and gets each time. The determinant of the same matrix is for .
Remarks
The permanent of the all-ones matrix is . A matrix with entries has the permanent , by the same argument. In general the permanent is much harder to compute than the determinant.
This solution is checked, and a person has not reviewed it yet. The source.
In Lean
proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.
- Problem:
TAOCP.S1_2_5.Ex15.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_5.Ex15.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.