
theorem
  for G being locally-finite _Graph, n being Nat
  holds G.minOutDegree() = n iff
    ex v being Vertex of G st v.outDegree() = n &
      for w being Vertex of G holds v.outDegree() <= w.outDegree()
proof
  let G be locally-finite _Graph, n be Nat;
  hereby
    assume G.minOutDegree() = n;
    then consider v being Vertex of G such that
      A1: v.outDegree() = n and
      A2: for w being Vertex of G holds v.outDegree() c= w.outDegree() by Th38;
    take v;
    thus v.outDegree() = n by A1;
    let w be Vertex of G;
    Segm v.outDegree() c= Segm w.outDegree() by A2;
    hence v.outDegree() <= w.outDegree() by NAT_1:39;
  end;
  given v being Vertex of G such that
    A3: v.outDegree() = n and
    A4: for w being Vertex of G holds v.outDegree() <= w.outDegree();
  now
    let w be Vertex of G;
    Segm v.outDegree() c= Segm w.outDegree() by A4, NAT_1:39;
    hence v.outDegree() c= w.outDegree();
  end;
  hence thesis by A3, Th38;
end;
