Skip to content

Add instanceFormat/certificateFormat declarations to SIMON - #493

Merged
wrigjl merged 3 commits into
CSharpAPIfrom
backfill/simon-format
Sep 11, 2026
Merged

wrigjl merged 3 commits into
CSharpAPIfrom
backfill/simon-format

Conversation

@Trosper3

Copy link
Copy Markdown
Contributor

Summary

  • SIMON never adopted the self-describing instance/certificate format pattern (Interfaces/ProblemInterface.cs).
  • Declares instanceFormat describing the 2^n-integer function-output list grammar and certificateFormat describing the binary secret-string certificate, on SIMON_Class.cs.
  • Format-declaration tests follow the existing DFA/NFA_Tests pattern, plus a check that the certificate example quoted in the format string (010) actually verifies true against defaultInstance via the real verifier.

Closes #448

Test plan

  • dotnet test redux-tests/redux-tests.csproj --filter "FullyQualifiedName~SIMON" — 16/16 passing

Trosper3 and others added 2 commits August 22, 2026 22:28
SIMON never adopted the self-describing instance/certificate format
pattern (Interfaces/ProblemInterface.cs). Declares instanceFormat
describing the 2^n-integer function-output list grammar and
certificateFormat describing the binary secret-string certificate.

Format-declaration tests follow the existing DFA/NFA_Tests pattern,
plus a check that the certificate example quoted in the format string
actually verifies true against defaultInstance.
@github-actions

github-actions Bot commented Aug 23, 2026 •

Copy link
Copy Markdown

Redux Build System — CI Report

dotnet · commit 54d19fc

Operation Status Summary Time
audit ✅ no known vulnerabilities 4.5s
format-check ✅ all files formatted 22.8s
lint ✅ 0 issues 36.0s
typecheck ⏭️ covered by lint (dotnet build) —
unit-test ❌ 841 passed · coverage 65% (min 80%) 44.2s
build ✅ built local/redux:ci · 234MB 39.0s
integration-test ⏭️ no [integration] command —
push ⏭️ not implemented —

Overall: ❌ 4 passed · 1 failed · 3 skipped

Extracts the constructor's inline StringParser grammar into a named
InstanceGrammar const, and adds CertificateGrammar/CertificateExample
consts to SimonVerifier. instanceFormat/certificateFormat are now
interpolated from these plus _defaultInstance, instead of
hand-duplicated prose.
@Trosper3
Trosper3 requested a review from wrigjl August 31, 2026 18:03
@wrigjl
wrigjl merged commit 3542748 into CSharpAPI Sep 11, 2026
6 checks passed
@wrigjl
wrigjl deleted the backfill/simon-format branch September 11, 2026 02:50
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.

Backfill instanceFormat/certificateFormat: NPC_SIMON

2 participants