Exploring level-p-complexity for subclasses of Boolean functions

dc.contributor.authorRydberg, Arvid
dc.contributor.authorSand Engberg, Selina
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerSattler, Christian
dc.contributor.supervisorJansson, Patrik
dc.date.accessioned2025-10-03T11:40:30Z
dc.date.issued2025
dc.date.submitted
dc.description.abstractBoolean functions, which map n-bit inputs to a single output bit, can be used to describe digital systems, from logic gates to voting mechanisms. A key challenge lies in measuring the cost of evaluating such functions, specifically the number of input bits required to determine the output with certainty. Among various complexity measures, level-p-complexity, đ·đ‘(𝑓), evaluates the expected cost when input bits follow a Bernoulli(p) distribution. This paper aims to optimize an algorithm for computing level-p-complexities developed by Jansson and Jansson [1], as well as develop tools for further exploring level-p-complexity. Key contributions include optimized algorithms for computing level-p-complexity through techniques such as hash-consing and minimization, which enhance memoization efficiency. Specialized representations for subclasses of Boolean functions, such as symmetric and threshold functions, enable faster computations for specific cases. Furthermore, this work introduces tools to analyze piecewise polynomial representations of level-p-complexity, focusing on identifying critical points using algebraic numbers for exact calculations. A large number of properties have been implemented using QuickCheck to generate diverse test cases and increase confidence in the correctness of the algorithms.
dc.identifier.coursecodeDATX05
dc.identifier.urihttp://hdl.handle.net/20.500.12380/310576
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectBoolean functions
dc.subjectlevel-p-complexity
dc.subjectsub-classes
dc.subjectmajority function
dc.subjectHaskell
dc.subjectoptimization
dc.titleExploring level-p-complexity for subclasses of Boolean functions
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeComputer science – algorithms, languages and logic (MPALG), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
HĂ€mtar...
Bild (thumbnail)
Namn:
CSE 25-174 AR SE.pdf
Storlek:
1.06 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
HĂ€mtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: