coq-hetmet.git
9 years agoseparate CoqPass.hs from All.v in Makefile
Adam Megacz [Sun, 10 Apr 2011 19:53:11 +0000 (19:53 +0000)]
separate CoqPass.hs from All.v in Makefile

9 years agofix bug in GeneralizedArrowFromReification
Adam Megacz [Sun, 10 Apr 2011 19:51:27 +0000 (19:51 +0000)]
fix bug in GeneralizedArrowFromReification

9 years agoAll.v: uncomment things
Adam Megacz [Sun, 10 Apr 2011 19:37:59 +0000 (19:37 +0000)]
All.v: uncomment things

9 years agobugfix in ReificationsIsomorphicToGeneralizedArrows
Adam Megacz [Sun, 10 Apr 2011 19:37:53 +0000 (19:37 +0000)]
bugfix in ReificationsIsomorphicToGeneralizedArrows

9 years agoadd commented-out definitions for analytic proofs and cut elimination
Adam Megacz [Sun, 10 Apr 2011 19:37:36 +0000 (19:37 +0000)]
add commented-out definitions for analytic proofs and cut elimination

9 years agofill in lots of missing proofs
Adam Megacz [Sun, 10 Apr 2011 11:22:43 +0000 (11:22 +0000)]
fill in lots of missing proofs

9 years agoupdate to new coq-categories, base ND_Relation on inert sequences
Adam Megacz [Sun, 10 Apr 2011 04:04:51 +0000 (04:04 +0000)]
update to new coq-categories, base ND_Relation on inert sequences

9 years agoremove notations from Preamble that come from coq-categories
Adam Megacz [Sat, 9 Apr 2011 08:54:24 +0000 (08:54 +0000)]
remove notations from Preamble that come from coq-categories

9 years agoupdate to account for coq-categories changes
Adam Megacz [Mon, 4 Apr 2011 02:53:27 +0000 (02:53 +0000)]
update to account for coq-categories changes

9 years agofix Makefile bug
Adam Megacz [Sat, 2 Apr 2011 22:53:42 +0000 (22:53 +0000)]
fix Makefile bug

9 years agoupdate submodule pointer, account for changes upstream
Adam Megacz [Sat, 2 Apr 2011 22:49:20 +0000 (15:49 -0700)]
update submodule pointer, account for changes upstream

9 years agoExtractionMain: better pdflatex code output
Adam Megacz [Sat, 2 Apr 2011 22:48:01 +0000 (15:48 -0700)]
ExtractionMain: better pdflatex code output

9 years agore-arrange ProgrammingLanguage
Adam Megacz [Sat, 2 Apr 2011 20:16:22 +0000 (13:16 -0700)]
re-arrange ProgrammingLanguage

9 years agoadd extra targets to Makefile
Adam Megacz [Sat, 2 Apr 2011 08:07:55 +0000 (01:07 -0700)]
add extra targets to Makefile

9 years agosplit HaskProofCategory into two files
Adam Megacz [Sat, 2 Apr 2011 08:07:39 +0000 (01:07 -0700)]
split HaskProofCategory into two files

9 years agoremove unproven step1_lemma (it has a proof now)
Adam Megacz [Fri, 1 Apr 2011 01:28:38 +0000 (18:28 -0700)]
remove unproven step1_lemma (it has a proof now)

9 years agoformatting fixes
Adam Megacz [Tue, 29 Mar 2011 18:03:35 +0000 (11:03 -0700)]
formatting fixes

9 years agoremove stale import from ExtractionMain
Adam Megacz [Tue, 29 Mar 2011 17:52:53 +0000 (17:52 +0000)]
remove stale import from ExtractionMain

9 years agolots of cleanup
Adam Megacz [Tue, 29 Mar 2011 16:46:52 +0000 (09:46 -0700)]
lots of cleanup

9 years agotweak comments in examples
Adam Megacz [Tue, 29 Mar 2011 11:20:41 +0000 (04:20 -0700)]
tweak comments in examples

9 years agoreorganized examples directory
Adam Megacz [Tue, 29 Mar 2011 11:15:27 +0000 (04:15 -0700)]
reorganized examples directory

9 years agoreorganize flattening code
Adam Megacz [Tue, 29 Mar 2011 11:13:13 +0000 (04:13 -0700)]
reorganize flattening code

9 years agoHaskProofCategory: more work
Adam Megacz [Tue, 29 Mar 2011 08:05:29 +0000 (01:05 -0700)]
HaskProofCategory: more work

9 years agoswap the order of the hypotheses of RLet
Adam Megacz [Tue, 29 Mar 2011 08:05:18 +0000 (01:05 -0700)]
swap the order of the hypotheses of RLet

9 years agoNaturalDeduction: remove unnecessary scnd_leaf, add (s)cnd_property
Adam Megacz [Tue, 29 Mar 2011 08:04:22 +0000 (01:04 -0700)]
NaturalDeduction: remove unnecessary scnd_leaf, add (s)cnd_property

9 years agoadd pushcheck
Adam Megacz [Mon, 28 Mar 2011 08:44:16 +0000 (01:44 -0700)]
add pushcheck

9 years agoreplace UJudg with Arrange
Adam Megacz [Mon, 28 Mar 2011 08:44:04 +0000 (01:44 -0700)]
replace UJudg with Arrange

9 years agocheckpoint
Adam Megacz [Mon, 28 Mar 2011 07:17:10 +0000 (00:17 -0700)]
checkpoint

9 years agocheckpoint
Adam Megacz [Mon, 28 Mar 2011 04:49:57 +0000 (21:49 -0700)]
checkpoint

9 years agofix typo
Adam Megacz [Mon, 28 Mar 2011 00:24:18 +0000 (17:24 -0700)]
fix typo

9 years agoProgrammingLanguage: more implementation
Adam Megacz [Mon, 28 Mar 2011 00:22:44 +0000 (17:22 -0700)]
ProgrammingLanguage: more implementation

9 years agoHaskProofCategory: implement more
Adam Megacz [Mon, 28 Mar 2011 00:22:25 +0000 (17:22 -0700)]
HaskProofCategory: implement more

9 years agoremove old code from WeakFunctorCategory
Adam Megacz [Mon, 28 Mar 2011 00:22:10 +0000 (17:22 -0700)]
remove old code from WeakFunctorCategory

9 years agoReificationsIsomorphicToGeneralizedArrows: use EqDep
Adam Megacz [Mon, 28 Mar 2011 00:21:41 +0000 (17:21 -0700)]
ReificationsIsomorphicToGeneralizedArrows: use EqDep

9 years agoNaturalDeduction: allow multi-rule implementations for SequentExpansion and TreeStruc...
Adam Megacz [Mon, 28 Mar 2011 00:21:22 +0000 (17:21 -0700)]
NaturalDeduction: allow multi-rule implementations for SequentExpansion and TreeStructuralRules

9 years agoMerge branch 'master' of http://git.megacz.com/coq-hetmet
Adam Megacz [Mon, 28 Mar 2011 00:20:22 +0000 (17:20 -0700)]
Merge branch 'master' of git.megacz.com/coq-hetmet

Conflicts:
src/Extraction-prefix.hs

9 years agoorganize Extraction-prefix.hs a bit
Adam Megacz [Mon, 28 Mar 2011 00:19:42 +0000 (17:19 -0700)]
organize Extraction-prefix.hs a bit

9 years agofallback plan: turn all CoreSyn coercions into unsafeCoerce
Adam Megacz [Mon, 28 Mar 2011 00:18:07 +0000 (00:18 +0000)]
fallback plan: turn all CoreSyn coercions into unsafeCoerce

9 years agochange name of string-extraction placeholder
Adam Megacz [Sun, 27 Mar 2011 20:32:20 +0000 (13:32 -0700)]
change name of string-extraction placeholder

9 years agoremove PreCategory
Adam Megacz [Sun, 27 Mar 2011 20:25:20 +0000 (13:25 -0700)]
remove PreCategory

9 years agoMerge branch 'master' of http://git.megacz.com/coq-hetmet
Adam Megacz [Sun, 27 Mar 2011 19:37:04 +0000 (19:37 +0000)]
Merge branch 'master' of git.megacz.com/coq-hetmet

