Project: Optimal Circuit Synthesis with SAT · Exact Circuit Synthesis
Lesson 2
Sources are numbered consecutively. For a circuit with \(n\) inputs, sources \(0,\dotsc,n-1\) are the inputs. Gate \(i\) has source number \(n+i\) and may use only sources smaller than \(n+i\).
Consider two inputs and the gates

Problem. What is the minimum number of fan-in-two gates needed to compute both the sum and the carry of two bits?
5 points