This PR fixes a missing case in the `grind` canonicalizer. Some types may include terms or propositions that are internalized later in the `grind` state. closes #10232
9 lines
321 B
Text
9 lines
321 B
Text
def U {shape : Std.PRange.RangeShape} (b : Std.PRange.Bound shape.upper α) : Unit := sorry
|
||
|
||
structure T (l : α) : Type u where
|
||
|
||
def mysorry : α := sorry -- instead of `mysorry`, we could also use `sorry`.
|
||
|
||
example (inv : (T (U (shape := ⟨.closed, .closed⟩) 1)) → Prop)
|
||
(h : inv mysorry) : True := by
|
||
grind
|