aboutsummaryrefslogtreecommitdiff
path: root/spartan/lib/Maybe.thy (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-14(FEAT) Context data slots for known types and conditional type rules, as ↵Josh Chen1-3/+3
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.
2020-07-31(REF) Tweak attribute names in preparation for new logical introduction rule ↵Josh Chen1-1/+1
behavior
2020-07-31(FEAT) Term elaboration of assumption and goal statements.Josh Chen1-9/+10
. 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.
2020-07-211. Type-checking/inference now more principled, and the implementation is ↵Josh Chen1-3/+4
better. 2. Changed most tactics to context tactics.
2020-07-09Non-annotated object lambdaJosh Chen1-8/+5
2020-07-081. Initial `Definition` keyword. 2. ifelse.Josh Chen1-1/+1
2020-06-15rename foldersJosh Chen1-0/+0
2020-05-28more List and MaybeJosh Chen1-2/+4
2020-05-27change variable name in elim rules and fix small mistakeJosh Chen1-0/+4
2020-05-271. Define Maybe in terms of other types. 2. Move More_Types to SpartanJosh Chen1-28/+42
2020-05-26Maybe and more ListJosh Chen1-0/+56