Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Isabelle/Archive-of-Formal-Proofs/thys/CVP_Hardness/   (Sammlung formaler Beweise Version 2026-5©)  Datei vom 31.4.2026 mit Größe 937 B image not shown  

Quelle  Partition.thy

  Sprache: Isabelle
 

theory Partition

imports 
  Main
  Reduction
begin

section Partition Problem
text The Partition Problem is a widely known NP-hard problem.
 : Reduction proof to SAT


definition is_partition :: "int list ==> nat set ==> bool" where
  "is_partition a I = (I {0..<length a} (iI. a ! i) = (i({0..<length a}-I). a ! i))"

definition partition_problem :: "(int list) set " where
  "partition_problem = {a. I. I {0..<length a}
          (iI. a ! i) = (i({0..<length a}-I). a ! i)}"

definition partition_problem_nonzero :: "(int list) set " where
  "partition_problem_nonzero = {a. I. I {0..<length a} length a > 0
          (iI. a ! i) = (i({0..<length a}-I). a ! i)}"

(* text \<open>Reduction partition problem to SAT(?).\<close>*)


end

Messung V0.5 in Prozent
C=92 H=98 G=94

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.