Skip to content
View ionathanch's full-sized avatar
🏳️‍🌈
🏳️‍🌈

Block or report ionathanch

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ionathanch/README.md

closure ahead

Frankly everything you need to know about me should already be in the sidebar. Here, have some Agda instead:

{-# OPTIONS --sized-types #-}
open import Size
open import Data.Empty

data _<_ : Size  Size  Set where
  lt :  s  (r : Size< s)  r < s

data Acc (s : Size) : Set where
  acc : ( {r}  r < s  Acc r)  Acc s

false₁ : ⊥
false₁ = ¬wf∞ (wf ∞) where
  wf :  s  Acc s
  wf s = acc (λ {(lt .s r)  wf r})
  ¬wf∞ : Acc ∞  ⊥
  ¬wf∞ (acc p) = ¬wf∞ (p (lt ∞ ∞))

Oh? You want more? Here's more:

data _≡_ : Size  Size  Set where
  refl :  {i}  i ≡ i

data Up! : Size  Set where
  huh :  {i}  Up! i
  up! :  {i}  {j : Size< i}  Up! j  Up! i

false₂ : ⊥
false₂ = hup! ∞ refl huh where
  hup! :  i  i ≡ (↑ ∞)  Up! i  ⊥
  hup! .∞ refl u = hup! ∞ refl (up! u)

Pinned Loading

  1. scraps scraps Public

    Various mechanized proof files for fun.

    Agda 9 1

  2. TT-model TT-model Public

    A logical relations model of a minimal type theory with universes mechanized in Agda and Lean.

    Agda 6 1

  3. msc-thesis msc-thesis Public

    Forked from briandealwis/ubcdiss

    LaTeX source for Sized Dependent Types via Extensional Type Theory

    TeX 12 1

  4. cwf-notes cwf-notes Public

    Notes on categories with families, interpreting syntax into CwFs, and some semantic models.

    TeX 3

  5. system-f-redex system-f-redex Public

    Church-style System F with definitions in Redex.

    Racket 7 1

  6. ssh-keygen-ed25519-vanity ssh-keygen-ed25519-vanity Public

    Generate a vanity EdDSA SSH key for fun.

    C 4 3