Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 ReasonSynth — Where intent becomes provable code.

A symbolic program synthesis assistant that transforms natural language into verified, executable code using SMT reasoning and formal proof.

🔍 Why

Modern LLMs produce plausible but unverifiable code. ReasonSynth ensures deterministic correctness by synthesizing from formal specifications, not guesses.

⚙️ Run Locally

pip install -r requirements.txt
streamlit run app.py

Open → http://localhost:8501

🧠 Example

Input:

Write a Python function that returns the square of a number greater than 0.

Output:

def f(x):
    assert x > 0
    result = x**2
    assert result == x**2
    return result

Proof: ✅ Proven: specification logically consistent.

🌐 Deploy

Hugging Face Spaces: Upload this folder → select Streamlit → deploy. Azure App Service:

az webapp up --sku B1 --name ReasonSynth --runtime "PYTHON:3.10"

🤝 Collaboration

Developed for Microsoft PROSE–style research collaboration. Every function ReasonSynth writes comes with a proof certificate.

© 2025 Anurag1. Licensed under Apache 2.0.

About

# 🧠 ReasonSynth — Where intent becomes provable code.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages