SSReflect

1 program Added 2026-03-06T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Ssreflect, Small Scale Reflection
Provenance: commit 37fab78acc · authored 2026-03-06T12:01:05+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Small (0.23)SMALGOL (0.19)Small Basic (0.17)Pawn (0.15)Action! (0.14)

LLM-contributed programs

Fibonacci with SSReflect tactics

Provenance: commit 37fab78acc · authored 2026-03-06T12:01:05+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.v · added: 2026-03-06T10:00:00Z
From mathcomp Require Import all_ssreflect.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.

(* Fibonacci sequence using SSReflect *)
Fixpoint fib (n : nat) : nat :=
  match n with
  | 0 => 0
  | 1 => 1
  | S (S n as m) => fib m + fib n
  end.

Lemma fib0 : fib 0 = 0. Proof. by []. Qed.
Lemma fib1 : fib 1 = 1. Proof. by []. Qed.

Lemma fib_pos n : 0 < fib n.+1.
Proof.
elim: n => [|n IHn] //.
rewrite /= -addn1 -addn1.
by apply leq_add.
Qed.

Lemma fib_sum n : fib n + fib n.+1 = fib n.+2.
Proof. by rewrite /= addnC. Qed.

Contribute — propose a file extension

Tell us where to find evidence about SSReflect (mapped to pl/ssreflect). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/SSReflect/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← SSML SSREPL →