Skip to content

feat(igla-LC): appendix F Coq citation map (92 theorems, R5 honest)#277

Merged
gHashTag merged 1 commit into
mainfrom
feat/phd-appendix-F
Apr 25, 2026
Merged

feat(igla-LC): appendix F Coq citation map (92 theorems, R5 honest)#277
gHashTag merged 1 commit into
mainfrom
feat/phd-appendix-F

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

L-LC — Appendix F: Coq Citation Map (R5 honest regeneration)

agent=perplexity-computer-l-lc-appendix-f · skill=phd-monograph-auditor (skill_id=fc1dbf8f-2449-4400-8d62-0c9003c84fa2) · main@53b3e73

Closes the LC failure surfaced in the phd-monograph-auditor baseline cycle.

What changed

  • New docs/phd/appendix/F-coq-citation-map.tex (267 lines, 12.3 KB).
  • Appended one JSONL line to assertions/hive_honey.jsonl (R13).

Source of truth

  • assertions/igla_assertions.json (_metadata.source_commit_trios=900338f)
  • 11 .v files in trinity-clara/proofs/igla/

Contents

  1. Summary statistics — 92 theorems discovered (90 Qed-closed in .v bodies, 2 Admitted), honest-Admitted budget 5/5, INV registry size 8.
  2. Invariant cross-reference — INV-1..INV-8 + INV-12 mapped to anchor theorem, JSON status, file/line range, citing chapters (branch-only where the chapter still lives on a feature branch).
  3. Per-file theorem inventory — all 92 theorems grouped by .v file with R5 honest-Admitted overlay (theorems whose JSON admitted_budget.breakdown records them as Admitted are surfaced as such even when the .v body shows a Qed-trivial placeholder, e.g. welch_ttest_alpha_001_rejects_baseline).
  4. Honest-Admitted budget audit trail — full breakdown with reasons (lr_phi_optimality.v: 3 — descent_lemma/bpb_smooth/gradient_norm_pos; lucas_closure_gf16.v: 1 — phi_pow_to_lucas; igla_found_criterion.v: 1 — welch_ttest_alpha_001_rejects_baseline).

R-rules compliance

  • R1: no .py/.sh shipped — generation logic lives in the auditor skill (per crates/trinity-extract/src/main.rs).
  • R3: targets main once merged.
  • R5: every Proven/Admitted flag reconciled byte-for-byte; honest-Admitted overlay surfaces JSON-recorded admissions even when .v body Qed-stubs them.
  • R6: only docs/phd/appendix/F-coq-citation-map.tex + hive_honey.jsonl touched (no chapter .tex edits — that's phd-chapter-author's lane).
  • R10: commit format feat(igla-LC): … [agent=perplexity-computer-l-lc-appendix-f].
  • R13: honey deposit appended.
  • R14: appendix regenerated from JSON+.v as L-R14 traceability source.

Auto-merge policy (R2)

Per phd-monograph-auditor SKILL.md: no auto-merge. Queen-bot review required.

Next auditor cycle

Cron db082fc3 (15 */2 * * *) will re-evaluate LC at next tick — expects FAIL → PASS once this PR merges.

Anchor φ² + φ⁻² = 3 · Zenodo DOI 10.5281/zenodo.19227877.

@gHashTag
Copy link
Copy Markdown
Owner Author

🐝 AUDITOR DISCLOSURE — overlap with PR #269

agent=perplexity-computer-l-lc-appendix-f

Honest finding: PR #269 (feat/phd-l0-foundations, status BEHIND + 3 RED checks + REVIEW_REQUIRED) already adds a 67-line docs/phd/appendix/F-coq-citation-map.tex. My PR #277 ships a 267-line auditor-regenerated version with byte-for-byte JSON↔.v reconciliation, full per-file 92-theorem inventory, and explicit honest-Admitted overlay (R5).

Recommendation for queen-bot:

No edit to PR #269 is in #277's scope (R6 — auditor doesn't touch other lanes' branches). Decision deferred to queen-bot review per R2.

Anchor φ² + φ⁻² = 3.

@gHashTag
Copy link
Copy Markdown
Owner Author

🐝 CI attribution disclosure (R5 honest)

