In the mathematical theory of functional analysis, the Krein–Milman theorem is a proposition about compact convex sets in locally convex topological vector spaces (TVSs).
 Krein–Milman theorem — A compact convex subset of a Hausdorff locally convex topological vector space is equal to the closed convex hull of its extreme points.
 This theorem generalizes to infinite-dimensional spaces and to arbitrary compact convex sets the following basic observation: a convex (i.e. "filled") triangle, including its perimeter and the area "inside of it", is equal to the convex hull of its three vertices, where these vertices are exactly the extreme points of this shape. 
This observation also holds for any other convex polygon in the plane 
  
    
      
        
          
            R
          
          
            2
          
        
        .
      
    
    {\displaystyle \mathbb {R} ^{2}.}
  

 Throughout, 
  
    
      
        X
      
    
    {\displaystyle X}
  
 will be a real or complex vector space.
 For any elements 
  
    
      
        x
      
    
    {\displaystyle x}
  
 and 
  
    
      
        y
      
    
    {\displaystyle y}
  
 in a vector space, the set 
  
    
      
        [
        x
        ,
        y
        ]
        :=
        {
        t
        x
        +
        (
        1
        −
        t
        )
        y
        :
        0
        ≤
        t
        ≤
        1
        }
      
    
    {\displaystyle [x,y]:=\{tx+(1-t)y:0\leq t\leq 1\}}
  
 is called the closed line segment or closed interval between 
  
    
      
        x
      
    
    {\displaystyle x}
  
 and 
  
    
      
        y
        .
      
    
    {\displaystyle y.}
  
 The open line segment or open interval between 
  
    
      
        x
      
    
    {\displaystyle x}
  
 and 
  
    
      
        y
      
    
    {\displaystyle y}
  
 is 
  
    
      
        (
        x
        ,
        x
        )
        :=
        ∅
      
    
    {\displaystyle (x,x):=\varnothing }
  
 when 
  
    
      
        x
        =
        y
      
    
    {\displaystyle x=y}
  
 while it is 
  
    
      
        (
        x
        ,
        y
        )
        :=
        {
        t
        x
        +
        (
        1
        −
        t
        )
        y
        :
        0
        <
        t
        <
        1
        }
      
    
    {\displaystyle (x,y):=\{tx+(1-t)y:0<t<1\}}
  
 when 
  
    
      
        x
        ≠
        y
        ;
      
    
    {\displaystyle x\neq y;}
  
 it satisfies 
  
    
      
        (
        x
        ,
        y
        )
        =
        [
        x
        ,
        y
        ]
        ∖
        {
        x
        ,
        y
        }
      
    
    {\displaystyle (x,y)=[x,y]\setminus \{x,y\}}
  
 and 
  
    
      
        [
        x
        ,
        y
        ]
        =
        (
        x
        ,
        y
        )
        ∪
        {
        x
        ,
        y
        }
        .
      
    
    {\displaystyle [x,y]=(x,y)\cup \{x,y\}.}
  
 The points 
  
    
      
        x
      
    
    {\displaystyle x}
  
 and 
  
    
      
        y
      
    
    {\displaystyle y}
  
 are called the endpoints of these interval. An interval is said to be non-degenerate or proper if its endpoints are distinct. 
 The intervals 
  
    
      
        [
        x
        ,
        x
        ]
        =
        {
        x
        }
      
    
    {\displaystyle [x,x]=\{x\}}
  
 and 
  
    
      
        [
        x
        ,
        y
        ]
      
    
    {\displaystyle [x,y]}
  
 always contain their endpoints while 
  
    
      
        (
        x
        ,
        x
        )
        =
        ∅
      
    
    {\displaystyle (x,x)=\varnothing }
  
 and 
  
    
      
        (
        x
        ,
        y
        )
      
    
    {\displaystyle (x,y)}
  
 never contain either of their endpoints. 
