Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

RationalSTCutCertificate

Abstract

Exact flow conservation and capacity checks certify a global minimum cut.

Vertex is an arbitrary finite type. capacity is Vertex to Vertex to Q; source and sink are Vertex to Q; side is Vertex to Bool. All sums cover the entire finite carrier. True labels are on the source side.

Definition 1.1 (Directed cut energy).

Formalization. D5/S0/Certificates/RationalSTCutCertificate.stCutValue (✓ std3).

Source. Repository-derived.

Commentary.

The source is fixed on the true side and the sink on the false side. All vertex assignments are allowed.

Definition 1.2 (Untrusted flow and cut data).

Lean statement: D5/S0/Certificates/RationalSTCutCertificate.STCutCertificate

Formalization. D5/S0/Certificates/RationalSTCutCertificate.STCutCertificate (✓ std3).

Source. Repository-derived.

Commentary.

The fields are internal : Vertex to Vertex to Q; fromSource and toSink : Vertex to Q; side : Vertex to Bool. No proof or claimed optimality field is supplied.

Definition 1.3 (Value leaving the source).

Formalization. D5/S0/Certificates/RationalSTCutCertificate.flowValue (✓ std3).

Source. Repository-derived.

Commentary.

The flow value is recomputed from terminal flows.

Definition 1.4 (Capacity, conservation and equality).

Formalization. D5/S0/Certificates/RationalSTCutCertificate.ValidSTCutCertificate (✓ std3).

Source. Repository-derived.

Commentary.

Each capacity condition and each conservation equation is checked on the actual finite arrays; the supplied cut must match the flow value.

Definition 1.5 (Executable exact check).

Formalization. D5/S0/Certificates/RationalSTCutCertificate.checkSTCutCertificate (✓ std3).

Source. Repository-derived.

Commentary.

No floating acceptance tolerance or exhaustive Boolean search is used by the checker.

Theorem 1.6 (Acceptance reflection).

Proof. Machine-checked in Lean as D5/S0/Certificates/RationalSTCutCertificate.checkSTCutCertificate_eq_true_iff (✓ std3). ∎

Source. Repository-derived.

Commentary.

Connects Boolean acceptance to the exact finite arithmetic contract.

Theorem 1.7 (Conservation across any cut).

Proof. Machine-checked in Lean as D5/S0/Certificates/RationalSTCutCertificate.flow_cut_accounting (✓ std3). ∎

Source. Repository-derived.

Commentary.

Only flow conservation is required by this identity. Opposite directed terms cancel when summing over all vertices.

Theorem 1.8 (Global weak flow-cut duality).

Proof. Machine-checked in Lean as D5/S0/Certificates/RationalSTCutCertificate.flowValue_le_every_cut (✓ std3). ∎

Source. Repository-derived.

Commentary.

The lower bound covers every cut, including those never visited by a solver.

Theorem 1.9 (Attained minimum certificate).

Proof. Machine-checked in Lean as D5/S0/Certificates/RationalSTCutCertificate.checkSTCutCertificate_sound (✓ std3). ∎

Source. Repository-derived.

Commentary.

A single accepted pair proves that its cut is a global minimum; no optimal flow premise or algorithmic discovery theorem is assumed.

References

  • Truth anchor: D5/S0/Certificates/RationalSTCutCertificate.STCutCertificate
  • Truth anchor: D5/S0/Certificates/RationalSTCutCertificate.ValidSTCutCertificate
  • Truth anchor: D5/S0/Certificates/RationalSTCutCertificate.checkSTCutCertificate
  • Truth anchor: D5/S0/Certificates/RationalSTCutCertificate.checkSTCutCertificate_eq_true_iff
  • Truth anchor: D5/S0/Certificates/RationalSTCutCertificate.checkSTCutCertificate_sound
  • Truth anchor: D5/S0/Certificates/RationalSTCutCertificate.flowValue
  • Truth anchor: D5/S0/Certificates/RationalSTCutCertificate.flowValue_le_every_cut
  • Truth anchor: D5/S0/Certificates/RationalSTCutCertificate.flow_cut_accounting
  • Truth anchor: D5/S0/Certificates/RationalSTCutCertificate.stCutValue
  • Dependency: D5/S0/Certificates/LinearObjectiveDual