File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,9 +42,10 @@ emits with base `/crypto-lab-lwe-hints/`.
4242
4343## Notes for Paul
4444
45- 1 . ** ` log₂ q ` now surfaced.** Each ` PARAM_SETS ` row carries its Table 1 modulus
46- bit-size (` log2q ` ), shown in the in-app params table. It is informational only —
47- the hint-count laws don't depend on ` q ` — and a test pins it positive per row.
45+ 1 . ** ` log₂ q ` recorded, not displayed.** Each ` PARAM_SETS ` row carries its Table 1
46+ modulus bit-size (` log2q ` ) and it's transcribed in ` PAPER-NOTES.md ` , but it is
47+ intentionally NOT shown in the UI (it doesn't affect the hint-count laws, which
48+ depend only on ` (n, h) ` ). A test still pins it positive per row.
48492 . ** Hint type now explicit per row.** Each row carries a ` validatedHints ` note
4950 transcribed from the paper: the ` (2¹⁵,32) ` anchor is approximate + perfect; the
5051 OpenFHE ` (2¹⁵,192) ` row is perfect-only (approximate not yet validated there);
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ <h2>Parameters & sources</h2>
227227 < table id ="param-table ">
228228 < thead >
229229 < tr >
230- < th > Regime</ th > < th > n</ th > < th > log₂q </ th > < th > h</ th >
230+ < th > Regime</ th > < th > n</ th > < th > h</ th >
231231 < th > Prior hints</ th > < th > New hints</ th >
232232 < th > Validated hints</ th > < th > Source</ th >
233233 </ tr >
@@ -263,9 +263,9 @@ <h2>Known gaps (honest by construction)</h2>
263263 anchor covers approximate + perfect.
264264 </ li >
265265 < li >
266- < strong > q is shown but not modeled.</ strong > The < code > log₂ q </ code >
267- column above is transcribed from Table 1 for transparency; the
268- hint-count laws don't depend on the modulus, so the math keys off
266+ < strong > q is not modeled.</ strong > Table 1 lists a modulus bit-size
267+ < code > log₂ q </ code > per row (recorded in < code > PAPER-NOTES.md </ code > );
268+ the hint-count laws don't depend on the modulus, so the demo keys off
269269 < code > (n, h)</ code > only.
270270 </ li >
271271 < li >
Original file line number Diff line number Diff line change @@ -137,8 +137,7 @@ function renderTable(): void {
137137 ? '<span class="badge badge-paper">paper</span>'
138138 : '<span class="badge badge-heuristic">model</span>' ;
139139 return (
140- `<tr><td>${ s . label } </td><td>2^${ Math . round ( Math . log2 ( s . n ) ) } </td>` +
141- `<td>${ s . log2q } </td><td>${ s . h } </td>` +
140+ `<tr><td>${ s . label } </td><td>2^${ Math . round ( Math . log2 ( s . n ) ) } </td><td>${ s . h } </td>` +
142141 `<td>${ fmt ( s . hintsPrior ) } </td><td>${ fmt ( s . hintsNew ) } </td>` +
143142 `<td>${ s . validatedHints } </td>` +
144143 `<td>${ badge } <br><span class="muted">${ s . cite } </span></td></tr>`
Original file line number Diff line number Diff line change @@ -45,8 +45,9 @@ export interface ParamSet {
4545 n : number ;
4646 /** Hamming weight h (number of nonzero entries in the sparse ternary secret). */
4747 h : number ;
48- /** Modulus bit-size log2(q) for this regime (Table 1). Informational: the
49- * hint-count laws do NOT depend on q. Shown for transparency, not used in math. */
48+ /** Modulus bit-size log2(q) for this regime (Table 1). Recorded for
49+ * completeness (and PAPER-NOTES.md); NOT displayed in the UI and NOT used in
50+ * any math — the hint-count laws depend only on (n, h). */
5051 log2q : number ;
5152 /** Hints prior work needed (~n/2). */
5253 hintsPrior : number ;
You can’t perform that action at this time.
0 commit comments