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/Chap8Part2.lean
HTPI.Lemma_8_2_2_2
[1306, 1]
[1330, 7]
apply Exists.intro (emptyRel Nat U)
case neg U : Type F : Set (Set U) h : βˆ€ A ∈ F, ctble A A : Set U h2 : A βˆ‰ F ⊒ βˆƒ SA, A ∈ F β†’ fcnl_onto_from_nat SA A
case neg U : Type F : Set (Set U) h : βˆ€ A ∈ F, ctble A A : Set U h2 : A βˆ‰ F ⊒ A ∈ F β†’ fcnl_onto_from_nat (emptyRel β„• U) A
Please generate a tactic in lean4 to solve the state. STATE: case neg U : Type F : Set (Set U) h : βˆ€ A ∈ F, ctble A A : Set U h2 : A βˆ‰ F ⊒ βˆƒ SA, A ∈ F β†’ fcnl_onto_from_nat SA A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_2_2
[1306, 1]
[1330, 7]
assume h3 : A ∈ F
case neg U : Type F : Set (Set U) h : βˆ€ A ∈ F, ctble A A : Set U h2 : A βˆ‰ F ⊒ A ∈ F β†’ fcnl_onto_from_nat (emptyRel β„• U) A
case neg U : Type F : Set (Set U) h : βˆ€ A ∈ F, ctble A A : Set U h2 : A βˆ‰ F h3 : A ∈ F ⊒ fcnl_onto_from_nat (emptyRel β„• U) A
Please generate a tactic in lean4 to solve the state. STATE: case neg U : Type F : Set (Set U) h : βˆ€ A ∈ F, ctble A A : Set U h2 : A βˆ‰ F ⊒ A ∈ F β†’ fcnl_onto_from_nat (emptyRel β„• U) A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_2_2
[1306, 1]
[1330, 7]
show fcnl_onto_from_nat (emptyRel Nat U) A from absurd h3 h2
case neg U : Type F : Set (Set U) h : βˆ€ A ∈ F, ctble A A : Set U h2 : A βˆ‰ F h3 : A ∈ F ⊒ fcnl_onto_from_nat (emptyRel β„• U) A
no goals
Please generate a tactic in lean4 to solve the state. STATE: case neg U : Type F : Set (Set U) h : βˆ€ A ∈ F, ctble A A : Set U h2 : A βˆ‰ F h3 : A ∈ F ⊒ fcnl_onto_from_nat (emptyRel β„• U) A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_2
[1332, 1]
[1337, 7]
obtain (f : Set U β†’ Rel Nat U) (h3 : βˆ€ A ∈ F, fcnl_onto_from_nat (f A) A) from Lemma_8_2_2_2 h2
U : Type F : Set (Set U) h1 : ctble F h2 : βˆ€ A ∈ F, ctble A ⊒ ctble (⋃₀ F)
U : Type F : Set (Set U) h1 : ctble F h2 : βˆ€ A ∈ F, ctble A f : Set U β†’ Rel β„• U h3 : βˆ€ A ∈ F, fcnl_onto_from_nat (f A) A ⊒ ctble (⋃₀ F)
Please generate a tactic in lean4 to solve the state. STATE: U : Type F : Set (Set U) h1 : ctble F h2 : βˆ€ A ∈ F, ctble A ⊒ ctble (⋃₀ F) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_2
[1332, 1]
[1337, 7]
show ctble (⋃₀ F) from Lemma_8_2_2_1 h1 h3
U : Type F : Set (Set U) h1 : ctble F h2 : βˆ€ A ∈ F, ctble A f : Set U β†’ Rel β„• U h3 : βˆ€ A ∈ F, fcnl_onto_from_nat (f A) A ⊒ ctble (⋃₀ F)
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type F : Set (Set U) h1 : ctble F h2 : βˆ€ A ∈ F, ctble A f : Set U β†’ Rel β„• U h3 : βˆ€ A ∈ F, fcnl_onto_from_nat (f A) A ⊒ ctble (⋃₀ F) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.seq_def
[1339, 1]
[1340, 41]
rfl
U : Type A : Set U l : List U ⊒ l ∈ seq A ↔ βˆ€ x ∈ l, x ∈ A
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U l : List U ⊒ l ∈ seq A ↔ βˆ€ x ∈ l, x ∈ A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
apply Set.ext
U : Type A : Set U ⊒ seq_by_length A 0 = {[]}
case h U : Type A : Set U ⊒ βˆ€ (x : List U), x ∈ seq_by_length A 0 ↔ x ∈ {[]}
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U ⊒ seq_by_length A 0 = {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
fix l : List U
case h U : Type A : Set U ⊒ βˆ€ (x : List U), x ∈ seq_by_length A 0 ↔ x ∈ {[]}
case h U : Type A : Set U l : List U ⊒ l ∈ seq_by_length A 0 ↔ l ∈ {[]}
Please generate a tactic in lean4 to solve the state. STATE: case h U : Type A : Set U ⊒ βˆ€ (x : List U), x ∈ seq_by_length A 0 ↔ x ∈ {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
apply Iff.intro
case h U : Type A : Set U l : List U ⊒ l ∈ seq_by_length A 0 ↔ l ∈ {[]}
case h.mp U : Type A : Set U l : List U ⊒ l ∈ seq_by_length A 0 β†’ l ∈ {[]} case h.mpr U : Type A : Set U l : List U ⊒ l ∈ {[]} β†’ l ∈ seq_by_length A 0
Please generate a tactic in lean4 to solve the state. STATE: case h U : Type A : Set U l : List U ⊒ l ∈ seq_by_length A 0 ↔ l ∈ {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
assume h1 : l ∈ seq_by_length A 0
case h.mp U : Type A : Set U l : List U ⊒ l ∈ seq_by_length A 0 β†’ l ∈ {[]}
case h.mp U : Type A : Set U l : List U h1 : l ∈ seq_by_length A 0 ⊒ l ∈ {[]}
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U ⊒ l ∈ seq_by_length A 0 β†’ l ∈ {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
define at h1
case h.mp U : Type A : Set U l : List U h1 : l ∈ seq_by_length A 0 ⊒ l ∈ {[]}
case h.mp U : Type A : Set U l : List U h1 : l ∈ seq A ∧ List.length l = 0 ⊒ l ∈ {[]}
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : l ∈ seq_by_length A 0 ⊒ l ∈ {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
rewrite [List.length_eq_zero] at h1
case h.mp U : Type A : Set U l : List U h1 : l ∈ seq A ∧ List.length l = 0 ⊒ l ∈ {[]}
case h.mp U : Type A : Set U l : List U h1 : l ∈ seq A ∧ l = [] ⊒ l ∈ {[]}
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : l ∈ seq A ∧ List.length l = 0 ⊒ l ∈ {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
define
case h.mp U : Type A : Set U l : List U h1 : l ∈ seq A ∧ l = [] ⊒ l ∈ {[]}
case h.mp U : Type A : Set U l : List U h1 : l ∈ seq A ∧ l = [] ⊒ l = []
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : l ∈ seq A ∧ l = [] ⊒ l ∈ {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
show l = [] from h1.right
case h.mp U : Type A : Set U l : List U h1 : l ∈ seq A ∧ l = [] ⊒ l = []
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : l ∈ seq A ∧ l = [] ⊒ l = [] TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
assume h1 : l ∈ {[]}
case h.mpr U : Type A : Set U l : List U ⊒ l ∈ {[]} β†’ l ∈ seq_by_length A 0
case h.mpr U : Type A : Set U l : List U h1 : l ∈ {[]} ⊒ l ∈ seq_by_length A 0
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr U : Type A : Set U l : List U ⊒ l ∈ {[]} β†’ l ∈ seq_by_length A 0 TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
define at h1
case h.mpr U : Type A : Set U l : List U h1 : l ∈ {[]} ⊒ l ∈ seq_by_length A 0
case h.mpr U : Type A : Set U l : List U h1 : l = [] ⊒ l ∈ seq_by_length A 0
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr U : Type A : Set U l : List U h1 : l ∈ {[]} ⊒ l ∈ seq_by_length A 0 TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
define
case h.mpr U : Type A : Set U l : List U h1 : l = [] ⊒ l ∈ seq_by_length A 0
case h.mpr U : Type A : Set U l : List U h1 : l = [] ⊒ l ∈ seq A ∧ List.length l = 0
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr U : Type A : Set U l : List U h1 : l = [] ⊒ l ∈ seq_by_length A 0 TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
apply And.intro _ (List.length_eq_zero.rtl h1)
case h.mpr U : Type A : Set U l : List U h1 : l = [] ⊒ l ∈ seq A ∧ List.length l = 0
U : Type A : Set U l : List U h1 : l = [] ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr U : Type A : Set U l : List U h1 : l = [] ⊒ l ∈ seq A ∧ List.length l = 0 TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
define
U : Type A : Set U l : List U h1 : l = [] ⊒ l ∈ seq A
U : Type A : Set U l : List U h1 : l = [] ⊒ βˆ€ x ∈ l, x ∈ A
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U l : List U h1 : l = [] ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
fix x : U
U : Type A : Set U l : List U h1 : l = [] ⊒ βˆ€ x ∈ l, x ∈ A
U : Type A : Set U l : List U h1 : l = [] x : U ⊒ x ∈ l β†’ x ∈ A
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U l : List U h1 : l = [] ⊒ βˆ€ x ∈ l, x ∈ A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
assume h2 : x ∈ l
U : Type A : Set U l : List U h1 : l = [] x : U ⊒ x ∈ l β†’ x ∈ A
U : Type A : Set U l : List U h1 : l = [] x : U h2 : x ∈ l ⊒ x ∈ A
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U l : List U h1 : l = [] x : U ⊒ x ∈ l β†’ x ∈ A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
contradict h2 with h3
U : Type A : Set U l : List U h1 : l = [] x : U h2 : x ∈ l ⊒ x ∈ A
U : Type A : Set U l : List U h1 : l = [] x : U h2 : x ∈ l h3 : Β¬x ∈ A ⊒ x βˆ‰ l
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U l : List U h1 : l = [] x : U h2 : x ∈ l ⊒ x ∈ A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
rewrite [h1]
U : Type A : Set U l : List U h1 : l = [] x : U h2 : x ∈ l h3 : Β¬x ∈ A ⊒ x βˆ‰ l
U : Type A : Set U l : List U h1 : l = [] x : U h2 : x ∈ l h3 : Β¬x ∈ A ⊒ x βˆ‰ []
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U l : List U h1 : l = [] x : U h2 : x ∈ l h3 : Β¬x ∈ A ⊒ x βˆ‰ l TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.sbl_base
[1342, 1]
[1365, 7]
show x βˆ‰ [] from List.not_mem_nil x
U : Type A : Set U l : List U h1 : l = [] x : U h2 : x ∈ l h3 : Β¬x ∈ A ⊒ x βˆ‰ []
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U l : List U h1 : l = [] x : U h2 : x ∈ l h3 : Β¬x ∈ A ⊒ x βˆ‰ [] TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.seq_cons_def
[1367, 1]
[1368, 41]
rfl
U : Type x : U l : List U ⊒ seq_cons U (x, l) = x :: l
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type x : U l : List U ⊒ seq_cons U (x, l) = x :: l TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.seq_cons_one_one
[1370, 1]
[1377, 7]
fix (a1, l1) : U Γ— List U
U : Type ⊒ one_to_one (seq_cons U)
U : Type a1 : U l1 : List U ⊒ βˆ€ (x2 : U Γ— List U), seq_cons U (a1, l1) = seq_cons U x2 β†’ (a1, l1) = x2
Please generate a tactic in lean4 to solve the state. STATE: U : Type ⊒ one_to_one (seq_cons U) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.seq_cons_one_one
[1370, 1]
[1377, 7]
fix (a2, l2) : U Γ— List U
U : Type a1 : U l1 : List U ⊒ βˆ€ (x2 : U Γ— List U), seq_cons U (a1, l1) = seq_cons U x2 β†’ (a1, l1) = x2
U : Type a1 : U l1 : List U a2 : U l2 : List U ⊒ seq_cons U (a1, l1) = seq_cons U (a2, l2) β†’ (a1, l1) = (a2, l2)
Please generate a tactic in lean4 to solve the state. STATE: U : Type a1 : U l1 : List U ⊒ βˆ€ (x2 : U Γ— List U), seq_cons U (a1, l1) = seq_cons U x2 β†’ (a1, l1) = x2 TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.seq_cons_one_one
[1370, 1]
[1377, 7]
assume h1 : seq_cons U (a1, l1) = seq_cons U (a2, l2)
U : Type a1 : U l1 : List U a2 : U l2 : List U ⊒ seq_cons U (a1, l1) = seq_cons U (a2, l2) β†’ (a1, l1) = (a2, l2)
U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : seq_cons U (a1, l1) = seq_cons U (a2, l2) ⊒ (a1, l1) = (a2, l2)
Please generate a tactic in lean4 to solve the state. STATE: U : Type a1 : U l1 : List U a2 : U l2 : List U ⊒ seq_cons U (a1, l1) = seq_cons U (a2, l2) β†’ (a1, l1) = (a2, l2) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.seq_cons_one_one
[1370, 1]
[1377, 7]
rewrite [seq_cons_def, seq_cons_def] at h1
U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : seq_cons U (a1, l1) = seq_cons U (a2, l2) ⊒ (a1, l1) = (a2, l2)
U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : a1 :: l1 = a2 :: l2 ⊒ (a1, l1) = (a2, l2)
Please generate a tactic in lean4 to solve the state. STATE: U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : seq_cons U (a1, l1) = seq_cons U (a2, l2) ⊒ (a1, l1) = (a2, l2) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.seq_cons_one_one
[1370, 1]
[1377, 7]
rewrite [List.cons_eq_cons] at h1
U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : a1 :: l1 = a2 :: l2 ⊒ (a1, l1) = (a2, l2)
U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : a1 = a2 ∧ l1 = l2 ⊒ (a1, l1) = (a2, l2)
Please generate a tactic in lean4 to solve the state. STATE: U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : a1 :: l1 = a2 :: l2 ⊒ (a1, l1) = (a2, l2) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.seq_cons_one_one
[1370, 1]
[1377, 7]
rewrite [h1.left, h1.right]
U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : a1 = a2 ∧ l1 = l2 ⊒ (a1, l1) = (a2, l2)
U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : a1 = a2 ∧ l1 = l2 ⊒ (a2, l2) = (a2, l2)
Please generate a tactic in lean4 to solve the state. STATE: U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : a1 = a2 ∧ l1 = l2 ⊒ (a1, l1) = (a2, l2) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.seq_cons_one_one
[1370, 1]
[1377, 7]
rfl
U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : a1 = a2 ∧ l1 = l2 ⊒ (a2, l2) = (a2, l2)
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type a1 : U l1 : List U a2 : U l2 : List U h1 : a1 = a2 ∧ l1 = l2 ⊒ (a2, l2) = (a2, l2) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
by_induc
U : Type A : Set U h1 : ctble A ⊒ βˆ€ (n : β„•), ctble (seq_by_length A n)
case Base_Case U : Type A : Set U h1 : ctble A ⊒ ctble (seq_by_length A 0) case Induction_Step U : Type A : Set U h1 : ctble A ⊒ βˆ€ (n : β„•), ctble (seq_by_length A n) β†’ ctble (seq_by_length A (n + 1))
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A ⊒ βˆ€ (n : β„•), ctble (seq_by_length A n) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
rewrite [sbl_base]
case Base_Case U : Type A : Set U h1 : ctble A ⊒ ctble (seq_by_length A 0)
case Base_Case U : Type A : Set U h1 : ctble A ⊒ ctble {[]}
Please generate a tactic in lean4 to solve the state. STATE: case Base_Case U : Type A : Set U h1 : ctble A ⊒ ctble (seq_by_length A 0) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
define
case Base_Case U : Type A : Set U h1 : ctble A ⊒ ctble {[]}
case Base_Case U : Type A : Set U h1 : ctble A ⊒ finite {[]} ∨ denum {[]}
Please generate a tactic in lean4 to solve the state. STATE: case Base_Case U : Type A : Set U h1 : ctble A ⊒ ctble {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
apply Or.inl
case Base_Case U : Type A : Set U h1 : ctble A ⊒ finite {[]} ∨ denum {[]}
case Base_Case.h U : Type A : Set U h1 : ctble A ⊒ finite {[]}
Please generate a tactic in lean4 to solve the state. STATE: case Base_Case U : Type A : Set U h1 : ctble A ⊒ finite {[]} ∨ denum {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
rewrite [finite_def]
case Base_Case.h U : Type A : Set U h1 : ctble A ⊒ finite {[]}
case Base_Case.h U : Type A : Set U h1 : ctble A ⊒ βˆƒ n, numElts {[]} n
Please generate a tactic in lean4 to solve the state. STATE: case Base_Case.h U : Type A : Set U h1 : ctble A ⊒ finite {[]} TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
apply Exists.intro 1
case Base_Case.h U : Type A : Set U h1 : ctble A ⊒ βˆƒ n, numElts {[]} n
case Base_Case.h U : Type A : Set U h1 : ctble A ⊒ numElts {[]} 1
Please generate a tactic in lean4 to solve the state. STATE: case Base_Case.h U : Type A : Set U h1 : ctble A ⊒ βˆƒ n, numElts {[]} n TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
show numElts {[]} 1 from singleton_one_elt []
case Base_Case.h U : Type A : Set U h1 : ctble A ⊒ numElts {[]} 1
no goals
Please generate a tactic in lean4 to solve the state. STATE: case Base_Case.h U : Type A : Set U h1 : ctble A ⊒ numElts {[]} 1 TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
fix n : Nat
case Induction_Step U : Type A : Set U h1 : ctble A ⊒ βˆ€ (n : β„•), ctble (seq_by_length A n) β†’ ctble (seq_by_length A (n + 1))
case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ⊒ ctble (seq_by_length A n) β†’ ctble (seq_by_length A (n + 1))
Please generate a tactic in lean4 to solve the state. STATE: case Induction_Step U : Type A : Set U h1 : ctble A ⊒ βˆ€ (n : β„•), ctble (seq_by_length A n) β†’ ctble (seq_by_length A (n + 1)) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
assume ih : ctble (seq_by_length A n)
case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ⊒ ctble (seq_by_length A n) β†’ ctble (seq_by_length A (n + 1))
case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ih : ctble (seq_by_length A n) ⊒ ctble (seq_by_length A (n + 1))
Please generate a tactic in lean4 to solve the state. STATE: case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ⊒ ctble (seq_by_length A n) β†’ ctble (seq_by_length A (n + 1)) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
have h2 : A Γ—β‚› (seq_by_length A n) ∼ seq_by_length A (n + 1) := Lemma_8_2_4_1 A n
case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ih : ctble (seq_by_length A n) ⊒ ctble (seq_by_length A (n + 1))
case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ih : ctble (seq_by_length A n) h2 : A Γ—β‚› seq_by_length A n ∼ seq_by_length A (n + 1) ⊒ ctble (seq_by_length A (n + 1))
Please generate a tactic in lean4 to solve the state. STATE: case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ih : ctble (seq_by_length A n) ⊒ ctble (seq_by_length A (n + 1)) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
have h3 : ctble (A Γ—β‚› (seq_by_length A n)) := Theorem_8_2_1_1 h1 ih
case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ih : ctble (seq_by_length A n) h2 : A Γ—β‚› seq_by_length A n ∼ seq_by_length A (n + 1) ⊒ ctble (seq_by_length A (n + 1))
case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ih : ctble (seq_by_length A n) h2 : A Γ—β‚› seq_by_length A n ∼ seq_by_length A (n + 1) h3 : ctble (A Γ—β‚› seq_by_length A n) ⊒ ctble (seq_by_length A (n + 1))
Please generate a tactic in lean4 to solve the state. STATE: case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ih : ctble (seq_by_length A n) h2 : A Γ—β‚› seq_by_length A n ∼ seq_by_length A (n + 1) ⊒ ctble (seq_by_length A (n + 1)) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_2
[1388, 1]
[1407, 7]
show ctble (seq_by_length A (n + 1)) from ctble_of_equinum_ctble h2 h3
case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ih : ctble (seq_by_length A n) h2 : A Γ—β‚› seq_by_length A n ∼ seq_by_length A (n + 1) h3 : ctble (A Γ—β‚› seq_by_length A n) ⊒ ctble (seq_by_length A (n + 1))
no goals
Please generate a tactic in lean4 to solve the state. STATE: case Induction_Step U : Type A : Set U h1 : ctble A n : β„• ih : ctble (seq_by_length A n) h2 : A Γ—β‚› seq_by_length A n ∼ seq_by_length A (n + 1) h3 : ctble (A Γ—β‚› seq_by_length A n) ⊒ ctble (seq_by_length A (n + 1)) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
apply Set.ext
U : Type A : Set U ⊒ ⋃₀ sbl_set A = seq A
case h U : Type A : Set U ⊒ βˆ€ (x : List U), x ∈ ⋃₀ sbl_set A ↔ x ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U ⊒ ⋃₀ sbl_set A = seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
fix l : List U
case h U : Type A : Set U ⊒ βˆ€ (x : List U), x ∈ ⋃₀ sbl_set A ↔ x ∈ seq A
case h U : Type A : Set U l : List U ⊒ l ∈ ⋃₀ sbl_set A ↔ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h U : Type A : Set U ⊒ βˆ€ (x : List U), x ∈ ⋃₀ sbl_set A ↔ x ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
apply Iff.intro
case h U : Type A : Set U l : List U ⊒ l ∈ ⋃₀ sbl_set A ↔ l ∈ seq A
case h.mp U : Type A : Set U l : List U ⊒ l ∈ ⋃₀ sbl_set A β†’ l ∈ seq A case h.mpr U : Type A : Set U l : List U ⊒ l ∈ seq A β†’ l ∈ ⋃₀ sbl_set A
Please generate a tactic in lean4 to solve the state. STATE: case h U : Type A : Set U l : List U ⊒ l ∈ ⋃₀ sbl_set A ↔ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
assume h1 : l ∈ ⋃₀ (sbl_set A)
case h.mp U : Type A : Set U l : List U ⊒ l ∈ ⋃₀ sbl_set A β†’ l ∈ seq A
case h.mp U : Type A : Set U l : List U h1 : l ∈ ⋃₀ sbl_set A ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U ⊒ l ∈ ⋃₀ sbl_set A β†’ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
define at h1
case h.mp U : Type A : Set U l : List U h1 : l ∈ ⋃₀ sbl_set A ⊒ l ∈ seq A
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : l ∈ ⋃₀ sbl_set A ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
obtain (S : Set (List U)) (h2 : S ∈ sbl_set A ∧ l ∈ S) from h1
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t ⊒ l ∈ seq A
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
have h3 : S ∈ sbl_set A := h2.left
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S ⊒ l ∈ seq A
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : S ∈ sbl_set A ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
define at h3
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : S ∈ sbl_set A ⊒ l ∈ seq A
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : S ∈ sbl_set A ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
obtain (n : Nat) (h4 : seq_by_length A n = S) from h3
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S ⊒ l ∈ seq A
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
have h5 : l ∈ S := h2.right
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S ⊒ l ∈ seq A
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S h5 : l ∈ S ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
rewrite [←h4] at h5
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S h5 : l ∈ S ⊒ l ∈ seq A
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S h5 : l ∈ seq_by_length A n ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S h5 : l ∈ S ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
define at h5
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S h5 : l ∈ seq_by_length A n ⊒ l ∈ seq A
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S h5 : l ∈ seq A ∧ List.length l = n ⊒ l ∈ seq A
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S h5 : l ∈ seq_by_length A n ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
show l ∈ seq A from h5.left
case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S h5 : l ∈ seq A ∧ List.length l = n ⊒ l ∈ seq A
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.mp U : Type A : Set U l : List U h1 : βˆƒ t ∈ sbl_set A, l ∈ t S : Set (List U) h2 : S ∈ sbl_set A ∧ l ∈ S h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S h5 : l ∈ seq A ∧ List.length l = n ⊒ l ∈ seq A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
assume h1 : l ∈ seq A
case h.mpr U : Type A : Set U l : List U ⊒ l ∈ seq A β†’ l ∈ ⋃₀ sbl_set A
case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A ⊒ l ∈ ⋃₀ sbl_set A
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr U : Type A : Set U l : List U ⊒ l ∈ seq A β†’ l ∈ ⋃₀ sbl_set A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
define
case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A ⊒ l ∈ ⋃₀ sbl_set A
case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A ⊒ βˆƒ t ∈ sbl_set A, l ∈ t
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A ⊒ l ∈ ⋃₀ sbl_set A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
set n : Nat := l.length
case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A ⊒ βˆƒ t ∈ sbl_set A, l ∈ t
case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ βˆƒ t ∈ sbl_set A, l ∈ t
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A ⊒ βˆƒ t ∈ sbl_set A, l ∈ t TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
apply Exists.intro (seq_by_length A n)
case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ βˆƒ t ∈ sbl_set A, l ∈ t
case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ seq_by_length A n ∈ sbl_set A ∧ l ∈ seq_by_length A n
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ βˆƒ t ∈ sbl_set A, l ∈ t TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
apply And.intro
case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ seq_by_length A n ∈ sbl_set A ∧ l ∈ seq_by_length A n
case h.mpr.left U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ seq_by_length A n ∈ sbl_set A case h.mpr.right U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ l ∈ seq_by_length A n
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ seq_by_length A n ∈ sbl_set A ∧ l ∈ seq_by_length A n TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
define
case h.mpr.left U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ seq_by_length A n ∈ sbl_set A
case h.mpr.left U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ βˆƒ n_1, seq_by_length A n_1 = seq_by_length A n
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr.left U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ seq_by_length A n ∈ sbl_set A TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
apply Exists.intro n
case h.mpr.left U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ βˆƒ n_1, seq_by_length A n_1 = seq_by_length A n
case h.mpr.left U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ seq_by_length A n = seq_by_length A n
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr.left U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ βˆƒ n_1, seq_by_length A n_1 = seq_by_length A n TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
rfl
case h.mpr.left U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ seq_by_length A n = seq_by_length A n
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr.left U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ seq_by_length A n = seq_by_length A n TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
define
case h.mpr.right U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ l ∈ seq_by_length A n
case h.mpr.right U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ l ∈ seq A ∧ List.length l = n
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr.right U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ l ∈ seq_by_length A n TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
apply And.intro h1
case h.mpr.right U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ l ∈ seq A ∧ List.length l = n
case h.mpr.right U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ List.length l = n
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr.right U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ l ∈ seq A ∧ List.length l = n TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_3
[1409, 1]
[1442, 7]
rfl
case h.mpr.right U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ List.length l = n
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.mpr.right U : Type A : Set U l : List U h1 : l ∈ seq A n : β„• := List.length l ⊒ List.length l = n TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_4
[1447, 1]
[1455, 7]
have h1 : βˆ€ S ∈ sbl_set A, βˆƒ (n : Nat), seq_by_length A n = S := by fix S : Set (List U) assume h1 : S ∈ sbl_set A define at h1 show βˆƒ (n : Nat), seq_by_length A n = S from h1 done
U : Type A : Set U ⊒ ctble (sbl_set A)
U : Type A : Set U h1 : βˆ€ S ∈ sbl_set A, βˆƒ n, seq_by_length A n = S ⊒ ctble (sbl_set A)
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U ⊒ ctble (sbl_set A) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_4
[1447, 1]
[1455, 7]
show ctble (sbl_set A) from ctble_of_onto_func_from_N h1
U : Type A : Set U h1 : βˆ€ S ∈ sbl_set A, βˆƒ n, seq_by_length A n = S ⊒ ctble (sbl_set A)
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : βˆ€ S ∈ sbl_set A, βˆƒ n, seq_by_length A n = S ⊒ ctble (sbl_set A) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_4
[1447, 1]
[1455, 7]
fix S : Set (List U)
U : Type A : Set U ⊒ βˆ€ S ∈ sbl_set A, βˆƒ n, seq_by_length A n = S
U : Type A : Set U S : Set (List U) ⊒ S ∈ sbl_set A β†’ βˆƒ n, seq_by_length A n = S
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U ⊒ βˆ€ S ∈ sbl_set A, βˆƒ n, seq_by_length A n = S TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_4
[1447, 1]
[1455, 7]
assume h1 : S ∈ sbl_set A
U : Type A : Set U S : Set (List U) ⊒ S ∈ sbl_set A β†’ βˆƒ n, seq_by_length A n = S
U : Type A : Set U S : Set (List U) h1 : S ∈ sbl_set A ⊒ βˆƒ n, seq_by_length A n = S
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U S : Set (List U) ⊒ S ∈ sbl_set A β†’ βˆƒ n, seq_by_length A n = S TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_4
[1447, 1]
[1455, 7]
define at h1
U : Type A : Set U S : Set (List U) h1 : S ∈ sbl_set A ⊒ βˆƒ n, seq_by_length A n = S
U : Type A : Set U S : Set (List U) h1 : βˆƒ n, seq_by_length A n = S ⊒ βˆƒ n, seq_by_length A n = S
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U S : Set (List U) h1 : S ∈ sbl_set A ⊒ βˆƒ n, seq_by_length A n = S TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Lemma_8_2_4_4
[1447, 1]
[1455, 7]
show βˆƒ (n : Nat), seq_by_length A n = S from h1
U : Type A : Set U S : Set (List U) h1 : βˆƒ n, seq_by_length A n = S ⊒ βˆƒ n, seq_by_length A n = S
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U S : Set (List U) h1 : βˆƒ n, seq_by_length A n = S ⊒ βˆƒ n, seq_by_length A n = S TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
set F : Set (Set (List U)) := sbl_set A
U : Type A : Set U h1 : ctble A ⊒ ctble (seq A)
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A ⊒ ctble (seq A)
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A ⊒ ctble (seq A) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
have h2 : ctble F := Lemma_8_2_4_4 A
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A ⊒ ctble (seq A)
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F ⊒ ctble (seq A)
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A ⊒ ctble (seq A) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
have h3 : βˆ€ S ∈ F, ctble S := by fix S : Set (List U) assume h3 : S ∈ F define at h3 obtain (n : Nat) (h4 : seq_by_length A n = S) from h3 rewrite [←h4] show ctble (seq_by_length A n) from Lemma_8_2_4_2 h1 n done
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F ⊒ ctble (seq A)
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F h3 : βˆ€ S ∈ F, ctble S ⊒ ctble (seq A)
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F ⊒ ctble (seq A) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
rewrite [←Lemma_8_2_4_3 A]
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F h3 : βˆ€ S ∈ F, ctble S ⊒ ctble (seq A)
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F h3 : βˆ€ S ∈ F, ctble S ⊒ ctble (⋃₀ sbl_set A)
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F h3 : βˆ€ S ∈ F, ctble S ⊒ ctble (seq A) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
show ctble (⋃₀ sbl_set A) from Theorem_8_2_2 h2 h3
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F h3 : βˆ€ S ∈ F, ctble S ⊒ ctble (⋃₀ sbl_set A)
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F h3 : βˆ€ S ∈ F, ctble S ⊒ ctble (⋃₀ sbl_set A) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
fix S : Set (List U)
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F ⊒ βˆ€ S ∈ F, ctble S
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) ⊒ S ∈ F β†’ ctble S
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F ⊒ βˆ€ S ∈ F, ctble S TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
assume h3 : S ∈ F
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) ⊒ S ∈ F β†’ ctble S
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : S ∈ F ⊒ ctble S
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) ⊒ S ∈ F β†’ ctble S TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
define at h3
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : S ∈ F ⊒ ctble S
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : βˆƒ n, seq_by_length A n = S ⊒ ctble S
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : S ∈ F ⊒ ctble S TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
obtain (n : Nat) (h4 : seq_by_length A n = S) from h3
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : βˆƒ n, seq_by_length A n = S ⊒ ctble S
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S ⊒ ctble S
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : βˆƒ n, seq_by_length A n = S ⊒ ctble S TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
rewrite [←h4]
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S ⊒ ctble S
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S ⊒ ctble (seq_by_length A n)
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S ⊒ ctble S TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Theorem_8_2_4
[1457, 1]
[1471, 7]
show ctble (seq_by_length A n) from Lemma_8_2_4_2 h1 n
U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S ⊒ ctble (seq_by_length A n)
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U h1 : ctble A F : Set (Set (List U)) := sbl_set A h2 : ctble F S : Set (List U) h3 : βˆƒ n, seq_by_length A n = S n : β„• h4 : seq_by_length A n = S ⊒ ctble (seq_by_length A n) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.set_elt_powerset_univ
[1473, 1]
[1478, 7]
fix x : U
U : Type A : Set U ⊒ A ∈ 𝒫 Univ U
U : Type A : Set U x : U ⊒ x ∈ A β†’ x ∈ Univ U
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U ⊒ A ∈ 𝒫 Univ U TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.set_elt_powerset_univ
[1473, 1]
[1478, 7]
assume h : x ∈ A
U : Type A : Set U x : U ⊒ x ∈ A β†’ x ∈ Univ U
U : Type A : Set U x : U h : x ∈ A ⊒ x ∈ Univ U
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U x : U ⊒ x ∈ A β†’ x ∈ Univ U TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.set_elt_powerset_univ
[1473, 1]
[1478, 7]
show x ∈ Univ U from elt_Univ x
U : Type A : Set U x : U h : x ∈ A ⊒ x ∈ Univ U
no goals
Please generate a tactic in lean4 to solve the state. STATE: U : Type A : Set U x : U h : x ∈ A ⊒ x ∈ Univ U TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
by_contra h1
⊒ Β¬ctble (𝒫 Univ β„•)
h1 : ctble (𝒫 Univ β„•) ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: ⊒ Β¬ctble (𝒫 Univ β„•) TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
rewrite [Theorem_8_1_5_2] at h1
h1 : ctble (𝒫 Univ β„•) ⊒ False
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: h1 : ctble (𝒫 Univ β„•) ⊒ False TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
obtain (R : Rel Nat (Set Nat)) (h2 : fcnl_onto_from_nat R (𝒫 (Univ Nat))) from h1
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) ⊒ False
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : fcnl_onto_from_nat R (𝒫 Univ β„•) ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) ⊒ False TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
define at h2
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : fcnl_onto_from_nat R (𝒫 Univ β„•) ⊒ False
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : fcnl_onto_from_nat R (𝒫 Univ β„•) ⊒ False TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
have h3 : unique_val_on_N R := h2.left
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) ⊒ False
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) ⊒ False TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
have h4 : nat_rel_onto R (𝒫 (Univ Nat)) := h2.right
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R ⊒ False
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : nat_rel_onto R (𝒫 Univ β„•) ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R ⊒ False TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
set D : Set Nat := {n : Nat | βˆƒ (X : Set Nat), R n X ∧ n βˆ‰ X}
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : nat_rel_onto R (𝒫 Univ β„•) ⊒ False
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : nat_rel_onto R (𝒫 Univ β„•) D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : nat_rel_onto R (𝒫 Univ β„•) ⊒ False TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
have h5 : D ∈ 𝒫 (Univ Nat) := set_elt_powerset_univ D
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : nat_rel_onto R (𝒫 Univ β„•) D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} ⊒ False
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : nat_rel_onto R (𝒫 Univ β„•) D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : nat_rel_onto R (𝒫 Univ β„•) D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} ⊒ False TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
define at h4
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : nat_rel_onto R (𝒫 Univ β„•) D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• ⊒ False
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : nat_rel_onto R (𝒫 Univ β„•) D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• ⊒ False TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
obtain (n : Nat) (h6 : R n D) from h4 h5
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• ⊒ False
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• n : β„• h6 : R n D ⊒ False
Please generate a tactic in lean4 to solve the state. STATE: h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• ⊒ False TACTIC:
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
by_cases h7 : n ∈ D
h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• n : β„• h6 : R n D ⊒ False
case pos h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• n : β„• h6 : R n D h7 : n ∈ D ⊒ False case neg h1 : βˆƒ R, fcnl_onto_from_...
Please generate a tactic in lean4 to solve the state. STATE: h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• n : β„• h6 : R n D ⊒ ...
https://github.com/djvelleman/HTPILeanPackage.git
4d23e94fff351c65b5e1345c43451f2aa9908c27
HTPILib/Chap8Part2.lean
HTPI.Cantor's_theorem
[1480, 1]
[1508, 7]
contradict h7
case pos h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• n : β„• h6 : R n D h7 : n ∈ D ⊒ False
case pos h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• n : β„• h6 : R n D h7 : n ∈ D ⊒ n βˆ‰ D
Please generate a tactic in lean4 to solve the state. STATE: case pos h1 : βˆƒ R, fcnl_onto_from_nat R (𝒫 Univ β„•) R : Rel β„• (Set β„•) h2 : unique_val_on_N R ∧ nat_rel_onto R (𝒫 Univ β„•) h3 : unique_val_on_N R h4 : βˆ€ ⦃x : Set ℕ⦄, x ∈ 𝒫 Univ β„• β†’ βˆƒ n, R n x D : Set β„• := {n | βˆƒ X, R n X ∧ n βˆ‰ X} h5 : D ∈ 𝒫 Univ β„• n : β„• h6 :...