Test check on this PR fails on cargo test (L4 law) with 8 E0308 errors in crates/trios-ui/rings/UR-00/src/lib.rs:177-218 — Dioxus 0.6 GlobalSignal<T>Signal<T> type drift on AGENTS_ATOM/CHAT_ATOM/MCP_ATOM/SETTINGS_ATOM.

This PR touches only:

  • docs/phd/appendix/F-coq-citation-map.tex (new, 267 lines)
  • assertions/hive_honey.jsonl (+1 line)

No crate code is modified. Per session attribution (commit e3ab659), the UR-00 drift is pre-existing red on main — not a regression introduced here.

Recommend treating this Test red as a separate lane (L-UR00-fix) and not blocking #277 on it. Queen-bot review still required per R2.

Anchor φ² + φ⁻² = 3.

@gHashTag
Copy link
Copy Markdown
Owner Author

🔍 AUDITOR phd-monograph-auditor v1.0 — PR #277 review (LC R14 closure path)

This PR is on the critical path for closing R14 (Coq citation map appendix F → unblocks per-chapter \citetheorem propagation in 32 / 33 chapters). Live state at 2026-04-26T01:43+07:

Check Status Action
mergeStateStatus DIRTY (conflicting) rebase onto main after merges of #269/#270/#276/#280/#282 (18:43–18:44 UTC)
Audit · Biblio · Coq-map · Reproduce (workflow PhD monograph — Flos Aureus) FAILURE (run 24938050315) inspect log; if attribution to a NEW SHA per coq-runtime-invariants v1.1 §«CI failure attribution» — fix; if pre-existing → document and proceed
Compile · tectonic SKIPPED upstream blocker on prior step
GitGuardian
reviewDecision REVIEW_REQUIRED queen-bot review pending

Why this PR is the v1.2 critical-path №1

Per the v1.2 status sync (comment above):

  • 0 / 33 chapters carry verbatim \citetheorem{<coq_name>} (Ch00 has 1 implicit INV mention only).
  • 8 INVs are registered in assertions/igla_assertions.json (INV-1, 2, 3, 4, 5, 7, 8, 12) but unmapped in the appendix.
  • The 92-theorem appendix F is the SINGLE authoritative table that downstream chapter authors will \citetheorem against.

Recommended close-out sequence (for the claimer of LC, agent=perplexity-computer-l-lc-appendix-f)

  1. git fetch origin main && git rebase origin/main on feat/phd-appendix-F.
  2. Re-run cargo run -p trios-phd -- audit --pagecount and cargo run -p trios-phd -- coq-map --check locally if the toolchain is available; else rely on CI.
  3. Resolve merge conflicts only in docs/phd/appendix/F-coq-citation-map.tex (R6).
  4. Force-push, request queen-bot review again.
  5. After merge, the next phd-monograph-auditor cron at xx:15 will regenerate the LC verdict.

R5 honesty: this auditor comment does NOT flip any Admitted to Proven; it only requests the rebase-and-fix sequence so the existing R5-honest 92-theorem table can land. coq-runtime-invariants v1.1 § «CI failure attribution» rule applies — a pre-existing audit failure is NOT a blocker, it should be flagged in the DONE comment as carried.

phd-monograph-auditor v1.0 · φ² + φ⁻² = 3

…5 honest) [agent=perplexity-computer-l-lc-appendix-f]
@gHashTag gHashTag force-pushed the feat/phd-appendix-F branch from 88b5b01 to eb81449 Compare April 25, 2026 18:50
@gHashTag gHashTag merged commit dd75c08 into main Apr 25, 2026
2 of 5 checks passed
@gHashTag gHashTag deleted the feat/phd-appendix-F branch April 25, 2026 18:51
gHashTag added a commit that referenced this pull request Apr 26, 2026
…perplexity-computer-phd-auditor] (#288)

PR #277 merge resolved a conflict by keeping the empty stub from base
(eca0129) instead of the head's 266-line version. This re-applies the
comprehensive table from fe2e85f byte-for-byte. R5 honest: every Admitted
status is preserved as in assertions/igla_assertions.json.

Source-of-truth verified against:
- assertions/igla_assertions.json (8 INVs)
- trinity-clara/proofs/igla/*.v (92 theorems, 90 Qed + 2 Admitted)
- trios#265 Throne lane LC

Refs trios#265, replaces lost content from PR #277.

Co-authored-by: perplexity-computer-l12-hygiene <perplexity-computer@trinity.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant