Skip to content
Snippets Groups Projects
  1. Jul 27, 2016
    • Robbert Krebbers's avatar
      Make the types of the finite map type classes more specific. · 20b4ae55
      Robbert Krebbers authored
      This makes type checking more directed, and somewhat more predictable.
      
      On the downside, it makes it impossible to declare the singleton on
      lists as an instance of SingletonM and the insert and alter operations
      on functions as instances of Alter and Insert. However, these were not
      used often anyway.
      20b4ae55
    • Robbert Krebbers's avatar
      Make type class inference for inG less eager. · a0348d7c
      Robbert Krebbers authored
      This way, it won't pick arbitrary (and possibly wrong!) inG instances
      when multiple ones are available. We achieve this by declaring:
      
        Hint Mode inG - - +
      
      So that type class inference only succeeds when the type of the ghost
      variable does not include any evars.
      
      This required me to make some minor changes throughout the whole
      development making some types explicit.
      a0348d7c
  2. Jul 20, 2016
  3. Jul 19, 2016
  4. Jul 18, 2016
  5. Jul 15, 2016
  6. Jul 13, 2016
  7. Jul 11, 2016
  8. Jul 03, 2016
  9. Jun 30, 2016
  10. Jun 23, 2016
  11. Jun 16, 2016
  12. Jun 14, 2016
  13. Jun 01, 2016
  14. May 31, 2016
  15. May 30, 2016
  16. May 24, 2016
    • Robbert Krebbers's avatar
      Change notations of big_ops for upred. · 93792f5c
      Robbert Krebbers authored
      Rationale: to make the code closer to what is on paper, I want the notations
      to look like quantifiers, i.e. have a binder built-in. I thus introduced the
      following notations:
      
        [★ map] k ↦ x ∈ m, P
        [★ set] x ∈ X, P
      
      The good thing - contrary to the notations that we had before that required an
      explicit lambda - is that type annotations of k and x are now not printed
      making goals much easier to read.
      93792f5c
    • Robbert Krebbers's avatar
    • Robbert Krebbers's avatar
      Merge iAssert and iPvsAssert. · e965b669
      Robbert Krebbers authored
      To do so, we have introduced the specialization patterns:
      
        =>[H1 .. Hn] and =>[-H1 .. Hn]
      
      That generate a goal in which the view shift is preserved. These specialization
      patterns can also be used for e.g. iApply.
      
      Note that this machinery is not tied to primitive view shifts, and works for
      various kinds of goal (as captured by the ToAssert type class, which describes
      how to transform the asserted goal based on the main goal).
      
      TODO: change the name of these specialization patterns to reflect this
      generality.
      e965b669
    • Robbert Krebbers's avatar
      eacb1c46
    • Robbert Krebbers's avatar
      Make specialization patterns for persistent premises more uniform. · 65bfa071
      Robbert Krebbers authored
      Changes:
      - We no longer have a different syntax for specializing a term H : P -★ Q whose
        range P or domain Q is persistent. There is just one syntax, and the system
        automatically determines whether either P or Q is persistent.
      - While specializing a term, always modalities are automatically stripped. This
        gets rid of the specialization pattern !.
      - Make the syntax of specialization patterns more consistent. The syntax for
        generating a goal is [goal_spec] where goal_spec is one of the following:
      
          H1 .. Hn : generate a goal using hypotheses H1 .. Hn
         -H1 .. Hn : generate a goal using all hypotheses but H1 .. Hn
                 # : generate a goal for the premise in which all hypotheses can be
                     used. This is only allowed when specializing H : P -★ Q where
                     either P or Q is persistent.
                 % : generate a goal for a pure premise.
      65bfa071
  17. May 10, 2016
  18. May 06, 2016
  19. May 02, 2016
Loading