F*
1 program
Added 2025-10-27T13:40:43Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: F-star
Provenance: commit 65287a26a8 · authored 2025-10-27T14:40:43+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
9 sources · pl_id:
pl/fWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: functional · imperative |
|---|---|
| Typing | dependent, inferred, static, strong |
| Designed by | Microsoft Research · Inria · Nikhil Swamy · Juan Chen · Cédric Fournet · Pierre-Yves Strub · Karthikeyan Bhargavan · Jean Yang |
| First appeared | 2011 |
| Influenced by | Dafny · F# · Lean · OCaml · Rocq · Standard ML |
| License | Apache 2.0 |
| Implemented in | F* |
| Homepage | http://fstar-lang.org |
Extensions claimed by this language
5 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.fst | linguist | primary | 326.0K files |
.fst | pygments | primary | 326.0K files |
.fsti | linguist | secondary | 17.1K files |
.fsti | pygments | secondary | 17.1K files |
.fst | wikipedia | proposed | 326.0K files |
Related languages
LLM-contributed programs
Information Flow Control with Labeled Integers
Provenance: commit 65287a26a8 · authored 2025-10-27T14:40:43+01:00 · model google/gemini-2.5-pro · Temp 0.4
module LabeledCrypto
open FStar.Mul
type label = L | H
let (<=) l1 l2 = (l1=L) \/ (l1=l2)
type labeled_int (l:label) = x:int
let label_of (x:int) : label = if x > 1000 then H else L
let lift (l:label) (x:int) : labeled_int l = x
let combine (l1:label) (l2:label) : Tot label = if l1=H \/ l2=H then H else L
let add (l1:label) (l2:label) (x:labeled_int l1) (y:labeled_int l2)
: labeled_int (combine l1 l2)
= x + y
let declassify (l:label) (x:labeled_int l) : Tot (labeled_int L) = x
let public_release (x:int) : labeled_int L = x
let x = lift L 10
let y = lift H 2000
let z = add L H x y
let z' : labeled_int H = z
let z'' = declassify H z
let z''' : labeled_int L = z''
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)