Kind2

1 program Added 2026-02-12T09:11:42Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Kind 2
Provenance: commit bb62aaff0c · authored 2026-02-12T10:12:19+01:00 · agent claude-code · model sonnet

Sources mentioning this language

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

Related languages

Kind (0.67)Kinx (0.21)Kite (0.13)KickC (0.12)EXEC 2 (0.12)

LLM-contributed programs

Natural Number Addition with Commutativity Proof

Provenance: commit bb62aaff0c · authored 2026-02-12T10:12:19+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.kind2 · license: MIT · added: 2026-02-12T09:11:42Z
// Proof of addition commutativity
Nat.add.comm (a: Nat) (b: Nat) : (Nat.add a b) == (Nat.add b a)
Nat.add.comm Nat.zero     b = ?comm_zero
Nat.add.comm (Nat.succ a) b = ?comm_succ

// Natural numbers
type Nat {
  zero
  succ (pred: Nat)
}

// Addition function
Nat.add (a: Nat) (b: Nat) : Nat
Nat.add Nat.zero     b = b
Nat.add (Nat.succ a) b = Nat.succ (Nat.add a b)

// Main function
Main : Nat {
  Nat.add (Nat.succ (Nat.succ Nat.zero)) (Nat.succ (Nat.succ (Nat.succ Nat.zero)))
}

Contribute — propose a file extension

Tell us where to find evidence about Kind2 (mapped to pl/kind2). 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/Kind2/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Kind n' Single Kinetic Rule Language →