9 years agouncomment more of the tutorial
Adam Megacz [Sun, 27 Mar 2011 19:36:52 +0000 (19:36 +0000)]
uncomment more of the tutorial

9 years agoupdate submodule pointer
Adam Megacz [Sun, 27 Mar 2011 19:27:57 +0000 (12:27 -0700)]
update submodule pointer

9 years agoalmost finished with main theorem
Adam Megacz [Sun, 27 Mar 2011 19:27:50 +0000 (12:27 -0700)]
almost finished with main theorem

9 years agofix -dont-load-proofs option in Makefile
Adam Megacz [Sun, 27 Mar 2011 19:21:45 +0000 (12:21 -0700)]
fix -dont-load-proofs option in Makefile

9 years agocheckpoint
Adam Megacz [Sun, 27 Mar 2011 08:06:40 +0000 (01:06 -0700)]
checkpoint

9 years agoget rid of vec_{fst,snd} axioms
Adam Megacz [Sun, 27 Mar 2011 04:14:45 +0000 (21:14 -0700)]
get rid of vec_{fst,snd} axioms

9 years agoimprove error message
Adam Megacz [Sun, 27 Mar 2011 02:26:01 +0000 (19:26 -0700)]
improve error message

9 years agoupdate submodule pointer
Adam Megacz [Sun, 27 Mar 2011 02:13:26 +0000 (19:13 -0700)]
update submodule pointer

9 years agoremove unnecessary comments
Adam Megacz [Sun, 27 Mar 2011 02:12:46 +0000 (19:12 -0700)]
remove unnecessary comments

9 years agouse WeakFunctorCategory to prove GArrow/Reification isomorphism
Adam Megacz [Sun, 27 Mar 2011 02:12:36 +0000 (19:12 -0700)]
use WeakFunctorCategory to prove GArrow/Reification isomorphism

9 years agotemporarily comment out
Adam Megacz [Sat, 26 Mar 2011 09:31:25 +0000 (02:31 -0700)]
temporarily comment out

9 years agomore bugfixes
Adam Megacz [Sat, 26 Mar 2011 09:26:53 +0000 (02:26 -0700)]
more bugfixes

9 years agofix {Reification,GeneralizedArrow}Category
Adam Megacz [Sat, 26 Mar 2011 09:13:02 +0000 (02:13 -0700)]
fix {Reification,GeneralizedArrow}Category

9 years agoimprovements to ProgrammingLanguage
Adam Megacz [Sat, 26 Mar 2011 09:09:35 +0000 (02:09 -0700)]
improvements to ProgrammingLanguage

9 years agoProgrammingLanguage.v: add definitions for TypesL_{first,second}
Adam Megacz [Sat, 26 Mar 2011 08:40:46 +0000 (01:40 -0700)]
ProgrammingLanguage.v: add definitions for TypesL_{first,second}

9 years agofinish definitions for SequentCalculus, CutRule, SequentExpansion
Adam Megacz [Sat, 26 Mar 2011 08:40:21 +0000 (01:40 -0700)]
finish definitions for SequentCalculus, CutRule, SequentExpansion

9 years agonote that REmptyGroup and RLit are flat
Adam Megacz [Sat, 26 Mar 2011 08:39:46 +0000 (01:39 -0700)]
note that REmptyGroup and RLit are flat

9 years agoupdate submodule pointer
Adam Megacz [Sat, 26 Mar 2011 08:39:15 +0000 (01:39 -0700)]
update submodule pointer

9 years agoupdate submodule pointer
Adam Megacz [Sat, 26 Mar 2011 07:06:41 +0000 (00:06 -0700)]
update submodule pointer

9 years agore-arrange NaturalDeduction
Adam Megacz [Sat, 26 Mar 2011 07:02:29 +0000 (00:02 -0700)]
re-arrange NaturalDeduction

9 years agochange fst_zip/snd_zip to axioms
Adam Megacz [Sat, 26 Mar 2011 07:01:32 +0000 (00:01 -0700)]
change fst_zip/snd_zip to axioms

