Coder Social home page Coder Social logo

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)

Jonathan Chan's Projects

agda icon agda

Agda is a dependently typed programming language / interactive theorem prover.

coq icon coq

Coq is a formal proof management system. It provides a formal language to write mathematical definitions, executable algorithms and theorems together with an environment for semi-interactive development of machine-checked proofs.

cwf-notes icon cwf-notes

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

ecc icon ecc

Various woefully incomplete mechanizations of Luo's Extended Calculus of Constructions.

github-scripts icon github-scripts

A collection of Racket scripts for manipulating student repositories on GitHub as course staff.

graphite icon graphite

A data visualization library for Racket.

hg2git icon hg2git

Migration scripts from Mercurial to Git (last worked in 2017)

idris2 icon idris2

A purely functional programming language with first class types

impressions icon impressions

The Impressions File-System Image Generator from "Generating Realistic Impressions for File-System Benchmarking" (Agrawal 2009), now with bugs fixed.

mltt-consistency icon mltt-consistency

Logical relation for predicative CC omega with booleans and an intensional identity type

msc-thesis icon msc-thesis

LaTeX source for Sized Dependent Types via Extensional Type Theory

parapoly icon parapoly

A LaTeX-typeset reproduction of Reynolds' "Types, Abstraction and Parametric Polymorphism"

quoz icon quoz

Android app for generating random pastel colours. Also it's pronounced like "kwots".

rouge icon rouge

A pure Ruby code highlighter that is compatible with Pygments

scraps icon scraps

Various mechanized proof files for fun.

simplambda icon simplambda

Mostly follows https://www.cs.cornell.edu/courses/cs3110/2019fa/textbook/interp/inference.html.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.