Skip to content

Commit 45dd659

Browse files
author
Marc Bezem
committed
clean up
1 parent 941d552 commit 45dd659

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

theories/Cubical/PathSquare.v

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -713,23 +713,6 @@ Defined.
713713

714714
(* Interchange playground *)
715715

716-
Definition experimental {A}
717-
(a : A)
718-
(P : A -> Type)
719-
(f : forall (x : A), (a = x) -> P(x))
720-
(g : forall (x : A), P(x) -> (a = x))
721-
(fxgxid: forall (x : A) (p : P x), (p = f x (g x p)))
722-
:
723-
forall (x : A)(p : P x), p = transport P (g x p) (f a 1).
724-
725-
Proof.
726-
intros.
727-
remember (g x p) as gxp eqn:H.
728-
destruct gxp. (* Syntax error: destruct (g x p) as gxp eqn:H. *)
729-
simpl. (* Here you see that p = f a 1 if g a p = 1 *)
730-
destruct H.
731-
apply fxgxid.
732-
Defined.
733716

734717
Definition interchange {A}
735718
{a00 a10 a20 a01 a11 a21 a02 a12 a22 : A} (* 9 points in big square of 2x2 squares *)
@@ -759,10 +742,8 @@ Definition interchange {A}
759742
sq_concat_v (sq_concat_h sq00 sq01) (sq_concat_h sq10 sq11).
760743
Proof.
761744
destruct sq00, sq11.
762-
destruct vi2, h2i. revert vj0 sq10.
745+
destruct vi2, h2i.
746+
revert vj0 sq10.
763747
rapply pathsquare_ind_l.
764748
reflexivity.
765-
(* revert vj0 sq10; rapply pathsquare_ind_l; simpl.
766-
revert h0j sq01; rapply pathsquare_ind_t; simpl.
767-
reflexivity. *)
768749
Defined.

0 commit comments

Comments
 (0)