• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

steve-downey / overload / 38844413401

15 Oct 2026 01:55PM UTC coverage: 67.391%. First build
38844413401

push

github

steve-downey
Phase 0 foundations and the core of phase 1

Turn the Copier render of steve-downey/example into the Lean 4 model of
C++ overload resolution planned on 13 October 2026.

Lean side (Overload/):
- Std: the citation attribute `@[std rule|theorem|note|example "stable#para.sentence-n"]`,
  the `@[assumed "slug"]` tag, the `@[specification]` tag, and the draft pin
  (N5054, tag n5054).
- Lint: `#check_citations` fails the build on an uncited specification
  constructor or an untagged axiom; `#audit` checks a theorem's axioms.
- Syntax: Ty and Val as data, substitution, reference collapsing, and
  template-argument equivalence with `Val.equivalent_iff`.
- Outcome: Subst (ok/soft/hard) and Resolution, with hard errors absorbing.
- Deduction: DeduceTy as a relation and deduceTy as a function, agreement
  (`deduceTy_iff`), determinism (`deduceTy_det`), the [temp.deduct.call]
  adjustments and `deduceCall`.
- Program: declarations as an ordered list; `SingleTranslationUnit` carries
  the single-tu assumption.
- Emit: the C++ emitter; `lake exe emit` writes eight differential tests.
- Tools: `lake exe citations` generates docs/citations.md.

C++ side: src/smd/overload/encoding.hpp is the typeclass encoding under
study, reduced from beman.transpose; probes/ reconstructs the plan's three
probes and reproduces its tables on GCC 13.3 and Clang 18.1, except
tie-break C, which is recorded as not reproduced.

Scripts: drift-check.sh verifies every citation against the pinned draft;
differential.sh compiles the emitted programs with each compiler.

Docs: the plan, the decision log (draft-pin, toolchain-pin, repository and
spec-style settled), probe results with verdicts, findings, and the
generated citation index. CI gains a Lean workflow.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fh4shuueJZ4uzMSi65oQca

30 of 45 new or added lines in 4 files covered. (66.67%)

31 of 46 relevant lines covered (67.39%)

0.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/examples/hello.cpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc