summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSon HO2024-06-13 09:32:11 +0200
committerGitHub2024-06-13 09:32:11 +0200
commit40e79f1fd64a6535334b1af19a817b27a9a0296c (patch)
tree9af56ae92741e539894bde6ee8b30ca712324f50
parent216df2a1abeb944b3143476c1e4753cd6c71645f (diff)
parent6bff252a5c2a1f1db3230e7cfaec4422d4a27180 (diff)
Merge pull request #238 from RaitoBezarius/prop-has-imp-sort
feat: `PropHasImp` can have `Sort u` as premisses
-rw-r--r--backends/lean/Base/Arith/Int.lean2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/lean/Base/Arith/Int.lean b/backends/lean/Base/Arith/Int.lean
index 59cdca25..6d27a35e 100644
--- a/backends/lean/Base/Arith/Int.lean
+++ b/backends/lean/Base/Arith/Int.lean
@@ -22,7 +22,7 @@ class HasIntProp (a : Sort u) where
prop : ∀ x:a, prop_ty x
/- Proposition with implications: if we find P we can introduce Q in the context -/
-class PropHasImp (x : Prop) where
+class PropHasImp (x : Sort u) where
concl : Prop
prop : x → concl