Download data/lean/OAI/Probability/InvariantIsing/Haar/CompactNegativeMinimum.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.09 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Haar/CompactNegativeMinimum.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/InvariantIsing/Haar/CompactNegativeMinimum.lean
-
curl -L -o CompactNegativeMinimum.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/InvariantIsing/Haar/CompactNegativeMinimum.lean
2.09 kB
| import OAI.Probability.InvariantIsing.Haar.CompactParabolicMinimum | |
| namespace OAI | |
| /-! A compact parabolic minimum test restricted to negative minima. -/ | |
| noncomputable section | |
| open Filter Set | |
| open scoped Topology | |
| namespace InvariantIsing | |
| lemma compact_nonneg_of_negative_min_derivative {K : Type*} | |
| [TopologicalSpace K] [CompactSpace K] [Nonempty K] | |
| {T : β} (hT : 0 β€ T) (W : β β K β β) (Wt : β Γ K β β) | |
| (hc : ContinuousOn (fun z : β Γ K => W z.1 z.2) (Icc (0:β) T ΓΛ’ Set.univ)) | |
| (hi : β x, 0 β€ W 0 x) | |
| (hd : β t β Ioc (0:β) T, β x, HasDerivAt (fun s => W s x) (Wt (t,x)) t) | |
| (hmin : β t β Ioc (0:β) T, β x, W t x < 0 β | |
| (β y, W t x β€ W t y) β 0 < Wt (t,x)) : | |
| β t β Icc (0:β) T, β x, 0 β€ W t x := by | |
| intro t ht x | |
| by_contra hn | |
| have hneg : W t x < 0 := lt_of_not_ge hn | |
| let xβ : K := Classical.choice inferInstance | |
| obtain β¨q,hq,hmβ© := (isCompact_Icc.prod (isCompact_univ : IsCompact (Set.univ : Set K))).exists_isMinOn | |
| β¨(0,xβ),β¨β¨le_rfl,hTβ©,Set.mem_univ xββ©β© hc | |
| have hqneg : W q.1 q.2 < 0 := (hm (show (t,x) β Icc (0:β) T ΓΛ’ (Set.univ : Set K) from | |
| β¨ht,Set.mem_univ xβ©)).trans_lt hneg | |
| have hqt : 0 < q.1 := by | |
| by_contra h | |
| have he : q.1=0 := le_antisymm (le_of_not_gt h) hq.1.1 | |
| rw [he] at hqneg | |
| exact (not_lt_of_ge (hi q.2)) hqneg | |
| have hleft : βαΆ s in π[<] q.1, W q.1 q.2 β€ W s q.2 := by | |
| have hpos : βαΆ s in π[<] q.1, 0 < s := | |
| (show βαΆ s : β in π q.1, 0 < s from Ioi_mem_nhds hqt).filter_mono nhdsWithin_le_nhds | |
| filter_upwards [hpos,self_mem_nhdsWithin] with s hs hs' | |
| exact hm (show (s,q.2) β Icc (0:β) T ΓΛ’ (Set.univ : Set K) from | |
| β¨β¨hs.le,hs'.le.trans hq.1.2β©,Set.mem_univ q.2β©) | |
| have htime := derivative_nonpos_at_left_min (hd q.1 β¨hqt,hq.1.2β© q.2) hleft | |
| have hsp := hmin q.1 β¨hqt,hq.1.2β© q.2 hqneg | |
| (fun y => hm (show (q.1,y) β Icc (0:β) T ΓΛ’ (Set.univ : Set K) from | |
| β¨hq.1,Set.mem_univ yβ©)) | |
| linarith | |
| end InvariantIsing | |
| end | |
| end OAI | |