Skip to content

Commit b352e95

Browse files
author
Loop-Locksmith
committed
refactor(coq): rename inv6_hybrid_qk_gain → inv6_hybrid_qk_gain_from_axiom
Documents the circular nature of the "main theorem" in-source. The proof body is `exact (hybrid_gain_phi_bound k)` — restating the Section 1 axiom of the same name. The new suffix and the inline HONEST DISCLOSURE block ensure reviewers cannot mistake this for a derived result. Also annotates the `inv6_theorems_certified` export to clarify that the certification holds *modulo* the three Section 1 axioms, not absolutely. No `Admitted.` is added; admitted_budget=5/5 LOCKED is preserved, but the postulated facts are now traceable both in-source and in the assertions catalog. Phase-5 #441 closure remains a follow-up PR that replaces `Axiom hybrid_gain_phi_bound` with a `sqrt_le_compat` derivation per the strategy in the issue body. Until that lands, status=wip in `assertions/igla_assertions.json::INV-6-HybridQkGain`. Part-of: #441 Part-of: #446 Agent: Loop-Locksmith
1 parent 50b8dc7 commit b352e95

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

docs/phd/theorems/igla/INV6_HybridQkGain.v

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,21 @@ Qed.
9090
(* SECTION 3: Main Invariant Theorem *)
9191
(* ==================================================================== *)
9292

93-
(* Theorem INV6: Hybrid Qk Gain is phi-bounded from below *)
94-
Theorem inv6_hybrid_qk_gain :
93+
(* Theorem INV6 (CIRCULAR): Hybrid Qk Gain is phi-bounded from below. *)
94+
(* *)
95+
(* HONEST DISCLOSURE (R5): *)
96+
(* The proof body is `exact (hybrid_gain_phi_bound k)` — i.e. this *)
97+
(* theorem restates the homonymous Axiom from Section 1. The Qed *)
98+
(* tells us nothing beyond what Axiom already postulates. The naming *)
99+
(* suffix `_from_axiom` documents this in-source so reviewers cannot *)
100+
(* mistake it for a derived result. *)
101+
(* *)
102+
(* Phase-5 #441 closure replaces `Axiom hybrid_gain_phi_bound` with a *)
103+
(* real derivation from `gain(d) = sqrt(d) / sqrt(d_model_min)` via *)
104+
(* `Coq.Reals.sqrt_le_compat` plus INV-3 `d >= d_model_min`. Until *)
105+
(* that follow-up PR lands, status remains `wip` in *)
106+
(* `assertions/igla_assertions.json::INV-6-HybridQkGain`. *)
107+
Theorem inv6_hybrid_qk_gain_from_axiom :
95108
forall k : nat,
96109
gain_hybrid k >= gain_baseline k * (/ phi).
97110
Proof.
@@ -175,7 +188,14 @@ Qed.
175188
(* Export / Certification *)
176189
(* ==================================================================== *)
177190

178-
(* All core invariants verified — no admits remain *)
191+
(* HONEST DISCLOSURE (R5): *)
192+
(* `inv6_theorems_certified` is satisfied modulo the three Section 1 *)
193+
(* axioms (`hybrid_gain_phi_bound`, `gain_baseline_nonneg`, *)
194+
(* `gain_hybrid_nonneg`). No `Admitted.` remains, but the central *)
195+
(* bound is postulated rather than derived. Phase-5 #441 closure *)
196+
(* replaces the bound axiom with a derivation; until then the catalog *)
197+
(* tracks status=wip in `assertions/igla_assertions.json` *)
198+
(* under id `INV-6-HybridQkGain`. *)
179199
Definition inv6_theorems_certified : Prop :=
180200
(forall k, gain_hybrid k >= gain_baseline k * (/ phi)) /\
181201
(forall k, gain_baseline k > 0 -> gain_hybrid k > 0) /\

0 commit comments

Comments
 (0)