Skip to content

Instantly share code, notes, and snippets.

@Lysxia
Created March 27, 2019 17:24
Show Gist options
  • Select an option

  • Save Lysxia/3101ccc03416280f48ca8b4484e78527 to your computer and use it in GitHub Desktop.

Select an option

Save Lysxia/3101ccc03416280f48ca8b4484e78527 to your computer and use it in GitHub Desktop.
Set Primitive Projections.
Record pr : Type := { fst : nat ; snd : nat }.
Goal forall x : pr, x = let (u, v) := x in {| fst := u ; snd := v |}.
Proof.
intros. cbn.
reflexivity.
Qed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment