x402agent/SolanaOS / skills/qedgen
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.
examples/rust/percolator/scripts/run_kani_full_audit.sh
View on GitHub#!/usr/bin/env bash
# Full Kani audit: run all proofs one-by-one with 10-minute timeout each
set -euo pipefail
cd /home/anatoly/percolator
OUTFILE="/home/anatoly/percolator/kani_audit_full.tsv"
echo -e "proof\ttime_s\tstatus" > "$OUTFILE"
PROOFS=$(grep -A5 'kani::proof' tests/kani.rs | grep '^\s*fn ' | sed 's/.*fn \([a-z_0-9]*\).*/\1/' | sort)
TOTAL=$(echo "$PROOFS" | wc -l)
COUNT=0
PASS=0
FAIL=0
for proof in $PROOFS; do
COUNT=$((COUNT + 1))
echo "[$COUNT/$TOTAL] Running: $proof"
START=$(date +%s)
if timeout 600 cargo kani --harness "$proof" --output-format terse 2>&1 | tail -3; then
STATUS="PASS"
PASS=$((PASS + 1))
else
EXIT_CODE=$?
if [ $EXIT_CODE -eq 124 ]; then
STATUS="TIMEOUT"
else
STATUS="FAIL"
fi
FAIL=$((FAIL + 1))
fi
END=$(date +%s)
ELAPSED=$((END - START))
echo -e "${proof}\t${ELAPSED}\t${STATUS}" >> "$OUTFILE"
echo " -> $STATUS (${ELAPSED}s)"
done
echo ""
echo "========================================="
echo "SUMMARY: $PASS passed, $FAIL failed/timeout out of $TOTAL"
echo "Results saved to: $OUTFILE"
echo "========================================="
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 |