Skip to content

Commit

Permalink
use permanent, which is now in mathlib
Browse files Browse the repository at this point in the history
drive-by: clean up imports
  • Loading branch information
mo271 committed Nov 20, 2024
1 parent cd57cbc commit 972688f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions FormalBook/Chapter_02.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ Copyright 2022 Moritz Firsching. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Moritz Firsching
-/
import Mathlib.Algebra.Lie.OfAssociative
import Mathlib.Analysis.Convex.SpecificFunctions.Basic
import Mathlib.Analysis.Convex.SpecificFunctions.Deriv
import Mathlib.Data.Nat.Choose.Factorization
import Mathlib.Data.Real.StarOrdered
import Mathlib.NumberTheory.Harmonic.Defs
import Mathlib.NumberTheory.Primorial
import Mathlib.Tactic.NormNum.Prime
import Mathlib.NumberTheory.Harmonic.Defs
import Mathlib
/-!
# Bertrand's postulate
Expand Down
10 changes: 3 additions & 7 deletions FormalBook/Chapter_20.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@ Copyright 2022 Moritz Firsching. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Moritz Firsching
-/
import FormalBook.Mathlib.EdgeFinset
import Mathlib.Analysis.InnerProductSpace.Basic
import Mathlib.Analysis.SpecialFunctions.Pow.Real
import Mathlib.Data.Real.StarOrdered
import Mathlib.Combinatorics.SimpleGraph.Basic
import Mathlib.Combinatorics.SimpleGraph.Finite
import Mathlib.Combinatorics.Enumerative.DoubleCounting
import Mathlib.Combinatorics.SimpleGraph.Clique
import Mathlib.Combinatorics.SimpleGraph.DegreeSum
import Mathlib.Algebra.Order.BigOperators.Ring.Finset
import FormalBook.Mathlib.EdgeFinset
import Mathlib
import Aesop
import Mathlib.Data.Real.StarOrdered

open Real
open RealInnerProductSpace
Expand Down
5 changes: 2 additions & 3 deletions FormalBook/Chapter_24.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Authors: Moritz Firsching
-/
import Mathlib.Data.Matrix.DoublyStochastic
import Mathlib.Data.Real.Basic
import Mathlib.LinearAlgebra.Matrix.Permanent
/-!
# Van der Waerden's permanent conjecture
Expand All @@ -27,13 +28,11 @@ import Mathlib.Data.Real.Basic
-/



open Equiv
namespace Matrix

variable {n : ℕ}

def per (M : Matrix (Fin n) (Fin n) ℝ) := ∑ σ : Perm (Fin n), ∏ i, M (σ i) i

theorem permanent_conjecture (M : Matrix (Fin n) (Fin n) ℝ) :
M ∈ doublyStochastic ℝ (Fin n) → per M ≥ (n.factorial)/(n ^ n) := sorry
M ∈ doublyStochastic ℝ (Fin n) → permanent M ≥ (n.factorial)/(n ^ n) := sorry

0 comments on commit 972688f

Please sign in to comment.