aboutsummaryrefslogtreecommitdiff
path: root/spartan (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rename things + some small changesJosh Chen2021-01-3120-4027/+0
|
* renamingsJosh Chen2021-01-216-45/+49
|
* Bugfix: no longer repeatedly add duplicate rules to simpsetJosh Chen2021-01-191-1/+3
|
* Swapped notation for metas (now ?) and holes (now {}), other notation and ↵Josh Chen2021-01-186-71/+67
| | | | name changes.
* Basic experiments adding reduction to the type checkerJosh Chen2020-09-233-45/+88
|
* minorJosh Chen2020-08-142-0/+8
|
* reorganizeJosh Chen2020-08-144-64/+64
|
* (FEAT) Context data slots for known types and conditional type rules, as ↵Josh Chen2020-08-1413-130/+266
| | | | | | | | | | | | | well as a separate one for judgmental equality rules. (REF) Goal statement assumptions are now put into the new context data slots. (FEAT) `assuming` Isar keyword—like `assume` but puts assumptions into context data. (REF) Typechecking and all other tactics refactored to use type information from the context data, as opposed to looking at all facts visible in context. MINOR INCOMPATIBILITY: facts that were implicitly used in proofs now have to be annotated with [type] to make them visible throughout the context, else explicitly passed to methods via `using`, or declared with `assuming`. (REF) Fixed incompatibilities in theories.
* (FEAT) Clean up typechecking/elaboration tactic: known_ctac should *solve* ↵Josh Chen2020-08-092-11/+12
| | | | goals; resolving with conditional typing judgments (e.g. type family assumptions) is part of check_infer_step
* 1. fix intros method. 2. Couple extra lemmas; good small test cases for ↵Josh Chen2020-08-052-2/+3
| | | | normalization in typechecking/elaboration.
* (FEAT) SIDE_CONDS tactical has additional argument specifying how many ↵Josh Chen2020-08-035-23/+35
| | | | | | | | initial subgoals to skip applying the side condition solver to. (FEAT) `intro`, `intros` methods for "logical introduction rules" (as opposed to typechecking `intr` attribute), only works on conclusions with rigid type. (FEAT) CREPEAT_N bounded repetition tactical, used in `intros n` method.
* (REF) Tweak attribute names in preparation for new logical introduction rule ↵Josh Chen2020-07-317-29/+31
| | | | behavior
* (FEAT) Term elaboration of assumption and goal statements.Josh Chen2020-07-3111-122/+268
| | | | | | | | | | | | | | | | | | | | . spartan/core/goals.ML . spartan/core/elaboration.ML . spartan/core/elaborated_statement.ML (FEAT) More context tacticals and search tacticals. . spartan/core/context_tactical.ML (FEAT) Improved subgoal focus. Moves fully elaborated assumptions into the context (MINOR INCOMPATIBILITY). . spartan/core/focus.ML (FIX) Normalize facts in order to be able to resolve properly. . spartan/core/typechecking.ML (MAIN) New definitions. (MAIN) Renamed theories and theorems. (MAIN) Refactor theories to fit new features.
* small improvementJosh Chen2020-07-281-2/+1
|
* New `assuming` proof command for elaborated assumptionsJosh Chen2020-07-283-79/+118
|
* Hook elaboration into assumptions mechanismJosh Chen2020-07-276-29/+547
|
* minorJosh Chen2020-07-231-67/+56
|
* remove theoryJosh Chen2020-07-221-199/+0
|
* begin work on pre-proof elaborationJosh Chen2020-07-222-19/+218
|
* minorJosh Chen2020-07-211-1/+1
|
* 1. Bugfix: implicits now properly name schematic variables. Fixes problems ↵Josh Chen2020-07-212-16/+23
| | | | caused by variable name clashes. 2. reduce method now more principled: restricts to repeating on first subgoal. 3. An example declarative proof in Equivalence.thy.
* 1. Type-checking/inference now more principled, and the implementation is ↵Josh Chen2020-07-2111-505/+285
| | | | better. 2. Changed most tactics to context tactics.
* Checkpoint. THIS BUILD WILL FAILJosh Chen2020-07-166-51/+451
|
* Defined annotated terms to be used in future typechecking improvementsJosh Chen2020-07-111-4/+7
|
* rename fileJosh Chen2020-07-111-2/+26
|
* Non-annotated object lambdaJosh Chen2020-07-094-40/+62
|
* 1. Initial `Definition` keyword. 2. ifelse.Josh Chen2020-07-085-28/+76
|
* reorganizeJosh Chen2020-06-1926-1994/+50
|
* remove old folderJosh Chen2020-06-153-372/+0
|
* rename foldersJosh Chen2020-06-1515-0/+2339
|
* 1. Type information context dataJosh Chen2020-06-034-5/+32
| | | | | 2. Small reformulations of rules 3. Bool
* reorganize and add some materialJosh Chen2020-06-011-41/+59
|
* more listJosh Chen2020-05-311-8/+28
|
* inhabitation coercion should be syntax, not logical constant!Josh Chen2020-05-301-2/+2
|
* fix Pi congruence ruleJosh Chen2020-05-291-2/+2
|
* bit more materialJosh Chen2020-05-281-10/+14
|
* notationJosh Chen2020-05-281-0/+3
|
* more List and MaybeJosh Chen2020-05-283-7/+22
|
* case distinctionJosh Chen2020-05-283-1/+68
|
* reorganize folder structureJosh Chen2020-05-2811-14/+14
|
* change variable name in elim rules and fix small mistakeJosh Chen2020-05-273-23/+19
|
* 1. Define Maybe in terms of other types. 2. Move More_Types to SpartanJosh Chen2020-05-272-28/+134
|
* 1. New congruence declarations for calculational reasoning. 2. Remove old ↵Josh Chen2020-05-263-56/+87
| | | | elimination tactic.
* Maybe and more ListJosh Chen2020-05-262-7/+123
|
* notationJosh Chen2020-05-251-0/+4
|
* fix implicits table merge mistakeJosh Chen2020-05-251-1/+1
|
* Lists + more reorganizingJosh Chen2020-05-252-2/+86
|
* Reorganize theory structure. In particular, the identity type moves out from ↵Josh Chen2020-05-2514-889/+15
| | | | under Spartan to HoTT. Spartan now only has Pi and Sigma.
* slightly nicer homotopy proofs with calculationsJosh Chen2020-05-252-30/+16
|
* `refl` and `this` methodsJosh Chen2020-05-251-8/+20
|