If 
  
    
      
        x
      
    
    {\displaystyle x}
  
 and 
  
    
      
        y
      
    
    {\displaystyle y}
  
 are points in the real line 
  
    
      
        
          R
        
      
    
    {\displaystyle \mathbb {R} }
  
 then the above definition of 
  
    
      
        [
        x
        ,
        y
        ]
      
    
    {\displaystyle [x,y]}
  
 is the same as its usual definition as a closed interval. 
 For any 
  
    
      
        p
        ,
        x
        ,
        y
        ∈
        X
        ,
      
    
    {\displaystyle p,x,y\in X,}
  
 the point 
  
    
      
        p
      
    
    {\displaystyle p}
  
 is said to (strictly) lie between 
  
    
      
        x
      
    
    {\displaystyle x}
  
 and 
  
    
      
        y
      
    
    {\displaystyle y}
  
 if 
  
    
      
        p
      
    
    {\displaystyle p}
  
 belongs to the open line segment 
  
    
      
        (
        x
        ,
        y
        )
        .
      
    
    {\displaystyle (x,y).}
  
 
 If 
  
    
      
        K
      
    
    {\displaystyle K}
  
 is a subset of 
  
    
      
        X
      
    
    {\displaystyle X}
  
 and 
  
    
      
        p
        ∈
        K
        ,
      
    
    {\displaystyle p\in K,}
  
 then 
  
    
      
        p
      
    
    {\displaystyle p}
  
 is called an extreme point of 
  
    
      
        K
      
    
    {\displaystyle K}
  
 if it does not lie between any two distinct points of 
  
    
      
        K
        .
      
    
    {\displaystyle K.}
  
  That is, if there does not exist 
  
    
      
        x
        ,
        y
        ∈
        K
      
    
    {\displaystyle x,y\in K}
  
 and 
  
    
      
        0
        <
        t
        <
        1
      
    
    {\displaystyle 0<t<1}
  
 such that 
  
    
      
        x
        ≠
        y
      
    
    {\displaystyle x\neq y}
  
 and 
  
    
      
        p
        =
        t
        x
        +
        (
        1
        −
        t
        )
        y
        .
      
    
    {\displaystyle p=tx+(1-t)y.}
  
 In this article, the set of all extreme points of 
  
    
      
        K
      
    
    {\displaystyle K}
  
 will be denoted by 
  
    
      
        extreme
        ⁡
        (
        K
        )
        .
      
    
    {\displaystyle \operatorname {extreme} (K).}
  

 For example, the vertices of any convex polygon in the plane 
  
    
      
        
          
            R
          
          
            2
          
        
      
    
    {\displaystyle \mathbb {R} ^{2}}
  
 are the extreme points of that polygon. 
The extreme points of the closed unit disk in 
  
    
      
        
          
            R
          
          
            2
          
        
      
    
    {\displaystyle \mathbb {R} ^{2}}
  
 is the unit circle. 
Every open interval and degenerate closed interval in 
  
    
      
        
          R
        
      
    
    {\displaystyle \mathbb {R} }
  
 has no extreme points while the extreme points of a non-degenerate closed interval 
  
    
      
        [
        x
        ,
        y
        ]
      
    
    {\displaystyle [x,y]}
  
 are 
  
    
      
        x
      
    
    {\displaystyle x}
  
 and 
  
    
      
        y
        .
      
    
    {\displaystyle y.}
  

 A set 
  
    
      
        S
      
    
    {\displaystyle S}
  
 is called convex if for any two points 
  
    
      
        x
        ,
        y
        ∈
        S
        ,
      
    
    {\displaystyle x,y\in S,}
  
 
  
    
      
        S
      
    
    {\displaystyle S}
  
 contains the line segment 
  
    
      
        [
        x
        ,
        y
        ]
        .
      
    
    {\displaystyle [x,y].}
  
 The smallest convex set containing 
  
    
      
        S
      
    
    {\displaystyle S}
  
 is called the convex hull of 
  
    
      
        S
      
    
    {\displaystyle S}
  
 and it is denoted by 
  
    
      
        co
        ⁡
        S
        .
      
    
    {\displaystyle \operatorname {co} S.}
  
 
The closed convex hull of a set 
  
    
      
        S
        ,
      
    
    {\displaystyle S,}
  
 denoted by 
  
    
      
        
          
            co
            ¯
          
        
        (
        S
        )
        ,
      
    
    {\displaystyle {\overline {\operatorname {co} }}(S),}
  
 is the smallest closed and convex set containing 
  
    
      
        S
        .
      
    
    {\displaystyle S.}
  
 It is also equal to the intersection of all closed convex subsets that contain 
  
    
      
        S
      
    
    {\displaystyle S}
  
 and to the closure of the convex hull of 
  
    
      
        S
      
    
    {\displaystyle S}
  
; that is, 
  The separable Hilbert space Lp space 
  
    
      
        
          ℓ
          
            2
          
        
        (
        
          N
        
        )
      
    
    {\displaystyle \ell ^{2}(\mathbb {N} )}
  
 of square-summable sequences with the usual norm 
  
    
      
        ‖
        ⋅
        
          ‖
          
            2
          
        
      
    
    {\displaystyle \|\cdot \|_{2}}
  
 has a compact subset 
  
    
      
        S
      
    
    {\displaystyle S}
  
 whose convex hull 
  
    
      
        co
        ⁡
        (
        S
        )
      
    
    {\displaystyle \operatorname {co} (S)}
  
 is not closed and thus also not compact. However, like in all complete Hausdorff locally convex spaces, the closed convex hull 
  
    
      
        
          
            co
            ¯
          
        
        S
      
    
    {\displaystyle {\overline {\operatorname {co} }}S}
  
 of this compact subset will be compact. But if a Hausdorff locally convex space is not complete then it is in general not guaranteed that 
  
    
      
        
          
            co
            ¯
          
        
        S
      
    
    {\displaystyle {\overline {\operatorname {co} }}S}
  
 will be compact whenever 
  
    
      
        S
      
    
    {\displaystyle S}
  
 is; an example can even be found in a (non-complete) pre-Hilbert vector subspace of 
  
    
      
        
          ℓ
          
            2
          
        
        (
        
          N
        
        )
        .
      
    
    {\displaystyle \ell ^{2}(\mathbb {N} ).}
  
 Every compact subset is totally bounded (also called "precompact") and the closed convex hull of a totally bounded subset of a Hausdorff locally convex space is guaranteed to be totally bounded.
 Krein–Milman theorem — If 
  
    
      
        K
      
    
    {\displaystyle K}
  
 is a compact subset of a Hausdorff locally convex topological vector space then the set of extreme points of 
  
    
      
        K
      
    
    {\displaystyle K}
  
 has the same closed convex hull as 
  
    
      
        K
        .
      
    
    {\displaystyle K.}
  

 In the case where the compact set 
  
    
      
        K
      
    
    {\displaystyle K}
  
 is also convex, the above theorem has as a corollary the first part of the next theorem, which is also often called the Krein–Milman theorem.
 Krein–Milman theorem — Suppose 
  
    
      
        X
      
    
    {\displaystyle X}
  
 is a Hausdorff locally convex topological vector space (for example, a normed space) and 
  
    
      
        K
      
    
    {\displaystyle K}
  
 is a compact and convex subset of 
  
    
      
        X
        .
      
    
    {\displaystyle X.}
  
 
Then 
  
    
      
        K
      
    
    {\displaystyle K}
  
 is equal to the closed convex hull of its extreme points: 
  Moreover, if 
  
    
      
        B
        ⊆
        K
      
    
    {\displaystyle B\subseteq K}
  
 then 
  
    
      
        K
      
    
    {\displaystyle K}
  
 is equal to the closed convex hull of 
  
    
      
        B
      
    
    {\displaystyle B}
  
 if and only if 
  
    
      
        extreme
        ⁡
        K
        ⊆
        cl
        ⁡
        B
        ,
      
    
    {\displaystyle \operatorname {extreme} K\subseteq \operatorname {cl} B,}
  
 where 
  
    
      
        cl
        ⁡
        B
      
    
    {\displaystyle \operatorname {cl} B}
  
 is closure of 
  
    
      
        B
        .
      
    
    {\displaystyle B.}
  

 The convex hull of the extreme points of 
  
    
      
        K
      
    
    {\displaystyle K}
  
 forms a convex subset of 
  
    
      
        K
      
    
    {\displaystyle K}
  
 so the main burden of the proof is to show that there are enough extreme points so that their convex hull covers all of 
  
    
      
        K
        .
      
    
    {\displaystyle K.}
  
 
For this reason, the following corollary to the above theorem is also often called the Krein–Milman theorem. 
 (KM) Krein–Milman theorem (Existence) — Every non-empty compact convex subset of a Hausdorff locally convex topological vector space has an extreme point; that is, the set of its extreme points is not empty.
 To visualized this theorem and its conclusion, consider the particular case where 
  
    
      
        K
      
    
    {\displaystyle K}
  
 is a convex polygon. 
