Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (FEAT) Context data slots for known types and conditional type rules, as ↵ | Josh Chen | 2020-08-14 | 10 | -125/+260 |
| | | | | | | | | | | | | | 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 Chen | 2020-08-09 | 2 | -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 Chen | 2020-08-05 | 2 | -2/+3 |
| | | | | normalization in typechecking/elaboration. | ||||
* | (FEAT) SIDE_CONDS tactical has additional argument specifying how many ↵ | Josh Chen | 2020-08-03 | 5 | -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 Chen | 2020-07-31 | 4 | -19/+21 |
| | | | | behavior | ||||
* | (FEAT) Term elaboration of assumption and goal statements. | Josh Chen | 2020-07-31 | 8 | -105/+250 |
| | | | | | | | | | | | | | | | | | | | | . 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 improvement | Josh Chen | 2020-07-28 | 1 | -2/+1 |
| | |||||
* | New `assuming` proof command for elaborated assumptions | Josh Chen | 2020-07-28 | 3 | -79/+118 |
| | |||||
* | Hook elaboration into assumptions mechanism | Josh Chen | 2020-07-27 | 6 | -29/+547 |
| | |||||
* | minor | Josh Chen | 2020-07-23 | 1 | -67/+56 |
| | |||||
* | remove theory | Josh Chen | 2020-07-22 | 1 | -199/+0 |
| | |||||
* | begin work on pre-proof elaboration | Josh Chen | 2020-07-22 | 2 | -19/+218 |
| | |||||
* | minor | Josh Chen | 2020-07-21 | 1 | -1/+1 |
| | |||||
* | 1. Bugfix: implicits now properly name schematic variables. Fixes problems ↵ | Josh Chen | 2020-07-21 | 2 | -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 Chen | 2020-07-21 | 8 | -483/+257 |
| | | | | better. 2. Changed most tactics to context tactics. | ||||
* | Checkpoint. THIS BUILD WILL FAIL | Josh Chen | 2020-07-16 | 6 | -51/+451 |
| | |||||
* | Defined annotated terms to be used in future typechecking improvements | Josh Chen | 2020-07-11 | 1 | -4/+7 |
| | |||||
* | rename file | Josh Chen | 2020-07-11 | 1 | -2/+26 |
| | |||||
* | Non-annotated object lambda | Josh Chen | 2020-07-09 | 1 | -20/+45 |
| | |||||
* | 1. Initial `Definition` keyword. 2. ifelse. | Josh Chen | 2020-07-08 | 2 | -13/+21 |
| | |||||
* | reorganize | Josh Chen | 2020-06-19 | 26 | -1994/+50 |
| | |||||
* | rename folders | Josh Chen | 2020-06-15 | 12 | -0/+1967 |
| | |||||
* | 1. Type information context data | Josh Chen | 2020-06-03 | 2 | -2/+21 |
| | | | | | 2. Small reformulations of rules 3. Bool | ||||
* | inhabitation coercion should be syntax, not logical constant! | Josh Chen | 2020-05-30 | 1 | -2/+2 |
| | |||||
* | fix Pi congruence rule | Josh Chen | 2020-05-29 | 1 | -2/+2 |
| | |||||
* | notation | Josh Chen | 2020-05-28 | 1 | -0/+3 |
| | |||||
* | case distinction | Josh Chen | 2020-05-28 | 3 | -1/+68 |
| | |||||
* | reorganize folder structure | Josh Chen | 2020-05-28 | 11 | -14/+14 |
| | |||||
* | 1. New congruence declarations for calculational reasoning. 2. Remove old ↵ | Josh Chen | 2020-05-26 | 3 | -56/+87 |
| | | | | elimination tactic. | ||||
* | fix implicits table merge mistake | Josh Chen | 2020-05-25 | 1 | -1/+1 |
| | |||||
* | Lists + more reorganizing | Josh Chen | 2020-05-25 | 1 | -2/+7 |
| | |||||
* | Reorganize theory structure. In particular, the identity type moves out from ↵ | Josh Chen | 2020-05-25 | 11 | -0/+2327 |
under Spartan to HoTT. Spartan now only has Pi and Sigma. |