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
| #include <math.h> | |
| #include <stddef.h> | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| /* quiet NANs aren't always defined??? | |
| confused about this bit | |
| */ | |
| #define F32 NAN |
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
| [[file:search.mjs::history.scrollRestoration]] | |
| FIXME unsure about scroll restoration. | |
| [[file:search.mjs::function clickRequest(]] | |
| Filter to non modifier, non chorded mouse clicks. | |
| [[file:search.mjs::function submitRequest(]] |
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
| const pfimp = import('./pagefind/pagefind.js'); // Import pagefind | |
| history.scrollRestoration = 'manual'; // FIXME unsure about scroll restoration | |
| const { origin, pathname, searchParams } = new URL(location); | |
| function searchlink(p, x) { | |
| const params = new URLSearchParams({[p]: x}); | |
| return `${pathname}?${params}`; | |
| } |
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
| Inductive sort := domain | function (A B: sort). | |
| Inductive context:= | |
| | nil | |
| | one (A: sort) | |
| | append (A B: context). | |
| Inductive Var (A: sort): context -> Set := | |
| | VO: Var A (one A) | |
| | VL G D: Var A D -> Var A (append G D) | |
| | VR G D: Var A G -> Var A (append G D). |
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
| Require Import Coq.Unicode.Utf8. | |
| Import IfNotations. | |
| Inductive U: Set := | |
| | self | |
| | void | |
| | sum (A B: U) | |
| | unit | |
| | prod (A B: U). |
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
| Require Import Coq.Unicode.Utf8. | |
| Require Coq.Program.Basics. | |
| Import IfNotations. | |
| Inductive SET := image (A: Set) (π: A → SET). | |
| Definition index (X: SET) := | |
| let '(image A _) := X in A. | |
| Definition π (X: SET): index X → SET := |
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
| war lost, Two was exiled and turned to banditry | |
| where he assailed souls from all sides | |
| till one day dreaming Two's heart rose up | |
| and sleeping in a cave he had a dream | |
| lift up, take up, stand up, young son, lost one, lost son | |
| go seek the ring - find the cup, rise up young son | |
| you live today - your heart beats still - and still sings on |
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
| Require Import Coq.Unicode.Utf8. | |
| Require Coq.Program.Equality. | |
| Require Coq.Vectors.Vector. | |
| Require Coq.Lists.List. | |
| Import IfNotations. | |
| Import List.ListNotations. | |
| Import Vector.VectorNotations. | |
| Section SET. |
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
| Require Import Coq.Unicode.Utf8. | |
| Require Import Coq.Classes.RelationClasses. | |
| Require Import Coq.Classes.SetoidClass. | |
| Require Import Coq.Program.Basics. | |
| Require Import Coq.Relations.Relation_Definitions. | |
| Require Coq.Vectors.Vector. | |
| Require Coq.Vectors.Fin. | |
| Require Coq.Lists.List. | |
| Import IfNotations. |