Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/public-shop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Status-export negative controls
run: python3 -B -m unittest discover -s tests -p test_public_shop_data.py
- name: Browser data-validation controls
run: node --test tests/test_public_shop_frontend.mjs tests/test_explore_models.mjs tests/test_reader_navigation.mjs tests/test_source_reference.mjs tests/test_measurement_model.mjs tests/test_dependency_viewer.mjs
run: node --test tests/test_public_shop_frontend.mjs tests/test_explore_models.mjs tests/test_reader_navigation.mjs tests/test_source_reference.mjs tests/test_measurement_model.mjs tests/test_dependency_viewer.mjs tests/test_museum_frontend.mjs tests/test_workspace_navigation.mjs
- name: Reader navigation and local asset routes
run: python3 -B -S -m unittest discover -s tests -p test_reader_links.py -v
- name: Museum source projection and refusal controls
Expand Down
6 changes: 4 additions & 2 deletions docs/site/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ async function custody(config) {
const observed=config.observations;
el('custody-note').textContent=`${config.imports.count} byte-copy imports landed at Math ${config.imports.commit}; source labels were not adopted. ${observed.open_math_prs} Math PRs were open when observed ${observed.observed_at}. An open PR is not landed math.`;
el('custody-note').append(' ',link('Import identities ↗',config.imports.manifest_url));
}
async function queryIdentity(config) {
const q=config.query;const bundle=await verifiedJSON(q);if(bundle.math_tip!==q.math_pin||bundle.scientific_status_authority!==false)throw new Error('Query source mismatch');
if(!hex40.test(q.math_pin)||!hex40.test(q.commit))throw new Error('Query pin unavailable');
identity(el('query-identity'),q);el('query-identity').append(node('p','Recorded Math commit: '+q.math_pin));
Expand All @@ -109,7 +111,7 @@ async function custody(config) {
}
try {
const response=await fetch('config.json',{credentials:'omit'});if(!response.ok)throw new Error('Shop config unavailable');const config=await response.json();
const jobs=[['status-note',()=>board(config)],['coefficient-state',()=>coefficients(config)],['inventory-state',()=>inventory(config)],['custody-note',()=>custody(config)]];
const jobs=[['status-note',()=>board(config)],['coefficient-state',()=>coefficients(config)],['inventory-state',()=>inventory(config)],['custody-note',()=>custody(config)],['query-note',()=>queryIdentity(config)]];
await Promise.allSettled(jobs.map(async([id,job])=>{try{await job();}catch(e){error(id,e);}}));
} catch(e) {['status-note','coefficient-state','inventory-state','custody-note'].forEach(id=>error(id,e));}
} catch(e) {['status-note','coefficient-state','inventory-state','custody-note','query-note'].forEach(id=>error(id,e));}
finally {finishFragment();}
2 changes: 1 addition & 1 deletion docs/site/cite.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<nav class="reader-tools" aria-label="Research tools"><a href="reproduce.html">Reproduce</a><a href="cite.html" aria-current="page">Cite</a></nav>
<main id="main-content" tabindex="-1">
<section class="hero"><p class="eyebrow">A REFERENCE SOMEONE ELSE CAN FOLLOW</p><h1>Cite the work<br>you actually used.</h1><p class="intro">A research program, a proof, and a calculation are different sources. Point readers to the exact object and version that support your work.</p><div class="actions"><a class="button" href="#identity">Choose an exact source ↓</a></div></section>
<section id="choose"><h2>Choose the right object.</h2><div class="idea-grid"><article><h3>The research website</h3><p>Use <a href="https://github.com/d6g8k5htny-coder/main/blob/main/CITATION.cff">main’s citation metadata</a> for this public guide and reproduction surface. GitHub’s “Cite this repository” menu supplies APA and BibTeX formats.</p></article><article><h3>A mathematical result</h3><p>Link the exact proof in <a href="https://github.com/d6g8k5htny-coder/Math-/blob/main/PUBLIC_READING_MAP.md">Math-</a>, its full commit and the review you used. Preserve the authorship and hypotheses stated by that object; a repository maintainer is not automatically every proof’s author.</p></article><article><h3>A tool or data artifact</h3><p>Name the package or artifact, its version or commit, and its own citation guidance. <a href="https://github.com/d6g8k5htny-coder/query-">query-</a> identifies source bytes; it does not certify the mathematical claim they contain.</p></article></div></section>
<section id="choose"><h2>Choose the right object.</h2><div class="idea-grid"><article><h3>The research website</h3><p>Use <a href="https://github.com/d6g8k5htny-coder/main/blob/main/CITATION.cff">main’s citation metadata</a> for this public guide and reproduction surface. GitHub’s “Cite this repository” menu supplies APA and BibTeX formats.</p></article><article><h3>A mathematical result</h3><p>Find the result in <a href="https://github.com/d6g8k5htny-coder/Math-/blob/main/PROOF_INDEX.md">Math-’s current proof index</a>, then cite its exact proof, full commit and the review you used. Preserve the authorship and hypotheses stated by that object; a repository maintainer is not automatically every proof’s author.</p></article><article><h3>A tool or data artifact</h3><p>Name the package or artifact, its version or commit, and its own citation guidance. <a href="https://github.com/d6g8k5htny-coder/query-">query-</a> identifies source bytes; it does not certify the mathematical claim they contain.</p></article></div></section>
<section id="identity"><p class="eyebrow">EXACT SOURCES</p><h2>Give a future reader a fixed point.</h2><p>Use a commit permalink for the content you read. Branch links such as <code>main</code> can change. Record the repository, complete Git commit and file path; include a SHA-256 or artifact identifier when the source provides one.</p><p>A source reference locates bytes. Add the source’s own authors, title and publication details when preparing a bibliography. A review should be cited separately when your argument relies on that review’s scope.</p><p><strong>No DOI or tagged-release version is declared in main’s current citation metadata.</strong> Use a commit reference now. A future archive deposit must supply its actual identifier before a DOI is advertised. Citation and archival identifiers do not establish scientific acceptance.</p>
<details><summary>A complete example</summary><p><a href="https://github.com/d6g8k5htny-coder/Math-/blob/f430fdecbb1d8802d8af40419b701f12af87c039/coefficients/side24_v1/PROOF.md">SIDE24 coefficient proof, Math- commit <code>f430fdecbb1d8802d8af40419b701f12af87c039</code>, <code>coefficients/side24_v1/PROOF.md</code></a>. Pair this source with its <a href="museum.html#d3-side24-coefficient">recorded review and scope</a> when discussing acceptance. <a href="reproduce.html">Replay its calculation</a>.</p></details></section>
<section id="reference-builder" hidden><p class="eyebrow">LOCAL REFERENCE BUILDER</p><h2>Make an exact source link.</h2><p>This tool formats the identity you enter. It does not contact GitHub, check that the commit exists, retrieve a file, assign authorship, or evaluate its correctness. Everything stays in your browser.</p>
Expand Down
6 changes: 3 additions & 3 deletions docs/site/dependencies.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,15 @@ function run({ index, provenance }) {
function renderSearch() {
const query = search.value.trim();
const results = searchNodes(index, query);
searchResults.replaceChildren(...results.slice(0, 30).map(node => {
searchResults.replaceChildren(...results.map(node => {
const item = element('li');
item.append(buttonFor(node, choose));
return item;
}));
searchSummary.textContent = !query
? 'Enter a claim ID, source, status, note, or relation.'
: results.length
? `${results.length} result${results.length === 1 ? '' : 's'}${results.length > 30 ? '; showing the first 30' : ''}.`
? `${results.length} result${results.length === 1 ? '' : 's'}.`
: 'No node in this snapshot matches that search.';
}
search.disabled = false;
Expand All @@ -246,7 +246,7 @@ function run({ index, provenance }) {
}

const initialSelectionRestore = prepareInitialSelectionRestore();
load().then(data => {
export const initialization = load().then(data => {
run(data);
initialSelectionRestore.finish();
}).catch(error => {
Expand Down
4 changes: 2 additions & 2 deletions docs/site/formal.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
<header><a class="brand" href="index.html">UNIVERSAL LAW <span>FORMAL EVIDENCE</span></a><nav aria-label="Primary"><a href="index.html">Home</a><a href="explore.html">Explore</a><a href="research.html">Research</a><a href="workspace.html#inventory">Library</a></nav></header>
<nav class="reader-tools" aria-label="Research tools"><a href="reproduce.html">Reproduce</a><a href="cite.html">Cite</a></nav>
<main id="main-content" tabindex="-1">
<section class="museum-intro"><p class="eyebrow">EXACT BYTES · EXPLICIT HYPOTHESES · CHECKED PROOFS</p><h1>Formal proofs without inflated claims.</h1><p class="intro">The first Lean lane covers 13 scalar companions recovered from GP-FOR-192. It adds machine-checkable logic to the existing provenance and review system. It does not formalize the entire research program.</p><p class="boundary">Scientific effect: NONE. Independent statement-alignment review: PENDING. This page is an explanation, not a live acceptance register.</p></section>
<section class="museum-intro"><p class="eyebrow">EXACT BYTES · EXPLICIT HYPOTHESES · CHECKED PROOFS</p><h1>Formal proofs without inflated claims.</h1><p class="intro">The original 27 September 2026 Lean lane covers 13 scalar companions recovered from GP-FOR-192. It adds machine-checkable logic to the existing provenance and review system. It does not formalize the entire research program.</p><p class="boundary">Scientific effect: NONE. Independent statement-alignment review at this source snapshot: PENDING. This page is an explanation, not a live acceptance register.</p></section>
<section><h2>Four questions, four kinds of evidence.</h2><p><strong>Identity:</strong> Which exact source bytes and dependencies were used?</p><p><strong>Logic:</strong> Does the pinned proof establish the displayed Lean statement, with only the allowed foundational axioms?</p><p><strong>Alignment:</strong> Does that statement represent the intended informal claim and its hypotheses?</p><p><strong>Acceptance:</strong> Have the existing source, analytic, dependency and independent-review requirements been met?</p><p>A successful build answers neither the alignment nor the acceptance question by itself.</p></section>
<section><h2>Inspect the implementation.</h2><p><a href="https://github.com/d6g8k5htny-coder/Math-/pull/92">Implementation and review discussion</a> · <a href="https://github.com/d6g8k5htny-coder/Math-/tree/cc2989c1280f4f227d0c6aa30c8841d6ba01e46e/formal">Exact successor source</a> · <a href="https://github.com/d6g8k5htny-coder/Math-/actions/runs/36352398376">Actual execution outcome and artifacts</a></p><p>The linked run supplies its real outcome. A PR's presence is not evidence that it has merged. The first failed build is retained; explicitly named successors repair three compiler issues without changing the theorem statements.</p><p>The gate requires source hashes, a fresh build, kernel recheck, all 13 transitive axiom reports, and five deliberately invalid or extra-axiom variants. Missing evidence does not earn a checked label.</p></section>
<section><h2>What these companions do not prove.</h2><p>They do not establish the SIDE24 coefficient enclosure, the Gaussian/Palm construction, the elder-rule selection theorem, a six-pin Jacobian theorem, or the full lifetime law. In the quotient-transfer companion, the numerator estimate and lower-normalizer bound are supplied hypotheses.</p><p><a href="https://github.com/d6g8k5htny-coder/Math-/blob/cc2989c1280f4f227d0c6aa30c8841d6ba01e46e/formal/SCOPE.md">Read the target-by-target scope</a>. Blueprint links help navigation; independent review must still check meaning.</p></section>
<section><h2>Investigate the next layer.</h2><p>The original rollout, alignment questions and subsequent implementation discussions are recorded in <a href="https://github.com/d6g8k5htny-coder/main/issues/95">the existing formal-verification work item</a>. For current work, use the relevant source PR linked from the research workspace.</p></section>
<section><h2>Investigate the next layer.</h2><p>The original rollout, alignment questions and subsequent implementation discussions are recorded in <a href="https://github.com/d6g8k5htny-coder/main/issues/95">the existing formal-verification work item</a>. For later formal packets and their source PRs, use <a href="research.html#latest-work">Latest public work</a>.</p></section>
</main>
<footer><p><a href="museum.html">Return to the verification museum</a> · <a href="index.html">Home</a></p><p>No badge, proof generator, hash, merge or illustration changes scientific status automatically.</p></footer>
</body></html>
34 changes: 31 additions & 3 deletions docs/site/museum.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,37 @@ export function revealClaimFragment(document,hash,allowedIds){
target.tabIndex=-1;target.scrollIntoView({block:'start'});
target.focus?.({preventScroll:true});return true;
}
export async function startMuseum({document=globalThis.document,fetcher=globalThis.fetch,search=globalThis.location?.search||'',geometryLoader=()=>import('./geometry.mjs'),currentHash=()=>globalThis.location?.hash||''}={}){
function prepareClaimFragment(document,window,currentHash) {
const hash=currentHash();
let id;try{id=decodeURIComponent(hash.replace(/^#/,''));}catch{return ()=>false;}
if(![...REVIEWED_IDS,D1_ID,...OPEN_IDS].includes(id))return ()=>false;
if(!window?.addEventListener)return allowedIds=>revealClaimFragment(document,hash,allowedIds);
const events=['wheel','touchstart','touchmove','keydown','pointerdown','pointermove','focusin','hashchange','popstate','pagehide'];
const options={capture:true,passive:true};
let cancelled=false,finished=false;
const cleanup=()=>events.forEach(event=>window.removeEventListener(event,cancel,options));
const cancel=event=>{
if(event.type==='pointermove'&&!event.buttons)return;
// Native fragment focus on the requested card is not a new reader action.
if(event.type==='focusin'&&event.target?.id===id)return;
cancelled=true;cleanup();
};
events.forEach(event=>window.addEventListener(event,cancel,options));
return allowedIds=>{
if(finished)return false;
finished=true;
window.requestAnimationFrame(()=>{
cleanup();
if(!cancelled&&currentHash()===hash)revealClaimFragment(document,hash,allowedIds);
});
return true;
};
}
export async function startMuseum({document=globalThis.document,window=globalThis.window,fetcher=globalThis.fetch,search=globalThis.location?.search||'',geometryLoader=()=>import('./geometry.mjs'),currentHash=()=>globalThis.location?.hash||''}={}){
const ids=['museum-state','claim-cards','lifetime-fixture','packet-cards','active-exhibit'];
const containers=Object.fromEntries(ids.map(id=>{const node=document.getElementById(id);if(!node)throw Error(`Missing museum container: ${id}`);return [id,node];}));
const finishFragment=prepareClaimFragment(document,window,currentHash);
let claimIds=[];
try{
const {manifest,cachedFetch}=await verifiedMuseum({fetcher});
containers['museum-state'].textContent='Pinned source projections verified: 11 reviewed index entries, the separately reconciled D1 row and 2 AMEND rows. Verifying each linked source before display…';
Expand All @@ -247,10 +275,10 @@ export async function startMuseum({document=globalThis.document,fetcher=globalTh
}
const outcomes=await Promise.all(jobs),failed=outcomes.filter(value=>!value).length;
containers['museum-state'].textContent=failed?`Pinned source projections verified. ${failed} source view(s) unavailable; no result inferred for those views.`:'Source projections and displayed source bytes verified. These checks establish byte identity, not mathematical acceptance.';
revealClaimFragment(document,currentHash(),manifest.claims.map(claim=>claim.id));
claimIds=manifest.claims.map(claim=>claim.id);
}catch(error){
containers['museum-state'].textContent=`Unavailable: ${error.message}. No result inferred.`;containers['museum-state'].className='error';
for(const id of ids.slice(1))containers[id].replaceChildren();
}
}finally{finishFragment(claimIds);}
}
if(typeof document!=='undefined')await startMuseum();
Loading
Loading