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/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C05_Elementary_Number_Theory/solutions/Solutions_S03_Infinitely_Many_Primes.lean | C05S03.primes_mod_4_eq_3_infinite | [196, 1] | [235, 16] | apply dvd_trans _ (dvd_mul_left _ _) | n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ p β£ 4 * β i in erase s 3, i | n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ p β£ β i in erase s 3, i | Please generate a tactic in lean4 to solve the state.
STATE:
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ p β£ 4 * β i in erase s 3, i
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C05_Elementary_Number_Theory/solutions/Solutions_S03_Infinitely_Many_Primes.lean | C05S03.primes_mod_4_eq_3_infinite | [196, 1] | [235, 16] | apply dvd_prod_of_mem | n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ p β£ β i in erase s 3, i | case ha
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ p β erase s 3 | Please generate a tactic in lean4 to solve the state.
STATE:
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ p β£ β i in erase s 3, i
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C05_Elementary_Number_Theory/solutions/Solutions_S03_Infinitely_Many_Primes.lean | C05S03.primes_mod_4_eq_3_infinite | [196, 1] | [235, 16] | simp | case ha
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ p β erase s 3 | case ha
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ Β¬p = 3 β§ p β s | Please generate a tactic in lean4 to solve the state.
STATE:
case ha
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ p β erase s 3
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C05_Elementary_Number_Theory/solutions/Solutions_S03_Infinitely_Many_Primes.lean | C05S03.primes_mod_4_eq_3_infinite | [196, 1] | [235, 16] | constructor <;> assumption | case ha
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ Β¬p = 3 β§ p β s | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case ha
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
β’ Β¬p = 3 β§ p β s
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C05_Elementary_Number_Theory/solutions/Solutions_S03_Infinitely_Many_Primes.lean | C05S03.primes_mod_4_eq_3_infinite | [196, 1] | [235, 16] | convert Nat.dvd_sub' pdvd this | n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
this : p β£ 4 * β i in erase s 3, i
β’ p β£ 3 | case h.e'_4
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
this : p β£ 4 * β i in erase s 3, i
β’ 3 = 4 * β i in erase s 3, i + 3 - 4 * β i in erase s 3, i | Please generate a tactic in lean4 to solve the state.
STATE:
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
this : p β£ 4 * β i in erase s 3, i
β’ p β£ 3
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C05_Elementary_Number_Theory/solutions/Solutions_S03_Infinitely_Many_Primes.lean | C05S03.primes_mod_4_eq_3_infinite | [196, 1] | [235, 16] | simp | case h.e'_4
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
this : p β£ 4 * β i in erase s 3, i
β’ 3 = 4 * β i in erase s 3, i + 3 - 4 * β i in erase s 3, i | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h.e'_4
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
this : p β£ 4 * β i in erase s 3, i
β’ 3 = 4 * β i in erase s 3, i + 3 - 4 * β i in erase s 3, i
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C05_Elementary_Number_Theory/solutions/Solutions_S03_Infinitely_Many_Primes.lean | C05S03.primes_mod_4_eq_3_infinite | [196, 1] | [235, 16] | apply pp.eq_of_dvd_of_prime Nat.prime_three this | n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
thisβ : p β£ 4 * β i in erase s 3, i
this : p β£ 3
β’ p = 3 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
n : β
hn : β p > n, Nat.Prime p β p % 4 β 3
s : Finset β
hs : β (p : β), Nat.Prime p β§ p % 4 = 3 β p β s
hβ : (4 * β i in erase s 3, i + 3) % 4 = 3
p : β
pp : Nat.Prime p
pdvd : p β£ 4 * β i in erase s 3, i + 3
p4eq : p % 4 = 3
ps : p β s
pne3 : p β 3
thisβ : p β£ 4 * β i in erase s 3, i
this : p β£ 3
β’ p = 3
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture9Before.lean | PointedFunction.comp | [84, 1] | [86, 24] | simp | X : PointedType
Y : PointedType
Z : PointedType
g : Y β. Z
f : X β. Y
β’ (βg β βf) X.pt = Z.pt | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
X : PointedType
Y : PointedType
Z : PointedType
g : Y β. Z
f : X β. Y
β’ (βg β βf) X.pt = Z.pt
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture9Before.lean | conjugate_one | [369, 1] | [369, 69] | sorry | G : Type u_1
Hβ : Type u_2
K : Type u_3
instβΒ² : Group G
instβΒΉ : Group Hβ
instβ : Group K
H : Subgroup G
β’ conjugate 1 H = H | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
G : Type u_1
Hβ : Type u_2
K : Type u_3
instβΒ² : Group G
instβΒΉ : Group Hβ
instβ : Group K
H : Subgroup G
β’ conjugate 1 H = H
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture9Before.lean | conjugate_mul | [371, 1] | [372, 66] | sorry | G : Type u_1
Hβ : Type u_2
K : Type u_3
instβΒ² : Group G
instβΒΉ : Group Hβ
instβ : Group K
x y : G
H : Subgroup G
β’ conjugate (x * y) H = conjugate x (conjugate y H) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
G : Type u_1
Hβ : Type u_2
K : Type u_3
instβΒ² : Group G
instβΒΉ : Group Hβ
instβ : Group K
x y : G
H : Subgroup G
β’ conjugate (x * y) H = conjugate x (conjugate y H)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_inj | [98, 1] | [99, 8] | sorry | ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : ΞΉ β Ideal R
β’ Injective β(chineseMap I) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : ΞΉ β Ideal R
β’ Injective β(chineseMap I)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | isCoprime_Inf | [110, 1] | [124, 38] | classical
simp_rw [isCoprime_iff_add] at *
induction s using Finset.induction with
| empty =>
simp
| @insert i s _ hs =>
rw [Finset.iInf_insert, inf_comm, one_eq_top, eq_top_iff, β one_eq_top]
set K := β¨
j β s, J j
calc
1 = I + K := sorry
_ = I + K*(I + J i) := sorry
_ = (1+K)*I + K*J i := sorry
_ β€ I + K β J i := sorry | ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
s : Finset ΞΉ
hf : β j β s, IsCoprime I (J j)
β’ IsCoprime I (β¨
j β s, J j) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
s : Finset ΞΉ
hf : β j β s, IsCoprime I (J j)
β’ IsCoprime I (β¨
j β s, J j)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | isCoprime_Inf | [110, 1] | [124, 38] | simp_rw [isCoprime_iff_add] at * | ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
s : Finset ΞΉ
hf : β j β s, IsCoprime I (J j)
β’ IsCoprime I (β¨
j β s, J j) | ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
s : Finset ΞΉ
hf : β j β s, I + J j = 1
β’ I + β¨
j β s, J j = 1 | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
s : Finset ΞΉ
hf : β j β s, IsCoprime I (J j)
β’ IsCoprime I (β¨
j β s, J j)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | isCoprime_Inf | [110, 1] | [124, 38] | induction s using Finset.induction with
| empty =>
simp
| @insert i s _ hs =>
rw [Finset.iInf_insert, inf_comm, one_eq_top, eq_top_iff, β one_eq_top]
set K := β¨
j β s, J j
calc
1 = I + K := sorry
_ = I + K*(I + J i) := sorry
_ = (1+K)*I + K*J i := sorry
_ β€ I + K β J i := sorry | ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
s : Finset ΞΉ
hf : β j β s, I + J j = 1
β’ I + β¨
j β s, J j = 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
s : Finset ΞΉ
hf : β j β s, I + J j = 1
β’ I + β¨
j β s, J j = 1
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | isCoprime_Inf | [110, 1] | [124, 38] | simp | case empty
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
hf : β j β β
, I + J j = 1
β’ I + β¨
j β β
, J j = 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case empty
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
hf : β j β β
, I + J j = 1
β’ I + β¨
j β β
, J j = 1
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | isCoprime_Inf | [110, 1] | [124, 38] | rw [Finset.iInf_insert, inf_comm, one_eq_top, eq_top_iff, β one_eq_top] | case insert
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
i : ΞΉ
s : Finset ΞΉ
aβ : i β s
hs : (β j β s, I + J j = 1) β I + β¨
j β s, J j = 1
hf : β j β insert i s, I + J j = 1
β’ I + β¨
j β insert i s, J j = 1 | case insert
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
i : ΞΉ
s : Finset ΞΉ
aβ : i β s
hs : (β j β s, I + J j = 1) β I + β¨
j β s, J j = 1
hf : β j β insert i s, I + J j = 1
β’ 1 β€ I + (β¨
x β s, J x) β J i | Please generate a tactic in lean4 to solve the state.
STATE:
case insert
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
i : ΞΉ
s : Finset ΞΉ
aβ : i β s
hs : (β j β s, I + J j = 1) β I + β¨
j β s, J j = 1
hf : β j β insert i s, I + J j = 1
β’ I + β¨
j β insert i s, J j = 1
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | isCoprime_Inf | [110, 1] | [124, 38] | set K := β¨
j β s, J j | case insert
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
i : ΞΉ
s : Finset ΞΉ
aβ : i β s
hs : (β j β s, I + J j = 1) β I + β¨
j β s, J j = 1
hf : β j β insert i s, I + J j = 1
β’ 1 β€ I + (β¨
x β s, J x) β J i | case insert
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
i : ΞΉ
s : Finset ΞΉ
aβ : i β s
hf : β j β insert i s, I + J j = 1
K : Ideal R := β¨
j β s, J j
hs : (β j β s, I + J j = 1) β I + K = 1
β’ 1 β€ I + K β J i | Please generate a tactic in lean4 to solve the state.
STATE:
case insert
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
i : ΞΉ
s : Finset ΞΉ
aβ : i β s
hs : (β j β s, I + J j = 1) β I + β¨
j β s, J j = 1
hf : β j β insert i s, I + J j = 1
β’ 1 β€ I + (β¨
x β s, J x) β J i
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | isCoprime_Inf | [110, 1] | [124, 38] | calc
1 = I + K := sorry
_ = I + K*(I + J i) := sorry
_ = (1+K)*I + K*J i := sorry
_ β€ I + K β J i := sorry | case insert
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
i : ΞΉ
s : Finset ΞΉ
aβ : i β s
hf : β j β insert i s, I + J j = 1
K : Ideal R := β¨
j β s, J j
hs : (β j β s, I + J j = 1) β I + K = 1
β’ 1 β€ I + K β J i | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case insert
ΞΉ : Type u_1
R : Type u_2
instβ : CommRing R
I : Ideal R
J : ΞΉ β Ideal R
i : ΞΉ
s : Finset ΞΉ
aβ : i β s
hf : β j β insert i s, I + J j = 1
K : Ideal R := β¨
j β s, J j
hs : (β j β s, I + J j = 1) β I + K = 1
β’ 1 β€ I + K β J i
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | classical
intro g
choose f hf using fun i β¦ Ideal.Quotient.mk_surjective (g i)
have key : β i, β e : R, mk (I i) e = 1 β§ β j, j β i β mk (I j) e = 0 := by
intro i
have hI' : β j β ({i} : Finset ΞΉ)αΆ, IsCoprime (I i) (I j) := by
sorry
sorry
choose e he using key
use mk _ (β i, f i*e i)
sorry | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
β’ Surjective β(chineseMap I) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
β’ Surjective β(chineseMap I)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | intro g | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
β’ Surjective β(chineseMap I) | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
β’ β a, β(chineseMap I) a = g | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
β’ Surjective β(chineseMap I)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | choose f hf using fun i β¦ Ideal.Quotient.mk_surjective (g i) | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
β’ β a, β(chineseMap I) a = g | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
β’ β a, β(chineseMap I) a = g | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
β’ β a, β(chineseMap I) a = g
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | have key : β i, β e : R, mk (I i) e = 1 β§ β j, j β i β mk (I j) e = 0 := by
intro i
have hI' : β j β ({i} : Finset ΞΉ)αΆ, IsCoprime (I i) (I j) := by
sorry
sorry | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
β’ β a, β(chineseMap I) a = g | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
key : β (i : ΞΉ), β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0
β’ β a, β(chineseMap I) a = g | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
β’ β a, β(chineseMap I) a = g
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | choose e he using key | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
key : β (i : ΞΉ), β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0
β’ β a, β(chineseMap I) a = g | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
e : ΞΉ β R
he : β (i : ΞΉ), β(mk (I i)) (e i) = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) (e i) = 0
β’ β a, β(chineseMap I) a = g | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
key : β (i : ΞΉ), β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0
β’ β a, β(chineseMap I) a = g
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | use mk _ (β i, f i*e i) | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
e : ΞΉ β R
he : β (i : ΞΉ), β(mk (I i)) (e i) = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) (e i) = 0
β’ β a, β(chineseMap I) a = g | case h
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
e : ΞΉ β R
he : β (i : ΞΉ), β(mk (I i)) (e i) = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) (e i) = 0
β’ β(chineseMap I) (β(mk (β¨
i, I i)) (β i : ΞΉ, f i * e i)) = g | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
e : ΞΉ β R
he : β (i : ΞΉ), β(mk (I i)) (e i) = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) (e i) = 0
β’ β a, β(chineseMap I) a = g
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | sorry | case h
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
e : ΞΉ β R
he : β (i : ΞΉ), β(mk (I i)) (e i) = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) (e i) = 0
β’ β(chineseMap I) (β(mk (β¨
i, I i)) (β i : ΞΉ, f i * e i)) = g | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
e : ΞΉ β R
he : β (i : ΞΉ), β(mk (I i)) (e i) = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) (e i) = 0
β’ β(chineseMap I) (β(mk (β¨
i, I i)) (β i : ΞΉ, f i * e i)) = g
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | intro i | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
β’ β (i : ΞΉ), β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0 | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
i : ΞΉ
β’ β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0 | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
β’ β (i : ΞΉ), β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | have hI' : β j β ({i} : Finset ΞΉ)αΆ, IsCoprime (I i) (I j) := by
sorry | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
i : ΞΉ
β’ β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0 | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
i : ΞΉ
hI' : β j β {i}αΆ, IsCoprime (I i) (I j)
β’ β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0 | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
i : ΞΉ
β’ β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | sorry | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
i : ΞΉ
hI' : β j β {i}αΆ, IsCoprime (I i) (I j)
β’ β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
i : ΞΉ
hI' : β j β {i}αΆ, IsCoprime (I i) (I j)
β’ β e, β(mk (I i)) e = 1 β§ β (j : ΞΉ), j β i β β(mk (I j)) e = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C08_Groups_and_Rings/S02_Rings.lean | chineseMap_surj | [125, 1] | [137, 8] | sorry | ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
i : ΞΉ
β’ β j β {i}αΆ, IsCoprime (I i) (I j) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
ΞΉ : Type u_1
R : Type u_2
instβΒΉ : CommRing R
instβ : Fintype ΞΉ
I : ΞΉ β Ideal R
hI : β (i j : ΞΉ), i β j β IsCoprime (I i) (I j)
g : Ξ (i : ΞΉ), R β§Έ I i
f : ΞΉ β R
hf : β (i : ΞΉ), β(mk (I i)) (f i) = g i
i : ΞΉ
β’ β j β {i}αΆ, IsCoprime (I i) (I j)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C03_Logic/solutions/Solutions_S04_Conjunction_and_Iff.lean | C03S04.aux | [30, 1] | [32, 17] | linarith [pow_two_nonneg x, pow_two_nonneg y] | x y : β
h : x ^ 2 + y ^ 2 = 0
β’ x ^ 2 = 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
x y : β
h : x ^ 2 + y ^ 2 = 0
β’ x ^ 2 = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C03_Logic/solutions/Solutions_S04_Conjunction_and_Iff.lean | C03S04.not_monotone_iff | [44, 1] | [47, 6] | rw [Monotone] | f : β β β
β’ Β¬Monotone f β β x y, x β€ y β§ f x > f y | f : β β β
β’ (Β¬β β¦a b : ββ¦, a β€ b β f a β€ f b) β β x y, x β€ y β§ f x > f y | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
β’ Β¬Monotone f β β x y, x β€ y β§ f x > f y
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C03_Logic/solutions/Solutions_S04_Conjunction_and_Iff.lean | C03S04.not_monotone_iff | [44, 1] | [47, 6] | push_neg | f : β β β
β’ (Β¬β β¦a b : ββ¦, a β€ b β f a β€ f b) β β x y, x β€ y β§ f x > f y | f : β β β
β’ (β a b, a β€ b β§ f b < f a) β β x y, x β€ y β§ f x > f y | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
β’ (Β¬β β¦a b : ββ¦, a β€ b β f a β€ f b) β β x y, x β€ y β§ f x > f y
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C03_Logic/solutions/Solutions_S04_Conjunction_and_Iff.lean | C03S04.not_monotone_iff | [44, 1] | [47, 6] | rfl | f : β β β
β’ (β a b, a β€ b β§ f b < f a) β β x y, x β€ y β§ f x > f y | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
β’ (β a b, a β€ b β§ f b < f a) β β x y, x β€ y β§ f x > f y
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C07_Hierarchies/solutions/Solutions_S02_Morphisms.lean | map_inv_of_inv | [75, 1] | [77, 61] | rw [β MonoidHomClassβ.map_mul, h, MonoidHomClassβ.map_one] | M N F : Type
instβΒ² : Monoid M
instβΒΉ : Monoid N
instβ : MonoidHomClassβ F M N
f : F
m m' : M
h : m * m' = 1
β’ βf m * βf m' = 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
M N F : Type
instβΒ² : Monoid M
instβΒΉ : Monoid N
instβ : MonoidHomClassβ F M N
f : F
m m' : M
h : m * m' = 1
β’ βf m * βf m' = 1
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture16.lean | my_equality | [38, 1] | [40, 11] | set c : β := a + b | a b : β
β’ a + b + a β€ 2 * (a + b) | a b : β
c : β := a + b
β’ c + a β€ 2 * c | Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
β’ a + b + a β€ 2 * (a + b)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture16.lean | my_equality | [38, 1] | [40, 11] | linarith | a b : β
c : β := a + b
β’ c + a β€ 2 * c | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
a b : β
c : β := a + b
β’ c + a β€ 2 * c
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture16.lean | my_lemma | [127, 1] | [129, 53] | rw [Nat.add_succ, my_lemma n] | n : β
β’ 0 + Nat.succ n = Nat.succ n + 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
n : β
β’ 0 + Nat.succ n = Nat.succ n + 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C03_Logic/S04_Conjunction_and_Iff.lean | C03S04.aux | [107, 1] | [109, 17] | sorry | x y : β
h : x ^ 2 + y ^ 2 = 0
β’ x ^ 2 = 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
x y : β
h : x ^ 2 + y ^ 2 = 0
β’ x ^ 2 = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C03_Logic/S04_Conjunction_and_Iff.lean | C03S04.not_monotone_iff | [127, 1] | [130, 6] | rw [Monotone] | f : β β β
β’ Β¬Monotone f β β x y, x β€ y β§ f x > f y | f : β β β
β’ (Β¬β β¦a b : ββ¦, a β€ b β f a β€ f b) β β x y, x β€ y β§ f x > f y | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
β’ Β¬Monotone f β β x y, x β€ y β§ f x > f y
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C03_Logic/S04_Conjunction_and_Iff.lean | C03S04.not_monotone_iff | [127, 1] | [130, 6] | push_neg | f : β β β
β’ (Β¬β β¦a b : ββ¦, a β€ b β f a β€ f b) β β x y, x β€ y β§ f x > f y | f : β β β
β’ (β a b, a β€ b β§ f b < f a) β β x y, x β€ y β§ f x > f y | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
β’ (Β¬β β¦a b : ββ¦, a β€ b β f a β€ f b) β β x y, x β€ y β§ f x > f y
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C03_Logic/S04_Conjunction_and_Iff.lean | C03S04.not_monotone_iff | [127, 1] | [130, 6] | rfl | f : β β β
β’ (β a b, a β€ b β§ f b < f a) β β x y, x β€ y β§ f x > f y | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
f : β β β
β’ (β a b, a β€ b β§ f b < f a) β β x y, x β€ y β§ f x > f y
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.add_neg_cancel_right | [8, 1] | [9, 42] | rw [add_assoc, add_right_neg, add_zero] | R : Type u_1
instβ : Ring R
a b : R
β’ a + b + -b = a | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a b : R
β’ a + b + -b = a
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.add_left_cancel | [11, 1] | [12, 57] | rw [β neg_add_cancel_left a b, h, neg_add_cancel_left] | R : Type u_1
instβ : Ring R
a b c : R
h : a + b = a + c
β’ b = c | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a b c : R
h : a + b = a + c
β’ b = c
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.add_right_cancel | [14, 1] | [15, 59] | rw [β add_neg_cancel_right a b, h, add_neg_cancel_right] | R : Type u_1
instβ : Ring R
a b c : R
h : a + b = c + b
β’ a = c | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a b c : R
h : a + b = c + b
β’ a = c
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.zero_mul | [17, 1] | [19, 25] | have h : 0 * a + 0 * a = 0 * a + 0 := by rw [β add_mul, add_zero, add_zero] | R : Type u_1
instβ : Ring R
a : R
β’ 0 * a = 0 | R : Type u_1
instβ : Ring R
a : R
h : 0 * a + 0 * a = 0 * a + 0
β’ 0 * a = 0 | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a : R
β’ 0 * a = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.zero_mul | [17, 1] | [19, 25] | rw [add_left_cancel h] | R : Type u_1
instβ : Ring R
a : R
h : 0 * a + 0 * a = 0 * a + 0
β’ 0 * a = 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a : R
h : 0 * a + 0 * a = 0 * a + 0
β’ 0 * a = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.zero_mul | [17, 1] | [19, 25] | rw [β add_mul, add_zero, add_zero] | R : Type u_1
instβ : Ring R
a : R
β’ 0 * a + 0 * a = 0 * a + 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a : R
β’ 0 * a + 0 * a = 0 * a + 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.neg_eq_of_add_eq_zero | [21, 1] | [22, 46] | rw [β neg_add_cancel_left a b, h, add_zero] | R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ -a = b | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ -a = b
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.eq_neg_of_add_eq_zero | [24, 1] | [27, 19] | symm | R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ a = -b | R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ -b = a | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ a = -b
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.eq_neg_of_add_eq_zero | [24, 1] | [27, 19] | apply neg_eq_of_add_eq_zero | R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ -b = a | case h
R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ b + a = 0 | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ -b = a
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.eq_neg_of_add_eq_zero | [24, 1] | [27, 19] | rw [add_comm, h] | case h
R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ b + a = 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h
R : Type u_1
instβ : Ring R
a b : R
h : a + b = 0
β’ b + a = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.neg_zero | [29, 1] | [31, 16] | apply neg_eq_of_add_eq_zero | R : Type u_1
instβ : Ring R
β’ -0 = 0 | case h
R : Type u_1
instβ : Ring R
β’ 0 + 0 = 0 | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
β’ -0 = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.neg_zero | [29, 1] | [31, 16] | rw [add_zero] | case h
R : Type u_1
instβ : Ring R
β’ 0 + 0 = 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h
R : Type u_1
instβ : Ring R
β’ 0 + 0 = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.neg_neg | [33, 1] | [35, 20] | apply neg_eq_of_add_eq_zero | R : Type u_1
instβ : Ring R
a : R
β’ - -a = a | case h
R : Type u_1
instβ : Ring R
a : R
β’ -a + a = 0 | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a : R
β’ - -a = a
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.neg_neg | [33, 1] | [35, 20] | rw [add_left_neg] | case h
R : Type u_1
instβ : Ring R
a : R
β’ -a + a = 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h
R : Type u_1
instβ : Ring R
a : R
β’ -a + a = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.self_sub | [42, 1] | [43, 37] | rw [sub_eq_add_neg, add_right_neg] | R : Type u_1
instβ : Ring R
a : R
β’ a - a = 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a : R
β’ a - a = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.one_add_one_eq_two | [45, 1] | [46, 11] | norm_num | R : Type u_1
instβ : Ring R
β’ 1 + 1 = 2 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
β’ 1 + 1 = 2
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyRing.two_mul | [48, 1] | [49, 46] | rw [β one_add_one_eq_two, add_mul, one_mul] | R : Type u_1
instβ : Ring R
a : R
β’ 2 * a = a + a | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
instβ : Ring R
a : R
β’ 2 * a = a + a
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyGroup.mul_right_inv | [58, 1] | [61, 47] | have h : (a * aβ»ΒΉ)β»ΒΉ * (a * aβ»ΒΉ * (a * aβ»ΒΉ)) = 1 := by
rw [mul_assoc, β mul_assoc aβ»ΒΉ a, mul_left_inv, one_mul, mul_left_inv] | G : Type u_1
instβ : Group G
a : G
β’ a * aβ»ΒΉ = 1 | G : Type u_1
instβ : Group G
a : G
h : (a * aβ»ΒΉ)β»ΒΉ * (a * aβ»ΒΉ * (a * aβ»ΒΉ)) = 1
β’ a * aβ»ΒΉ = 1 | Please generate a tactic in lean4 to solve the state.
STATE:
G : Type u_1
instβ : Group G
a : G
β’ a * aβ»ΒΉ = 1
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyGroup.mul_right_inv | [58, 1] | [61, 47] | rw [β h, β mul_assoc, mul_left_inv, one_mul] | G : Type u_1
instβ : Group G
a : G
h : (a * aβ»ΒΉ)β»ΒΉ * (a * aβ»ΒΉ * (a * aβ»ΒΉ)) = 1
β’ a * aβ»ΒΉ = 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
G : Type u_1
instβ : Group G
a : G
h : (a * aβ»ΒΉ)β»ΒΉ * (a * aβ»ΒΉ * (a * aβ»ΒΉ)) = 1
β’ a * aβ»ΒΉ = 1
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyGroup.mul_right_inv | [58, 1] | [61, 47] | rw [mul_assoc, β mul_assoc aβ»ΒΉ a, mul_left_inv, one_mul, mul_left_inv] | G : Type u_1
instβ : Group G
a : G
β’ (a * aβ»ΒΉ)β»ΒΉ * (a * aβ»ΒΉ * (a * aβ»ΒΉ)) = 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
G : Type u_1
instβ : Group G
a : G
β’ (a * aβ»ΒΉ)β»ΒΉ * (a * aβ»ΒΉ * (a * aβ»ΒΉ)) = 1
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyGroup.mul_one | [63, 1] | [64, 61] | rw [β mul_left_inv a, β mul_assoc, mul_right_inv, one_mul] | G : Type u_1
instβ : Group G
a : G
β’ a * 1 = a | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
G : Type u_1
instβ : Group G
a : G
β’ a * 1 = a
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C02_Basics/solutions/Solutions_S02_Proving_Identities_in_Algebraic_Structures.lean | MyGroup.mul_inv_rev | [66, 1] | [68, 52] | rw [β one_mul (bβ»ΒΉ * aβ»ΒΉ), β mul_left_inv (a * b), mul_assoc, mul_assoc, β mul_assoc b bβ»ΒΉ,
mul_right_inv, one_mul, mul_right_inv, mul_one] | G : Type u_1
instβ : Group G
a b : G
β’ (a * b)β»ΒΉ = bβ»ΒΉ * aβ»ΒΉ | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
G : Type u_1
instβ : Group G
a b : G
β’ (a * b)β»ΒΉ = bβ»ΒΉ * aβ»ΒΉ
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C07_Hierarchies/solutions/Solutions_S01_Basics.lean | left_inv_eq_right_invβ | [103, 1] | [104, 90] | rw [β DiaOneClassβ.one_dia c, β hba, Semigroupβ.dia_assoc, hac, DiaOneClassβ.dia_one b] | M : Type
instβ : Monoidβ M
a b c : M
hba : b β a = π
hac : a β c = π
β’ b = c | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
M : Type
instβ : Monoidβ M
a b c : M
hba : b β a = π
hac : a β c = π
β’ b = c
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C07_Hierarchies/solutions/Solutions_S01_Basics.lean | dia_inv | [119, 1] | [120, 51] | rw [β inv_dia aβ»ΒΉ, inv_eq_of_dia (inv_dia a)] | G : Type
instβ : Groupβ G
a : G
β’ a β aβ»ΒΉ = π | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
G : Type
instβ : Groupβ G
a : G
β’ a β aβ»ΒΉ = π
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C07_Hierarchies/solutions/Solutions_S01_Basics.lean | left_inv_eq_right_inv' | [146, 1] | [148, 54] | rw [β one_mul c, β hba, mul_assocβ, hac, mul_one b] | M : Type
instβ : Monoidβ M
a b c : M
hba : b * a = 1
hac : a * c = 1
β’ b = c | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
M : Type
instβ : Monoidβ M
a b c : M
hba : b * a = 1
hac : a * c = 1
β’ b = c
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/MIL/C07_Hierarchies/solutions/Solutions_S01_Basics.lean | Groupβ.mul_inv | [181, 1] | [183, 48] | rw [β inv_mul aβ»ΒΉ, inv_eq_of_mul (inv_mul a)] | G : Type
instβ : Groupβ G
a : G
β’ a * aβ»ΒΉ = 1 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
G : Type
instβ : Groupβ G
a : G
β’ a * aβ»ΒΉ = 1
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture10.lean | units_ne_neg_self | [347, 1] | [347, 78] | sorry | R : Type u_1
M : Type u_2
instβΒΉ : Ring R
instβ : CharZero R
u : RΛ£
β’ u β -u | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
M : Type u_2
instβΒΉ : Ring R
instβ : CharZero R
u : RΛ£
β’ u β -u
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture10.lean | iterate_frobeniusMorphism | [383, 1] | [383, 96] | sorry | R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒΉ : Field K
instβ : CharP K p
x : K
n : β
β’ (β(frobeniusMorphism p K))^[n] x = x ^ p ^ n | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒΉ : Field K
instβ : CharP K p
x : K
n : β
β’ (β(frobeniusMorphism p K))^[n] x = x ^ p ^ n
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture10.lean | frobeniusMorphism_injective | [385, 1] | [387, 8] | have : β x : K, x ^ p = 0 β x = 0 := by exact? | R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒΉ : Field K
instβ : CharP K p
x : K
β’ Injective β(frobeniusMorphism p K) | R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒΉ : Field K
instβ : CharP K p
x : K
this : β (x : K), x ^ p = 0 β x = 0
β’ Injective β(frobeniusMorphism p K) | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒΉ : Field K
instβ : CharP K p
x : K
β’ Injective β(frobeniusMorphism p K)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture10.lean | frobeniusMorphism_injective | [385, 1] | [387, 8] | sorry | R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒΉ : Field K
instβ : CharP K p
x : K
this : β (x : K), x ^ p = 0 β x = 0
β’ Injective β(frobeniusMorphism p K) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒΉ : Field K
instβ : CharP K p
x : K
this : β (x : K), x ^ p = 0 β x = 0
β’ Injective β(frobeniusMorphism p K)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture10.lean | frobeniusMorphism_injective | [385, 1] | [387, 8] | exact? | R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒΉ : Field K
instβ : CharP K p
x : K
β’ β (x : K), x ^ p = 0 β x = 0 | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒΉ : Field K
instβ : CharP K p
x : K
β’ β (x : K), x ^ p = 0 β x = 0
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Lectures/Lecture10.lean | frobeniusMorphism_bijective | [389, 1] | [390, 59] | sorry | R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒ² : Field K
instβΒΉ : CharP K p
x : K
instβ : Finite K
β’ Bijective β(frobeniusMorphism p K) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
R : Type u_1
M : Type u_2
p : β
hp : Fact (Nat.Prime p)
K : Type u_3
instβΒ² : Field K
instβΒΉ : CharP K p
x : K
instβ : Finite K
β’ Bijective β(frobeniusMorphism p K)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_1 | [25, 1] | [32, 13] | by_contra h | p : Prop
β’ p β¨ Β¬p | p : Prop
h : Β¬(p β¨ Β¬p)
β’ False | Please generate a tactic in lean4 to solve the state.
STATE:
p : Prop
β’ p β¨ Β¬p
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_1 | [25, 1] | [32, 13] | apply h | p : Prop
h : Β¬(p β¨ Β¬p)
β’ False | p : Prop
h : Β¬(p β¨ Β¬p)
β’ p β¨ Β¬p | Please generate a tactic in lean4 to solve the state.
STATE:
p : Prop
h : Β¬(p β¨ Β¬p)
β’ False
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_1 | [25, 1] | [32, 13] | right | p : Prop
h : Β¬(p β¨ Β¬p)
β’ p β¨ Β¬p | case h
p : Prop
h : Β¬(p β¨ Β¬p)
β’ Β¬p | Please generate a tactic in lean4 to solve the state.
STATE:
p : Prop
h : Β¬(p β¨ Β¬p)
β’ p β¨ Β¬p
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_1 | [25, 1] | [32, 13] | intro h2 | case h
p : Prop
h : Β¬(p β¨ Β¬p)
β’ Β¬p | case h
p : Prop
h : Β¬(p β¨ Β¬p)
h2 : p
β’ False | Please generate a tactic in lean4 to solve the state.
STATE:
case h
p : Prop
h : Β¬(p β¨ Β¬p)
β’ Β¬p
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_1 | [25, 1] | [32, 13] | apply h | case h
p : Prop
h : Β¬(p β¨ Β¬p)
h2 : p
β’ False | case h
p : Prop
h : Β¬(p β¨ Β¬p)
h2 : p
β’ p β¨ Β¬p | Please generate a tactic in lean4 to solve the state.
STATE:
case h
p : Prop
h : Β¬(p β¨ Β¬p)
h2 : p
β’ False
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_1 | [25, 1] | [32, 13] | left | case h
p : Prop
h : Β¬(p β¨ Β¬p)
h2 : p
β’ p β¨ Β¬p | case h.h
p : Prop
h : Β¬(p β¨ Β¬p)
h2 : p
β’ p | Please generate a tactic in lean4 to solve the state.
STATE:
case h
p : Prop
h : Β¬(p β¨ Β¬p)
h2 : p
β’ p β¨ Β¬p
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_1 | [25, 1] | [32, 13] | assumption | case h.h
p : Prop
h : Β¬(p β¨ Β¬p)
h2 : p
β’ p | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h.h
p : Prop
h : Β¬(p β¨ Β¬p)
h2 : p
β’ p
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_2 | [44, 1] | [49, 31] | have h1 : β€ Γ β β β := by exact Denumerable.eqv (β€ Γ β) | β’ (β€ Γ β β β€ Γ β€) β (β β β) | h1 : β€ Γ β β β
β’ (β€ Γ β β β€ Γ β€) β (β β β) | Please generate a tactic in lean4 to solve the state.
STATE:
β’ (β€ Γ β β β€ Γ β€) β (β β β)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_2 | [44, 1] | [49, 31] | have h2 : β€ Γ β€ β β := by exact Denumerable.eqv (β€ Γ β€) | h1 : β€ Γ β β β
β’ (β€ Γ β β β€ Γ β€) β (β β β) | h1 : β€ Γ β β β
h2 : β€ Γ β€ β β
β’ (β€ Γ β β β€ Γ β€) β (β β β) | Please generate a tactic in lean4 to solve the state.
STATE:
h1 : β€ Γ β β β
β’ (β€ Γ β β β€ Γ β€) β (β β β)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_2 | [44, 1] | [49, 31] | exact Equiv.arrowCongr h1 h2 | h1 : β€ Γ β β β
h2 : β€ Γ β€ β β
β’ (β€ Γ β β β€ Γ β€) β (β β β) | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
h1 : β€ Γ β β β
h2 : β€ Γ β€ β β
β’ (β€ Γ β β β€ Γ β€) β (β β β)
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_2 | [44, 1] | [49, 31] | exact Denumerable.eqv (β€ Γ β) | β’ β€ Γ β β β | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
β’ β€ Γ β β β
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_2 | [44, 1] | [49, 31] | exact Denumerable.eqv (β€ Γ β€) | h1 : β€ Γ β β β
β’ β€ Γ β€ β β | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
h1 : β€ Γ β β β
β’ β€ Γ β€ β β
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_3 | [62, 1] | [72, 13] | intro Ξ΅ hΞ΅ | s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
β’ SequentialLimit (s β r) a | s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
β’ β N, β n β₯ N, |(s β r) n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
β’ SequentialLimit (s β r) a
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_3 | [62, 1] | [72, 13] | obtain β¨N, hNβ© := hs Ξ΅ hΞ΅ | s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
β’ β N, β n β₯ N, |(s β r) n - a| < Ξ΅ | case intro
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
β’ β N, β n β₯ N, |(s β r) n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
β’ β N, β n β₯ N, |(s β r) n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_3 | [62, 1] | [72, 13] | obtain β¨K, hKβ© := hr N | case intro
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
β’ β N, β n β₯ N, |(s β r) n - a| < Ξ΅ | case intro.intro
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
β’ β N, β n β₯ N, |(s β r) n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
β’ β N, β n β₯ N, |(s β r) n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_3 | [62, 1] | [72, 13] | use K | case intro.intro
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
β’ β N, β n β₯ N, |(s β r) n - a| < Ξ΅ | case h
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
β’ β n β₯ K, |(s β r) n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
case intro.intro
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
β’ β N, β n β₯ N, |(s β r) n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_3 | [62, 1] | [72, 13] | intro n hn | case h
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
β’ β n β₯ K, |(s β r) n - a| < Ξ΅ | case h
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
n : β
hn : n β₯ K
β’ |(s β r) n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
case h
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
β’ β n β₯ K, |(s β r) n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_3 | [62, 1] | [72, 13] | apply hN | case h
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
n : β
hn : n β₯ K
β’ |(s β r) n - a| < Ξ΅ | case h.a
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
n : β
hn : n β₯ K
β’ r n β₯ N | Please generate a tactic in lean4 to solve the state.
STATE:
case h
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
n : β
hn : n β₯ K
β’ |(s β r) n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_3 | [62, 1] | [72, 13] | apply hK | case h.a
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
n : β
hn : n β₯ K
β’ r n β₯ N | case h.a.a
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
n : β
hn : n β₯ K
β’ n β₯ K | Please generate a tactic in lean4 to solve the state.
STATE:
case h.a
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
n : β
hn : n β₯ K
β’ r n β₯ N
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_3 | [62, 1] | [72, 13] | assumption | case h.a.a
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
n : β
hn : n β₯ K
β’ n β₯ K | no goals | Please generate a tactic in lean4 to solve the state.
STATE:
case h.a.a
s : β β β
r : β β β
a : β
hs : SequentialLimit s a
hr : β (m : β), β N, β n β₯ N, r n β₯ m
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |s n - a| < Ξ΅
K : β
hK : β n β₯ K, r n β₯ N
n : β
hn : n β₯ K
β’ n β₯ K
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_4 | [79, 1] | [98, 13] | intro Ξ΅ hΞ΅ | sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
β’ SequentialLimit sβ a | sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
β’ SequentialLimit sβ a
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_4 | [79, 1] | [98, 13] | obtain β¨N, hNβ© := hsβ Ξ΅ hΞ΅ | sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅ | case intro
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_4 | [79, 1] | [98, 13] | obtain β¨N', hN'β© := hsβ Ξ΅ hΞ΅ | case intro
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅ | case intro.intro
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
case intro
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_4 | [79, 1] | [98, 13] | let N'' := max N N' | case intro.intro
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅ | case intro.intro
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
case intro.intro
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_4 | [79, 1] | [98, 13] | use N'' | case intro.intro
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅ | case h
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
β’ β n β₯ N'', |sβ n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
case intro.intro
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
β’ β N, β n β₯ N, |sβ n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_4 | [79, 1] | [98, 13] | intro n hn | case h
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
β’ β n β₯ N'', |sβ n - a| < Ξ΅ | case h
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
n : β
hn : n β₯ N''
β’ |sβ n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
case h
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
β’ β n β₯ N'', |sβ n - a| < Ξ΅
TACTIC:
|
https://github.com/fpvandoorn/LeanCourse23.git | 7b0a3cf61b802764dc7baee9d9825e9c62cf9c5d | LeanCourse/Assignments/Solutions/Solutions3.lean | exercise3_4 | [79, 1] | [98, 13] | specialize hN n (le_of_max_le_left hn) | case h
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
n : β
hn : n β₯ N''
β’ |sβ n - a| < Ξ΅ | case h
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
n : β
hn : n β₯ N''
hN : |sβ n - a| < Ξ΅
β’ |sβ n - a| < Ξ΅ | Please generate a tactic in lean4 to solve the state.
STATE:
case h
sβ sβ sβ : β β β
a : β
hsβ : SequentialLimit sβ a
hsβ : SequentialLimit sβ a
hsβsβ : β (n : β), sβ n β€ sβ n
hsβsβ : β (n : β), sβ n β€ sβ n
Ξ΅ : β
hΞ΅ : Ξ΅ > 0
N : β
hN : β n β₯ N, |sβ n - a| < Ξ΅
N' : β
hN' : β n β₯ N', |sβ n - a| < Ξ΅
N'' : β := max N N'
n : β
hn : n β₯ N''
β’ |sβ n - a| < Ξ΅
TACTIC:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.