Talk:Circuit value problem

Hello, On this page, to illustrate the Circuit Value Problem, there is a sample circuit, that, according to the image description, is "3-input circuit that retu

Talk:Circuit value problem

Issue with the presented circuit

Hello, On this page, to illustrate the Circuit Value Problem, there is a sample circuit, that, according to the image description, is "3-input circuit that returns true when some inputs are true, but at most two".

This is mostly true, but, if you set x1 to true, x2 to true and x3 to false, then the output will be false. To explain, the first AND gate will take x1 (true) and not(x2) (false), and output will be false. The second AND gate will take not(x1) (false) and x2 (true) and the output will be false. Therefore the entries to the OR gates are all false, and the result will be false.

A better way to represent this use case would be to exclude cases where x1 = x2 AND x2 = x3 (either "full true" or "full false"). I suggest to use XOR gates, to link x1 and x2 to an XOR, x2 and x3 to another, and do an OR with the results. 194.209.16.45 (talk) 16:00, 16 October 2024 (UTC)Reply

The article doesn't use anything about the boolean function the circuit implements. So we needn't change anything here. I'll add a note following your observation at the commons description page. - Jochen Burghardt (talk) 17:26, 16 October 2024 (UTC)Reply
Thank you. Indeed the circuit is merely an illustration. The new description is adequate for the purpose of the article. 194.209.16.45 (talk) 06:53, 17 October 2024 (UTC)Reply

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.