-
-
Save wilbowma/4e76d1723851846a43b3a773eff15573 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang cur | |
(require | |
cur/stdlib/nat | |
cur/stdlib/equality | |
cur/ntac/base | |
cur/ntac/standard | |
cur/ntac/rewrite | |
(for-syntax syntax/parse | |
(for-syntax racket/base syntax/parse))) | |
(define-syntax unpopular | |
(syntax-parser | |
[(_ (~literal opinion) | |
x ...) | |
#`(define-theorem x ...)])) | |
(begin-for-syntax | |
(define-syntax wat (make-rename-transformer #`display-focus)) | |
(define-syntax yeet (make-rename-transformer #`simpl)) | |
(define-syntax prove | |
(syntax-parser | |
[(_ (~literal all)(~literal the)(~literal things)) | |
#`reflexivity])) | |
(define-syntax yo | |
(syntax-parser | |
[(_ (~literal dawg) | |
(~literal i) | |
(~literal heard) | |
(~literal you) | |
(~literal like) | |
b | |
[is this a x π¦] ...) | |
#`(by-induction b #:as [x ...])])) | |
(define-syntax i | |
(syntax-parser | |
[(_ (~literal put) | |
(~literal a) | |
b) | |
#`(by-rewrite b)])) | |
(define-syntax dont | |
(syntax-parser | |
[(_ (~literal @) | |
(~literal me)) | |
#`qed]))) | |
(unpopular opinion my-spicy-take | |
(forall (a : Nat) (b : Nat) (c : Nat) | |
(== Nat (plus a (plus b c)) (plus (plus a b) c))) | |
(by-intro a) | |
(by-intro b) (by-intro c) | |
yeet | |
(yo dawg i heard you like a | |
[is this a () π¦] | |
[is this a (n-1 proof-in-your-proof) π¦]) | |
;is this a z π¦ | |
(prove all the things) | |
;is this a (suc a) π¦ | |
(i put a proof-in-your-proof) | |
yeet | |
(prove all the things) | |
(dont @ me)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment