c01 · E3

Open: Rules That Turn Inputs Into Outputs

c01.E3.1E3 · open

Section 1.1 says the fourth line of a contract, what is not promised, is a judgement about calls nobody has made. Section 1.6 says no test can check that line, because a test runs on values you choose and the line is a claim about values the procedure never sees. The field has partial machinery for closing the gap: types that rule out whole classes of input, assertions checked at run time, exhaustive generation when the input space is finite, and proof for the cases where a specification is written formally. None of it settles the general case, and every one of those tools still relies on a person choosing what to state.

Take a position on this question: can the fourth line of a contract ever be established by a machine rather than by an argument?

In your answer: state a criterion that would count as success; apply the criterion to a procedure you invent and describe in one paragraph; say where the criterion stops working or what it quietly assumes; and name the evidence that would change your position.

Rubric. Tick each criterion your answer meets, then save the self-assessment. The platform does not grade it.

Other tiers

E1 Practise · E2 Derive

Every hint opened, solution viewed and answer checked is recorded in this browser only. See Progress to export or delete it.