Giter Site home page Giter Site logo

Comments (4)

xrchz avatar xrchz commented on May 28, 2024

I hope this might among other things lead to implementing some Chlipala-style seriously powerful automation tactics.

from hol.

xrchz avatar xrchz commented on May 28, 2024

Started in 3d4f44c

from hol.

xrchz avatar xrchz commented on May 28, 2024

@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.

xrchz avatar xrchz commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.