cfahlgren1's picture
download
raw
637 Bytes
import Mathlib
import OAI.Combinatorics.MatchingPSD.Model
namespace OAI
namespace PerfectMatchingPSD
noncomputable def matchingPoint {n : ℕ} (M : PerfectMatching n) : Edge n → ℝ := by
classical
exact fun e => if e ∈ M.1 then 1 else 0
noncomputable def matchingPolytope (n : ℕ) : Set (Edge n → ℝ) :=
convexHull ℝ (Set.range (matchingPoint (n := n)))
def HasAffineLift (n r : ℕ) : Prop :=
∃ (L : AffineSubspace ℝ (Matrix (Fin r) (Fin r) ℝ))
(T : Matrix (Fin r) (Fin r) ℝ →ᵃ[ℝ] (Edge n → ℝ)),
T '' {X | X ∈ L ∧ X.PosSemidef} = matchingPolytope n
end PerfectMatchingPSD
end OAI

Xet Storage Details

Size:
637 Bytes
·
Xet hash:
4722c62cfc4f6bcbea3ae09775c2f59123c8cfcb627166194ba4d4b67fa7b2e7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.