# Shannon's Electrical Logic
In his 1937 MIT thesis, Claude Shannon proved that Boolean Algebra (True/False) could be perfectly mapped to electrical switches (On/Off). This is the bedrock of every computer you have ever used.
### The Switching Paradigm
- **Switch Closed (On):** Represents TRUE or binary 1.
- **Switch Open (Off):** Represents FALSE or binary 0.
### Constructing Gates
- **AND Gate:** Two switches in **Series**. Current only flows if both are closed.
- **OR Gate:** Two switches in **Parallel**. Current flows if either is closed.
### Task
Implement a logical circuit that returns TRUE only if both inputs are active.
Logic Command: `gate_and(true, true)`
Current Objective
Master the circuits that turned electricity into thought, based on Claude Shannon's 1937 thesis.
1
Map physical switches to logical states
2
Construct AND/OR/NOT logic gates
3
Understand the 1937 thesis impact
Socratic Mentor
Hello! I'm your Socratic mentor. Stuck on a problem? Tell me what you're thinking, and we'll work through it together.