We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f0734 commit 4c0264bCopy full SHA for 4c0264b
kdrag/kernel.py
@@ -30,7 +30,7 @@ def __repr__(self):
30
Proof = None
31
32
33
-def is_proof(p):
+def is_proof(p: __Proof) -> bool:
34
return isinstance(p, __Proof)
35
36
@@ -45,7 +45,7 @@ def lemma(
45
timeout=1000,
46
dump=False,
47
solver=None,
48
-) -> Proof:
+) -> __Proof:
49
"""Prove a theorem using a list of previously proved lemmas.
50
51
In essence `prove(Implies(by, thm))`.
@@ -88,7 +88,7 @@ def lemma(
88
return __Proof(thm, by, False)
89
90
91
-def axiom(thm: smt.BoolRef, by=[]) -> Proof:
+def axiom(thm: smt.BoolRef, by=[]) -> __Proof:
92
"""Assert an axiom.
93
94
Axioms are necessary and useful. But you must use great care.
0 commit comments