aboutsummaryrefslogtreecommitdiff
path: root/hott/Equivalence.thy (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (FEAT) Context data slots for known types and conditional type rules, as ↵Josh Chen2020-08-141-19/+15
| | | | | | | | | | | | | 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-091-7/+6
| | | | 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-051-1/+20
| | | | normalization in typechecking/elaboration.
* (FEAT) SIDE_CONDS tactical has additional argument specifying how many ↵Josh Chen2020-08-031-14/+6
| | | | | | | | 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-311-16/+16
| | | | behavior
* (FEAT) Term elaboration of assumption and goal statements.Josh Chen2020-07-311-207/+249
| | | | | | | | | | | | | | | | | | | | . 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.
* Hook elaboration into assumptions mechanismJosh Chen2020-07-271-10/+13
|
* 1. Bugfix: implicits now properly name schematic variables. Fixes problems ↵Josh Chen2020-07-211-12/+12
| | | | 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-26/+26
| | | | better. 2. Changed most tactics to context tactics.
* Non-annotated object lambdaJosh Chen2020-07-091-6/+6
|
* rule nameJosh Chen2020-06-031-1/+1
|
* proved a few oopses + minor tweaksJosh Chen2020-05-291-19/+22
|
* clean up Eckmann-Hilton and move to IdentityJosh Chen2020-05-291-21/+25
|
* new materialJosh Chen2020-05-261-7/+8
|
* Reorganize theory structure. In particular, the identity type moves out from ↵Josh Chen2020-05-251-0/+416
under Spartan to HoTT. Spartan now only has Pi and Sigma.