Skip to main content

Reasoning Core ◉

Procedural reasoning data for language-model pre-training, post-training, evaluation, and RL.

Reasoning Core generates verifiable textual tasks across first-order logic, formal mathematics with Lean and TPTP, planning, algorithms, syntax, and more. Use it as a Python library, generate datasets at scale, or plug it into modern reinforcement-learning environments.

More than 10B tokens of pre-generated data are available in the 🤗 Reasoning Core dataset collection.

Tasks target compact, canonical answers and expose task-native scorers—clean targets for supervised fine-tuning (SFT), with deterministic rewards for RL and evaluation. The public training and influence API provides reproducible paired baseline/treatment experiments. Follow the task influence guide to measure a new or changed task, and compare it with the reference results.

Quickstart

uv pip install "reasoning-core[gen]"   # generate and score
uv pip install reasoning-core          # score only, e.g. as an RL reward over the procedural pile
from reasoning_core import get_task, score_answer

task = get_task("arithmetics")
example = task.generate_example()

print(example.prompt)
assert score_answer(example.answer, example) == 1

Everyday workflows

Python 3.10+. From a checkout, use python -m pip install -e '.[gen]' or bash scripts/install_authoring.sh for lightweight task authoring.

I want to… Start here
Find a task by capability python -m reasoning_core catalog 'graph' --all --json
Generate examples python -m reasoning_core sample arithmetics --count 3 --output /tmp/rc-samples.jsonl
Implement or validate a task Authoring guide
Evaluate a model or score predictions Evaluation recipes
Measure task influence Runnable paired smoke
Propose and implement tasks with agents Task-search guide

Repository layout explains package boundaries and compatibility. Workflow recipes cover prerequisites, commands, output files, and local checks. Catalogue queries read source metadata without importing tasks.

Representative example

Reasoning Core includes compilation-checked formal reasoning tasks such as lean_candidate_compilation:

Prompt

Does this Lean 4 tactic body close the theorem?
The answer is True or False.

THEOREM:
theorem ex (p2 p4 : Prop) : p2 → (p2 ∨ p4) := by
  ?

CANDIDATE:
linarith

Answer: False

Browse all 65 task examples.

Task catalogue

GALLERY (names link to gallery examples)

arithmetics · math_word_problem · equation_system · combinatorics_formula · function_manipulation · lean_missing_line · lean_candidate_compilation · planar_geometry_relations · metamath_entailment · metamath_core_select · lambda_reduction · rewrite_system · unification_entailment · most_probable_evidence · most_probable_outcome · multistep_nli · defeasible_nli · multistep_evidence_retrieval · multistep_abduction · logic_qa · logic_derivation · planning · set_missing_element · set_expression · sequential_induction · qualitative_reasoning · grid_navigation · reference_tracking · belief_tracking · coreference · constraint_satisfaction · graph_pathfinding · graph_successors · regex_following · regex_reasoning · analogical_case_matching · parsing_derivation · syntax_error_detection · constrained_continuation · table_qa · table_equivalence · table_statistics · string_transduction · game_best_move · game_forced_win · qualitative_causal_reasoning · code_analysis · code_runnability · code_execution · program_synthesis · backtracking_search · boolean_propagation_search · controlled_code_execution · dynamic_programming · fixpoint_iteration · matrix_induction · pattern_induction · schema_bound_query · conditional_response_contract · protected_span_transformation · rule_switching · shift_reduce_parsing · spatial_folding · typed_relation_extraction · variable_elimination

Task authoring guidelines

A task authoring guide describes the interface and guidelines.
TASK_AUTHORING_GUIDE TASK_MUTATION_GUIDE TRAINING_AND_INFLUENCE TASK_INFLUENCE

Ecosystem and integrations

  • Prime Intellect — install Reasoning Core from the Environments Hub for evaluation and RL workflows.
  • OpenReward — run Reasoning Core as an OpenReward-compatible environment.
  • OpenEnv — explore the interactive Reasoning Core OpenEnv on Hugging Face Spaces.
  • reasoning-gym — mix Reasoning Core and reasoning-gym tasks through either library's interface.
  • SynLogic — generate SynLogic games through the same task API, backed by SynLogic's native verifiers.

See the integration guide for runnable examples.

Generate datasets at scale

Go from a single example to large pre-training, post-training, and evaluation corpora with balanced difficulty, token budgets, and verifiable answers. The generation pipeline supports parallel workers, resumable jobs, JSONL shards, and postprocessing for Hugging Face Datasets. Start with the sampling and collection recipe.

Citation and paper

@article{sileo2026reasoning,
  title={Reasoning Core: Designing Broad Procedural Data for Completion-Supervised Reasoning Training},
  author={Sileo, Damien and Lacombe, Valentin and Kachler, Dimitri},
  journal={arXiv preprint arXiv:2608.05148},
  year={2026},
  url={https://arxiv.org/abs/2608.05148}
}

https://arxiv.org/abs/2608.05148
Contact: damien.sileo@inria.fr

Metadata

Release files for reasoning-core 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reasoning-core 0.5.0
File Size Uploaded
reasoning_core-0.5.0.tar.gz 10.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for reasoning-core 0.5.0
File Interpreter ABI Platform
reasoning_core-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 MB

Release files / reasoning_core-0.5.0.tar.gz

Download URL reasoning_core-0.5.0.tar.gz
Size 10.5 MB
Tags Source
SHA-256 checksum
How to use checksums
83543a30e231f81f14129f5083ce93597c0af1bea47efe5e4e6978d5b09c82bf
BLAKE2b-256 checksum
How to use checksums
9feefa49a48faea4457d0a93497980f392ba28259924a5fccfb5a2053e42b79e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Release files / reasoning_core-0.5.0-py3-none-any.whl

Download URL reasoning_core-0.5.0-py3-none-any.whl
Size 10.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
30d2fde3bf08de06108d33696a54a3d841c48ff8b483e275e6204b970f8d627b
BLAKE2b-256 checksum
How to use checksums
70116675992a6784200be36fe25f43232c44c64bc920fa28413bb9228e3ca2b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.17

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page