url
stringclasses
147 values
commit
stringclasses
147 values
file_path
stringlengths
7
101
full_name
stringlengths
1
94
start
stringlengths
6
10
end
stringlengths
6
11
tactic
stringlengths
1
11.2k
state_before
stringlengths
3
2.09M
state_after
stringlengths
6
2.09M
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
. trivial
case intro.intro.right.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
apply refl_trans_clos_monotone
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z ⊒ refl_trans_...
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z ⊒ βˆ€ (x...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
intros _ _
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z ⊒ βˆ€ (x...
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z x✝ y✝ ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
apply (equiv _ _).2
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z x✝ y✝ ...
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z ⊒ refl...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
trivial
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z ⊒ refl...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
apply refl_trans_clos_monotone
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z h1 : refl_tra...
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z h1 : r...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
intros _ _
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z h1 : r...
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z h1 : r...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
apply (equiv _ _).2
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z h1 : r...
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z h1 : r...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
trivial
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_clos R x z h1 : r...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
intros x y
case intro.intro.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_...
case intro.intro.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y✝ z x✝ : A red_x_y : refl_trans_clos R x✝ y✝ red_y_z : refl_tr...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
apply (equiv _ _).1
case intro.intro.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y✝ z x✝ : A red_x_y : refl_trans_clos R x✝ y✝ red_y_z : refl_tr...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
trivial
case intro.intro.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans_...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
intros x y
case intro.intro.right.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans...
case intro.intro.right.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y✝ z x✝ : A red_x_y : refl_trans_clos R x✝ y✝ red_y_z : refl_t...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
apply (equiv _ _).1
case intro.intro.right.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y✝ z x✝ : A red_x_y : refl_trans_clos R x✝ y✝ red_y_z : refl_t...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
equiv_conf
[717, 1]
[738, 12]
trivial
case intro.intro.right.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop equiv : βˆ€ (x y : A), S x y ↔ R x y h : βˆ€ (y z x : A), refl_trans_clos S x y β†’ refl_trans_clos S x z β†’ βˆƒ z_1, refl_trans_clos S y z_1 ∧ refl_trans_clos S z z_1 y z x : A red_x_y : refl_trans_clos R x y red_y_z : refl_trans...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
simp
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ βˆ€ (R : A β†’ A β†’ Prop), (fun R R' => βˆ€ (x y : A), R x y ↔ R' x y) (refl_trans_clos (refl_trans_clos R)) (refl_trans_clos R)
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ βˆ€ (R : A β†’ A β†’ Prop) (x y : A), refl_trans_clos (refl_trans_clos R) x y ↔ refl_trans_clos R x y
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
intros R x y
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ βˆ€ (R : A β†’ A β†’ Prop) (x y : A), refl_trans_clos (refl_trans_clos R) x y ↔ refl_trans_clos R x y
A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y : A ⊒ refl_trans_clos (refl_trans_clos R) x y ↔ refl_trans_clos R x y
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
constructor <;> intros steps <;> induction' steps with z a b c red_a_c _red_b_c ih
A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y : A ⊒ refl_trans_clos (refl_trans_clos R) x y ↔ refl_trans_clos R x y
case mp.refl A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y z : A ⊒ refl_trans_clos R z z case mp.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : refl_trans_clos R a b _red_b_c : refl_trans_clos (refl_trans_clos R) b c ih : refl_trans_clos...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
. constructor
case mp.refl A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y z : A ⊒ refl_trans_clos R z z case mp.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : refl_trans_clos R a b _red_b_c : refl_trans_clos (refl_trans_clos R) b c ih : refl_trans_clos...
case mp.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : refl_trans_clos R a b _red_b_c : refl_trans_clos (refl_trans_clos R) b c ih : refl_trans_clos R b c ⊒ refl_trans_clos R a c case mpr.refl A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
. apply refl_trans_clos_transitive <;> trivial
case mp.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : refl_trans_clos R a b _red_b_c : refl_trans_clos (refl_trans_clos R) b c ih : refl_trans_clos R b c ⊒ refl_trans_clos R a c case mpr.refl A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x ...
case mpr.refl A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y z : A ⊒ refl_trans_clos (refl_trans_clos R) z z case mpr.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_c...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
. constructor
case mpr.refl A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y z : A ⊒ refl_trans_clos (refl_trans_clos R) z z case mpr.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_c...
case mpr.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos (refl_trans_clos R) a c
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
. apply refl_trans_clos.step . apply refl_trans_clos.step; trivial constructor . trivial
case mpr.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos (refl_trans_clos R) a c
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
constructor
case mp.refl A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y z : A ⊒ refl_trans_clos R z z
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
apply refl_trans_clos_transitive <;> trivial
case mp.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : refl_trans_clos R a b _red_b_c : refl_trans_clos (refl_trans_clos R) b c ih : refl_trans_clos R b c ⊒ refl_trans_clos R a c
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
constructor
case mpr.refl A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y z : A ⊒ refl_trans_clos (refl_trans_clos R) z z
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
apply refl_trans_clos.step
case mpr.step A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos (refl_trans_clos R) a c
case mpr.step.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos R a ?mpr.step.b case mpr.step.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
. apply refl_trans_clos.step; trivial constructor
case mpr.step.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos R a ?mpr.step.b case mpr.step.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y...
case mpr.step.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos (refl_trans_clos R) b c
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
. trivial
case mpr.step.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos (refl_trans_clos R) b c
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
apply refl_trans_clos.step
case mpr.step.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos R a ?mpr.step.b
case mpr.step.a.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ R a ?mpr.step.a.b case mpr.step.a.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
trivial
case mpr.step.a.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ R a ?mpr.step.a.b case mpr.step.a.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A...
case mpr.step.a.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos R b ?mpr.step.b
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
constructor
case mpr.step.a.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos R b ?mpr.step.b
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
trans_clos_idempotent
[741, 1]
[751, 14]
trivial
case mpr.step.a A : Type R✝ : A β†’ A β†’ Prop inhabited_A : Nonempty A S R : A β†’ A β†’ Prop x y a b c : A red_a_c : R a b _red_b_c : refl_trans_clos R b c ih : refl_trans_clos (refl_trans_clos R) b c ⊒ refl_trans_clos (refl_trans_clos R) b c
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
simp [confluent, joins, wedge]
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ confluent (refl_trans_clos R) ↔ confluent R
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1) ↔ βˆ€ (y z x : A), refl_...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
constructor
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1) ↔ βˆ€ (y z x : A), refl_...
case mp A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1) β†’ βˆ€ (y z x : A), ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
. intros h y z x red_x_y red_x_z have h1 : refl_trans_clos (refl_trans_clos R) x y := by apply (trans_clos_idempotent _ _ _).2; trivial have h2 : refl_trans_clos (refl_trans_clos R) x z := by apply (trans_clos_idempotent _ _ _).2; trivial cases' (h _ _ _ h1 h2) with w h cases' h with h1 h2 ...
case mp A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1) β†’ βˆ€ (y z x : A), ...
case mpr A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1) β†’ βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
. intros h y z x red_x_y red_x_z have h1 : refl_trans_clos R x y := by apply (trans_clos_idempotent _ _ _).1; trivial have h2 : refl_trans_clos R x z := by apply (trans_clos_idempotent _ _ _).1; trivial cases' (h _ _ _ h1 h2) with w h cases' h with h1 h2 exists w; constructor <;> apply (tr...
case mpr A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1) β†’ βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) ...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
intros h y z x red_x_y red_x_z
case mp A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1) β†’ βˆ€ (y z x : A), ...
case mp A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_tra...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
have h1 : refl_trans_clos (refl_trans_clos R) x y := by apply (trans_clos_idempotent _ _ _).2; trivial
case mp A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_tra...
case mp A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_tra...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
have h2 : refl_trans_clos (refl_trans_clos R) x z := by apply (trans_clos_idempotent _ _ _).2; trivial
case mp A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_tra...
case mp A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_tra...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
cases' (h _ _ _ h1 h2) with w h
case mp A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_tra...
case mp.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h✝ : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : r...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
cases' h with h1 h2
case mp.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h✝ : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : r...
case mp.intro.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
exists w
case mp.intro.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_...
case mp.intro.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
constructor <;> apply (trans_clos_idempotent _ _ _).1 <;> trivial
case mp.intro.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
apply (trans_clos_idempotent _ _ _).2
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_trans_clos ...
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_trans_clos ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
trivial
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_trans_clos ...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
apply (trans_clos_idempotent _ _ _).2
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_trans_clos ...
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_trans_clos ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
trivial
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) x z β†’ βˆƒ z_1, refl_trans_clos (refl_trans_clos R) y z_1 ∧ refl_trans_clos (refl_trans_clos R) z z_1 y z x : A red_x_y : refl_trans_clos ...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
intros h y z x red_x_y red_x_z
case mpr A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1) β†’ βˆ€ (y z x : A), refl_trans_clos (refl_trans_clos R) x y β†’ refl_trans_clos (refl_trans_clos R) ...
case mpr A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z ⊒ βˆƒ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
have h1 : refl_trans_clos R x y := by apply (trans_clos_idempotent _ _ _).1; trivial
case mpr A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z ⊒ βˆƒ...
case mpr A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z h1 ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
have h2 : refl_trans_clos R x z := by apply (trans_clos_idempotent _ _ _).1; trivial
case mpr A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z h1 ...
case mpr A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z h1 ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
cases' (h _ _ _ h1 h2) with w h
case mpr A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z h1 ...
case mpr.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h✝ : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
cases' h with h1 h2
case mpr.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h✝ : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) ...
case mpr.intro.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clo...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
exists w
case mpr.intro.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clo...
case mpr.intro.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clo...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
constructor <;> apply (trans_clos_idempotent _ _ _).2 <;> trivial
case mpr.intro.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clo...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
apply (trans_clos_idempotent _ _ _).1
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z ⊒ refl_trans...
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z ⊒ refl_trans...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
trivial
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z ⊒ refl_trans...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
apply (trans_clos_idempotent _ _ _).1
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z h1 : refl_tr...
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z h1 : refl_tr...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
conf_trans_clos
[753, 1]
[776, 80]
trivial
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop h : βˆ€ (y z x : A), refl_trans_clos R x y β†’ refl_trans_clos R x z β†’ βˆƒ z_1, refl_trans_clos R y z_1 ∧ refl_trans_clos R z z_1 y z x : A red_x_y : refl_trans_clos (refl_trans_clos R) x y red_x_z : refl_trans_clos (refl_trans_clos R) x z h1 : refl_tr...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
simp
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ ((fun R R' => βˆ€ (x y : A), R x y β†’ R' x y) (fun x x_1 => R x x_1) fun x x_1 => S x x_1) β†’ ((fun R R' => βˆ€ (x y : A), R x y β†’ R' x y) (fun x x_1 => S x x_1) fun x x_1 => refl_trans_clos R x x_1) β†’ confluent S β†’ confluent R
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (x y : A), R x y β†’ S x y) β†’ (βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y) β†’ confluent S β†’ confluent R
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
intros
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ (βˆ€ (x y : A), R x y β†’ S x y) β†’ (βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y) β†’ confluent S β†’ confluent R
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ confluent R
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
apply (conf_trans_clos _).1
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ confluent R
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ confluent (refl_trans_clos R)
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
apply equiv_conf
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ confluent (refl_trans_clos R)
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), ?S x y ↔ refl_trans_clos R x y case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
. apply inc_refl_trans_eq; simp . trivial . simp; trivial
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), ?S x y ↔ refl_trans_clos R x y case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y...
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ confluent fun x y => (fun x x_1 => refl_trans_clos (fun x y => S x y) x x_1) x y
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
. aesop
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ confluent fun x y => (fun x x_1 => refl_trans_clos (fun x y => S x y) x x_1) x y
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
apply inc_refl_trans_eq
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), ?S x y ↔ refl_trans_clos R x y
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), (fun x x_1 => R x x_1) x y β†’ (fun x x_1 => ?a.S✝ x x_1) x y case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
simp
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), (fun x x_1 => R x x_1) x y β†’ (fun x x_1 => ?a.S✝ x x_1) x y case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ ...
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), R x y β†’ ?a.S✝ x y case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y ...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
. trivial
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), R x y β†’ ?a.S✝ x y case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y ...
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), (fun x x_1 => S x x_1) x y β†’ (fun x x_1 => refl_trans_clos R x x_1) x y
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
. simp; trivial
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), (fun x x_1 => S x x_1) x y β†’ (fun x x_1 => refl_trans_clos R x x_1) x y
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
trivial
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), R x y β†’ ?a.S✝ x y
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
simp
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), (fun x x_1 => S x x_1) x y β†’ (fun x x_1 => refl_trans_clos R x x_1) x y
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
trivial
case a.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
inc_refl_trans_confl
[778, 1]
[787, 10]
aesop
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop a✝² : βˆ€ (x y : A), R x y β†’ S x y a✝¹ : βˆ€ (x y : A), S x y β†’ refl_trans_clos R x y a✝ : confluent S ⊒ confluent fun x y => (fun x x_1 => refl_trans_clos (fun x y => S x y) x x_1) x y
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
refl_is_refl_trans
[789, 1]
[789, 57]
aesop
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop x y : A ⊒ refl_clos R x y β†’ refl_trans_clos R x y
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
intros str_conf
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop ⊒ strongly_confluent R β†’ confluent R
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R ⊒ confluent R
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
apply semi_confluent_implies_confluent
A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R ⊒ confluent R
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R ⊒ semi_confluent R
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
unfold semi_confluent
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R ⊒ semi_confluent R
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R ⊒ βˆ€ (x y z : A), R x y β†’ refl_trans_clos R x z β†’ joins R y z
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
intros x y z red_x_y red_x_z
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R ⊒ βˆ€ (x y z : A), R x y β†’ refl_trans_clos R x z β†’ joins R y z
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x y z : A red_x_y : R x y red_x_z : refl_trans_clos R x z ⊒ joins R y z
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
revert red_x_y y
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x y z : A red_x_y : R x y red_x_z : refl_trans_clos R x z ⊒ joins R y z
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x z : A red_x_z : refl_trans_clos R x z ⊒ βˆ€ (y : A), R x y β†’ joins R y z
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
induction' red_x_z with a x xβ‚‚ xβ‚™ red_x_x2 red_x2_xn ih
case a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x z : A red_x_z : refl_trans_clos R x z ⊒ βˆ€ (y : A), R x y β†’ joins R y z
case a.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x z a : A ⊒ βˆ€ (y : A), R a y β†’ joins R y a case a.step A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
. intros y _; exists y; aesop
case a.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x z a : A ⊒ βˆ€ (y : A), R a y β†’ joins R y a case a.step A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_...
case a.step A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ ⊒ βˆ€ (y : A), R x y β†’ joins R y xβ‚™
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
. intros y red_x_y cases' (str_conf _ _ _ red_x_y red_x_x2) with yβ‚‚ h cases h.2 . exists xβ‚™; constructor . apply refl_trans_clos_transitive . apply h.1 . trivial . constructor . have ih : yβ‚‚ ~>*.*<~ xβ‚™ := by apply ih; trivial cases' ih with w _ exists w; constructor . apply...
case a.step A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ ⊒ βˆ€ (y : A), R x y β†’ joins R y xβ‚™
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
intros y _
case a.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x z a : A ⊒ βˆ€ (y : A), R a y β†’ joins R y a
case a.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x z a y : A red_x_y✝ : R a y ⊒ joins R y a
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
exists y
case a.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x z a y : A red_x_y✝ : R a y ⊒ joins R y a
case a.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x z a y : A red_x_y✝ : R a y ⊒ refl_trans_clos R y y ∧ refl_trans_clos R a y
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
aesop
case a.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x z a y : A red_x_y✝ : R a y ⊒ refl_trans_clos R y y ∧ refl_trans_clos R a y
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
intros y red_x_y
case a.step A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ ⊒ βˆ€ (y : A), R x y β†’ joins R y xβ‚™
case a.step A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y ⊒ joins R y xβ‚™
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
cases' (str_conf _ _ _ red_x_y red_x_x2) with yβ‚‚ h
case a.step A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y ⊒ joins R y xβ‚™
case a.step.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y yβ‚‚ : A h : refl_trans_clos R y yβ‚‚ ∧ refl_clos R xβ‚‚ yβ‚‚ ⊒ joins R y xβ‚™
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
cases h.2
case a.step.intro A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y yβ‚‚ : A h : refl_trans_clos R y yβ‚‚ ∧ refl_clos R xβ‚‚ yβ‚‚ ⊒ joins R y xβ‚™
case a.step.intro.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ joins R y xβ‚™ cas...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
. exists xβ‚™; constructor . apply refl_trans_clos_transitive . apply h.1 . trivial . constructor
case a.step.intro.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ joins R y xβ‚™ cas...
case a.step.intro.base A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y yβ‚‚ : A h : refl_trans_clos R y yβ‚‚ ∧ refl_clos R xβ‚‚ yβ‚‚ a✝ : R xβ‚‚ yβ‚‚...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
. have ih : yβ‚‚ ~>*.*<~ xβ‚™ := by apply ih; trivial cases' ih with w _ exists w; constructor . apply refl_trans_clos_transitive . apply h.1 . aesop . aesop
case a.step.intro.base A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y yβ‚‚ : A h : refl_trans_clos R y yβ‚‚ ∧ refl_clos R xβ‚‚ yβ‚‚ a✝ : R xβ‚‚ yβ‚‚...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
exists xβ‚™
case a.step.intro.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ joins R y xβ‚™
case a.step.intro.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans_clos R...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
constructor
case a.step.intro.refl A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans_clos R...
case a.step.intro.refl.left A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans_c...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
. apply refl_trans_clos_transitive . apply h.1 . trivial
case a.step.intro.refl.left A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans_c...
case a.step.intro.refl.right A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans_...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
. constructor
case a.step.intro.refl.right A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans_...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
apply refl_trans_clos_transitive
case a.step.intro.refl.left A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans_c...
case a.step.intro.refl.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
. apply h.1
case a.step.intro.refl.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans...
case a.step.intro.refl.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans...
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
. trivial
case a.step.intro.refl.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
apply h.1
case a.step.intro.refl.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
trivial
case a.step.intro.refl.left.a A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
constructor
case a.step.intro.refl.right A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y h : refl_trans_clos R y xβ‚‚ ∧ refl_clos R xβ‚‚ xβ‚‚ ⊒ refl_trans_...
no goals
https://github.com/codyroux/traat-lean.git
f2babab84f81d4003446f476790022ac175d7236
Traat/chapter1.lean
strong_confluent_implies_confluent
[793, 1]
[817, 14]
have ih : yβ‚‚ ~>*.*<~ xβ‚™ := by apply ih; trivial
case a.step.intro.base A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y yβ‚‚ : A h : refl_trans_clos R y yβ‚‚ ∧ refl_clos R xβ‚‚ yβ‚‚ a✝ : R xβ‚‚ yβ‚‚...
case a.step.intro.base A : Type R : A β†’ A β†’ Prop inhabited_A : Nonempty A S : A β†’ A β†’ Prop str_conf : strongly_confluent R x✝ z x xβ‚‚ xβ‚™ : A red_x_x2 : R x xβ‚‚ red_x2_xn : refl_trans_clos R xβ‚‚ xβ‚™ ih✝ : βˆ€ (y : A), R xβ‚‚ y β†’ joins R y xβ‚™ y : A red_x_y : R x y yβ‚‚ : A h : refl_trans_clos R y yβ‚‚ ∧ refl_clos R xβ‚‚ yβ‚‚ a✝ : R xβ‚‚ y...