Source: https://guthlabs.ai/docs/instruments/complex-number-calculator/implementation/

instrument implementation / implementation-contract

# Complex Number Calculator implementation

A source-bound implementation contract for Complex Number Calculator; deployment and executable qualification remain separate.

Status: **VERIFIED_CLEAN**Lifecycle: **implementation-contract**

## Binding contract

This record describes what an executable surface must bind and validate. It does not claim that a public calculator, package, or production route is deployed.

**Record owner**: Guth Instruments

**Lifecycle**: verified-clean

**Evidence ID**: t4-141

**Effect**: Computation or source lookup only

## Input and validation requirements

The specification does not state whether polar angles are in degrees or radians, so an input such as 2∠90 has two valid but substantially different outputs. Zero has an undefined argument and zero-denominator division must also be rejected explicitly.

## Required corrections

No binding erratum is attached to this unique-name record. Implementers must still preserve the declared units, domain, and failure behavior.

## Inspectable interface fixture

The sample below is evidence for interface and validation tests, not a production implementation.

````
{
  "inputs": {
    "operation": "add",
    "z1": "3+4i",
    "z2": "1-2i"
  },
  "expected_outputs": {
    "rectangular": "4+2i",
    "modulus": 4.472135955,
    "argument_radians": 0.463647609,
    "polar": "4.472135955∠0.463647609 rad"
  },
  "working": "(3+4i)+(1-2i)=(3+1)+(4-2)i=4+2i. |z|=sqrt(4^2+2^2)=sqrt(16+4)=sqrt(20)=2sqrt(5)=4.472135955. arg(z)=atan2(2,4)=atan(1/2)=0.463647609 rad."
}
````

## Other records

[01**Overview**](<https://guthlabs.ai/docs/instruments/complex-number-calculator/>)[02**Mechanism**](<https://guthlabs.ai/docs/instruments/complex-number-calculator/mechanism/>)[04**Qualification**](<https://guthlabs.ai/docs/instruments/complex-number-calculator/qualification/>)

## Sources and evidence

These pointers bind the page to evidence. They do not grant authority or collapse verification into deployment.

- `VERIFIED_LEDGER.json`

- `evidence-tranche4/tranche4-results.json`
