Conversation
modified: src/Agda/Core/Notations.md modified: src/Agda/Core/Unification.agda
modifié : src/Agda/Core/Unification.agda modified: src/Agda/Core/Unification.agda
comes from the scope library, In is inlined
modified: src/Agda/Core/Signature.agda modified: src/Agda/Core/Typechecker.agda modified: src/Agda/Core/Typing.agda modified: src/Agda/Core/Signature.agda modified: src/Agda/Core/Typechecker.agda modified: src/Agda/Core/Typing.agda Date: Wed Jan 16 15:16:12 2025 +0100 Date: Wed Jan 16 15:16:12 2025 +0100 modified: src/Agda/Core/Signature.agda modified: src/Agda/Core/Typechecker.agda modified: src/Agda/Core/Typing.agda
…safe Changes to be committed: modified: src/Agda/Core/Unification.agda new file: src/Agda/Core/Unifier.agda modified: src/Agda/Core/Utils.agda
jespercockx
left a comment
There was a problem hiding this comment.
Sorry this took a while to get to! I noticed there are still a few things that are WIP but if that's intentional then I'm okay with merging this.
|
|
||
| pattern ⌈⌉ = EmptyTel | ||
| infix 6 ⌈_∶_◃_⌉ | ||
| pattern ⌈_∶_◃_⌉ x t Δ = ExtendTel x t Δ |
There was a problem hiding this comment.
My personal taste here would be to omit the ⌈ and ⌉ in the ⌈_∶_◃_⌉ syntax. You can always put regular parenthesis where desired.
There was a problem hiding this comment.
Would it be possible to change this notation in the pull request that I started yesterday ? (As doing so here will create a conflict between the two pull request.)
In the unifier file ? I started this file here but thought that it could be done in another pull request instead and commented the unfinished part. |
|
I meant the parts you just removed now. I'll go ahead and merge this so we can continue the discussion in the other PR! |
Creation of the rules for an unification algorithm which update context by solving a telescopic equality
Algorithm:
Input:
Output:
Example:
Input:
Output:
For more:
Implementation based on Proof-relevant unification: Dependent pattern matching with only the axioms of your type theory by Jesper Cockk and Dominique Devriese.