Composes v2-EN's connective grammar (if/then, or, and, either) with v3-MEM's singular-membership sentence reading over one shared per-individual atom space, so "If Socrates is a man then Socrates is mortal. Socrates is a man. Therefore Socrates is mortal." decides — the exact gap ADR-0258 §6.1 reserved. Genuinely fuses the two mechanisms: a bare universal's instantiated atom can unify (via the same closed morphology relation) with a connective leaf's atom, deciding arguments neither band alone could. - generate/proof_chain/cond_member.py: new reader. A sentence is checked for a connective token BEFORE the universal-lead check (so a stray connective can never leak into an opaque name/class run); reuses v3-MEM's own _parse_singular/_parse_universal verbatim (already negation-aware, so no separate negation layer is needed, unlike v2-EN's opaque minter). Four new shape-bands (fused/disjunctive/chain/conditional), each earning its own SERVE license. - chat/deduction_surface.py: new fallback tier tried strictly after v3-MEM — pure widening, every previously-served argument stays byte-identical. - evals/deduction_serve/practice/gold.py: 4 new synthetic template groups (20 templates), reusing the v3-MEM case generator; intended formulas cross-checked against the independent oracle (INV-25). - evals/deduction_serve/v2_condmem/: 26 hand-authored real-English cases, content-disjoint from the synthetic corpus. - ds-mem-0024 promoted declined -> unknown (not entailed — the antecedent is never asserted in that text; this is the first promotion in the corpus that doesn't land on entailed). - Ledger re-sealed to 17 bands; deduction_serve_v1 lane SHA re-pinned (surgical single-line edit, not a blanket --update). Verification: core test --suite deductive 160 passed (31 new reader tests); practice arena 17 bands x 720 wrong=0, all SERVE-licensed; lane splits v1 28/28, v2_en 26/26, v2_member 26/26, v2_condmem 26/26; smoke 180 passed; warmed_session 10 passed. Flag deduction_serving_enabled stays default-off.
5.6 KiB
Deduction-serve lane contract
What this lane scores
The production serving decider — the exact pipeline
chat/deduction_surface.py::deduction_grounded_surface runs on a
core chat turn: looks_like_deductive_argument (commit gate) →
comprehend (reader) → the band cascade — to_deductive_logic (Band v1)
→ to_syllogism + the categorical decider (Band v1b, ADR-0256) →
read_english_argument (Band v2-EN, ADR-0257) → read_member_argument
(Band v3-MEM, ADR-0258) → read_cond_member_argument (Band v4-CM,
ADR-0259) — with evaluate_entailment_with_trace (the ROBDD engine,
ADR-0201/ADR-0218) deciding every band.
evals/deduction_serve/runner.py::decide calls these functions directly
(typed outcome, not rendered prose) — the same production decision the
composer makes, without re-deriving the presentation step
(generate.proof_chain.render), so this lane's pinned bytes stay stable
against wording-only changes.
Splits
v1/— the original corpus (single-token propositional + categorical).v2_en/— hand-authored REAL-English clause arguments (ADR-0257); content disjoint from the synthetic practice lexicon.v2_member/— hand-authored membership/universal arguments (ADR-0258), incl. real nouns across every number-link row-type.v2_condmem/— hand-authored conditional-membership arguments (ADR-0259): v2-EN's connective grammar composed over v3-MEM's singular- membership sentence reading, incl. genuine universal+connective fusion cases (a bare universal's instantiated atom unifying with a connective leaf's atom).
This is distinct from two existing lanes that sound similar:
evals/deductive_logicscores the bareentail.pyengine against hand-authored formula strings — it never touches the reader.evals/comprehension/propositional_runner.pyscores reader fidelity by running the reader's projection through the independent oracle (evals.deductive_logic.oracle) as the decision procedure.
This lane is the only one that scores the production ROBDD engine
(entail.py, not the oracle) end-to-end from raw text — proving the
capability core chat actually serves, not just its parts in isolation.
Gold vocabulary
Four classes: entailed, refuted, unknown, declined.
declined covers every honest non-commitment: inconsistent premises
(REFUSED), an out-of-band shape (categorical/syllogism, multi-word
English propositions, nested negation inside an if/then clause — see
"Known Band v1 boundaries" below), or a shape that doesn't even commit
the turn (looks_like_deductive_argument false — not exercised by this
corpus, since every committed case reads as an argument by design).
wrong=0 discipline
wrong— the pipeline committed to a definiteentailed/refuted/unknownverdict that disagrees with gold. Must stay 0.declined(mismatch) — the pipeline declined on a case gold expected a definite verdict for. Not awrong(never a confabulation), but not a pass either — the runner requirescorrect == n(every case's outcome class matches gold exactly, including declines matchingdeclinedgold).- A case that gold marks
declinedand the pipeline also declines iscorrect— the lane rewards honest recognition of the boundary, not just committed accuracy.
Band-boundary history this corpus documents
Boundaries are DISCOVERED as declines, then PROMOTED to decided gold when
a later band earns the shape (the corpus keeps the case, renamed
…_formerly_out_of_band). Promotion does not always mean "→ entailed":
the promoted gold is whatever the newly-earned band actually, honestly
decides for that exact text.
- Nested negation inside
if/then— a shared-reader grammar limit (notis reserved inside if/then slots);ds-v1-0006declined until Band v2-EN decided it (promoted, ADR-0257). - Multi-word English propositions —
ds-v1-0025declined until Band v2-EN (promoted, ADR-0257). - Categorical/syllogism shapes —
ds-v1-0023/0024/0026, decided by Band v1b since ADR-0256. is amembership —ds-en-0022declined until Band v3-MEM decided it (promoted, ADR-0258).- A bare conditional over membership clauses —
ds-mem-0024("If Socrates is a man then Socrates is mortal. Therefore Socrates is mortal.") declined (mixed_structure_out_of_band) until Band v4-CM landed (ADR-0259), which reads it — but the antecedent is never asserted, so its honest verdict is UNKNOWN, not entailed. Promoted declined → unknown, renamedconditional_no_anchor_formerly_out_of_band— the first promotion in this corpus that does not land onentailed, because the promoted band's own correct answer for THIS text is a non-commitment, not a new capability to showcase. - Still-open declines (honest, typed): verb-phrase negation
(
ds-en-0023/0024), ambiguousand/orscope (ds-en-0025), nested conditionals (ds-en-0026), existential quantifiers / bare plurals / definite descriptions / relative clauses / tense (ds-mem-0020…0023/0025/0026), a universal clause nested inside a connective, compound conclusions (ds-cm-0020…0026).
Reproduce
uv run python -m evals.deduction_serve.runner # human-facing
uv run python -m evals.deduction_serve.runner --report evals/deduction_serve/report.json # pinned artifact
Pinned in scripts/verify_lane_shas.py as lane id deduction_serve_v1.
core test --suite deductive runs tests/test_deduction_serve_lane.py,
which asserts wrong == 0 and all_cases_correct is True against the
committed corpus.