aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Swapped notation for metas (now ?) and holes (now {}), other notation and ↵Josh Chen2021-01-1810-140/+143
| | | | name changes.
* Basic experiments adding reduction to the type checkerJosh Chen2020-09-236-118/+114
|
* minorJosh Chen2020-08-142-0/+8
|
* reorganizeJosh Chen2020-08-144-64/+64
|
* update license file listJosh Chen2020-08-141-0/+4
|
* (FEAT) Context data slots for known types and conditional type rules, as ↵Josh Chen2020-08-1416-178/+313
| | | | | | | | | | | | | 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-093-18/+18
| | | | 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-054-3/+63
| | | | normalization in typechecking/elaboration.
* (FEAT) SIDE_CONDS tactical has additional argument specifying how many ↵Josh Chen2020-08-037-38/+42
| | | | | | | | 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.
* rename some theoremsJosh Chen2020-08-021-9/+9
|
* (REF) Tweak attribute names in preparation for new logical introduction rule ↵Josh Chen2020-07-3110-50/+52
| | | | behavior
* (FEAT) Term elaboration of assumption and goal statements.Josh Chen2020-07-3117-528/+670
| | | | | | | | | | | | | | | | | | | | . 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
|
* Merge branch 'dev'Josh Chen2020-07-279-146/+659
|\
| * Hook elaboration into assumptions mechanismJosh Chen2020-07-278-79/+602
| |
| * minorJosh Chen2020-07-232-68/+57
| |
* | update .gitignoreJosh Chen2020-07-271-1/+0
|/
* 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-214-35/+45
| | | | 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.
* Merge pull request #8 from jaycech3n/devJosh Chen2020-07-2116-431/+603
|\ | | | | Merge big diff on dev
| * 1. Type-checking/inference now more principled, and the implementation is ↵Josh Chen2020-07-2116-622/+394
| | | | | | | | better. 2. Changed most tactics to context tactics.
| * Checkpoint. THIS BUILD WILL FAILJosh Chen2020-07-166-51/+451
| |
* | linkJosh Chen2020-07-171-1/+1
| |
* | add build statusJosh Chen2020-07-171-1/+1
| |
* | rename actionJosh Chen2020-07-171-1/+1
| |
* | Merge pull request #7 from jaycech3n/ci-actionJosh Chen2020-07-173-8/+14
|\ \ | | | | | | Ci action
| * | looks like descriptions not allowed in workflow job yamlJosh Chen2020-07-171-1/+0
| | |
| * | final test pushJosh Chen2020-07-172-0/+2
| | |
| * | fix pathJosh Chen2020-07-171-2/+3
| | |
| * | testJosh Chen2020-07-173-8/+11
| | |
| * | check home varJosh Chen2020-07-171-1/+1
| | |
| * | change HOME env var, more testing...Josh Chen2020-07-171-1/+2
|/ /
* | more testJosh Chen2020-07-171-0/+1
| |
* | more testingJosh Chen2020-07-173-14/+9
| |
* | probe directoriesJosh Chen2020-07-161-1/+1
| |
* | testJosh Chen2020-07-161-1/+2
| |
* | try try againJosh Chen2020-07-163-7/+8
| |
* | try againJosh Chen2020-07-161-6/+6
| |
* | I think I figured out the problemJosh Chen2020-07-161-2/+1
| |
* | try ADD instead of RUN curlJosh Chen2020-07-161-2/+1
| |
* | will this parse now?Josh Chen2020-07-161-1/+2
| |
* | fixJosh Chen2020-07-161-1/+1
| |
* | download Isabelle from TUM archivesJosh Chen2020-07-161-2/+3
| |
* | fix action pathJosh Chen2020-07-161-1/+1
| |
* | set up CIJosh Chen2020-07-163-0/+53
|/
* update readmeJosh Chen2020-07-161-2/+2
|
* Defined annotated terms to be used in future typechecking improvementsJosh Chen2020-07-111-4/+7
|