# Embedding Boolean circuits inside trained neural networks

Original title: Embedding boolean circuits in a neural network

> Hacker News story 50326545 · language: en · submitted 2026-11-01
> Web version: https://zeli.app/story/50326545
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 32 · by [eob](<https://news.ycombinator.com/user?id=eob>) · 💬 7
[original](<https://edwardbenson.com/2026/10/embedding-boolean-circuits-in-a-neural-network>) · [HN discussion](<https://news.ycombinator.com/item?id=50326545>)

## Summary

A neural network neuron is just a weighted sum plus a bias passed through an activation, so if inputs are forced to 0 or 1 and the activation is "greater than zero," AND, OR, and NOT become single neurons. The harder part is wiring that circuit into an already-trained model: probes convert real-valued neuron outputs into boolean signals, and stims inject signed pushes along a neuron's output direction. The probe must fire in an earlier layer than the stim it triggers.

## Key quote

> So you need an ingress and egress mapping: from the neural net into the boolean circuit, and then back into the neural net. Kind of like Neuralink but for LLMs.

## HN discussion (7 comments)

### [PaulHoule](<https://news.ycombinator.com/item?id=50354725>)

> I remember people talking about how we'd need neurosymbolic A.I. in the 1990s and imagining a large number of ways to do it but it all seemed pretty hypothetical because the neural networks weren't so good and now that neural representations of language are mature all the paths that you think would work are open.

### [vatsachak](<https://news.ycombinator.com/item?id=50356125>)

> Okay but the difficulty here is getting the LLM to use the neural circuit effectively without training just wiping out the circuit. You'd need to have the circuit be a differentiable black box where gradients cannot affect the black box

### [gnarlouse](<https://news.ycombinator.com/item?id=50355509>)

> Okay, so when do we get FPGAs in LLMs

---

## Cite

- Page: https://zeli.app/story/50326545
- Date: 2026-11-01
- Source: edwardbenson.com (https://edwardbenson.com/2026/10/embedding-boolean-circuits-in-a-neural-network)
- Hacker News: https://news.ycombinator.com/item?id=50326545

## Other languages

- zh: https://zeli.app/zh/story/50326545 · markdown: https://zeli.app/zh/story/50326545.md
- ja: https://zeli.app/ja/story/50326545 · markdown: https://zeli.app/ja/story/50326545.md
- ko: https://zeli.app/ko/story/50326545 · markdown: https://zeli.app/ko/story/50326545.md
- de: https://zeli.app/de/story/50326545 · markdown: https://zeli.app/de/story/50326545.md
- es: https://zeli.app/es/story/50326545 · markdown: https://zeli.app/es/story/50326545.md
- ru: https://zeli.app/ru/story/50326545 · markdown: https://zeli.app/ru/story/50326545.md
