Download data/lean/OAI/Combinatorics/MatchingPSD/AffineModel.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 637 Bytes
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/MatchingPSD/AffineModel.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Combinatorics/MatchingPSD/AffineModel.lean
-
curl -L -o AffineModel.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/MatchingPSD/AffineModel.lean
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 | |