lean4-htt/tests/lean/run/grind_10232.lean
Leonardo de Moura 320b02108b
fix: grind canonicalizer (#10237)
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
2025-09-03 18:08:48 +00:00

9 lines
321 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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