Definition
Maximum Matroid Problem
Algorithm
Correctness
Correctness
Greedy solves maximum matroid in time
Correctness
Suppose not. Let
Let denote an optimal solution
with largest cardinality. Since is not optimal, we infer .
- Case 1 (): Not possible since otherwise by exchangeability property
a contradiction to greedy approach.
- Case 2 (): Similarly, not possible since otherwise
a contradiction to greedy approach.
- Case 3 (): Let be the smallest index such that . Let
Observe that . Consider iteration where . Note that . Hence
By heredity,
A contradiction to .