Community
For Researchers and Educators
- How to Switch
- Commercial Use Not Allowed
- No Feature Limitations
- User Registration Not Required
- Free
~/ specforge
Write and manage your requirements and rules as formal specifications. SpecForge checks logically that each spec can be satisfied, that specs do not contradict each other and that the whole set is consistent, raising the quality of the rules themselves. AI helps you formalise.
EdgeTech+ AWARD 2025Excellence Award · AI design support§01 — DOWNLOAD
By downloading and using SpecForge, you agree to the license terms of your edition.
latest: v0.5.12 · 2026-10-22
§02 — EDITION
For Researchers and Educators
For Enterprise
For Enterprise
§03 — WHY FORMAL
While the evolution of AI is making systems more sophisticated, their increasing complexity and black-box nature are creating new challenges related to the development of specifications.
Ambiguous Requirement Specification: Misinterpretations and misunderstandings are common, leading to rework and inefficient development processes.Deterioration of Quality and Productivity: Flaws in specifications lead to a decline in system quality and development productivity.Lack of Reliability and Explainability: It is often difficult to logically investigate causes or explain operations when problems occur.'Formalization' is an approach to strictly and accurately describe system requirement specifications using mathematical notation (formal specification description languages).
§04 — CORE TECHNOLOGY
SpecForge checks specifications written in Lilo, our own language based on signal temporal logic, mathematically from two directions.
system mobile_robot
signal person_distance: Float
signal speed: Float
spec slow_near_person =
always (person_distance < 1.5 =>
eventually [0, 0.2] (speed <= 0.3))
Are the rules (specs) free of logical contradictions?
Does the behaviour satisfy the rules (specs)?
* Signal temporal logic: a logic for formally describing how real-valued, continuously changing signals should behave over time
§05 — PROCESS
SpecForge supports the process of starting with informal design intent and, through iterations of formalization and analysis, 'forging' it into unambiguous and refined formal specifications.
STEP 01
Clarify informal requirement specifications and design intent expressed in natural language, diagrams, etc.
// LLM features help you take the first step from natural language to a formal specification.
Description
When turning with steering angle greater than 30° at speeds above 15 km/h, the vehicle should achieve a required yaw rate within 2 seconds.
System (optional)
vehicle
Code
✎ Generate with LLM1always ((steering > 30.0 && vehicle_speed > 15) =>
eventually [0,2] (yaw_rate > 15))
STEP 02
Describe the design intent as a formal specification based on STL (Signal Temporal Logic) using our DSL.
// STL is well-suited for specifying systems that deal with continuous time and analog signals.
57// **Steering and Turning**
58// Turn Signal Activation for Sharp Turns
59
60def leftSignalWorking : Bool =
61 (-45 > steering && vehicle_speed > 10 => left_signal)
62def rightSignalWorking : Bool =
63 (45 < steering && vehicle_speed > 10 => right_signal)
64
65spec turnSignalActivation =
66 always (leftSignalWorking && rightSignalWorking)
67
68// Steering Stability at High Speed
69spec steeringStability =
70 always ((vehicle_speed > 18) => absBound(steering_speed, 5.0))
STEP 03
Analyze and verify consistency with data and other specifications to help confirm that it aligns with the original intent.
// We provide automated verification and data analysis based on academic research.
STEP 04
Modify and improve the specification based on the analysis results. Repeat this cycle to rigorously develop and strengthen the specification.
flag < 0 && status == "pending"flag < 0 => status == "pending"flag < 0 => (always [0,1] status == "pending")✓§06 — USE CASES
01
Automatically check the created specifications against actual data and simulation results, and confirm with logical evidence whether they match the intent.
02
Develop specifications for new features while minimizing impact on existing ones by detecting conflicts and redundancy between specifications.
Existing Specs
03
Generate test scenarios from specs that visualize their meaning and validate the designer's intent.
04
By connecting the formal specification with requirements management, design, CI/CD, testing and runtime monitoring, it can become the spine of the whole life cycle, from development to operation.
For demonstration requests, technical inquiries, or discussions about implementation,
please don't hesitate to get in touch.