@@ -28,10 +28,14 @@ Open Scope C_scope.
2828
2929(** Boltzmann constant (J/K) *)
3030Parameter kB : R.
31+ (* AXIOM: kB_positive; Boltzmann constant — physical constant.
32+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
3133Axiom kB_positive : kB > 0.
3234
3335(** Temperature (Kelvin) *)
3436Parameter temperature : R.
37+ (* AXIOM: temperature_positive; Temperature scalar — physical precondition.
38+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
3539Axiom temperature_positive : temperature > 0.
3640
3741(** ** Quantum State Representation *)
@@ -42,6 +46,8 @@ Axiom temperature_positive : temperature > 0.
4246
4347(** Dimension of Hilbert space (2^n for n qubits) *)
4448Parameter dim : nat.
49+ (* AXIOM: dim_positive; Hilbert-space dimensionality precondition.
50+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
4551Axiom dim_positive : (dim > 0)%nat.
4652
4753(** Complex vector representing quantum state *)
@@ -65,18 +71,24 @@ Parameter inner_product : QuantumState -> QuantumState -> C.
6571(** Inner product axioms (defining properties of a Hilbert space) *)
6672
6773(** Conjugate symmetry: ⟨ψ|φ⟩ = (⟨φ|ψ⟩)* *)
74+ (* AXIOM: inner_product_conj_sym; Inner product space axiom (conjugate symmetry).
75+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
6876Axiom inner_product_conj_sym :
6977 forall ψ φ : QuantumState,
7078 inner_product ψ φ = Cconj (inner_product φ ψ).
7179
7280(** Linearity in second argument: ⟨ψ|aφ₁ + bφ₂⟩ = a⟨ψ|φ₁⟩ + b⟨ψ|φ₂⟩ *)
81+ (* AXIOM: inner_product_linear; Inner product space axiom (linearity).
82+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
7383Axiom inner_product_linear :
7484 forall ψ φ1 φ2 : QuantumState,
7585 forall a b : C,
7686 (* Requires defining linear combination of states *)
7787 True. (* Simplified - full axiom requires state arithmetic *)
7888
7989(** Positive definiteness: ⟨ψ|ψ⟩ ≥ 0, and ⟨ψ|ψ⟩ = 0 iff ψ = 0 *)
90+ (* AXIOM: inner_product_pos_def; Inner product space axiom (positive definiteness).
91+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
8092Axiom inner_product_pos_def :
8193 forall ψ : QuantumState,
8294 (Re (inner_product ψ ψ) >= 0)%R.
@@ -110,22 +122,33 @@ Qed.
110122
111123(** Pauli X gate (NOT gate) *)
112124Parameter X_gate : QuantumGate.
125+ (* AXIOM: X_gate_unitary; Quantum gate primitive (Pauli X) — duplicate of
126+ QuantumMechanicsExact:249 (see follow-up 2 in docs/proof-debt-triage.md).
127+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
113128Axiom X_gate_unitary : is_unitary X_gate.
114129
115130(** Pauli Y gate *)
116131Parameter Y_gate : QuantumGate.
132+ (* AXIOM: Y_gate_unitary; Quantum gate primitive (Pauli Y).
133+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
117134Axiom Y_gate_unitary : is_unitary Y_gate.
118135
119136(** Pauli Z gate *)
120137Parameter Z_gate : QuantumGate.
138+ (* AXIOM: Z_gate_unitary; Quantum gate primitive (Pauli Z).
139+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
121140Axiom Z_gate_unitary : is_unitary Z_gate.
122141
123142(** Hadamard gate *)
124143Parameter H_gate : QuantumGate.
144+ (* AXIOM: H_gate_unitary; Quantum gate primitive (Hadamard).
145+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
125146Axiom H_gate_unitary : is_unitary H_gate.
126147
127148(** CNOT gate (two-qubit) *)
128149Parameter CNOT_gate : QuantumGate.
150+ (* AXIOM: CNOT_gate_unitary; Quantum gate primitive (CNOT).
151+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
129152Axiom CNOT_gate_unitary : is_unitary CNOT_gate.
130153
131154(** ** Quantum State Equality *)
@@ -147,19 +170,28 @@ Notation "ψ =q= φ" := (quantum_state_eq ψ φ) (at level 70).
147170 provided by libraries like CoqQ or Coquelicot in a full development. *)
148171
149172(** e^0 = 1 *)
173+ (* AXIOM: Cexp_zero; Complex exponential algebra. §(c) per docs/proof-debt.md
174+ (Phase 2d triage). Would collapse to DISCHARGE if Complex.v defines Cexp
175+ constructively — see follow-up 4 in docs/proof-debt-triage.md. *)
150176Axiom Cexp_zero : Cexp (RtoC 0) = C1.
151177
152178(** e^{-x} = (e^x)^{-1} *)
179+ (* AXIOM: Cexp_neg; Complex exponential algebra. §(c) per docs/proof-debt.md
180+ (Phase 2d triage). See follow-up 4 (Cexp_zero comment) for collapse plan. *)
153181Axiom Cexp_neg : forall x : R, Cexp (RtoC (-x)) = Cinv (Cexp (RtoC x)).
154182
155183(** e^x × e^y = e^{x+y} *)
184+ (* AXIOM: Cexp_add; Complex exponential algebra. §(c) per docs/proof-debt.md
185+ (Phase 2d triage). See follow-up 4 (Cexp_zero comment) for collapse plan. *)
156186Axiom Cexp_add : forall x y : R, Cexp (RtoC x) * Cexp (RtoC y) = Cexp (RtoC (x + y)).
157187
158188(* Cmult_1_l, Cmult_assoc, Cconj_RtoC, Cconj_mult are now PROVED lemmas
159189 in CNO.Complex — no longer axioms (strengthens the development and
160190 removes the redeclaration clash). *)
161191
162192(** Complex conjugate of exponential: (e^x)* = e^{x*} *)
193+ (* AXIOM: Cconj_Cexp; Complex exponential algebra. §(c) per docs/proof-debt.md
194+ (Phase 2d triage). See follow-up 4 (Cexp_zero comment) for collapse plan. *)
163195Axiom Cconj_Cexp : forall x : C, Cconj (Cexp x) = Cexp (Cconj x).
164196
165197(* `global_phase_unitary` axiom moved below, after `global_phase_gate`
@@ -254,7 +286,11 @@ Definition global_phase_gate (θ : R) : QuantumGate :=
254286 fun ψ n => Cexp (RtoC θ) * ψ n.
255287
256288(** Global phase gates are unitary (standard QM result). Assumption —
257- see PROOF-STATUS-2026-05-18.md (post-T0 axiom audit). *)
289+ see PROOF-STATUS-2026-05-18.md (post-T0 axiom audit).
290+
291+ Triaged DISCHARGE in docs/proof-debt-triage.md; enumerated as §(d)
292+ DEBT in docs/proof-debt.md (Phase 2d) — derivable from gate algebra
293+ (e^{iθ} U is unitary iff U is). *)
258294Axiom global_phase_unitary :
259295 forall θ : R, is_unitary (global_phase_gate θ).
260296
@@ -279,7 +315,11 @@ Qed.
279315
280316(** ** Non-CNO Gates *)
281317
282- (** X gate is NOT a CNO because it flips |0⟩ ↔ |1⟩ *)
318+ (** X gate is NOT a CNO because it flips |0⟩ ↔ |1⟩
319+
320+ Triaged DISCHARGE in docs/proof-debt-triage.md; enumerated as §(d)
321+ DEBT in docs/proof-debt.md (Phase 2d) — existence proof, exhibit
322+ |0⟩ as witness once a concrete basis state is in the model. *)
283323Axiom X_gate_not_identity : exists ψ, ~ (X_gate ψ =q= ψ).
284324
285325Theorem X_gate_not_cno : ~ is_quantum_CNO X_gate.
@@ -292,7 +332,11 @@ Proof.
292332 contradiction.
293333Qed .
294334
295- (** Hadamard gate is NOT a CNO *)
335+ (** Hadamard gate is NOT a CNO
336+
337+ Triaged DISCHARGE in docs/proof-debt-triage.md; enumerated as §(d)
338+ DEBT in docs/proof-debt.md (Phase 2d) — existence proof, exhibit
339+ |0⟩ as witness. *)
296340Axiom H_gate_not_identity : exists ψ, ~ (H_gate ψ =q= ψ).
297341
298342Theorem H_gate_not_cno : ~ is_quantum_CNO H_gate.
@@ -358,17 +402,25 @@ Qed.
358402(** Von Neumann entropy (quantum analog of Shannon entropy) *)
359403Parameter von_neumann_entropy : QuantumState -> R.
360404
405+ (* AXIOM: von_neumann_nonneg; Quantum statmech — von Neumann entropy
406+ non-negativity. §(c) per docs/proof-debt.md (Phase 2d triage). *)
361407Axiom von_neumann_nonneg :
362408 forall ψ : QuantumState,
363409 von_neumann_entropy ψ >= 0.
364410
365411(** Pure states have zero entropy *)
412+ (* AXIOM: von_neumann_pure_zero; S(|ψ⟩⟨ψ|) = 0 for pure states.
413+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
366414Axiom von_neumann_pure_zero :
367415 forall ψ : QuantumState,
368416 is_normalized ψ ->
369417 von_neumann_entropy ψ = 0.
370418
371419(** Unitary evolution preserves entropy *)
420+ (* AXIOM: unitary_preserves_entropy; Quantum statmech postulate — von Neumann
421+ entropy invariant under unitary. Duplicate of QuantumMechanicsExact:316
422+ (see follow-up 2 in docs/proof-debt-triage.md).
423+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
372424Axiom unitary_preserves_entropy :
373425 forall (U : QuantumGate) (ψ : QuantumState),
374426 is_unitary U ->
@@ -388,6 +440,10 @@ Qed.
388440(** ** No-Cloning Theorem *)
389441
390442(** The no-cloning theorem states you cannot copy arbitrary quantum states *)
443+ (* AXIOM: no_cloning; Fundamental quantum theorem — standardly taken as a
444+ physical postulate in this style of axiomatisation. Duplicate of
445+ QuantumMechanicsExact:393 (see follow-up 2 in docs/proof-debt-triage.md).
446+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
391447Axiom no_cloning :
392448 ~ exists (U : QuantumGate),
393449 forall ψ : QuantumState,
418474Parameter measure : QuantumState -> ProgramState.
419475
420476(** Axiom: Measuring after identity gate gives same result as measuring before *)
477+ (* AXIOM: measure_identity_commutes; Measurement postulate.
478+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
421479Axiom measure_identity_commutes :
422480 forall (ψ : QuantumState),
423481 measure (I_gate ψ) = measure ψ.
484542(** U followed by U† is a CNO (unitary inverse) *)
485543Parameter unitary_inverse : QuantumGate -> QuantumGate.
486544
545+ (* Triaged DISCHARGE in docs/proof-debt-triage.md; enumerated as §(d) DEBT
546+ in docs/proof-debt.md (Phase 2d) — follows from is_unitary definition
547+ (U†U = I). *)
487548Axiom unitary_inverse_property :
488549 forall (U : QuantumGate) (ψ : QuantumState),
489550 is_unitary U ->
@@ -535,19 +596,27 @@ Qed.
535596Parameter quantum_energy_dissipated : QuantumGate -> QuantumState -> R.
536597
537598(** Landauer bound for quantum operations *)
599+ (* AXIOM: quantum_landauer_bound; Physical postulate (quantum Landauer).
600+ §(c) per docs/proof-debt.md (Phase 2d triage). *)
538601Axiom quantum_landauer_bound :
539602 forall (U : QuantumGate) (ψ : QuantumState),
540603 let ΔS := (von_neumann_entropy (U ψ) - von_neumann_entropy ψ)%R in
541604 (ΔS <= 0)%R -> (* Entropy decreased (information erased) *)
542605 (quantum_energy_dissipated U ψ >= kB * temperature * (-ΔS))%R.
543606
544607(** Unitary operations preserve entropy exactly *)
608+ (* Triaged DISCHARGE in docs/proof-debt-triage.md; enumerated as §(d) DEBT
609+ in docs/proof-debt.md (Phase 2d) — derivable from
610+ `unitary_preserves_entropy` + entropy definition. *)
545611Axiom unitary_zero_entropy_change :
546612 forall (U : QuantumGate) (ψ : QuantumState),
547613 is_unitary U ->
548614 von_neumann_entropy (U ψ) = von_neumann_entropy ψ.
549615
550616(** Reversible quantum operations dissipate zero energy *)
617+ (* Triaged DISCHARGE in docs/proof-debt-triage.md; enumerated as §(d) DEBT
618+ in docs/proof-debt.md (Phase 2d) — derivable from `quantum_landauer_bound`
619+ + unitarity. *)
551620Axiom reversible_quantum_zero_dissipation :
552621 forall (U : QuantumGate) (ψ : QuantumState),
553622 is_unitary U ->
@@ -581,9 +650,14 @@ Parameter noisy_channel : QuantumGate -> QuantumGate.
581650(** Fidelity: how close is noisy gate to ideal gate *)
582651Parameter fidelity : QuantumGate -> QuantumGate -> R.
583652
653+ (* Triaged DISCHARGE in docs/proof-debt-triage.md; enumerated as §(d) DEBT
654+ in docs/proof-debt.md (Phase 2d) — provable from `inner_product_pos_def`
655+ + Cauchy-Schwarz. *)
584656Axiom fidelity_bound : forall U V, 0 <= fidelity U V <= 1.
585657
586658(** Even with noise, approximate CNOs preserve high fidelity *)
659+ (* AXIOM: approximate_cno; Definitional / structural — encodes a relation,
660+ not a derivable fact. §(c) per docs/proof-debt.md (Phase 2d triage). *)
587661Axiom approximate_cno :
588662 forall U : QuantumGate,
589663 is_quantum_CNO U ->
0 commit comments