In this case, the corners of the polygon (which are its extreme points) are all that is needed to recover the polygon shape. 
The statement of the theorem is false if the polygon is not convex, as then there are many ways of drawing a polygon having given points as corners.
 The requirement that the convex set 
  
    
      
        K
      
    
    {\displaystyle K}
  
 be compact can be weakened to give the following strengthened generalization version of the theorem. 
 (SKM) Strong Krein–Milman theorem (Existence) — Suppose 
  
    
      
        X
      
    
    {\displaystyle X}
  
 is a Hausdorff locally convex topological vector space and 
  
    
      
        K
      
    
    {\displaystyle K}
  
 is a non-empty convex subset of 
  
    
      
        X
      
    
    {\displaystyle X}
  
 with the property that whenever 
  
    
      
        
          
            C
          
        
      
    
    {\displaystyle {\mathcal {C}}}
  
 is a cover of 
  
    
      
        K
      
    
    {\displaystyle K}
  
 by convex closed subsets of 
  
    
      
        X
      
    
    {\displaystyle X}
  
 such that 
  
    
      
        {
        K
        ∩
        C
        :
        C
        ∈
        
          
            C
          
        
        }
      
    
    {\displaystyle \{K\cap C:C\in {\mathcal {C}}\}}
  
 has the finite intersection property, then 
  
    
      
        K
        ∩
        
          ⋂
          
            C
            ∈
            
              
                C
              
            
          
        
        C
      
    
    {\displaystyle K\cap \bigcap _{C\in {\mathcal {C}}}C}
  
 is not empty.
Then 
  
    
      
        extreme
        ⁡
        (
        K
        )
      
    
    {\displaystyle \operatorname {extreme} (K)}
  
 is not empty.
 The property above is sometimes called quasicompactness or convex compactness. 
Compactness implies convex compactness because a topological space is compact if and only if every family of closed subsets having the finite intersection property (FIP) has non-empty intersection (that is, its kernel is not empty). 
The definition of convex compactness is similar to this characterization of compact spaces in terms of the FIP, except that it only involves those closed subsets that are also convex (rather than all closed subsets).
 The assumption of local convexity for the ambient space is necessary, because James Roberts (1977) constructed a counter-example for the non-locally convex space 
  
    
      
        
          L
          
            p
          
        
        [
        0
        ,
        1
        ]
      
    
    {\displaystyle L^{p}[0,1]}
  
 where 
  
    
      
        0
        <
        p
        <
        1.
      
    
    {\displaystyle 0<p<1.}
  

 Linearity is also needed, because the statement fails for weakly compact convex sets in CAT(0) spaces, as proved by Nicolas Monod (2016). However, Theo Buehler (2006) proved that the Krein–Milman theorem does hold for metrically compact CAT(0) spaces.
 Under the previous assumptions on 
  
    
      
        K
        ,
      
    
    {\displaystyle K,}
  
 if 
  
    
      
        T
      
    
    {\displaystyle T}
  
 is a subset of 
  
    
      
        K
      
    
    {\displaystyle K}
  
 and the closed convex hull of 
  
    
      
        T
      
    
    {\displaystyle T}
  
 is all of 
  
    
      
        K
        ,
      
    
    {\displaystyle K,}
  
 then every extreme point of 
  
    
      
        K
      
    
    {\displaystyle K}
  
 belongs to the closure of 
  
    
      
        T
        .
      
    
    {\displaystyle T.}
  
 
This result is known as Milman's (partial) converse to the Krein–Milman theorem.
 The Choquet–Bishop–de Leeuw theorem states that every point in 
  
    
      
        K
      
    
    {\displaystyle K}
  
 is the barycenter of a probability measure supported on the set of extreme points of 
  
    
      
        K
        .
      
    
    {\displaystyle K.}
  

 Under the Zermelo–Fraenkel set theory (ZF) axiomatic framework, the axiom of choice (AC) suffices to prove all versions of the Krein–Milman theorem given above, including statement KM and its generalization SKM. 
The axiom of choice also implies, but is not equivalent to, the Boolean prime ideal theorem (BPI), which is equivalent to the Banach–Alaoglu theorem. 
Conversely, the Krein–Milman theorem KM together with the Boolean prime ideal theorem (BPI) imply the axiom of choice.
In summary, AC holds if and only if both KM and BPI hold.
It follows that under ZF, the axiom of choice is equivalent to the following statement:
 Furthermore, SKM together with the Hahn–Banach theorem for real vector spaces (HB) are also equivalent to the axiom of choice. It is known that BPI implies HB, but that it is not equivalent to it (said differently, BPI is strictly stronger than HB).
 The original statement proved by Mark Krein and David Milman (1940) was somewhat less general than the form stated here.
 Earlier, Hermann Minkowski (1911) proved that if 
  
    
      
        X
      
    
    {\displaystyle X}
  
 is 3-dimensional then 
  
    
      
        K
      
    
    {\displaystyle K}
  
 equals the convex hull of the set of its extreme points. This assertion was expanded to the case of any finite dimension by Ernst Steinitz (1916). 
The Krein–Milman theorem generalizes this to arbitrary locally convex 
  
    
      
        X
      
    
    {\displaystyle X}
  
; however, to generalize from finite to infinite dimensional spaces, it is necessary to use the closure.
 This article incorporates material from Krein–Milman theorem on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.