url stringclasses 147
values | commit stringclasses 147
values | file_path stringlengths 7 101 | full_name stringlengths 1 94 | start stringlengths 6 10 | end stringlengths 6 11 | tactic stringlengths 1 11.2k | state_before stringlengths 3 2.09M | state_after stringlengths 6 2.09M |
|---|---|---|---|---|---|---|---|---|
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMax.hasDerivAt_eq_zero | [45, 1] | [80, 15] | have ha : βαΆ x in π[<] a, x < a := eventually_nhdsWithin_of_forall fun x hx β¦ hx | f : β β β
f' x a b : β
h : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
β’ βαΆ (x : β) in π[<] a, (f x - f a) / (x - a) β₯ 0 | f : β β β
f' x a b : β
h : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
ha : βαΆ (x : β) in π[<] a, x < a
β’ βαΆ (x : β) in π[<] a, (f x - f a) / (x - a) β₯ 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMax.hasDerivAt_eq_zero | [45, 1] | [80, 15] | have h : βαΆ x in π[<] a, f x β€ f a := h.filter_mono nhdsWithin_le_nhds | f : β β β
f' x a b : β
h : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
ha : βαΆ (x : β) in π[<] a, x < a
β’ βαΆ (x : β) in π[<] a, (f x - f a) / (x - a) β₯ 0 | f : β β β
f' x a b : β
hβ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
ha : βαΆ (x : β) in π[<] a, x < a
h : βαΆ (x : β) in π[<] a, f x β€ f a
β’ βαΆ (x : β) in π[<] a, (f x - f a) / (x - a) β₯ 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMax.hasDerivAt_eq_zero | [45, 1] | [80, 15] | filter_upwards [ha, h] | f : β β β
f' x a b : β
hβ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
ha : βαΆ (x : β) in π[<] a, x < a
h : βαΆ (x : β) in π[<] a, f x β€ f a
β’ βαΆ (x : β) in π[<] a, (f x - f a) / (x - a) β₯ 0 | case h
f : β β β
f' x a b : β
hβ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
ha : βαΆ (x : β) in π[<] a, x < a
h : βαΆ (x : β) in π[<] a, f x β€ f a
β’ β a_1 < a, f a_1 β€ f a β (f a_1 - f a) / (a_1 - a) β₯ 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMax.hasDerivAt_eq_zero | [45, 1] | [80, 15] | intro x ha h | case h
f : β β β
f' x a b : β
hβ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
ha : βαΆ (x : β) in π[<] a, x < a
h : βαΆ (x : β) in π[<] a, f x β€ f a
β’ β a_1 < a, f a_1 β€ f a β (f a_1 - f a) / (a_1 - a) β₯ 0 | case h
f : β β β
f' xβ a b : β
hβΒΉ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
haβ : βαΆ (x : β) in π[<] a, x < a
hβ : βαΆ (x : β) in π[<] a, f x β€ f a
x : β
ha : x < a
h : f x β€ f a
β’ (f x - f a) / (x - a) β₯ 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMax.hasDerivAt_eq_zero | [45, 1] | [80, 15] | apply div_nonneg_of_nonpos | case h
f : β β β
f' xβ a b : β
hβΒΉ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
haβ : βαΆ (x : β) in π[<] a, x < a
hβ : βαΆ (x : β) in π[<] a, f x β€ f a
x : β
ha : x < a
h : f x β€ f a
β’ (f x - f a) / (x - a) β₯ 0 | case h.ha
f : β β β
f' xβ a b : β
hβΒΉ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
haβ : βαΆ (x : β) in π[<] a, x < a
hβ : βαΆ (x : β) in π[<] a, f x β€ f a
x : β
ha : x < a
h : f x β€ f a
β’ f x - f a β€ 0
case h.hb
f : β β β
f' xβ a b : β
hβΒΉ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
haβ : βαΆ (x : β) in π[<] a, x < a
hβ : βαΆ (x : β) in π[<] a, f x β€ f a
x : β
ha : x < a
h : f x β€ f a
β’ x - a β€ 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMax.hasDerivAt_eq_zero | [45, 1] | [80, 15] | rw [hasDerivAt_iff_tendsto_slope] at hf | f : β β β
f' x a b : β
h : IsLocalMax f a
hf : HasDerivAt f f' a
β’ Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f') | f : β β β
f' x a b : β
h : IsLocalMax f a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[β ] a) (π f')
β’ Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f') |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMax.hasDerivAt_eq_zero | [45, 1] | [80, 15] | apply hf.mono_left (nhds_left'_le_nhds_ne a) | f : β β β
f' x a b : β
h : IsLocalMax f a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[β ] a) (π f')
β’ Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f') | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMax.hasDerivAt_eq_zero | [45, 1] | [80, 15] | linarith | case h.ha
f : β β β
f' xβ a b : β
hβΒΉ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
haβ : βαΆ (x : β) in π[<] a, x < a
hβ : βαΆ (x : β) in π[<] a, f x β€ f a
x : β
ha : x < a
h : f x β€ f a
β’ f x - f a β€ 0 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMax.hasDerivAt_eq_zero | [45, 1] | [80, 15] | linarith | case h.hb
f : β β β
f' xβ a b : β
hβΒΉ : IsLocalMax f a
hfβ : HasDerivAt f f' a
hf : Tendsto (fun x => (f x - f a) / (x - a)) (π[<] a) (π f')
haβ : βαΆ (x : β) in π[<] a, x < a
hβ : βαΆ (x : β) in π[<] a, f x β€ f a
x : β
ha : x < a
h : f x β€ f a
β’ x - a β€ 0 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMin.hasDerivAt_eq_zero | [84, 1] | [90, 15] | suffices -f' = 0 from neg_eq_zero.mp this | f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ f' = 0 | f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ -f' = 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMin.hasDerivAt_eq_zero | [84, 1] | [90, 15] | apply IsLocalMax.hasDerivAt_eq_zero | f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ -f' = 0 | case h
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ IsLocalMax ?f ?a
case hf
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ HasDerivAt ?f (-f') ?a
case f
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ β β β
case a
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ β |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMin.hasDerivAt_eq_zero | [84, 1] | [90, 15] | apply IsLocalMin.neg h | case h
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ IsLocalMax ?f ?a
case hf
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ HasDerivAt ?f (-f') ?a
case f
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ β β β
case a
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ β | case hf
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ HasDerivAt (fun x => -f x) (-f') a |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalMin.hasDerivAt_eq_zero | [84, 1] | [90, 15] | apply hf.neg | case hf
f : β β β
f' x a b : β
h : IsLocalMin f a
hf : HasDerivAt f f' a
β’ HasDerivAt (fun x => -f x) (-f') a | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalExtr.hasDerivAt_eq_zero | [97, 1] | [103, 45] | apply IsLocalExtr.elim h | f : β β β
f' x a b : β
h : IsLocalExtr f a
hf : HasDerivAt f f' a
β’ f' = 0 | case a
f : β β β
f' x a b : β
h : IsLocalExtr f a
hf : HasDerivAt f f' a
β’ IsLocalMin f a β f' = 0
case a
f : β β β
f' x a b : β
h : IsLocalExtr f a
hf : HasDerivAt f f' a
β’ IsLocalMax f a β f' = 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalExtr.hasDerivAt_eq_zero | [97, 1] | [103, 45] | intro h | case a
f : β β β
f' x a b : β
h : IsLocalExtr f a
hf : HasDerivAt f f' a
β’ IsLocalMin f a β f' = 0 | case a
f : β β β
f' x a b : β
hβ : IsLocalExtr f a
hf : HasDerivAt f f' a
h : IsLocalMin f a
β’ f' = 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalExtr.hasDerivAt_eq_zero | [97, 1] | [103, 45] | apply IsLocalMin.hasDerivAt_eq_zero h hf | case a
f : β β β
f' x a b : β
hβ : IsLocalExtr f a
hf : HasDerivAt f f' a
h : IsLocalMin f a
β’ f' = 0 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalExtr.hasDerivAt_eq_zero | [97, 1] | [103, 45] | intro h | case a
f : β β β
f' x a b : β
h : IsLocalExtr f a
hf : HasDerivAt f f' a
β’ IsLocalMax f a β f' = 0 | case a
f : β β β
f' x a b : β
hβ : IsLocalExtr f a
hf : HasDerivAt f f' a
h : IsLocalMax f a
β’ f' = 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.IsLocalExtr.hasDerivAt_eq_zero | [97, 1] | [103, 45] | apply IsLocalMax.hasDerivAt_eq_zero h hf | case a
f : β β β
f' x a b : β
hβ : IsLocalExtr f a
hf : HasDerivAt f f' a
h : IsLocalMax f a
β’ f' = 0 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | suffices β c β Ioo a b, IsExtrOn f (Icc a b) c by
rcases this with β¨c, cmem, hcβ©
exists c, cmem
apply hc.isLocalExtr <| Icc_mem_nhds cmem.1 cmem.2 | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
β’ β c β Ioo a b, IsLocalExtr f c | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | have ne : (Icc a b).Nonempty := nonempty_Icc.2 (le_of_lt hab) | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | have β¨C, Cmem, Cgeβ© : β C β Icc a b, IsMaxOn f (Icc a b) C := by
apply isCompact_Icc.exists_isMaxOn ne hfc | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
Cge : IsMaxOn f (Icc a b) C
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | have β¨c, cmem, cleβ© : β c β Icc a b, IsMinOn f (Icc a b) c := by
apply isCompact_Icc.exists_isMinOn ne hfc | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
Cge : IsMaxOn f (Icc a b) C
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
Cge : IsMaxOn f (Icc a b) C
c : β
cmem : c β Icc a b
cle : IsMinOn f (Icc a b) c
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | change β x β Icc a b, f x β€ f C at Cge | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
Cge : IsMaxOn f (Icc a b) C
c : β
cmem : c β Icc a b
cle : IsMinOn f (Icc a b) c
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
cle : IsMinOn f (Icc a b) c
Cge : β x β Icc a b, f x β€ f C
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | change β x β Icc a b, f c β€ f x at cle | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
cle : IsMinOn f (Icc a b) c
Cge : β x β Icc a b, f x β€ f C
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | by_cases hc : f c = f a | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | case pos
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c
case neg
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : Β¬f c = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | rcases this with β¨c, cmem, hcβ© | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
this : β c β Ioo a b, IsExtrOn f (Icc a b) c
β’ β c β Ioo a b, IsLocalExtr f c | case intro.intro
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
c : β
cmem : c β Ioo a b
hc : IsExtrOn f (Icc a b) c
β’ β c β Ioo a b, IsLocalExtr f c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | exists c, cmem | case intro.intro
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
c : β
cmem : c β Ioo a b
hc : IsExtrOn f (Icc a b) c
β’ β c β Ioo a b, IsLocalExtr f c | case intro.intro
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
c : β
cmem : c β Ioo a b
hc : IsExtrOn f (Icc a b) c
β’ IsLocalExtr f c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | apply hc.isLocalExtr <| Icc_mem_nhds cmem.1 cmem.2 | case intro.intro
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
c : β
cmem : c β Ioo a b
hc : IsExtrOn f (Icc a b) c
β’ IsLocalExtr f c | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | apply isCompact_Icc.exists_isMaxOn ne hfc | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
β’ β C β Icc a b, IsMaxOn f (Icc a b) C | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | apply isCompact_Icc.exists_isMinOn ne hfc | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
Cge : IsMaxOn f (Icc a b) C
β’ β c β Icc a b, IsMinOn f (Icc a b) c | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | by_cases hC : f C = f a | case pos
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | case pos
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : f C = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c
case neg
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : Β¬f C = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | have : β x β Icc a b, f x = f a := fun x hx β¦ le_antisymm (hC βΈ Cge x hx) (hc βΈ cle x hx) | case pos
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : f C = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | case pos
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : f C = f a
this : β x β Icc a b, f x = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | rcases nonempty_Ioo.2 hab with β¨c', hc'β© | case pos
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : f C = f a
this : β x β Icc a b, f x = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | case pos.intro
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : f C = f a
this : β x β Icc a b, f x = f a
c' : β
hc' : c' β Ioo a b
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | refine β¨c', hc', Or.inl fun x hx β¦ ?_β© | case pos.intro
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : f C = f a
this : β x β Icc a b, f x = f a
c' : β
hc' : c' β Ioo a b
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | case pos.intro
f : β β β
f' xβ a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : f C = f a
this : β x β Icc a b, f x = f a
c' : β
hc' : c' β Ioo a b
x : β
hx : x β Icc a b
β’ x β {x | (fun x => f c' β€ f x) x} |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | simp [this x hx, this c' (Ioo_subset_Icc_self hc')] | case pos.intro
f : β β β
f' xβ a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : f C = f a
this : β x β Icc a b, f x = f a
c' : β
hc' : c' β Ioo a b
x : β
hx : x β Icc a b
β’ x β {x | (fun x => f c' β€ f x) x} | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | refine β¨C, β¨lt_of_le_of_ne Cmem.1 <| mt ?_ hC, lt_of_le_of_ne Cmem.2 <| mt ?_ hCβ©, Or.inr Cgeβ© | case neg
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : Β¬f C = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | case neg.refine_1
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : Β¬f C = f a
β’ a = C β f C = f a
case neg.refine_2
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : Β¬f C = f a
β’ C = b β f C = f a |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | exacts [fun h β¦ by rw [h], fun h β¦ by rw [h, hfI]] | case neg.refine_1
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : Β¬f C = f a
β’ a = C β f C = f a
case neg.refine_2
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : Β¬f C = f a
β’ C = b β f C = f a | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | rw [h] | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : Β¬f C = f a
h : a = C
β’ f C = f a | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | rw [h, hfI] | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : f c = f a
hC : Β¬f C = f a
h : C = b
β’ f C = f a | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | refine β¨c, β¨lt_of_le_of_ne cmem.1 <| mt ?_ hc, lt_of_le_of_ne cmem.2 <| mt ?_ hcβ©, Or.inl cleβ© | case neg
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : Β¬f c = f a
β’ β c β Ioo a b, IsExtrOn f (Icc a b) c | case neg.refine_1
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : Β¬f c = f a
β’ a = c β f c = f a
case neg.refine_2
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : Β¬f c = f a
β’ c = b β f c = f a |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | exacts [fun h β¦ by rw [h], fun h β¦ by rw [h, hfI]] | case neg.refine_1
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : Β¬f c = f a
β’ a = c β f c = f a
case neg.refine_2
f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : Β¬f c = f a
β’ c = b β f c = f a | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | rw [h] | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : Β¬f c = f a
h : a = c
β’ f c = f a | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_local_extr_Ioo | [116, 1] | [142, 55] | rw [h, hfI] | f : β β β
f' x a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
ne : Set.Nonempty (Icc a b)
C : β
Cmem : C β Icc a b
c : β
cmem : c β Icc a b
Cge : β x β Icc a b, f x β€ f C
cle : β x β Icc a b, f c β€ f x
hc : Β¬f c = f a
h : c = b
β’ f c = f a | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_hasDerivAt_eq_zero | [147, 1] | [151, 68] | have β¨c, cmem, hcβ© := exists_local_extr_Ioo hab hfc hfI | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
β’ β c β Ioo a b, f' c = 0 | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
c : β
cmem : c β Ioo a b
hc : IsLocalExtr f c
β’ β c β Ioo a b, f' c = 0 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_hasDerivAt_eq_zero | [147, 1] | [151, 68] | exact β¨c, cmem, IsLocalExtr.hasDerivAt_eq_zero hc <| hff' c cmemβ© | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hfI : f a = f b
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
c : β
cmem : c β Ioo a b
hc : IsLocalExtr f c
β’ β c β Ioo a b, f' c = 0 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | let h x := (g b - g a) * f x - (f b - f a) * g x | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | have hhc : ContinuousOn h (Icc a b) :=
(continuousOn_const.mul hfc).sub (continuousOn_const.mul hgc) | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | have hI : h a = h b := by ring | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | let h' x := (g b - g a) * f' x - (f b - f a) * g' x | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
h' : β β β := fun x => (g b - g a) * f' x - (f b - f a) * g' x
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | have hhh' : β x β Ioo a b, HasDerivAt h (h' x) x := by
intro x hx
apply ((hff' x hx).const_mul (g b - g a)).sub ((hgg' x hx).const_mul (f b - f a)) | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
h' : β β β := fun x => (g b - g a) * f' x - (f b - f a) * g' x
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
h' : β β β := fun x => (g b - g a) * f' x - (f b - f a) * g' x
hhh' : β x β Ioo a b, HasDerivAt h (h' x) x
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | have β¨c, cmem, hcβ© := exists_hasDerivAt_eq_zero hab hhc hI hhh' | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
h' : β β β := fun x => (g b - g a) * f' x - (f b - f a) * g' x
hhh' : β x β Ioo a b, HasDerivAt h (h' x) x
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
h' : β β β := fun x => (g b - g a) * f' x - (f b - f a) * g' x
hhh' : β x β Ioo a b, HasDerivAt h (h' x) x
c : β
cmem : c β Ioo a b
hc : h' c = 0
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | exact β¨c, cmem, sub_eq_zero.mp hcβ© | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
h' : β β β := fun x => (g b - g a) * f' x - (f b - f a) * g' x
hhh' : β x β Ioo a b, HasDerivAt h (h' x) x
c : β
cmem : c β Ioo a b
hc : h' c = 0
β’ β c β Ioo a b, (g b - g a) * f' c = (f b - f a) * g' c | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | ring | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
β’ h a = h b | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | intro x hx | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
h' : β β β := fun x => (g b - g a) * f' x - (f b - f a) * g' x
β’ β x β Ioo a b, HasDerivAt h (h' x) x | fβ : β β β
f'β xβ aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
h' : β β β := fun x => (g b - g a) * f' x - (f b - f a) * g' x
x : β
hx : x β Ioo a b
β’ HasDerivAt h (h' x) x |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_ratio_hasDerivAt_eq_ratio_slope | [155, 1] | [169, 37] | apply ((hff' x hx).const_mul (g b - g a)).sub ((hgg' x hx).const_mul (f b - f a)) | fβ : β β β
f'β xβ aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
hgc : ContinuousOn g (Icc a b)
hgg' : β x β Ioo a b, HasDerivAt g (g' x) x
h : β β β := fun x => (g b - g a) * f x - (f b - f a) * g x
hhc : ContinuousOn h (Icc a b)
hI : h a = h b
h' : β β β := fun x => (g b - g a) * f' x - (f b - f a) * g' x
x : β
hx : x β Ioo a b
β’ HasDerivAt h (h' x) x | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_hasDerivAt_eq_slope | [176, 1] | [182, 78] | have β¨c, cmem, hcβ© := exists_ratio_hasDerivAt_eq_ratio_slope hab hfc hff'
continuousOn_id fun x _ β¦ hasDerivAt_id x | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
β’ β c β Ioo a b, f' c = (f b - f a) / (b - a) | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
c : β
cmem : c β Ioo a b
hc : (id b - id a) * f' c = (f b - f a) * 1
β’ β c β Ioo a b, f' c = (f b - f a) / (b - a) |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_hasDerivAt_eq_slope | [176, 1] | [182, 78] | exact β¨c, cmem, by rw [eq_div_iff (by linarith), mul_comm]; simpa using hcβ© | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
c : β
cmem : c β Ioo a b
hc : (id b - id a) * f' c = (f b - f a) * 1
β’ β c β Ioo a b, f' c = (f b - f a) / (b - a) | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_hasDerivAt_eq_slope | [176, 1] | [182, 78] | rw [eq_div_iff (by linarith), mul_comm] | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
c : β
cmem : c β Ioo a b
hc : (id b - id a) * f' c = (f b - f a) * 1
β’ f' c = (f b - f a) / (b - a) | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
c : β
cmem : c β Ioo a b
hc : (id b - id a) * f' c = (f b - f a) * 1
β’ (b - a) * f' c = f b - f a |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_hasDerivAt_eq_slope | [176, 1] | [182, 78] | simpa using hc | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
c : β
cmem : c β Ioo a b
hc : (id b - id a) * f' c = (f b - f a) * 1
β’ (b - a) * f' c = f b - f a | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Analysis/Lecture2.lean | Tutorial.exists_hasDerivAt_eq_slope | [176, 1] | [182, 78] | linarith | fβ : β β β
f'β x aβ bβ : β
f f' g g' : β β β
a b : β
hab : a < b
hfc : ContinuousOn f (Icc a b)
hff' : β x β Ioo a b, HasDerivAt f (f' x) x
c : β
cmem : c β Ioo a b
hc : (id b - id a) * f' c = (f b - f a) * 1
β’ b - a β 0 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture3.lean | Tutorial.inv_smul_smul | [53, 1] | [54, 8] | sorry | G X : Type
instβΒΉ : Group G
instβ : GroupAction G X
a : G
x : X
β’ aβ»ΒΉ β’ a β’ x = x | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture3.lean | Tutorial.smul_inv_smul | [57, 1] | [58, 8] | sorry | G X : Type
instβΒΉ : Group G
instβ : GroupAction G X
a : G
x : X
β’ a β’ aβ»ΒΉ β’ x = x | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture3.lean | Tutorial.GroupAction.injective | [61, 1] | [64, 8] | intro x y (h : a β’ x = a β’ y) | G X : Type
instβΒΉ : Group G
instβ : GroupAction G X
a : G
β’ Function.Injective fun x => a β’ x | G X : Type
instβΒΉ : Group G
instβ : GroupAction G X
a : G
x y : X
h : a β’ x = a β’ y
β’ x = y |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture3.lean | Tutorial.GroupAction.injective | [61, 1] | [64, 8] | sorry | G X : Type
instβΒΉ : Group G
instβ : GroupAction G X
a : G
x y : X
h : a β’ x = a β’ y
β’ x = y | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture3.lean | Tutorial.GroupAction.surjective | [72, 1] | [73, 8] | sorry | G X : Type
instβΒΉ : Group G
instβ : GroupAction G X
a : G
β’ Function.Surjective fun x => a β’ x | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture3.lean | Tutorial.orbit_eq_orbit_iff_mem_orbit | [234, 1] | [235, 8] | sorry | G X : Type
instβΒΉ : Group G
instβ : GroupAction G X
x y : X
β’ orbit G x = orbit G y β y β orbit G x | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.Subgroup.mem_comm | [31, 1] | [47, 44] | intro hab | G : Type
instβΒΉ : Group G
N : Subgroup G
instβ : Normal N
a b : G
β’ a * b β N β b * a β N | G : Type
instβΒΉ : Group G
N : Subgroup G
instβ : Normal N
a b : G
hab : a * b β N
β’ b * a β N |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.Subgroup.mem_comm | [31, 1] | [47, 44] | calc
b * a = b * aβ»ΒΉβ»ΒΉ := by simp
_ = aβ»ΒΉ * (a * b) * aβ»ΒΉβ»ΒΉ := by simp
_ β N := by
apply Normal.conj_mem aβ»ΒΉ (a * b) hab | G : Type
instβΒΉ : Group G
N : Subgroup G
instβ : Normal N
a b : G
hab : a * b β N
β’ b * a β N | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.Subgroup.mem_comm | [31, 1] | [47, 44] | simp | G : Type
instβΒΉ : Group G
N : Subgroup G
instβ : Normal N
a b : G
hab : a * b β N
β’ b * a = b * aβ»ΒΉβ»ΒΉ | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.Subgroup.mem_comm | [31, 1] | [47, 44] | simp | G : Type
instβΒΉ : Group G
N : Subgroup G
instβ : Normal N
a b : G
hab : a * b β N
β’ b * aβ»ΒΉβ»ΒΉ = aβ»ΒΉ * (a * b) * aβ»ΒΉβ»ΒΉ | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.Subgroup.mem_comm | [31, 1] | [47, 44] | apply Normal.conj_mem aβ»ΒΉ (a * b) hab | G : Type
instβΒΉ : Group G
N : Subgroup G
instβ : Normal N
a b : G
hab : a * b β N
β’ aβ»ΒΉ * (a * b) * aβ»ΒΉβ»ΒΉ β N | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.mem_of_eq_one | [104, 1] | [106, 23] | simp [N.inv_mem_iff] | G : Type
instβΒΉ : Group G
N : Subgroup G
instβ : Subgroup.Normal N
a : G
β’ LeftQuotient.mk a = 1 β a β N | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.Subgroup.coe_one | [203, 1] | [203, 48] | simp | G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
K : Subgroup G
β’ 1 β K | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.GroupHom.rangeKerLift_injective | [238, 1] | [242, 11] | rw [injective_iff_map_eq_one] | G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
β’ Function.Injective β(rangeKerLift f) | G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
β’ β (a : G β§Έ ker f), (rangeKerLift f) a = 1 β a = 1 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.GroupHom.rangeKerLift_injective | [238, 1] | [242, 11] | rintro β¨_β© | G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
β’ β (a : G β§Έ ker f), (rangeKerLift f) a = 1 β a = 1 | case mk
G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
aβΒΉ : G β§Έ ker f
aβ : G
β’ (rangeKerLift f) (Quot.mk Setoid.r aβ) = 1 β Quot.mk Setoid.r aβ = 1 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.GroupHom.rangeKerLift_injective | [238, 1] | [242, 11] | simp_all | case mk
G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
aβΒΉ : G β§Έ ker f
aβ : G
β’ (rangeKerLift f) (Quot.mk Setoid.r aβ) = 1 β Quot.mk Setoid.r aβ = 1 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.GroupHom.rangeKerLift_surjective | [246, 1] | [252, 8] | intro β¨y, hyβ© | G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
β’ Function.Surjective β(rangeKerLift f) | G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
y : H
hy : y β range f
β’ β a, (rangeKerLift f) a = { val := y, property := hy } |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.GroupHom.rangeKerLift_surjective | [246, 1] | [252, 8] | rcases hy with β¨x, hxyβ© | G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
y : H
hy : y β range f
β’ β a, (rangeKerLift f) a = { val := y, property := hy } | case intro
G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
y : H
x : G
hxy : f x = y
β’ β a, (rangeKerLift f) a = { val := y, property := β― } |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.GroupHom.rangeKerLift_surjective | [246, 1] | [252, 8] | exists LeftQuotient.mk x | case intro
G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
y : H
x : G
hxy : f x = y
β’ β a, (rangeKerLift f) a = { val := y, property := β― } | case intro
G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
y : H
x : G
hxy : f x = y
β’ (rangeKerLift f) (LeftQuotient.mk x) = { val := y, property := β― } |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Solution/Advanced/Algebra/Lecture5.lean | Tutorial.GroupHom.rangeKerLift_surjective | [246, 1] | [252, 8] | simpa | case intro
G H : Type
instβΒΉ : Group G
instβ : Group H
f : G β* H
y : H
x : G
hxy : f x = y
β’ (rangeKerLift f) (LeftQuotient.mk x) = { val := y, property := β― } | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.map_one | [45, 1] | [48, 8] | have h : f 1 * f 1 = f 1 * 1 := by
sorry | Gβ Gβ : Type
instβΒΉ : Group Gβ
instβ : Group Gβ
f : Gβ β* Gβ
β’ f 1 = 1 | Gβ Gβ : Type
instβΒΉ : Group Gβ
instβ : Group Gβ
f : Gβ β* Gβ
h : f 1 * f 1 = f 1 * 1
β’ f 1 = 1 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.map_one | [45, 1] | [48, 8] | sorry | Gβ Gβ : Type
instβΒΉ : Group Gβ
instβ : Group Gβ
f : Gβ β* Gβ
h : f 1 * f 1 = f 1 * 1
β’ f 1 = 1 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.map_one | [45, 1] | [48, 8] | sorry | Gβ Gβ : Type
instβΒΉ : Group Gβ
instβ : Group Gβ
f : Gβ β* Gβ
β’ f 1 * f 1 = f 1 * 1 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.map_inv | [53, 1] | [54, 8] | sorry | Gβ Gβ : Type
instβΒΉ : Group Gβ
instβ : Group Gβ
f : Gβ β* Gβ
a : Gβ
β’ f aβ»ΒΉ = (f a)β»ΒΉ | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.injective_iff_map_eq_one | [177, 1] | [180, 10] | constructor | Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ Function.Injective βf β β (a : Gβ), f a = 1 β a = 1 | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ Function.Injective βf β β (a : Gβ), f a = 1 β a = 1
case mpr
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ (β (a : Gβ), f a = 1 β a = 1) β Function.Injective βf |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.injective_iff_map_eq_one | [177, 1] | [180, 10] | sorry | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ Function.Injective βf β β (a : Gβ), f a = 1 β a = 1 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.injective_iff_map_eq_one | [177, 1] | [180, 10] | sorry | case mpr
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ (β (a : Gβ), f a = 1 β a = 1) β Function.Injective βf | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.ker_eq_bot | [185, 1] | [190, 10] | rw [injective_iff_map_eq_one] | Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ ker f = β₯ β Function.Injective βf | Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ ker f = β₯ β β (a : Gβ), f a = 1 β a = 1 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.ker_eq_bot | [185, 1] | [190, 10] | constructor | Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ ker f = β₯ β β (a : Gβ), f a = 1 β a = 1 | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ ker f = β₯ β β (a : Gβ), f a = 1 β a = 1
case mpr
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ (β (a : Gβ), f a = 1 β a = 1) β ker f = β₯ |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.ker_eq_bot | [185, 1] | [190, 10] | sorry | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ ker f = β₯ β β (a : Gβ), f a = 1 β a = 1 | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.ker_eq_bot | [185, 1] | [190, 10] | sorry | case mpr
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ (β (a : Gβ), f a = 1 β a = 1) β ker f = β₯ | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.range_eq_top | [193, 1] | [200, 10] | constructor | Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ range f = β€ β Function.Surjective βf | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ range f = β€ β Function.Surjective βf
case mpr
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ Function.Surjective βf β range f = β€ |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.range_eq_top | [193, 1] | [200, 10] | intro hrange y | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ range f = β€ β Function.Surjective βf | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
hrange : range f = β€
y : Gβ
β’ β a, f a = y |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.range_eq_top | [193, 1] | [200, 10] | have hy : y β (β€ : Subgroup Gβ) := by
sorry | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
hrange : range f = β€
y : Gβ
β’ β a, f a = y | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
hrange : range f = β€
y : Gβ
hy : y β β€
β’ β a, f a = y |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.range_eq_top | [193, 1] | [200, 10] | sorry | case mp
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
hrange : range f = β€
y : Gβ
hy : y β β€
β’ β a, f a = y | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.range_eq_top | [193, 1] | [200, 10] | sorry | Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
hrange : range f = β€
y : Gβ
β’ y β β€ | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.range_eq_top | [193, 1] | [200, 10] | intro hsurj | case mpr
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
β’ Function.Surjective βf β range f = β€ | case mpr
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
hsurj : Function.Surjective βf
β’ range f = β€ |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.GroupHom.range_eq_top | [193, 1] | [200, 10] | sorry | case mpr
Gβ Gβ G : Type
instβΒ² : Group Gβ
instβΒΉ : Group Gβ
instβ : Group G
f : Gβ β* Gβ
hsurj : Function.Surjective βf
β’ range f = β€ | no goals |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.homToPerm_injective | [264, 1] | [275, 12] | rw [injective_iff_map_eq_one] | G : Type
instβ : Group G
β’ Function.Injective β(homToPerm G) | G : Type
instβ : Group G
β’ β (a : G), (homToPerm G) a = 1 β a = 1 |
https://github.com/yuma-mizuno/lean-math-workshop.git | 4a69b0130b276b45212e2b12b90032b146b56d67 | Tutorial/Advanced/Algebra/Lecture2.lean | Tutorial.homToPerm_injective | [264, 1] | [275, 12] | intro a h | G : Type
instβ : Group G
β’ β (a : G), (homToPerm G) a = 1 β a = 1 | G : Type
instβ : Group G
a : G
h : (homToPerm G) a = 1
β’ a = 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.