-
Notifications
You must be signed in to change notification settings - Fork 38
Work on inference, unification and subject-reduction #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
f2bd761
fix #303 handling of metavariables in RHS
fblanqui 8f068a0
fix typo in comment
fblanqui a8b9916
fix typo in comment
fblanqui 50069df
prepare fix
fblanqui 17a6a50
fix typos in comments
fblanqui 465215c
fix typo in comment
fblanqui 9865cc8
fix typo in comment
fblanqui ce199bc
indentation
fblanqui d82b019
comment optim: reserve space for all LHS variables and not only those…
fblanqui db583e2
remove subst_from_constrs as it is useless
fblanqui e91ee90
basics: add fresh_vars
fblanqui 588eddc
infer: change in log message
fblanqui d369293
Terms.set_meta: do not erase the type!
fblanqui 2706e78
unif: log instantiations
fblanqui 212e1cc
scope: replace wildcard pattern variables by fresh named pattern vari…
fblanqui 7790644
fix sr by replacing LHS metas by fresh function symbols before solvin…
fblanqui b2b7d03
details in tests
fblanqui 28e84a0
new test
fblanqui 05996f8
infer: change in log message
fblanqui 0b8037a
add basics.add_metas
fblanqui e7b7bc7
sr: details
fblanqui e285838
terms: add MetaMap
fblanqui e0d283d
improve sr
fblanqui 05710a7
Merge remote-tracking branch 'lp/master' into rhs_metas
fblanqui c051cef
change some log message
fblanqui 542660b
unif: improvement
fblanqui f798b2a
handle first example of #330
fblanqui 27ceb83
fix bug in infer
fblanqui 5a3040c
fix second problem in #330
fblanqui a94a34b
remove old comment
fblanqui 95057aa
sanity
fblanqui d5dd1ee
remove lib directory
fblanqui 105d47d
move eq from basics to rewrite
fblanqui 036b8b5
infer: use eq_modulo in conv + more log messages
fblanqui f440308
scope: fix some comments
fblanqui 4aa951e
remove Solve.can_instantiate and Terms.internal
fblanqui f86ad7b
improvement in sr
fblanqui f727612
remove warnings
fblanqui fccfd7c
update comment
fblanqui b0e1bb9
Terms.set_meta: erase type again for saving memory usage
fblanqui d1e0561
test 330 does not pass anymore
fblanqui cd798e5
rewrite: use eq_modulo for checking builtins
fblanqui 759131a
changes in log messages
fblanqui 6245738
details
fblanqui d1f39eb
details
fblanqui 91a1452
details
fblanqui f76704b
why3_tactic: replace Rewrite.eq by Eval.eq_modulo
fblanqui 935bff8
Makefile: add lib root for tests
fblanqui a5c3611
Merge remote-tracking branch 'lp/master' into rhs_metas
fblanqui abe7462
Makefile: change lib root to /tmp
fblanqui a188591
sr: remove useless comments + replace ? by & in function symbol names
fblanqui ee234b9
unif: improve nl_distinct_vars and instantiation to take into account…
fblanqui 9c9ce7c
Unif.instantiation optim: do not apply sym_to_var if m is empty
fblanqui f1a94f1
change log message
fblanqui 6b532da
fix remarks by Gabriel
fblanqui 445be54
Merge remote-tracking branch 'lp/master' into rhs_metas
fblanqui f6a3405
comments by Rodolphe
fblanqui 057d6a0
comment by Gabriel
fblanqui 2d7742b
put back lib directory
fblanqui 8277830
remark by Rodolphe
fblanqui 17c2d41
add tests/OK/328.lp
fblanqui 264dd66
sr: simplification of to_m (type extension is taken care by unificati…
fblanqui 81557c2
Merge remote-tracking branch 'lp/master' into rhs_metas
fblanqui e5dd8a6
Merge remote-tracking branch 'lp/master' into rhs_metas
fblanqui 8a784d1
Cleaning up SR and scoping of rules.
rlepigre 2af80c3
Apply a comment I forgot.
rlepigre 5eb7eda
Typo.
rlepigre 07a3f39
Apply my own comments.
rlepigre d367273
Add missing comment.
rlepigre 0cc857f
Apply my own comment again.
rlepigre a0e1f3e
Added comment.
rlepigre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| constant symbol U : TYPE | ||
|
|
||
| constant symbol u : U | ||
|
|
||
| constant symbol f : (U ⇒ U) ⇒ TYPE | ||
|
|
||
| symbol G : U ⇒ TYPE | ||
|
|
||
| constant symbol H : U ⇒ TYPE | ||
|
|
||
| rule G &v → ∀ (a : H &v), f (λ _, u) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.