-
Notifications
You must be signed in to change notification settings - Fork 260
[ refactor ] make contradiction and friends entirely definitionally proof-irrelevant
#2802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 8 commits
0db4874
1c7b74e
c4cb90f
00c0354
863d63c
757f28a
9ce9d09
3fbf7ec
680839b
4d6f4f7
9e2ee23
280492b
21c909b
8da38e6
8d0a6b9
eb74536
6285f2c
00c9cc6
c625e32
1ea83fc
f80af54
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -409,17 +409,17 @@ module Antisymmetry | |
| length (y ∷ ys₁) ≤⟨ length-mono-≤ ss ⟩ | ||
| length zs ≤⟨ ℕ.n≤1+n (length zs) ⟩ | ||
| length (z ∷ zs) ≤⟨ length-mono-≤ rs ⟩ | ||
| length ys₁ ∎) $ ℕ.<-irrefl ≡.refl | ||
| length ys₁ ∎) (ℕ.<-irrefl ≡.refl) | ||
|
||
| antisym (_∷ʳ_ {xs} {ys₁} y rs) (_∷_ {y} {ys₂} {z} {zs} s ss) = | ||
| contradiction (begin | ||
| length (z ∷ zs) ≤⟨ length-mono-≤ rs ⟩ | ||
| length ys₁ ≤⟨ length-mono-≤ ss ⟩ | ||
| length zs ∎) $ ℕ.<-irrefl ≡.refl | ||
| length zs ∎) (ℕ.<-irrefl ≡.refl) | ||
| antisym (_∷_ {x} {xs} {y} {ys₁} r rs) (_∷ʳ_ {ys₂} {zs} z ss) = | ||
| contradiction (begin | ||
| length (y ∷ ys₁) ≤⟨ length-mono-≤ ss ⟩ | ||
| length xs ≤⟨ length-mono-≤ rs ⟩ | ||
| length ys₁ ∎) $ ℕ.<-irrefl ≡.refl | ||
| length ys₁ ∎) (ℕ.<-irrefl ≡.refl) | ||
|
|
||
| open Antisymmetry public | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.