Comments (7)
@palmskog I'd a look at your experimental branch. That's much better ! Thanks !
from hydra-battles.
@Casteran in this case, I will probably package the branch as a sequence of smaller pull requests in the next few weeks.
Specifically, besides the above on total pre-orders, I also thought it could be a good idea to introduce an operational typeclass for comparisons:
Class Compare A := compare : A -> A -> comparison.
Class Comparable {A} (lt: relation A) (cmp : Compare A) : Prop := {
sto :> StrictOrder lt;
compare_correct: forall a b, CompareSpec (a = b) (lt a b) (lt b a) (compare a b);
}.
This enables using a consistent infix notation across all the comparisons between different types, e.g., x <? y
or x <?> y
instead of compare x y
.
from hydra-battles.
Since the pdf is now made with Alectryon, we won't have to update too much the latex files, except for a link to Bas Spitter and van der Weegen's article (already cited, section 10.3.1, p. 202, but it's a long time I didn't re-read it).
Since I defined the ON
class much later than E0
, I suspect I have proved some specific lemmas about ordinals in Cantor normal form which could have been proved for any ordinal notation. Well, to be considered later!
from hydra-battles.
It should be noted that there are actually serious developments based on the semibundled approach. The most well-known might be Lean's mathlib, and the mathlib authors describe their approach in a quite recent paper (page 4). However, even they typically use the decision typeclass as a parameter type and not as a member type (p. 5).
from hydra-battles.
from hydra-battles.
To me, there are right now only two ways of using booleans in a disciplined way in Coq: SSReflect and the Decision typeclass. Anything else will seemingly devolve into a cascade of ad-hoc lemmas connecting boolean functions with Props. Bob Harper's comments about boolean blindness are unfortunately pertinent in many Coq projects that do not use MathComp or stdpp. Probably this can be viewed as a "cost" of moving from a non-computational logic like HOL (where bool and Prop are conflated) to a dependently typed one.
from hydra-battles.
When we add more stuff in hydra-gaia, it will be interesting to comment and compare both styles, and choose a style for writing bridge lemmas and their proofs.
from hydra-battles.
Related Issues (20)
- Compilation failed HOT 14
- The button is not working
- Snippets with utf8 characters HOT 11
- Minimizing Nix Toolbox Gaia CI HOT 2
- Generating coqdoc on merge to master HOT 4
- Tagline for the project HOT 1
- Proposed changes to meta.yml HOT 5
- Branch dev fails to compile with 8.11 HOT 3
- Some use of Equations make 8.11 and 8.12 fail HOT 3
- Changes to the Ackermann sub-library HOT 2
- temporary remove OmegaOmega subdirectory HOT 1
- bad goal display (alectryon + latex)
- CI compilation of doc failed on github HOT 1
- Bridge to gaia ordinals HOT 10
- Shorten duration of documentation CI job. HOT 4
- `make pdf` can succeed with failed snippets. HOT 5
- Latex snippet generation HOT 4
- Moving to Alectryon : first draft HOT 22
- Short paper on hydra-battles HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydra-battles.