Skip to content

Instantly share code, notes, and snippets.

View berberman's full-sized avatar

Potato Hatsue berberman

  • Gensokyo
  • 22:42 (UTC -07:00)
View GitHub Profile
@berberman
berberman / K.lean
Last active February 18, 2026 00:51
HEq and K
universe u v
inductive Eq' {α : Sort u} : α → α → Sort (max u 1) where
| refl (x : α) : Eq' x x
infix:50 " ≡ " => Eq'
def Eq'.rfl {α : Sort u} {x : α} : x ≡ x := refl x
noncomputable def Eq'.subst {α : Sort u}