9 years agofix proof that Judgments(L) is Cartesian
Adam Megacz [Sat, 26 Mar 2011 02:18:09 +0000 (19:18 -0700)]
fix proof that Judgments(L) is Cartesian

9 years agoadd Concatenable, LatexMath, and fix HaskProofToLatex
Adam Megacz [Fri, 25 Mar 2011 22:09:55 +0000 (15:09 -0700)]
add Concatenable, LatexMath, and fix HaskProofToLatex

9 years agoadd ToLatex instance for TyCon/TyFun
Adam Megacz [Fri, 25 Mar 2011 18:22:04 +0000 (11:22 -0700)]
add ToLatex instance for TyCon/TyFun

9 years agoupdate categories submodule pointer
Adam Megacz [Fri, 25 Mar 2011 18:18:04 +0000 (11:18 -0700)]
update categories submodule pointer

9 years agosplit Extraction.v so most can be compiled with -dont-load-proofs
Adam Megacz [Fri, 25 Mar 2011 18:17:55 +0000 (11:17 -0700)]
split Extraction.v so most can be compiled with -dont-load-proofs

9 years agoHaskProofToLatex improvements
Adam Megacz [Fri, 25 Mar 2011 18:17:28 +0000 (11:17 -0700)]
HaskProofToLatex improvements

9 years agoHaskProofCategory: add commented-out-code
Adam Megacz [Fri, 25 Mar 2011 18:17:15 +0000 (11:17 -0700)]
HaskProofCategory: add commented-out-code

9 years agouse apply tactic in ReificationFromGeneralizedArrow; not sure why this is required
Adam Megacz [Fri, 25 Mar 2011 18:16:55 +0000 (11:16 -0700)]
use apply tactic in ReificationFromGeneralizedArrow; not sure why this is required

9 years agoProgrammingLanguage: significant cleanups
Adam Megacz [Fri, 25 Mar 2011 18:16:24 +0000 (11:16 -0700)]
ProgrammingLanguage: significant cleanups

9 years agoadd LetRec case to Rule_Flat
Adam Megacz [Fri, 25 Mar 2011 18:16:00 +0000 (11:16 -0700)]
add LetRec case to Rule_Flat

9 years agoNaturalDeductionCategory: cleanup, add SequentCalculus and CutRule
Adam Megacz [Fri, 25 Mar 2011 18:15:33 +0000 (11:15 -0700)]
NaturalDeductionCategory: cleanup, add SequentCalculus and CutRule

9 years agoadd ToLatex instance parameter to HaskStrong
Adam Megacz [Fri, 25 Mar 2011 18:15:01 +0000 (11:15 -0700)]
add ToLatex instance parameter to HaskStrong

9 years agoremove unnecessary instance from HaskStrongTypes
Adam Megacz [Fri, 25 Mar 2011 18:14:04 +0000 (11:14 -0700)]
remove unnecessary instance from HaskStrongTypes

9 years agochange import order in HaskWeakVars
Adam Megacz [Fri, 25 Mar 2011 18:12:22 +0000 (11:12 -0700)]
change import order in HaskWeakVars

9 years agochange import order in HaskCoreToWeak
Adam Megacz [Fri, 25 Mar 2011 18:12:03 +0000 (11:12 -0700)]
change import order in HaskCoreToWeak

9 years agoadd n-ary form of nd_weak
Adam Megacz [Fri, 25 Mar 2011 18:10:10 +0000 (11:10 -0700)]
add n-ary form of nd_weak

9 years agoadd ndr_void_proofs_irrelevant
Adam Megacz [Fri, 25 Mar 2011 18:09:55 +0000 (11:09 -0700)]
add ndr_void_proofs_irrelevant

9 years agomove ModalBoxTyCon, ArrowTyCon to HaskLiteralsAndTyCons
Adam Megacz [Fri, 25 Mar 2011 18:09:10 +0000 (11:09 -0700)]
move ModalBoxTyCon, ArrowTyCon to HaskLiteralsAndTyCons

9 years agoadd kindToLatex in HaskKinds
Adam Megacz [Fri, 25 Mar 2011 17:07:38 +0000 (10:07 -0700)]
add kindToLatex in HaskKinds

