aboutsummaryrefslogtreecommitdiff
path: root/spartan/core/Spartan.thy (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1. fix intros method. 2. Couple extra lemmas; good small test cases for ↵Josh Chen2020-08-051-1/+2
| | | | normalization in typechecking/elaboration.
* (FEAT) SIDE_CONDS tactical has additional argument specifying how many ↵Josh Chen2020-08-031-13/+17
| | | | | | | | 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-311-13/+16
| | | | behavior
* (FEAT) Term elaboration of assumption and goal statements.Josh Chen2020-07-311-33/+37
| | | | | | | | | | | | | | | | | | | | . 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.
* New `assuming` proof command for elaborated assumptionsJosh Chen2020-07-281-14/+8
|
* Hook elaboration into assumptions mechanismJosh Chen2020-07-271-0/+2
|
* begin work on pre-proof elaborationJosh Chen2020-07-221-19/+19
|
* minorJosh Chen2020-07-211-1/+1
|
* 1. Bugfix: implicits now properly name schematic variables. Fixes problems ↵Josh Chen2020-07-211-7/+11
| | | | 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-211-83/+64
| | | | better. 2. Changed most tactics to context tactics.
* Checkpoint. THIS BUILD WILL FAILJosh Chen2020-07-161-30/+75
|
* Defined annotated terms to be used in future typechecking improvementsJosh Chen2020-07-111-4/+7
|
* Non-annotated object lambdaJosh Chen2020-07-091-20/+45
|
* 1. Initial `Definition` keyword. 2. ifelse.Josh Chen2020-07-081-13/+12
|
* reorganizeJosh Chen2020-06-191-14/+17
|
* 1. Type information context dataJosh Chen2020-06-031-2/+3
| | | | | 2. Small reformulations of rules 3. Bool
* inhabitation coercion should be syntax, not logical constant!Josh Chen2020-05-301-2/+2
|
* fix Pi congruence ruleJosh Chen2020-05-291-2/+2
|
* notationJosh Chen2020-05-281-0/+3
|
* case distinctionJosh Chen2020-05-281-1/+5
|
* reorganize folder structureJosh Chen2020-05-281-14/+14
|
* 1. New congruence declarations for calculational reasoning. 2. Remove old ↵Josh Chen2020-05-261-7/+5
| | | | elimination tactic.
* Lists + more reorganizingJosh Chen2020-05-251-2/+7
|
* Reorganize theory structure. In particular, the identity type moves out from ↵Josh Chen2020-05-251-0/+481
under Spartan to HoTT. Spartan now only has Pi and Sigma.