How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="purewhite42/DExplorer-8B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("purewhite42/DExplorer-8B")
model = AutoModelForCausalLM.from_pretrained("purewhite42/DExplorer-8B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

[ICLR'26] Let's Explore Step by Step: Generating Provable Formal Statements with Deductive Exploration

License: Apache 2.0 Lean 4 GitHub

Qi Liu, Kangjie Bao, Yue Yang, Xinhao Zheng, Renqiu Xia, Qinxiang Cao, Junchi Yan* (* indicates corresponding author)

School of Computer Science & School of Artificial Intelligence, Shanghai Jiao Tong University

Shanghai Innovation Institute

Please refer to the πŸ“ΊGitHub repo and πŸ“ƒPaper for more details.

πŸ” About

DExplorer-8B is a Lean 4-based agent that generates provable formal mathematical statements through step-by-step Deductive Exploration (DExploration). Instead of directly synthesizing problems in one shot, DExplorer explores the mathematical world step by step β€” introducing variables/hypotheses, deriving intermediate facts, and submitting conclusions β€” with each step verified by the Lean 4 kernel. This ensures the provability of generated statements while enabling the synthesis of complex problems that push the limits of state-of-the-art provers.

This model is fine-tuned from Goedel-Prover-V2-8B on DExploration-40K using supervised fine-tuning.

βš™οΈ Usage

This model is SFTed for the DExploration task: given the current exploration state (introduced variables/hypotheses and Lean 4 context), the model proposes the next exploration step β€” either introducing a new variable/hypothesis, deriving a new fact, or submitting a conclusion.

See the πŸ“ΊGitHub repo for prompt templates and detailed usage.

πŸ“„ Citation

If you find our work useful in your research, please cite:

@inproceedings{
liu2026lets,
title={Let's Explore Step by Step: Generating Provable Formal Statements with Deductive Exploration},
author={Qi Liu and Kangjie Bao and Yue Yang and Xinhao Zheng and Renqiu Xia and Qinxiang Cao and Junchi Yan},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=Njrkeo3DiJ}
}

©️ License

This project is released under the Apache 2.0 license. See LICENSE for details.

🀝 Contributing

We welcome contributions! Please feel free to submit issues or pull requests.

πŸ“§ Contact

For questions about the paper, data, or code:

πŸ‘ Acknowledgments

Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for purewhite42/DExplorer-8B

Quantizations
1 model

Collection including purewhite42/DExplorer-8B