9 years agoadd ToLatex class, move machinery to General.v
Adam Megacz [Fri, 25 Mar 2011 17:07:20 +0000 (10:07 -0700)]
add ToLatex class, move machinery to General.v

9 years agoadd machinery to create merged Coq script GArrow.v
Adam Megacz [Fri, 25 Mar 2011 17:05:34 +0000 (10:05 -0700)]
add machinery to create merged Coq script GArrow.v

9 years agoupdate categories submodule pointer
Adam Megacz [Tue, 22 Mar 2011 01:27:07 +0000 (18:27 -0700)]
update categories submodule pointer

9 years agoproofs that Types/Judgments form an enrichment
Adam Megacz [Tue, 22 Mar 2011 01:26:58 +0000 (18:26 -0700)]
proofs that Types/Judgments form an enrichment

9 years agoupdate tutorial for new GArrow classes
Adam Megacz [Tue, 22 Mar 2011 01:26:27 +0000 (18:26 -0700)]
update tutorial for new GArrow classes

9 years agoadd distinctT, InT to General
Adam Megacz [Mon, 21 Mar 2011 22:14:15 +0000 (15:14 -0700)]
add distinctT, InT to General

9 years agoadd HaskXXXXCategory, generalized arrows, and reifications
Adam Megacz [Mon, 21 Mar 2011 01:57:32 +0000 (18:57 -0700)]
add HaskXXXXCategory, generalized arrows, and reifications

9 years agoadd coq-categories as a submodule
Adam Megacz [Mon, 21 Mar 2011 01:57:07 +0000 (18:57 -0700)]
add coq-categories as a submodule

9 years agocomment out portions of the tutorial which do not yet work due to GHC.Prim.Any
Adam Megacz [Mon, 21 Mar 2011 00:31:03 +0000 (17:31 -0700)]
comment out portions of the tutorial which do not yet work due to GHC.Prim.Any

9 years agoMakefile update
Adam Megacz [Mon, 21 Mar 2011 00:30:40 +0000 (17:30 -0700)]
Makefile update

9 years agomake StrongAlt a parameter rather than field in StrongCaseBranch and ProofCaseBranch
Adam Megacz [Mon, 21 Mar 2011 00:30:30 +0000 (17:30 -0700)]
make StrongAlt a parameter rather than field in StrongCaseBranch and ProofCaseBranch

9 years agoremove vec2list_injective
Adam Megacz [Sun, 20 Mar 2011 10:13:36 +0000 (03:13 -0700)]
remove vec2list_injective

9 years agoget rid of a bunch of admits in HaskStrongToProof
Adam Megacz [Sun, 20 Mar 2011 09:44:20 +0000 (02:44 -0700)]
get rid of a bunch of admits in HaskStrongToProof

9 years agorequire all branches of LetRec be at the same level in HaskProof
Adam Megacz [Sun, 20 Mar 2011 06:10:41 +0000 (23:10 -0700)]
require all branches of LetRec be at the same level in HaskProof

9 years agoadd mapOptionTree_extensional, leaves_unleaves, mapleaves
Adam Megacz [Sun, 20 Mar 2011 06:05:31 +0000 (23:05 -0700)]
add mapOptionTree_extensional, leaves_unleaves, mapleaves

9 years agoadd distinct_decidable, in_decidable to General.v
Adam Megacz [Sun, 20 Mar 2011 06:05:18 +0000 (23:05 -0700)]
add distinct_decidable, in_decidable to General.v

9 years agocheckpoint
Adam Megacz [Sat, 19 Mar 2011 23:23:03 +0000 (16:23 -0700)]
checkpoint

9 years agoimprove HaskProofToStrong, although its messier now
Adam Megacz [Sat, 19 Mar 2011 21:15:34 +0000 (14:15 -0700)]
improve HaskProofToStrong, although its messier now

9 years agoadd tracing support to Extraction-prefix.hs
Adam Megacz [Sat, 19 Mar 2011 21:15:19 +0000 (14:15 -0700)]
add tracing support to Extraction-prefix.hs