Comments (4)
I hope this might among other things lead to implementing some Chlipala-style seriously powerful automation tactics.
from hol.
Started in 3d4f44c
from hol.
@GallagherCommaJack was instrumental in making progress on this. (Noting this to connect to his GitHub profile.)
I also want to record some possible known issues with the current implementation:
- there's no higher-order matching
- matched hypotheses are kept; they can be deleted easily by the tactic but maybe that's cumbersome?
- type variables are (deliberately) always wildcards - not an issue, just a note
- there should be more shorthands/syntax for common patterns of usage
- there's no further matching in previously matched subterms or hypotheses (and no "as"-patterns either, which would be a special case)
- Jack and I thought there was also a problem with underscores not being treated as wildcards correctly (in particular when attempting to match terms containing bound variables) but I now think the current implementation is correct about that.
from hol.
A couple more suggestions after talking with @matichuk:
- assumptions could be stored in a term net to facilitate faster finding/matching
- matching could be done on arbitrary terms or theorems, rather than just (sub)terms/assumptions of the goal. This facilitates a certain kind of nested matching and match inversion (something closer to unification).
from hol.
Related Issues (20)
- Alpha turns into a by accident
- Tools should report config files' location
- Building HOL4 will crash with latest Apple update of Xcode HOT 3
- Remove/Name Anonymous Rewrite for NUM_CEILING HOT 1
- Allow "reduced" info printing in emacs HOT 1
- Use rule-names instead of conjunctions in Inductive definitions HOT 1
- `Holmake: Exception: Subscript` when building HOL with -j12 or greater (but not -j11 or lower) HOT 5
- Limits on the number of jobs for Holmake? HOT 2
- SAT_ORACLE gives wrong answers HOT 11
- "intLib.ARITH_PROVE ``0n = x * Num 0i``" fails unexpectedly HOT 1
- intLib.{ARITH,COOPER}_PROVE can't prove certain goals HOT 5
- intLib.ARITH_PROVE raises exception `NotFound` HOT 1
- Ignore assumption directive for simplifier
- Add spec form to cover both `INST` and `SPEC` of theorems
- Add a q.subpat_{x_,}assum
- A broken generated HTML theory in non-Unicode mode HOT 2
- Moscow ML builds broken after `cv_translator` HOT 1
- General modern "quotation" syntax support
- Q.PAT_X_ASSUM returns bad errors
- C++ compilation failure of `src/HolSat/sat_solvers/zc2hs` on macOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hol.