Skip to content

Commit 5069cb6

Browse files
committed
Update to Lean toolchain 4.22.0.
1 parent 701fd80 commit 5069cb6

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

PreBuild.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,8 @@ def writeLean (cpp lean : FilePath) : IO Unit := do
527527
namespace FilePath
528528

529529
def modified (p : FilePath) : IO Time := do
530-
let meta ← p.metadata
531-
return meta.modified
530+
let metadata ← p.metadata
531+
return metadata.modified
532532

533533
end FilePath
534534

cvc5Test/Unit/ApiKind.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ test![TestApiKind, kindHash] _tm => do
1818
for idx in [Kind.INTERNAL_KIND.toCtorIdx : Kind.LAST_KIND.toCtorIdx] do
1919
let k := Kind.ofNat idx
2020
if k = Kind.INTERNAL_KIND then
21-
assertEq (k.hash + 2) UInt64.size
21+
assertEq (k.hash + 2) UInt64.size
2222
else if k = Kind.UNDEFINED_KIND then
23-
assertEq (k.hash + 1) UInt64.size
23+
assertEq (k.hash + 1) UInt64.size
2424
else
25-
assertEq (k.hash + 2) k.toCtorIdx
25+
assertEq (k.hash + 2) k.toCtorIdx

cvc5Test/Unit/ApiProofRule.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test![TestApiBlackProofRule, proofRuleToString] _tm => do
1616
test![TestApiBlackProofRule, proofRuleHash] _tm => do
1717
for idx in [ProofRule.ASSUME.toCtorIdx : ProofRule.UNKNOWN.toCtorIdx] do
1818
let pr := ProofRule.ofNat idx
19-
assertEq pr.hash pr.toCtorIdx
19+
assertEq pr.hash pr.toCtorIdx
2020

2121
test![TestApiBlackProofRewriteRule, proofRuleToString] _tm => do
2222
for idx in [ProofRule.ASSUME.toCtorIdx : ProofRule.UNKNOWN.toCtorIdx] do
@@ -27,4 +27,4 @@ test![TestApiBlackProofRewriteRule, proofRuleToString] _tm => do
2727
test![TestApiBlackProofRewriteRule, proofRuleHash] _tm => do
2828
for idx in [ProofRule.ASSUME.toCtorIdx : ProofRule.UNKNOWN.toCtorIdx] do
2929
let pr := ProofRule.ofNat idx
30-
assertEq pr.hash pr.toCtorIdx
30+
assertEq pr.hash pr.toCtorIdx

cvc5Test/Unit/ApiSkolemId.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ test![TestApiBlackSkolemId, skolemIdToString] _tm => do
1616
test![TestApiBlackSkolemId, skolemIdHash] _tm => do
1717
for idx in [SkolemId.INTERNAL.toCtorIdx : SkolemId.NONE.toCtorIdx] do
1818
let si := SkolemId.ofNat idx
19-
assertEq si.hash si.toCtorIdx
19+
assertEq si.hash si.toCtorIdx
2020
assertNe SkolemId.PURIFY.hash SkolemId.INTERNAL.hash

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.21.0
1+
leanprover/lean4:v4.22.0

0 commit comments

Comments
 (0)