x402agent/SolanaOS / skills/solana-formal-verification
qedgen
FlaggedFormally verify programs by writing Lean 4 proofs. Trigger this skill whenever the user wants to formally verify code, generate Lean 4 proofs, prove properties about algorithms or smart contracts, verify invariants, convert program logic into formal specifications, or anything involving Lean 4 and formal verification. Also trigger when the user mentions "qedgen", "lean proof", "formal proof", "verify my code", "prove correctness", "formal verification", or wants mathematical guarantees about their implementation.
docs/index.html
View on GitHub<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QEDGen — Mathematical proof for Solana programs</title>
<meta name="description" content="One skill turns your coding agent into a theorem prover. Lean 4 proofs for your Solana programs — every proof compiles.">
<meta property="og:title" content="QEDGen — Mathematical proof for Solana programs">
<meta property="og:description" content="One skill turns your coding agent into a theorem prover. Lean 4 proofs for your Solana programs — every proof compiles.">
<meta property="og:url" content="https://qedgen.dev/">
<meta property="og:type" content="website">
<meta property="og:image" content="https://qedgen.dev/og.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="QEDGen — Mathematical proof for Solana programs">
<meta name="twitter:description" content="One skill turns your coding agent into a theorem prover. Lean 4 proofs for your Solana programs — every proof compiles.">
<meta name="twitter:image" content="https://qedgen.dev/og.png">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42' fill='none'><rect x='4' y='4' width='34' height='34' rx='4' stroke='%2338bdf8' stroke-width='2.5'/><path d='M12 21L18 27L30 15' stroke='%2338bdf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><rect x='28' y='28' width='6' height='6' fill='%2338bdf8'/></svg>">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="hero-glow"></div>
<!-- Nav -->
<nav>
<div class="container">
<a class="logo-mark" href="#">
<svg class="logo-svg" width="28" height="28" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="4" y="4" width="34" height="34" rx="4" stroke="#38bdf8" stroke-width="2.5"/>
<path d="M12 21L18 27L30 15" stroke="#38bdf8" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="28" y="28" width="6" height="6" fill="#38bdf8"/>
</svg>
<span class="logo-text">QEDGen</span>
</a>
<div class="links">
<a href="https://github.com/qedgen/solana-skills/blob/main/SKILL.md" target="_blank" rel="noopener noreferrer">Docs</a>
<a href="https://github.com/qedgen/solana-skills" target="_blank" rel="noopener noreferrer">GitHub</a>
</div>
</div>
</nav>
<!-- Hero — single screen, split layout -->
<header class="hero">
<div class="container hero-grid">
<div class="hero-copy">
<div class="badge"><span class="badge-dot"></span> Proofs, not promises</div>
<h1>Prove your Solana code is correct.<br><span class="accent-text">Mathematically. ∎</span></h1>
<p class="subtitle">One skill. Your agent reads your code, writes Lean 4 proofs, and iterates until they compile.</p>
<pre class="install-cmd"><code>npx skills add qedgen/solana-skills</code></pre>
<p class="compat">Works with Cursor, Windsurf, Claude Code, GitHub Copilot, and any agent supporting <a href="https://agentskills.io" target="_blank" rel="noopener noreferrer">Agent Skills</a>.</p>
<div class="cta">
<a href="https://github.com/qedgen/solana-skills" class="btn btn-primary" target="_blank" rel="noopener noreferrer"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg> Star on GitHub</a>
<a href="https://github.com/qedgen/solana-skills/blob/main/SKILL.md" class="btn btn-secondary" target="_blank" rel="noopener noreferrer">View the Skill</a>
</div>
</div>
<div class="hero-diagram">
<svg viewBox="0 0 360 420" xmlns="http://www.w3.org/2000/svg">
<defs>
<marker id="arr" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
<path d="M 0 0 L 10 5 L 0 10 z" fill="#e2e8f0"/>
</marker>
<marker id="arr-a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
<path d="M 0 0 L 10 5 L 0 10 z" fill="#38bdf8"/>
</marker>
<marker id="arr-m" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
<path d="M 0 0 L 10 5 L 0 10 z" fill="#6b7280"/>
</marker>
</defs>
<!-- Box 1: Your Code -->
<rect x="95" y="8" width="170" height="66" rx="8" fill="rgba(255,255,255,0.03)" stroke="rgba(255,255,255,0.08)"/>
<svg x="173" y="16" width="14" height="14" viewBox="0 0 16 16">
<path fill="#71717a" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8z"/>
</svg>
<text x="180" y="46" text-anchor="middle" fill="#e2e8f0" font-size="12" font-weight="600" font-family="'Geist Mono',monospace">Your Code</text>
<text x="180" y="60" text-anchor="middle" fill="#6b7280" font-size="10" font-family="'Geist Mono',monospace">Rust / Anchor</text>
<!-- Arrow 1 → 2 -->
<line x1="180" y1="74" x2="180" y2="94" stroke="#e2e8f0" stroke-width="1" marker-end="url(#arr)"/>
<!-- Box 2: Your Agent -->
<rect x="95" y="96" width="170" height="66" rx="8" fill="rgba(255,255,255,0.03)" stroke="rgba(255,255,255,0.08)"/>
<svg x="173" y="104" width="14" height="14" viewBox="0 0 16 16">
<path fill="#71717a" d="M8 1 L9.5 6.5 L15 8 L9.5 9.5 L8 15 L6.5 9.5 L1 8 L6.5 6.5 Z"/>
</svg>
<text x="180" y="134" text-anchor="middle" fill="#e2e8f0" font-size="12" font-weight="600" font-family="'Geist Mono',monospace">Your Agent</text>
<text x="180" y="149" text-anchor="middle" fill="#52525b" font-size="7.5" font-family="'Geist Mono',monospace" letter-spacing="0.5">Claude · Cursor · Copilot</text>
<!-- Arrow 2 → 3 -->
<line x1="180" y1="162" x2="180" y2="182" stroke="#e2e8f0" stroke-width="1" marker-end="url(#arr)"/>
<!-- Box 3: SPEC.md -->
<rect x="95" y="184" width="170" height="66" rx="8" fill="rgba(255,255,255,0.03)" stroke="rgba(255,255,255,0.08)"/>
<svg x="173" y="192" width="14" height="14" viewBox="0 0 16 16">
<path fill="none" stroke="#71717a" stroke-width="1.3" stroke-linejoin="round" d="M4 1 h5 l4 4 v10 h-9 z"/>
<path fill="none" stroke="#71717a" stroke-width="1.3" d="M9 1 v4 h4"/>
</svg>
<text x="180" y="222" text-anchor="middle" fill="#e2e8f0" font-size="12" font-weight="600" font-family="'Geist Mono',monospace">SPEC.md</text>
<text x="180" y="236" text-anchor="middle" fill="#6b7280" font-size="10" font-family="'Geist Mono',monospace">goals & properties</text>
<!-- Arrow 3 → 4 -->
<line x1="180" y1="250" x2="180" y2="270" stroke="#e2e8f0" stroke-width="1" marker-end="url(#arr)"/>
<!-- Box 4: Lean 4 Proofs -->
<rect x="95" y="272" width="170" height="66" rx="8" fill="rgba(255,255,255,0.03)" stroke="rgba(56,189,248,0.25)"/>
<text x="180" y="292" text-anchor="middle" fill="#38bdf8" font-size="16" font-weight="600" font-family="Georgia,serif" font-style="italic">λ</text>
<text x="180" y="310" text-anchor="middle" fill="#e2e8f0" font-size="12" font-weight="600" font-family="'Geist Mono',monospace">Lean 4 Proofs</text>
<text x="180" y="324" text-anchor="middle" fill="#6b7280" font-size="10" font-family="'Geist Mono',monospace">lake build</text>
<!-- Arrow 4 → ∎ -->
<line x1="180" y1="338" x2="180" y2="366" stroke="#38bdf8" stroke-width="1.5" marker-end="url(#arr-a)"/>
<!-- QED tombstone -->
<rect x="155" y="368" width="50" height="42" rx="8" fill="#38bdf8"/>
<text x="180" y="395" text-anchor="middle" fill="#09090b" font-size="18" font-weight="800">∎</text>
<!-- Leanstral -->
<rect x="5" y="283" width="74" height="44" rx="6" fill="rgba(255,255,255,0.03)" stroke="rgba(255,255,255,0.08)" stroke-dasharray="4 3"/>
<text x="42" y="300" text-anchor="middle" fill="#6b7280" font-size="9" font-family="'Geist Mono',monospace">Leanstral</text>
<text x="42" y="314" text-anchor="middle" fill="#6b7280" font-size="8" font-family="'Geist Mono',monospace">theorem prover</text>
<!-- Leanstral arrow -->
<line x1="95" y1="305" x2="81" y2="305" stroke="#6b7280" stroke-width="1" stroke-dasharray="4 3" marker-end="url(#arr-m)"/>
<!-- Iterate loop -->
<path d="M 265 305 Q 300 305 300 217 Q 300 129 265 129" fill="none" stroke="#6b7280" stroke-width="1" stroke-dasharray="4 3" marker-end="url(#arr-m)"/>
<text x="305" y="220" text-anchor="start" fill="#6b7280" font-size="9" font-family="'Geist Mono',monospace">iterate</text>
</svg>
</div>
</div>
</header>
<!-- Footer -->
<footer>
<div class="watermark">Q.E.D.</div>
<div class="container">
<div class="footer-left">
<svg width="20" height="20" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="4" y="4" width="34" height="34" rx="4" stroke="#38bdf8" stroke-opacity="0.5" stroke-width="2.5"/>
<path d="M12 21L18 27L30 15" stroke="#38bdf8" stroke-opacity="0.5" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="28" y="28" width="6" height="6" fill="#38bdf8" fill-opacity="0.5"/>
</svg>
<span class="footer-name">QEDGen</span>
<span class="footer-copy">MIT License</span>
</div>
<div class="footer-links">
<a href="https://github.com/qedgen/solana-skills" target="_blank" rel="noopener noreferrer">GitHub</a>
<a href="https://github.com/qedgen/solana-skills/blob/main/SKILL.md" target="_blank" rel="noopener noreferrer">SKILL.md</a>
<a href="https://github.com/qedgen/solana-skills/issues" target="_blank" rel="noopener noreferrer">Issues</a>
</div>
</div>
</footer>
</body>
</html>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |