Skip to content

Instantly share code, notes, and snippets.

View KiJeong-Lim's full-sized avatar

임기정 KiJeong-Lim

View GitHub Profile
@damhiya
damhiya / Syntax.v
Last active June 14, 2025 13:52
Intrinsically well-scoped de Bruijn representation with fancy notation
From Coq Require Import String.
From stdpp Require Import base strings.
Section AUX.
#[global] Instance option_eq_dec_normalizable A `{dec : EqDecision A} : EqDecision (option A).
Proof.
intros x y. destruct x as [x|], y as [y|].
- destruct (decide (x = y)).
+ left. congruence.
@KiJeong-Lim
KiJeong-Lim / cancomm.cpp
Last active February 19, 2024 13:48
Dev-C++ works
#include <cstdint>
#include "scratch.hpp"
struct MotorInput {
float p;
float v;
float kp;
float kd;
float t_ff;
};