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 | input stringlengths 73 2.09M |
|---|---|---|---|---|---|---|---|---|---|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_2_5_2 | [173, 1] | [187, 7] | apply Exists.intro a | A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
h3 : g b = c
a : A
h4 : f a = b
β’ β x, (g β f) x = c | A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
h3 : g b = c
a : A
h4 : f a = b
β’ (g β f) a = c | Please generate a tactic in lean4 to solve the state.
STATE:
A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
h3 : g b = c
a : A
h4 : f a = b
β’ β x, (g β f) x = c
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_2_5_2 | [173, 1] | [187, 7] | rewrite [comp_def] | A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
h3 : g b = c
a : A
h4 : f a = b
β’ (g β f) a = c | A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
h3 : g b = c
a : A
h4 : f a = b
β’ g (f a) = c | Please generate a tactic in lean4 to solve the state.
STATE:
A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
h3 : g b = c
a : A
h4 : f a = b
β’ (g β f) a = c
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_2_5_2 | [173, 1] | [187, 7] | rewrite [βh4] at h3 | A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
h3 : g b = c
a : A
h4 : f a = b
β’ g (f a) = c | A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
a : A
h3 : g (f a) = c
h4 : f a = b
β’ g (f a) = c | Please generate a tactic in lean4 to solve the state.
STATE:
A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
h3 : g b = c
a : A
h4 : f a = b
β’ g (f a) = c
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_2_5_2 | [173, 1] | [187, 7] | show g (f a) = c from h3 | A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
a : A
h3 : g (f a) = c
h4 : f a = b
β’ g (f a) = c | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B C : Type
f : A β B
g : B β C
h1 : β (y : B), β x, f x = y
h2 : β (y : C), β x, g x = y
c : C
b : B
a : A
h3 : g (f a) = c
h4 : f a = b
β’ g (f a) = c
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | rewrite [func_from_graph] | A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
β’ β g, graph g = inv (graph f) | A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
β’ is_func_graph (inv (graph f)) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
β’ β g, graph g = inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | define | A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
β’ is_func_graph (inv (graph f)) | A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
β’ β (x : B), β! y, (x, y) β inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
β’ is_func_graph (inv (graph f))
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | fix b : B | A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
β’ β (x : B), β! y, (x, y) β inv (graph f) | A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
β’ β! y, (b, y) β inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
β’ β (x : B), β! y, (x, y) β inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | exists_unique | A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
β’ β! y, (b, y) β inv (graph f) | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
β’ β y, (b, y) β inv (graph f)
case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
β’ β (y_1 y_2 : A), (b, y_1) β inv (graph f) β (b, y_2) β inv (graph f) β y_1 = y_2 | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
β’ β! y, (b, y) β inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | define at h2 | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
β’ β y, (b, y) β inv (graph f) | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
β’ β y, (b, y) β inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
β’ β y, (b, y) β inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | obtain (a : A) (h4 : f a = b) from h2 b | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
β’ β y, (b, y) β inv (graph f) | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
a : A
h4 : f a = b
β’ β y, (b, y) β inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
β’ β y, (b, y) β inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | apply Exists.intro a | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
a : A
h4 : f a = b
β’ β y, (b, y) β inv (graph f) | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
a : A
h4 : f a = b
β’ (b, a) β inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
a : A
h4 : f a = b
β’ β y, (b, y) β inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | define | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
a : A
h4 : f a = b
β’ (b, a) β inv (graph f) | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
a : A
h4 : f a = b
β’ f a = b | Please generate a tactic in lean4 to solve the state.
STATE:
case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
a : A
h4 : f a = b
β’ (b, a) β inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | show f a = b from h4 | case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
a : A
h4 : f a = b
β’ f a = b | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case Existence
A B : Type
f : A β B
h1 : one_to_one f
h2 : β (y : B), β x, f x = y
b : B
a : A
h4 : f a = b
β’ f a = b
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | fix a1 : A | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
β’ β (y_1 y_2 : A), (b, y_1) β inv (graph f) β (b, y_2) β inv (graph f) β y_1 = y_2 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 : A
β’ β (y_2 : A), (b, a1) β inv (graph f) β (b, y_2) β inv (graph f) β a1 = y_2 | Please generate a tactic in lean4 to solve the state.
STATE:
case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
β’ β (y_1 y_2 : A), (b, y_1) β inv (graph f) β (b, y_2) β inv (graph f) β y_1 = y_2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | fix a2 : A | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 : A
β’ β (y_2 : A), (b, a1) β inv (graph f) β (b, y_2) β inv (graph f) β a1 = y_2 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
β’ (b, a1) β inv (graph f) β (b, a2) β inv (graph f) β a1 = a2 | Please generate a tactic in lean4 to solve the state.
STATE:
case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 : A
β’ β (y_2 : A), (b, a1) β inv (graph f) β (b, y_2) β inv (graph f) β a1 = y_2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | assume h3 : (b, a1) β inv (graph f) | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
β’ (b, a1) β inv (graph f) β (b, a2) β inv (graph f) β a1 = a2 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : (b, a1) β inv (graph f)
β’ (b, a2) β inv (graph f) β a1 = a2 | Please generate a tactic in lean4 to solve the state.
STATE:
case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
β’ (b, a1) β inv (graph f) β (b, a2) β inv (graph f) β a1 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | assume h4 : (b, a2) β inv (graph f) | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : (b, a1) β inv (graph f)
β’ (b, a2) β inv (graph f) β a1 = a2 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : (b, a1) β inv (graph f)
h4 : (b, a2) β inv (graph f)
β’ a1 = a2 | Please generate a tactic in lean4 to solve the state.
STATE:
case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : (b, a1) β inv (graph f)
β’ (b, a2) β inv (graph f) β a1 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | define at h3 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : (b, a1) β inv (graph f)
h4 : (b, a2) β inv (graph f)
β’ a1 = a2 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = b
h4 : (b, a2) β inv (graph f)
β’ a1 = a2 | Please generate a tactic in lean4 to solve the state.
STATE:
case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : (b, a1) β inv (graph f)
h4 : (b, a2) β inv (graph f)
β’ a1 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | define at h4 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = b
h4 : (b, a2) β inv (graph f)
β’ a1 = a2 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = b
h4 : f a2 = b
β’ a1 = a2 | Please generate a tactic in lean4 to solve the state.
STATE:
case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = b
h4 : (b, a2) β inv (graph f)
β’ a1 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | rewrite [βh4] at h3 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = b
h4 : f a2 = b
β’ a1 = a2 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = f a2
h4 : f a2 = b
β’ a1 = a2 | Please generate a tactic in lean4 to solve the state.
STATE:
case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = b
h4 : f a2 = b
β’ a1 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | define at h1 | case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = f a2
h4 : f a2 = b
β’ a1 = a2 | case Uniqueness
A B : Type
f : A β B
h1 : β (x1 x2 : A), f x1 = f x2 β x1 = x2
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = f a2
h4 : f a2 = b
β’ a1 = a2 | Please generate a tactic in lean4 to solve the state.
STATE:
case Uniqueness
A B : Type
f : A β B
h1 : one_to_one f
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = f a2
h4 : f a2 = b
β’ a1 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_1 | [190, 1] | [214, 7] | show a1 = a2 from h1 a1 a2 h3 | case Uniqueness
A B : Type
f : A β B
h1 : β (x1 x2 : A), f x1 = f x2 β x1 = x2
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = f a2
h4 : f a2 = b
β’ a1 = a2 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case Uniqueness
A B : Type
f : A β B
h1 : β (x1 x2 : A), f x1 = f x2 β x1 = x2
h2 : onto f
b : B
a1 a2 : A
h3 : f a1 = f a2
h4 : f a2 = b
β’ a1 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_2_1 | [216, 1] | [227, 7] | apply funext | A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
β’ g β f = id | case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
β’ β (x : A), (g β f) x = id x | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
β’ g β f = id
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_2_1 | [216, 1] | [227, 7] | fix a : A | case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
β’ β (x : A), (g β f) x = id x | case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ (g β f) a = id a | Please generate a tactic in lean4 to solve the state.
STATE:
case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
β’ β (x : A), (g β f) x = id x
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_2_1 | [216, 1] | [227, 7] | have h2 : (f a, a) β graph g := by
rewrite [h1] define rfl
done | case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ (g β f) a = id a | case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
h2 : (f a, a) β graph g
β’ (g β f) a = id a | Please generate a tactic in lean4 to solve the state.
STATE:
case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ (g β f) a = id a
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_2_1 | [216, 1] | [227, 7] | define at h2 | case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
h2 : (f a, a) β graph g
β’ (g β f) a = id a | case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
h2 : g (f a) = a
β’ (g β f) a = id a | Please generate a tactic in lean4 to solve the state.
STATE:
case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
h2 : (f a, a) β graph g
β’ (g β f) a = id a
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_2_1 | [216, 1] | [227, 7] | show (g β f) a = id a from h2 | case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
h2 : g (f a) = a
β’ (g β f) a = id a | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
h2 : g (f a) = a
β’ (g β f) a = id a
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_2_1 | [216, 1] | [227, 7] | rewrite [h1] | A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ (f a, a) β graph g | A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ (f a, a) β inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ (f a, a) β graph g
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_2_1 | [216, 1] | [227, 7] | define | A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ (f a, a) β inv (graph f) | A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ f a = f a | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ (f a, a) β inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_2_1 | [216, 1] | [227, 7] | rfl | A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ f a = f a | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : graph g = inv (graph f)
a : A
β’ f a = f a
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | define | A B : Type
f : A β B
g : B β A
h1 : g β f = id
β’ one_to_one f | A B : Type
f : A β B
g : B β A
h1 : g β f = id
β’ β (x1 x2 : A), f x1 = f x2 β x1 = x2 | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
β’ one_to_one f
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | fix a1 : A | A B : Type
f : A β B
g : B β A
h1 : g β f = id
β’ β (x1 x2 : A), f x1 = f x2 β x1 = x2 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 : A
β’ β (x2 : A), f a1 = f x2 β a1 = x2 | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
β’ β (x1 x2 : A), f x1 = f x2 β x1 = x2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | fix a2 : A | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 : A
β’ β (x2 : A), f a1 = f x2 β a1 = x2 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
β’ f a1 = f a2 β a1 = a2 | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 : A
β’ β (x2 : A), f a1 = f x2 β a1 = x2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | assume h2 : f a1 = f a2 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
β’ f a1 = f a2 β a1 = a2 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ a1 = a2 | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
β’ f a1 = f a2 β a1 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | show a1 = a2 from
calc a1
_ = id a1 := by rfl
_ = (g β f) a1 := by rw [h1]
_ = g (f a1) := by rfl
_ = g (f a2) := by rw [h2]
_ = (g β f) a2 := by rfl
_ = id a2 := by rw [h1]
_ = a2 := by rfl | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ a1 = a2 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ a1 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | rfl | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ a1 = id a1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ a1 = id a1
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | rw [h1] | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ id a1 = (g β f) a1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ id a1 = (g β f) a1
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | rfl | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ (g β f) a1 = g (f a1) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ (g β f) a1 = g (f a1)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | rw [h2] | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ g (f a1) = g (f a2) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ g (f a1) = g (f a2)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | rfl | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ g (f a2) = (g β f) a2 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ g (f a2) = (g β f) a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | rw [h1] | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ (g β f) a2 = id a2 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ (g β f) a2 = id a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_3_1 | [232, 1] | [246, 7] | rfl | A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ id a2 = a2 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
a1 a2 : A
h2 : f a1 = f a2
β’ id a2 = a2
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | have h3 : one_to_one f := Theorem_5_3_3_1 f g h1 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
β’ graph g = inv (graph f) | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
β’ graph g = inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
β’ graph g = inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | have h4 : onto f := Theorem_5_3_3_2 f g h2 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
β’ graph g = inv (graph f) | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
β’ graph g = inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
β’ graph g = inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | obtain (g' : B β A) (h5 : graph g' = inv (graph f))
from Theorem_5_3_1 f h3 h4 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
β’ graph g = inv (graph f) | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
β’ graph g = inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
β’ graph g = inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | have h6 : g' β f = id := Theorem_5_3_2_1 f g' h5 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
β’ graph g = inv (graph f) | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ graph g = inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
β’ graph g = inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | have h7 : g = g' :=
calc g
_ = id β g := by rfl
_ = (g' β f) β g := by rw [h6]
_ = g' β (f β g) := by rfl
_ = g' β id := by rw [h2]
_ = g' := by rfl | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ graph g = inv (graph f) | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
h7 : g = g'
β’ graph g = inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ graph g = inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | rewrite [βh7] at h5 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
h7 : g = g'
β’ graph g = inv (graph f) | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g = inv (graph f)
h6 : g' β f = id
h7 : g = g'
β’ graph g = inv (graph f) | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
h7 : g = g'
β’ graph g = inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | show graph g = inv (graph f) from h5 | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g = inv (graph f)
h6 : g' β f = id
h7 : g = g'
β’ graph g = inv (graph f) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g = inv (graph f)
h6 : g' β f = id
h7 : g = g'
β’ graph g = inv (graph f)
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | rfl | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ g = id β g | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ g = id β g
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | rw [h6] | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ id β g = (g' β f) β g | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ id β g = (g' β f) β g
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | rfl | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ (g' β f) β g = g' β f β g | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ (g' β f) β g = g' β f β g
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | rw [h2] | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ g' β f β g = g' β id | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ g' β f β g = g' β id
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_3_5 | [251, 1] | [267, 7] | rfl | A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ g' β id = g' | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
g : B β A
h1 : g β f = id
h2 : f β g = id
h3 : one_to_one f
h4 : onto f
g' : B β A
h5 : graph g' = inv (graph f)
h6 : g' β f = id
β’ g' β id = g'
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | set F : Set (Set A) := {D : Set A | B β D β§ closed f D} | A : Type
f : A β A
B : Set A
β’ β C, closure f B C | A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
β’ β C, closure f B C | Please generate a tactic in lean4 to solve the state.
STATE:
A : Type
f : A β A
B : Set A
β’ β C, closure f B C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | set C : Set A := ββ F | A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
β’ β C, closure f B C | A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ β C, closure f B C | Please generate a tactic in lean4 to solve the state.
STATE:
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
β’ β C, closure f B C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | apply Exists.intro C | A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ β C, closure f B C | A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ closure f B C | Please generate a tactic in lean4 to solve the state.
STATE:
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ β C, closure f B C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define | A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ closure f B C | A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ C β {D | B β D β§ closed f D} β§ β x β {D | B β D β§ closed f D}, sub A C x | Please generate a tactic in lean4 to solve the state.
STATE:
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ closure f B C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | apply And.intro | A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ C β {D | B β D β§ closed f D} β§ β x β {D | B β D β§ closed f D}, sub A C x | case left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ C β {D | B β D β§ closed f D}
case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ β x β {D | B β D β§ closed f D}, sub A C x | Please generate a tactic in lean4 to solve the state.
STATE:
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ C β {D | B β D β§ closed f D} β§ β x β {D | B β D β§ closed f D}, sub A C x
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define | case left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ C β {D | B β D β§ closed f D} | case left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ B β C β§ closed f C | Please generate a tactic in lean4 to solve the state.
STATE:
case left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ C β {D | B β D β§ closed f D}
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | apply And.intro | case left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ B β C β§ closed f C | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ B β C
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ closed f C | Please generate a tactic in lean4 to solve the state.
STATE:
case left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ B β C β§ closed f C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | fix a : A | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ B β C | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
β’ a β B β a β C | Please generate a tactic in lean4 to solve the state.
STATE:
case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ B β C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | assume h1 : a β B | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
β’ a β B β a β C | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
β’ a β C | Please generate a tactic in lean4 to solve the state.
STATE:
case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
β’ a β B β a β C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
β’ a β C | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
β’ β t β F, a β t | Please generate a tactic in lean4 to solve the state.
STATE:
case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
β’ a β C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | fix D : Set A | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
β’ β t β F, a β t | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
D : Set A
β’ D β F β a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
β’ β t β F, a β t
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | assume h2 : D β F | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
D : Set A
β’ D β F β a β D | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
D : Set A
h2 : D β F
β’ a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
D : Set A
β’ D β F β a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define at h2 | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
D : Set A
h2 : D β F
β’ a β D | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
D : Set A
h2 : B β D β§ closed f D
β’ a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
D : Set A
h2 : D β F
β’ a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | show a β D from h2.left h1 | case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
D : Set A
h2 : B β D β§ closed f D
β’ a β D | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case left.left
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β B
D : Set A
h2 : B β D β§ closed f D
β’ a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ closed f C | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ β x β C, f x β C | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ closed f C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | fix a : A | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ β x β C, f x β C | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
β’ a β C β f a β C | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ β x β C, f x β C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | assume h1 : a β C | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
β’ a β C β f a β C | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
β’ f a β C | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
β’ a β C β f a β C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
β’ f a β C | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
β’ β t β F, f a β t | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
β’ f a β C
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | fix D : Set A | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
β’ β t β F, f a β t | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
D : Set A
β’ D β F β f a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
β’ β t β F, f a β t
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | assume h2 : D β F | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
D : Set A
β’ D β F β f a β D | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
D : Set A
h2 : D β F
β’ f a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
D : Set A
β’ D β F β f a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define at h1 | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
D : Set A
h2 : D β F
β’ f a β D | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : D β F
β’ f a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : a β C
D : Set A
h2 : D β F
β’ f a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | have h3 : a β D := h1 D h2 | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : D β F
β’ f a β D | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : D β F
h3 : a β D
β’ f a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : D β F
β’ f a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define at h2 | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : D β F
h3 : a β D
β’ f a β D | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : B β D β§ closed f D
h3 : a β D
β’ f a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : D β F
h3 : a β D
β’ f a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | have h4 : closed f D := h2.right | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : B β D β§ closed f D
h3 : a β D
β’ f a β D | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : B β D β§ closed f D
h3 : a β D
h4 : closed f D
β’ f a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : B β D β§ closed f D
h3 : a β D
β’ f a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define at h4 | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : B β D β§ closed f D
h3 : a β D
h4 : closed f D
β’ f a β D | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : B β D β§ closed f D
h3 : a β D
h4 : β x β D, f x β D
β’ f a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : B β D β§ closed f D
h3 : a β D
h4 : closed f D
β’ f a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | show f a β D from h4 a h3 | case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : B β D β§ closed f D
h3 : a β D
h4 : β x β D, f x β D
β’ f a β D | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case left.right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
a : A
h1 : β t β F, a β t
D : Set A
h2 : B β D β§ closed f D
h3 : a β D
h4 : β x β D, f x β D
β’ f a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | fix D : Set A | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ β x β {D | B β D β§ closed f D}, sub A C x | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
β’ D β {D | B β D β§ closed f D} β sub A C D | Please generate a tactic in lean4 to solve the state.
STATE:
case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
β’ β x β {D | B β D β§ closed f D}, sub A C x
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | assume h1 : D β F | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
β’ D β {D | B β D β§ closed f D} β sub A C D | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
β’ sub A C D | Please generate a tactic in lean4 to solve the state.
STATE:
case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
β’ D β {D | B β D β§ closed f D} β sub A C D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
β’ sub A C D | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
β’ β β¦a : Aβ¦, a β C β a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
β’ sub A C D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | fix a : A | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
β’ β β¦a : Aβ¦, a β C β a β D | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
a : A
β’ a β C β a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
β’ β β¦a : Aβ¦, a β C β a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | assume h2 : a β C | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
a : A
β’ a β C β a β D | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
a : A
h2 : a β C
β’ a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
a : A
β’ a β C β a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | define at h2 | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
a : A
h2 : a β C
β’ a β D | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
a : A
h2 : β t β F, a β t
β’ a β D | Please generate a tactic in lean4 to solve the state.
STATE:
case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
a : A
h2 : a β C
β’ a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_4_5 | [270, 1] | [313, 7] | show a β D from h2 D h1 | case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
a : A
h2 : β t β F, a β t
β’ a β D | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case right
A : Type
f : A β A
B : Set A
F : Set (Set A) := {D | B β D β§ closed f D}
C : Set A := ββ F
D : Set A
h1 : D β F
a : A
h2 : β t β F, a β t
β’ a β D
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.image_def | [331, 1] | [332, 47] | rfl | A B : Type
f : A β B
X : Set A
b : B
β’ b β image f X β β x β X, f x = b | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
X : Set A
b : B
β’ b β image f X β β x β X, f x = b
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.inverse_image_def | [334, 1] | [335, 46] | rfl | A B : Type
f : A β B
Y : Set B
a : A
β’ a β inverse_image f Y β f a β Y | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
Y : Set B
a : A
β’ a β inverse_image f Y β f a β Y
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_1 | [337, 1] | [354, 7] | fix y : B | A B : Type
f : A β B
W X : Set A
β’ image f (W β© X) β image f W β© image f X | A B : Type
f : A β B
W X : Set A
y : B
β’ y β image f (W β© X) β y β image f W β© image f X | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
W X : Set A
β’ image f (W β© X) β image f W β© image f X
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_1 | [337, 1] | [354, 7] | assume h1 : y β image f (W β© X) | A B : Type
f : A β B
W X : Set A
y : B
β’ y β image f (W β© X) β y β image f W β© image f X | A B : Type
f : A β B
W X : Set A
y : B
h1 : y β image f (W β© X)
β’ y β image f W β© image f X | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
W X : Set A
y : B
β’ y β image f (W β© X) β y β image f W β© image f X
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_1 | [337, 1] | [354, 7] | define at h1 | A B : Type
f : A β B
W X : Set A
y : B
h1 : y β image f (W β© X)
β’ y β image f W β© image f X | A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
β’ y β image f W β© image f X | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
W X : Set A
y : B
h1 : y β image f (W β© X)
β’ y β image f W β© image f X
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_1 | [337, 1] | [354, 7] | obtain (x : A) (h2 : x β W β© X β§ f x = y) from h1 | A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
β’ y β image f W β© image f X | A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : x β W β© X β§ f x = y
β’ y β image f W β© image f X | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
β’ y β image f W β© image f X
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_1 | [337, 1] | [354, 7] | define : x β W β© X at h2 | A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : x β W β© X β§ f x = y
β’ y β image f W β© image f X | A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ y β image f W β© image f X | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : x β W β© X β§ f x = y
β’ y β image f W β© image f X
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_1 | [337, 1] | [354, 7] | apply And.intro | A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ y β image f W β© image f X | case left
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ y β image f W
case right
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ y β image f X | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ y β image f W β© image f X
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_1 | [337, 1] | [354, 7] | define | case left
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ y β image f W | case left
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ β x β W, f x = y | Please generate a tactic in lean4 to solve the state.
STATE:
case left
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ y β image f W
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_1 | [337, 1] | [354, 7] | show β (x : A), x β W β§ f x = y from
Exists.intro x (And.intro h2.left.left h2.right) | case left
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ β x β W, f x = y | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case left
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ β x β W, f x = y
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_1 | [337, 1] | [354, 7] | show y β image f X from
Exists.intro x (And.intro h2.left.right h2.right) | case right
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ y β image f X | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case right
A B : Type
f : A β B
W X : Set A
y : B
h1 : β x β W β© X, f x = y
x : A
h2 : (x β W β§ x β X) β§ f x = y
β’ y β image f X
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_2 | [356, 1] | [380, 7] | apply Set.ext | A B : Type
f : A β B
W X : Set A
h1 : one_to_one f
β’ image f (W β© X) = image f W β© image f X | case h
A B : Type
f : A β B
W X : Set A
h1 : one_to_one f
β’ β (x : B), x β image f (W β© X) β x β image f W β© image f X | Please generate a tactic in lean4 to solve the state.
STATE:
A B : Type
f : A β B
W X : Set A
h1 : one_to_one f
β’ image f (W β© X) = image f W β© image f X
TACTIC:
|
https://github.com/djvelleman/HTPILeanPackage.git | 4d23e94fff351c65b5e1345c43451f2aa9908c27 | HTPILib/Chap5.lean | HTPI.Theorem_5_5_2_2 | [356, 1] | [380, 7] | fix y : B | case h
A B : Type
f : A β B
W X : Set A
h1 : one_to_one f
β’ β (x : B), x β image f (W β© X) β x β image f W β© image f X | case h
A B : Type
f : A β B
W X : Set A
h1 : one_to_one f
y : B
β’ y β image f (W β© X) β y β image f W β© image f X | Please generate a tactic in lean4 to solve the state.
STATE:
case h
A B : Type
f : A β B
W X : Set A
h1 : one_to_one f
β’ β (x : B), x β image f (W β© X) β x β image f W β© image f X
TACTIC:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.