Skip to content

Commit

Permalink
Fix PredExp2
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisonGrodin committed Oct 9, 2023
1 parent 291f09e commit 282e6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Nat/PredExp2.agda
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pred[2^suc[n]] n =
pred (2 ^ n) + suc (pred (2 ^ n))
≡⟨ Eq.cong (pred (2 ^ n) +_) (suc-pred (2 ^ n) {{m^n≢0 2 n}}) ⟩
pred (2 ^ n) + 2 ^ n
≡˘⟨ +-∸-comm (2 ^ n) (2^n>0 n) ⟩
≡˘⟨ +-∸-comm (2 ^ n) (m^n>0 2 n) ⟩
pred (2 ^ n + 2 ^ n)
≡⟨ Eq.cong pred (lemma/2^suc n) ⟩
pred (2 ^ suc n)
Expand Down

0 comments on commit 282e6d6

Please sign in to comment.