The unpruned CR11.3 NOR programs. The only initial registers are two zero bits. The counter advances through three actual six-gate computations; no valuation list or completed verdict is an interpreter input. Every temporary, counter bit and accumulated flag occupies a register on paper.
@[reducible, inline]
Equations
Instances For
Equations
- MindFormal.A630PaperPrograms.nor a b = !(a || b)
Instances For
Equations
Instances For
@[instance_reducible]
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[reducible, inline]
Instances For
Instances For
Equations
Instances For
Equations
- MindFormal.A630PaperPrograms.emitAnd a b = do let na ← MindFormal.A630PaperPrograms.emitNot a let nb ← MindFormal.A630PaperPrograms.emitNot b MindFormal.A630PaperPrograms.emit na nb
Instances For
Equations
- MindFormal.A630PaperPrograms.emitImp a b = do let na ← MindFormal.A630PaperPrograms.emitNot a let bad ← MindFormal.A630PaperPrograms.emit na b MindFormal.A630PaperPrograms.emitNot bad
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- MindFormal.A630PaperPrograms.flagRegisters test = (StateT.run (MindFormal.A630PaperPrograms.build test) []).1.2.1
Instances For
Equations
- MindFormal.A630PaperPrograms.answerRegister test = (StateT.run (MindFormal.A630PaperPrograms.build test) []).1.2.2
Instances For
Equations
- MindFormal.A630PaperPrograms.computedFlags test = List.map (fun (r : ℕ) => (MindFormal.A630PaperPrograms.finalRegisters test).getD r false) (MindFormal.A630PaperPrograms.flagRegisters test)
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- MindFormal.A630PaperPrograms.primitiveCap test = 600 * (MindFormal.A630PaperPrograms.gateCount test + 2) * (MindFormal.A630PaperPrograms.tapeSpan test + 1) ^ 3 + 2
Instances For
theorem
MindFormal.A630PaperPrograms.resource_table :
(gateCount Test.mp, registerCount Test.mp, tapeSpan Test.mp, primitiveCap Test.mp) = (65, 67, 18353, 248552556919732802) ∧ (gateCount Test.mt, registerCount Test.mt, tapeSpan Test.mt, primitiveCap Test.mt) = (73, 75, 22945, 543667637094120002) ∧ (gateCount Test.control, registerCount Test.control, tapeSpan Test.control, primitiveCap Test.control) = (69, 71, 20585, 371642612576385602)
Equations
- MindFormal.A630PaperPrograms.implication p q = (!p || q)
Instances For
Equations
- MindFormal.A630PaperPrograms.flag MindFormal.A630PaperPrograms.Test.mp x✝¹ x✝ = (MindFormal.A630PaperPrograms.implication x✝¹ x✝ && x✝¹ && !x✝)
- MindFormal.A630PaperPrograms.flag MindFormal.A630PaperPrograms.Test.mt x✝¹ x✝ = (MindFormal.A630PaperPrograms.implication x✝¹ x✝ && !x✝ && !!x✝¹)
- MindFormal.A630PaperPrograms.flag MindFormal.A630PaperPrograms.Test.control x✝¹ x✝ = (MindFormal.A630PaperPrograms.implication x✝¹ x✝ && x✝ && !!x✝¹)
Instances For
Equations
- MindFormal.A630PaperPrograms.entails test = ∀ (p q : Bool), MindFormal.A630PaperPrograms.flag test p q = false
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
theorem
MindFormal.A630PaperPrograms.counter_matches_meaning
(test : Test)
:
computedFlags test = List.map (fun (v : Bool × Bool) => flag test v.1 v.2) (computedValuations test)