Anders Mörtberg [Thu, 8 Jun 2017 07:46:27 +0000 (09:46 +0200)]
Check if some names were shadowed while loading the file
Anders Mörtberg [Tue, 30 May 2017 10:35:57 +0000 (12:35 +0200)]
fix typos
Anders Mörtberg [Tue, 30 May 2017 10:33:05 +0000 (12:33 +0200)]
add lecture 3
Anders Mörtberg [Sat, 20 May 2017 10:24:32 +0000 (12:24 +0200)]
minor
Anders Mörtberg [Sat, 20 May 2017 09:56:41 +0000 (11:56 +0200)]
minor
Anders Mörtberg [Sat, 20 May 2017 09:49:16 +0000 (11:49 +0200)]
minor update to lecture 2
Anders Mörtberg [Sat, 20 May 2017 09:31:04 +0000 (11:31 +0200)]
Add lecture 2
Anders Mörtberg [Fri, 12 May 2017 21:20:59 +0000 (23:20 +0200)]
update lecture1
Anders Mörtberg [Thu, 11 May 2017 16:55:32 +0000 (18:55 +0200)]
lecture1
Anders Mörtberg [Thu, 11 May 2017 16:45:31 +0000 (18:45 +0200)]
update lecture
Anders Mörtberg [Thu, 11 May 2017 16:23:20 +0000 (18:23 +0200)]
first lecture
Cyril Cohen [Thu, 11 May 2017 14:35:54 +0000 (16:35 +0200)]
Allow overlapping Arbitrary for Face and System
Cyril Cohen [Thu, 11 May 2017 14:23:27 +0000 (16:23 +0200)]
Boxing Env to prevent Show conflicts with newer versions of haskell packages
Anders Mörtberg [Sun, 7 May 2017 21:04:28 +0000 (23:04 +0200)]
minor change
Simon Huber [Tue, 2 May 2017 15:38:57 +0000 (17:38 +0200)]
Merge pull request #60 from Rotsor/more-parens-in-goal
More parentheses when printing values
Anders Mörtberg [Tue, 2 May 2017 15:05:57 +0000 (17:05 +0200)]
Merge pull request #59 from Rotsor/checkPLam-error-message
better error message from checkPLam
Simon Huber [Thu, 27 Apr 2017 20:11:03 +0000 (22:11 +0200)]
Fix printing of idC and idJ also for values
Simon Huber [Thu, 27 Apr 2017 20:05:13 +0000 (22:05 +0200)]
Don't use smart-constructors when normalizing values
Simon Huber [Thu, 27 Apr 2017 15:52:05 +0000 (17:52 +0200)]
Show idC and idJ as we parse them
Arseniy Alekseyev [Wed, 26 Apr 2017 22:14:31 +0000 (23:14 +0100)]
More parentheses when printing values
Fixes a bug where not enough parentheses would be printed.
Previously if a function F is defined by split, `F (F x)` would be printed as `F F x`.
Now it's printed as `F (F x)` as it should.
Arseniy Alekseyev [Sat, 22 Apr 2017 16:09:16 +0000 (17:09 +0100)]
better error message from checkPLam
Simon Huber [Fri, 21 Apr 2017 18:32:12 +0000 (20:32 +0200)]
Merge pull request #58 from Rotsor/patch-1
Emacs mode: ignore backslash character
Rotsor [Wed, 19 Apr 2017 21:15:18 +0000 (22:15 +0100)]
Emacs mode: ignore backslash character
Emacs treats the '\' as an escape character by default, which means it sees `\(foo : x) -> bar` as having unbalanced parentheses and therefore `forward-sexp` and related functions don't work.
Anders Mörtberg [Thu, 19 Jan 2017 13:44:39 +0000 (14:44 +0100)]
minor changes to bool
Anders Mörtberg [Thu, 19 Jan 2017 13:44:29 +0000 (14:44 +0100)]
experiment with Id
Anders Mörtberg [Wed, 4 Jan 2017 10:07:50 +0000 (11:07 +0100)]
Merge pull request #56 from linuborj/cubicaltt_grothendieck
Added a formalisation of the Grothendieck group and a proof that a family of universal arrows gives rise to an adjunction.
linusbo [Tue, 3 Jan 2017 11:22:22 +0000 (12:22 +0100)]
Uncommented slow function.
linusbo [Mon, 2 Jan 2017 19:30:29 +0000 (20:30 +0100)]
Added definitions of algebraic structures in algstruct.ctt, a construction of the Grothendieck group in grothendieck.cct, definitions of natural transformations, universal arrows, and adjunctions in univprop as well as a proof that a family of universal arrows gives rise to an adjunction.
Anders Mörtberg [Sun, 25 Dec 2016 21:34:40 +0000 (22:34 +0100)]
swap direction of equality to match order in comment
Anders Mörtberg [Sun, 25 Dec 2016 21:30:29 +0000 (22:30 +0100)]
add opposite category
Anders Mörtberg [Thu, 1 Dec 2016 14:42:30 +0000 (15:42 +0100)]
add a comment to category
Anders Mörtberg [Sat, 22 Oct 2016 17:49:06 +0000 (13:49 -0400)]
readme
Anders Mörtberg [Sat, 22 Oct 2016 16:03:11 +0000 (12:03 -0400)]
update demo
Anders Mörtberg [Sat, 22 Oct 2016 15:59:56 +0000 (11:59 -0400)]
readme
Anders Mörtberg [Sat, 22 Oct 2016 15:59:02 +0000 (11:59 -0400)]
readme
Anders Mörtberg [Sat, 22 Oct 2016 15:58:10 +0000 (11:58 -0400)]
README
Anders Mörtberg [Sat, 22 Oct 2016 15:56:16 +0000 (11:56 -0400)]
update readme
Anders Mörtberg [Fri, 21 Oct 2016 19:57:42 +0000 (15:57 -0400)]
doc
Anders Mörtberg [Fri, 21 Oct 2016 19:53:51 +0000 (15:53 -0400)]
doc
Anders Mörtberg [Fri, 21 Oct 2016 19:51:43 +0000 (15:51 -0400)]
test
Anders Mörtberg [Fri, 21 Oct 2016 19:49:32 +0000 (15:49 -0400)]
test
Anders Mörtberg [Fri, 21 Oct 2016 19:48:44 +0000 (15:48 -0400)]
add a readme for the examples folder
Anders Mörtberg [Fri, 21 Oct 2016 19:07:49 +0000 (15:07 -0400)]
add summary file
Anders Mörtberg [Fri, 21 Oct 2016 19:07:30 +0000 (15:07 -0400)]
doc
Anders Mörtberg [Fri, 21 Oct 2016 18:23:21 +0000 (14:23 -0400)]
move graph script
Anders Mörtberg [Fri, 21 Oct 2016 18:21:40 +0000 (14:21 -0400)]
comment
Anders Mörtberg [Fri, 21 Oct 2016 18:19:55 +0000 (14:19 -0400)]
add a script for loading all files
Anders Mörtberg [Fri, 21 Oct 2016 18:04:31 +0000 (14:04 -0400)]
comments
Anders Mörtberg [Fri, 21 Oct 2016 17:04:47 +0000 (13:04 -0400)]
move implicit point
Anders Mörtberg [Thu, 20 Oct 2016 21:47:04 +0000 (17:47 -0400)]
a lot of comments
Anders Mörtberg [Thu, 20 Oct 2016 21:28:52 +0000 (17:28 -0400)]
remove undefined and make csystem compile
Anders Mörtberg [Thu, 20 Oct 2016 21:19:01 +0000 (17:19 -0400)]
comments
Anders Mörtberg [Thu, 20 Oct 2016 21:00:21 +0000 (17:00 -0400)]
update category
Anders Mörtberg [Thu, 20 Oct 2016 20:56:59 +0000 (16:56 -0400)]
comments
Anders Mörtberg [Thu, 20 Oct 2016 20:43:40 +0000 (16:43 -0400)]
add transparent_all to keywords in emacs file
Anders Mörtberg [Thu, 20 Oct 2016 20:33:03 +0000 (16:33 -0400)]
remove examples/aim.ctt as it is subsumed by examples/demo.ctt
Anders Mörtberg [Thu, 22 Sep 2016 20:33:24 +0000 (16:33 -0400)]
add a small puzzle due to Andrew Polonsky
Anders Mörtberg [Thu, 22 Sep 2016 20:02:51 +0000 (16:02 -0400)]
Merge pull request #49 from mortberg/defeqJ
Add Id types
Simon Huber [Mon, 19 Sep 2016 09:26:00 +0000 (11:26 +0200)]
Fix insertSystem to maintain invariant for systems
Closes #52.
Anders Mörtberg [Thu, 15 Sep 2016 17:31:47 +0000 (13:31 -0400)]
cleaning
Anders Mörtberg [Thu, 15 Sep 2016 16:56:15 +0000 (12:56 -0400)]
cleaning
Anders Mörtberg [Wed, 14 Sep 2016 20:56:58 +0000 (16:56 -0400)]
visible -> transparent
Anders Mörtberg [Wed, 14 Sep 2016 20:56:15 +0000 (16:56 -0400)]
direct definition of retract
Anders Mörtberg [Wed, 14 Sep 2016 20:48:21 +0000 (16:48 -0400)]
add Dan's proof of univalence from ua and uabeta
Anders Mörtberg [Wed, 10 Aug 2016 07:38:27 +0000 (09:38 +0200)]
Merge pull request #50 from david-christiansen/elisp-conventions
Emacs mode updates
David Christiansen [Mon, 1 Aug 2016 13:11:38 +0000 (09:11 -0400)]
Emacs mode: Update names for Customize
Now Customize uses the updated names consistently.
David Christiansen [Mon, 1 Aug 2016 13:08:52 +0000 (09:08 -0400)]
Update README for Emacs mode
David Christiansen [Mon, 1 Aug 2016 13:04:14 +0000 (09:04 -0400)]
Remove redundant comment command from Emacs mode
It is sufficient to set a couple of variables to make the built-in
commenting command work for cubical.
David Christiansen [Mon, 1 Aug 2016 13:02:30 +0000 (09:02 -0400)]
Remove CL-isms from Emacs mode
*foo* is Common Lisp for special variables, while foo is Emacs Lisp for
the same.
David Christiansen [Mon, 1 Aug 2016 13:01:20 +0000 (09:01 -0400)]
Rename Emacs mode identifiers
Now, the identifiers match the mode filename, per Elisp convention.
David Christiansen [Mon, 1 Aug 2016 12:58:22 +0000 (08:58 -0400)]
Better comment about space-escaping in Emacs mode
The behavior of :cd at the cubical shell is now better described in a
comment, so as to not surprise Elisp hackers.
Anders Mörtberg [Fri, 29 Jul 2016 12:12:07 +0000 (14:12 +0200)]
define equivalence using Id and prove univalence with Id everywhere
Anders Mörtberg [Tue, 26 Jul 2016 15:26:34 +0000 (17:26 +0200)]
minor changes
Anders Mörtberg [Tue, 26 Jul 2016 15:18:54 +0000 (17:18 +0200)]
cleaning and a version of univalence for Id
Anders Mörtberg [Tue, 26 Jul 2016 14:53:35 +0000 (16:53 +0200)]
rename Eq to Id
Simon Huber [Mon, 14 Sep 2015 12:59:00 +0000 (14:59 +0200)]
Some experiments with Eq
Simon Huber [Mon, 31 Aug 2015 14:19:16 +0000 (16:19 +0200)]
Added Eq types with definitional equality for J
Anders Mörtberg [Fri, 29 Jul 2016 09:35:58 +0000 (11:35 +0200)]
Merge pull request #46 from david-christiansen/elisp-conventions
Emacs mode: completion, imenu, and friendlier Customize
Anders Mörtberg [Fri, 29 Jul 2016 09:35:24 +0000 (11:35 +0200)]
Merge pull request #45 from david-christiansen/emacs-update
Add subprocess to Emacs mode
Anders Mörtberg [Fri, 29 Jul 2016 09:18:03 +0000 (11:18 +0200)]
Merge pull request #44 from gullcomb/opt-decl-cmp
Speed up comparison of environments
Anders Mörtberg [Fri, 29 Jul 2016 09:16:48 +0000 (11:16 +0200)]
change back conversion
Anders Mörtberg [Fri, 29 Jul 2016 09:09:06 +0000 (11:09 +0200)]
Merge branch 'conv'
David Raymond Christiansen [Tue, 26 Jul 2016 15:39:50 +0000 (11:39 -0400)]
Improve the display of Emacs customize
The customization options in Emacs are now shown with friendlier names.
David Raymond Christiansen [Tue, 26 Jul 2016 15:37:04 +0000 (11:37 -0400)]
Add imenu support to the Emacs mode
imenu is a general-purpose index for things in a buffer, used by a
variety of Emacs tools to give a list of definitions in the buffer.
This adds support for it to the Emacs mode.
David Raymond Christiansen [Tue, 26 Jul 2016 15:26:34 +0000 (11:26 -0400)]
Add support for completion
Define a completion function and add it to completion-at-point-functions
in ctt-mode. This function is used by many different completion systems
in Emacs, including company-mode and the built-in simple
completion-at-point.
Completion uses a regexp to attempt to find names defined in the current
buffer as well as using the language keywords as sources of completion.
David Raymond Christiansen [Tue, 26 Jul 2016 14:43:48 +0000 (10:43 -0400)]
Make the Emacs mode work for package.el
Modify the Emacs mode to make it follow typical Elisp conventions, as
well as adding the necessary headers to make it work in the package
system.
Additionally, the mode is now derived from prog-mode, which will enable
hooks that should work for all programming language modes to run.
David Christiansen [Mon, 25 Jul 2016 13:29:07 +0000 (09:29 -0400)]
Add subprocess to Emacs mode
The Emacs mode for cubical can now run cubical as a subprocess. The
keybinding "C-c C-l", which is the same as Agda and Idris, saves the
current buffer and loads it in cubical.
Additionally, a Customize setting is added to allow users to easily
customize the command to be used to invoke cubical.
Anders Mörtberg [Thu, 14 Jul 2016 13:30:54 +0000 (15:30 +0200)]
minor changes
Guillaume Combette [Tue, 12 Jul 2016 15:58:52 +0000 (17:58 +0200)]
Tag declarations with their location.
This speeds up the comparison of environments in the common case of
identical declarations.
Guillaume Combette [Tue, 12 Jul 2016 14:42:19 +0000 (16:42 +0200)]
Fix build for GHC 7.8
This version does not implement the Foldable/Traversable in Prelude
proposal thus `elem` does not work on Sets.
Anders Mörtberg [Mon, 11 Jul 2016 21:25:19 +0000 (23:25 +0200)]
fix bug in printing
Anders Mörtberg [Mon, 11 Jul 2016 20:22:21 +0000 (22:22 +0200)]
cleaning of binnat
Anders Mörtberg [Mon, 11 Jul 2016 19:32:40 +0000 (21:32 +0200)]
Clean up of univalence and add the definition of univalence using the map defined using J
Rafaël Bocquet [Fri, 8 Jul 2016 07:58:02 +0000 (09:58 +0200)]
Merge branch 'csystems'
Rafaël Bocquet [Fri, 8 Jul 2016 07:30:49 +0000 (09:30 +0200)]
Fix conv
Rafaël Bocquet [Fri, 8 Jul 2016 07:29:45 +0000 (09:29 +0200)]
Merge branch 'master' into csystems
Rafaël Bocquet [Thu, 7 Jul 2016 15:34:29 +0000 (17:34 +0200)]
Speed up conv
Rafaël Bocquet [Thu, 7 Jul 2016 15:33:06 +0000 (17:33 +0200)]
add some comments in category.ctt and csystem.ctt
Anders Mörtberg [Thu, 7 Jul 2016 14:14:51 +0000 (16:14 +0200)]
rename visible to transparent and fix printing of glue
Anders Mörtberg [Thu, 7 Jul 2016 14:03:02 +0000 (16:03 +0200)]
rename glue -> Glue, glueElem -> glue and unglueElem -> unglue