Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicola Botta
IdrisLibs2
Commits
66caaa2d
Commit
66caaa2d
authored
Dec 21, 2020
by
Nicola Botta
Browse files
Cleanup.
parent
32afa394
Changes
1
Show whitespace changes
Inline
Side-by-side
Pair/Properties.lidr
View file @
66caaa2d
module Pair.Properties
> module Pair.Properties
> %default total
> %access public export
> %auto_implicits off
> pairLemma : {A, B : Type} -> (ab : (A, B)) -> ab = (fst ab, snd ab)
> pairLemma (a, b) = Refl
> pairEqElimFst : {A, B : Type} -> {a, a' : A} -> {b, b' : B} -> (a, b) = (a', b') -> a = a'
> pairEqElimFst Refl = Refl
> pairEqElimSnd : {A, B : Type} -> {a, a' : A} -> {b, b' : B} -> (a, b) = (a', b') -> b = b'
> pairEqElimSnd Refl = Refl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment