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/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
set g : π•œ β†’ π•œ := fun x ↦ x + T with gdef
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ ⊒ deriv f (x + T) = deriv f x
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T ⊒ deriv f (x + T) = deriv f x
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ ⊒ deriv f (x + T) = deriv f x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
have diff_g : Differentiable π•œ g := by apply differentiable_id.add_const
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T ⊒ deriv f (x + T) = deriv f x
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ deriv f (x + T) = deriv f x
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T ⊒ deriv f (x + T) = deriv f x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
have : deriv (f ∘ g) x = ((deriv f) ∘ g) x := by calc deriv (f ∘ g) x _ = deriv g x β€’ deriv f (g x) := deriv.scomp x (diff_f.differentiable (by norm_num)).differentiableAt diff_g.differentiableAt _ = deriv f (g x) := by rw [gdef, deriv_add_const, deriv_id'']; simp
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ deriv f (x + T) = deriv f x
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ g) x = (deriv f ∘ g) x ⊒ deriv f (x + T) = deriv f x
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ deriv f (x + T) = deriv f x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
rw [gdef] at this
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ g) x = (deriv f ∘ g) x ⊒ deriv f (x + T) = deriv f x
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = (deriv f ∘ fun x => x + T) x ⊒ deriv f (x + T) = deriv f x
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ g) x = (deriv f ∘ g) x ⊒ deriv f (x + T) = deriv f x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
simp at this
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = (deriv f ∘ fun x => x + T) x ⊒ deriv f (x + T) = deriv f x
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) ⊒ deriv f (x + T) = deriv f x
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = (deriv f ∘ fun x => x + T) x ⊒ deriv f (x + T) = deriv f x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
convert this.symm
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) ⊒ deriv f (x + T) = deriv f x
case h.e'_3.h.e'_6 π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) ⊒ f = f ∘ fun x => x + T
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) ⊒ deriv f (x + T) = deriv f x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
ext y
case h.e'_3.h.e'_6 π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) ⊒ f = f ∘ fun x => x + T
case h.e'_3.h.e'_6.h π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) y : π•œ ⊒ f y = (f ∘ fun x => x + T) y
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.e'_6 π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) ⊒ f = f ∘ fun x => x + T TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
simp
case h.e'_3.h.e'_6.h π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) y : π•œ ⊒ f y = (f ∘ fun x => x + T) y
case h.e'_3.h.e'_6.h π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) y : π•œ ⊒ f y = f (y + T)
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.e'_6.h π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) y : π•œ ⊒ f y = (f ∘ fun x => x + T) y TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
exact (periodic_f y).symm
case h.e'_3.h.e'_6.h π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) y : π•œ ⊒ f y = f (y + T)
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.e'_6.h π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g this : deriv (f ∘ fun x => x + T) x = deriv f (x + T) y : π•œ ⊒ f y = f (y + T) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
apply differentiable_id.add_const
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T ⊒ Differentiable π•œ g
no goals
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T ⊒ Differentiable π•œ g TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
calc deriv (f ∘ g) x _ = deriv g x β€’ deriv f (g x) := deriv.scomp x (diff_f.differentiable (by norm_num)).differentiableAt diff_g.differentiableAt _ = deriv f (g x) := by rw [gdef, deriv_add_const, deriv_id'']; simp
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ deriv (f ∘ g) x = (deriv f ∘ g) x
no goals
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ deriv (f ∘ g) x = (deriv f ∘ g) x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
norm_num
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ 1 ≀ 1
no goals
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ 1 ≀ 1 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
rw [gdef, deriv_add_const, deriv_id'']
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ deriv g x β€’ deriv f (g x) = deriv f (g x)
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ (fun x => 1) x β€’ deriv f ((fun x => x + T) x) = deriv f ((fun x => x + T) x)
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ deriv g x β€’ deriv f (g x) = deriv f (g x) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
periodic_deriv
[196, 1]
[211, 28]
simp
π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ (fun x => 1) x β€’ deriv f ((fun x => x + T) x) = deriv f ((fun x => x + T) x)
no goals
Please generate a tactic in lean4 to solve the state. STATE: π•œ : Type inst✝² : NontriviallyNormedField π•œ F : Type inst✝¹ : NormedAddCommGroup F inst✝ : NormedSpace π•œ F f : π•œ β†’ F T : π•œ diff_f : ContDiff π•œ 1 f periodic_f : Function.Periodic f T x : π•œ g : π•œ β†’ π•œ := fun x => x + T gdef : g = fun x => x + T diff_g : Differentiable π•œ g ⊒ (fun x => 1) x β€’ deriv f ((fun x => x + T) x) = deriv f ((fun x => x + T) x) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
have h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x := by intro x _ rw [hasDerivAt_deriv_iff] apply fdiff.differentiable (by norm_num)
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
have h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x := by intro x _ rw [hasDerivAt_deriv_iff] apply (contDiff_succ_iff_deriv.mp fdiff).2.differentiable (by norm_num)
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
have fourierCoeffOn_eq {n : β„€} (hn : n β‰  0): (fourierCoeffOn Real.two_pi_pos f n) = - 1 / (n^2) * fourierCoeffOn Real.two_pi_pos (fun x ↦ deriv (deriv f) x) n := by rw [fourierCoeffOn_of_hasDerivAt Real.two_pi_pos hn h, fourierCoeffOn_of_hasDerivAt Real.two_pi_pos hn h'] . have := periodicf 0 simp at this simp [this] have periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) := periodic_deriv (fdiff.of_le one_le_two) periodicf have := periodic_deriv_f 0 simp at this simp [this] ring_nf simp left rw [mul_inv_cancel, one_mul] simp exact Real.pi_pos.ne.symm . apply Continuous.intervalIntegrable exact (contDiff_one_iff_deriv.mp (contDiff_succ_iff_deriv.mp fdiff).2).2 . apply Continuous.intervalIntegrable exact (contDiff_succ_iff_deriv.mp fdiff).2.continuous
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
obtain ⟨C, hC⟩ := fourierCoeffOn_bound (contDiff_one_iff_deriv.mp (contDiff_succ_iff_deriv.mp fdiff).2).2
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
case intro f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
use C
case intro f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C ⊒ βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
Please generate a tactic in lean4 to solve the state. STATE: case intro f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C ⊒ βˆƒ C, βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
intro n hn
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C ⊒ βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
Please generate a tactic in lean4 to solve the state. STATE: case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C ⊒ βˆ€ (n : β„€), n β‰  0 β†’ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
rw [fourierCoeffOn_eq hn]
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (-1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) ≀ C / ↑n ^ 2
Please generate a tactic in lean4 to solve the state. STATE: case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (fourierCoeffOn Real.two_pi_pos f n) ≀ C / ↑n ^ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
simp only [Nat.cast_one, Int.cast_pow, map_mul, map_divβ‚€, map_neg_eq_map, map_one, map_pow, Complex.abs_intCast, sq_abs, one_div]
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (-1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) ≀ C / ↑n ^ 2
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ (↑n ^ 2)⁻¹ * Complex.abs (fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) ≀ C / ↑n ^ 2
Please generate a tactic in lean4 to solve the state. STATE: case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (-1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) ≀ C / ↑n ^ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
rw [div_eq_mul_inv, mul_comm]
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ (↑n ^ 2)⁻¹ * Complex.abs (fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) ≀ C / ↑n ^ 2
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) * (↑n ^ 2)⁻¹ ≀ C * (↑n ^ 2)⁻¹
Please generate a tactic in lean4 to solve the state. STATE: case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ (↑n ^ 2)⁻¹ * Complex.abs (fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) ≀ C / ↑n ^ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
gcongr
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) * (↑n ^ 2)⁻¹ ≀ C * (↑n ^ 2)⁻¹
case h.h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) ≀ C
Please generate a tactic in lean4 to solve the state. STATE: case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) * (↑n ^ 2)⁻¹ ≀ C * (↑n ^ 2)⁻¹ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
exact hC n
case h.h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) ≀ C
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x fourierCoeffOn_eq : βˆ€ {n : β„€}, n β‰  0 β†’ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n C : ℝ hC : βˆ€ (n : β„€), Complex.abs (fourierCoeffOn Real.two_pi_pos (deriv (deriv f)) n) ≀ C n : β„€ hn : n β‰  0 ⊒ Complex.abs (fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n) ≀ C TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
intro x _
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f ⊒ βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ HasDerivAt f (deriv f x) x
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f ⊒ βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
rw [hasDerivAt_deriv_iff]
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ HasDerivAt f (deriv f x) x
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ DifferentiableAt ℝ f x
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ HasDerivAt f (deriv f x) x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
apply fdiff.differentiable (by norm_num)
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ DifferentiableAt ℝ f x
no goals
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ DifferentiableAt ℝ f x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
norm_num
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ 1 ≀ 2
no goals
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ 1 ≀ 2 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
intro x _
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x ⊒ βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ HasDerivAt (deriv f) (deriv (deriv f) x) x
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x ⊒ βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
rw [hasDerivAt_deriv_iff]
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ HasDerivAt (deriv f) (deriv (deriv f) x) x
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ DifferentiableAt ℝ (deriv f) x
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ HasDerivAt (deriv f) (deriv (deriv f) x) x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
apply (contDiff_succ_iff_deriv.mp fdiff).2.differentiable (by norm_num)
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ DifferentiableAt ℝ (deriv f) x
no goals
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ DifferentiableAt ℝ (deriv f) x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
norm_num
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ 1 ≀ ↑1
no goals
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x x : ℝ a✝ : x ∈ Set.uIcc 0 (2 * Real.pi) ⊒ 1 ≀ ↑1 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
rw [fourierCoeffOn_of_hasDerivAt Real.two_pi_pos hn h, fourierCoeffOn_of_hasDerivAt Real.two_pi_pos hn h']
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv (deriv f) x) MeasureTheory.volume 0 (2 * Real.pi) f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi)
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ fourierCoeffOn Real.two_pi_pos f n = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
. have := periodicf 0 simp at this simp [this] have periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) := periodic_deriv (fdiff.of_le one_le_two) periodicf have := periodic_deriv_f 0 simp at this simp [this] ring_nf simp left rw [mul_inv_cancel, one_mul] simp exact Real.pi_pos.ne.symm
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv (deriv f) x) MeasureTheory.volume 0 (2 * Real.pi) f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi)
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv (deriv f) x) MeasureTheory.volume 0 (2 * Real.pi) f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi)
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv (deriv f) x) MeasureTheory.volume 0 (2 * Real.pi) f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
. apply Continuous.intervalIntegrable exact (contDiff_one_iff_deriv.mp (contDiff_succ_iff_deriv.mp fdiff).2).2
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv (deriv f) x) MeasureTheory.volume 0 (2 * Real.pi) f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi)
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi)
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv (deriv f) x) MeasureTheory.volume 0 (2 * Real.pi) f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
. apply Continuous.intervalIntegrable exact (contDiff_succ_iff_deriv.mp fdiff).2.continuous
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi)
no goals
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
have := periodicf 0
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (0 + 2 * Real.pi) = f 0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
simp at this
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (0 + 2 * Real.pi) = f 0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (2 * Real.pi) = f 0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (0 + 2 * Real.pi) = f 0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
simp [this]
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (2 * Real.pi) = f 0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (2 * Real.pi) = f 0 ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (2 * Real.pi) = f 0 ⊒ 1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (f (2 * Real.pi) - f 0) - (↑(2 * Real.pi) - ↑0) * (1 / (-2 * ↑Real.pi * Complex.I * ↑n) * ((fourier (-n)) ↑0 * (deriv f (2 * Real.pi) - deriv f 0) - (↑(2 * Real.pi) - ↑0) * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
have periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) := periodic_deriv (fdiff.of_le one_le_two) periodicf
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (2 * Real.pi) = f 0 ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (2 * Real.pi) = f 0 ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
have := periodic_deriv_f 0
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (0 + 2 * Real.pi) = deriv f 0 ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
simp at this
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (0 + 2 * Real.pi) = deriv f 0 ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (0 + 2 * Real.pi) = deriv f 0 ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
simp [this]
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ (-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ -((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (↑(AddCircle.toCircle 0) * (deriv f (2 * Real.pi) - deriv f 0) - 2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n)))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
ring_nf
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ (-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 * (↑Real.pi)⁻¹ ^ 2 * Complex.I⁻¹ ^ 2 * (↑n)⁻¹ ^ 2 * fourierCoeffOn β‹― (fun x => deriv (deriv f) x) n = -((↑n)⁻¹ ^ 2 * fourierCoeffOn β‹― (fun x => deriv (deriv f) x) n)
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ (-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * ((-(2 * ↑Real.pi * Complex.I * ↑n))⁻¹ * (2 * ↑Real.pi * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n))) = -1 / ↑n ^ 2 * fourierCoeffOn Real.two_pi_pos (fun x => deriv (deriv f) x) n TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
simp
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 * (↑Real.pi)⁻¹ ^ 2 * Complex.I⁻¹ ^ 2 * (↑n)⁻¹ ^ 2 * fourierCoeffOn β‹― (fun x => deriv (deriv f) x) n = -((↑n)⁻¹ ^ 2 * fourierCoeffOn β‹― (fun x => deriv (deriv f) x) n)
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 * (↑Real.pi ^ 2)⁻¹ * (↑n ^ 2)⁻¹ = (↑n ^ 2)⁻¹ ∨ fourierCoeffOn β‹― (fun x => deriv (deriv f) x) n = 0
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 * (↑Real.pi)⁻¹ ^ 2 * Complex.I⁻¹ ^ 2 * (↑n)⁻¹ ^ 2 * fourierCoeffOn β‹― (fun x => deriv (deriv f) x) n = -((↑n)⁻¹ ^ 2 * fourierCoeffOn β‹― (fun x => deriv (deriv f) x) n) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
left
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 * (↑Real.pi ^ 2)⁻¹ * (↑n ^ 2)⁻¹ = (↑n ^ 2)⁻¹ ∨ fourierCoeffOn β‹― (fun x => deriv (deriv f) x) n = 0
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 * (↑Real.pi ^ 2)⁻¹ * (↑n ^ 2)⁻¹ = (↑n ^ 2)⁻¹
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 * (↑Real.pi ^ 2)⁻¹ * (↑n ^ 2)⁻¹ = (↑n ^ 2)⁻¹ ∨ fourierCoeffOn β‹― (fun x => deriv (deriv f) x) n = 0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
rw [mul_inv_cancel, one_mul]
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 * (↑Real.pi ^ 2)⁻¹ * (↑n ^ 2)⁻¹ = (↑n ^ 2)⁻¹
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 β‰  0
Please generate a tactic in lean4 to solve the state. STATE: case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 * (↑Real.pi ^ 2)⁻¹ * (↑n ^ 2)⁻¹ = (↑n ^ 2)⁻¹ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
simp
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 β‰  0
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ Β¬Real.pi = 0
Please generate a tactic in lean4 to solve the state. STATE: case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ ↑Real.pi ^ 2 β‰  0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
exact Real.pi_pos.ne.symm
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ Β¬Real.pi = 0
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 this✝ : f (2 * Real.pi) = f 0 periodic_deriv_f : Function.Periodic (deriv f) (2 * Real.pi) this : deriv f (2 * Real.pi) = deriv f 0 ⊒ Β¬Real.pi = 0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
apply Continuous.intervalIntegrable
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv (deriv f) x) MeasureTheory.volume 0 (2 * Real.pi)
case hu f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ Continuous fun x => deriv (deriv f) x
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv (deriv f) x) MeasureTheory.volume 0 (2 * Real.pi) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
exact (contDiff_one_iff_deriv.mp (contDiff_succ_iff_deriv.mp fdiff).2).2
case hu f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ Continuous fun x => deriv (deriv f) x
no goals
Please generate a tactic in lean4 to solve the state. STATE: case hu f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ Continuous fun x => deriv (deriv f) x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
apply Continuous.intervalIntegrable
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi)
case hu f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ Continuous fun x => deriv f x
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ IntervalIntegrable (fun x => deriv f x) MeasureTheory.volume 0 (2 * Real.pi) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierCoeffOn_ContDiff_two_bound
[215, 1]
[255, 13]
exact (contDiff_succ_iff_deriv.mp fdiff).2.continuous
case hu f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ Continuous fun x => deriv f x
no goals
Please generate a tactic in lean4 to solve the state. STATE: case hu f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f h : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt f (deriv f x) x h' : βˆ€ x ∈ Set.uIcc 0 (2 * Real.pi), HasDerivAt (deriv f) (deriv (deriv f) x) x n : β„€ hn : n β‰  0 ⊒ Continuous fun x => deriv f x TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
have := hfa.nat_add_neg.tendsto_sum_nat
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a)
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a)
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
have := (Filter.Tendsto.add_const (- (f 0))) this
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a)
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun k => βˆ‘ i ∈ range k, (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 (a + f 0 + -f 0)) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a)
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
simp at this
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun k => βˆ‘ i ∈ range k, (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 (a + f 0 + -f 0)) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a)
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun k => βˆ‘ i ∈ range k, (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a)
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun k => βˆ‘ i ∈ range k, (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 (a + f 0 + -f 0)) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
rw [←tendsto_add_atTop_iff_nat 1] at this
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun k => βˆ‘ i ∈ range k, (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a)
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a)
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun k => βˆ‘ i ∈ range k, (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
convert this using 1
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a)
case h.e'_3 Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) = fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) atTop (𝓝 a) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
ext N
case h.e'_3 Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) = fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0
case h.e'_3.h Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ⊒ βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3 Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n) = fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
induction' N with N ih
case h.e'_3.h Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ⊒ βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0
case h.e'_3.h.zero Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ βˆ‘ n ∈ Icc (-Int.ofNat 0) ↑0, f n = βˆ‘ i ∈ range (0 + 1), (f ↑i + f (-↑i)) + -f 0 case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ⊒ βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
. simp
case h.e'_3.h.zero Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ βˆ‘ n ∈ Icc (-Int.ofNat 0) ↑0, f n = βˆ‘ i ∈ range (0 + 1), (f ↑i + f (-↑i)) + -f 0 case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.zero Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ βˆ‘ n ∈ Icc (-Int.ofNat 0) ↑0, f n = βˆ‘ i ∈ range (0 + 1), (f ↑i + f (-↑i)) + -f 0 case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
. have : Icc (- Int.ofNat (Nat.succ N)) (Nat.succ N) = insert (↑(Nat.succ N)) (insert (-Int.ofNat (Nat.succ N)) (Icc (-Int.ofNat N) N)) := by rw [←Ico_insert_right, ←Ioo_insert_left] . congr ext n simp only [Int.ofNat_eq_coe, mem_Ioo, mem_Icc] push_cast rw [Int.lt_add_one_iff, neg_add, ←sub_eq_add_neg, Int.sub_one_lt_iff] . norm_num linarith . norm_num linarith rw [this, sum_insert, sum_insert, ih, ←add_assoc] symm rw [sum_range_succ, add_comm, ←add_assoc, add_comm] simp only [Nat.cast_add, Nat.cast_one, neg_add_rev, Int.reduceNeg, Nat.succ_eq_add_one, Int.ofNat_eq_coe, add_right_inj] rw [add_comm] . simp . norm_num linarith
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
simp
case h.e'_3.h.zero Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ βˆ‘ n ∈ Icc (-Int.ofNat 0) ↑0, f n = βˆ‘ i ∈ range (0 + 1), (f ↑i + f (-↑i)) + -f 0
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.zero Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) ⊒ βˆ‘ n ∈ Icc (-Int.ofNat 0) ↑0, f n = βˆ‘ i ∈ range (0 + 1), (f ↑i + f (-↑i)) + -f 0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
have : Icc (- Int.ofNat (Nat.succ N)) (Nat.succ N) = insert (↑(Nat.succ N)) (insert (-Int.ofNat (Nat.succ N)) (Icc (-Int.ofNat N) N)) := by rw [←Ico_insert_right, ←Ioo_insert_left] . congr ext n simp only [Int.ofNat_eq_coe, mem_Ioo, mem_Icc] push_cast rw [Int.lt_add_one_iff, neg_add, ←sub_eq_add_neg, Int.sub_one_lt_iff] . norm_num linarith . norm_num linarith
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
rw [this, sum_insert, sum_insert, ih, ←add_assoc]
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ f ↑N.succ + f (-Int.ofNat N.succ) + (βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0) = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ βˆ‘ n ∈ Icc (-Int.ofNat (N + 1)) ↑(N + 1), f n = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
symm
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ f ↑N.succ + f (-Int.ofNat N.succ) + (βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0) = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 = f ↑N.succ + f (-Int.ofNat N.succ) + (βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0) case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ f ↑N.succ + f (-Int.ofNat N.succ) + (βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0) = βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
rw [sum_range_succ, add_comm, ←add_assoc, add_comm]
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 = f ↑N.succ + f (-Int.ofNat N.succ) + (βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0) case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ f ↑(N + 1) + f (-↑(N + 1)) + (-f 0 + βˆ‘ x ∈ range (N + 1), (f ↑x + f (-↑x))) = f ↑N.succ + f (-Int.ofNat N.succ) + (βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0) case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ βˆ‘ i ∈ range (N + 1 + 1), (f ↑i + f (-↑i)) + -f 0 = f ↑N.succ + f (-Int.ofNat N.succ) + (βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0) case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
simp only [Nat.cast_add, Nat.cast_one, neg_add_rev, Int.reduceNeg, Nat.succ_eq_add_one, Int.ofNat_eq_coe, add_right_inj]
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ f ↑(N + 1) + f (-↑(N + 1)) + (-f 0 + βˆ‘ x ∈ range (N + 1), (f ↑x + f (-↑x))) = f ↑N.succ + f (-Int.ofNat N.succ) + (βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0) case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -f 0 + βˆ‘ x ∈ range (N + 1), (f ↑x + f (-↑x)) = βˆ‘ x ∈ range (N + 1), (f ↑x + f (-↑x)) + -f 0 case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ f ↑(N + 1) + f (-↑(N + 1)) + (-f 0 + βˆ‘ x ∈ range (N + 1), (f ↑x + f (-↑x))) = f ↑N.succ + f (-Int.ofNat N.succ) + (βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0) case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
rw [add_comm]
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -f 0 + βˆ‘ x ∈ range (N + 1), (f ↑x + f (-↑x)) = βˆ‘ x ∈ range (N + 1), (f ↑x + f (-↑x)) + -f 0 case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -f 0 + βˆ‘ x ∈ range (N + 1), (f ↑x + f (-↑x)) = βˆ‘ x ∈ range (N + 1), (f ↑x + f (-↑x)) + -f 0 case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
. simp
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
. norm_num linarith
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
rw [←Ico_insert_right, ←Ioo_insert_left]
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N))
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ insert (↑N.succ) (insert (-Int.ofNat N.succ) (Ioo (-Int.ofNat N.succ) ↑N.succ)) = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ < ↑N.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
. congr ext n simp only [Int.ofNat_eq_coe, mem_Ioo, mem_Icc] push_cast rw [Int.lt_add_one_iff, neg_add, ←sub_eq_add_neg, Int.sub_one_lt_iff]
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ insert (↑N.succ) (insert (-Int.ofNat N.succ) (Ioo (-Int.ofNat N.succ) ↑N.succ)) = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ < ↑N.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ < ↑N.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ insert (↑N.succ) (insert (-Int.ofNat N.succ) (Ioo (-Int.ofNat N.succ) ↑N.succ)) = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ < ↑N.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
. norm_num linarith
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ < ↑N.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ < ↑N.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
. norm_num linarith
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
congr
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ insert (↑N.succ) (insert (-Int.ofNat N.succ) (Ioo (-Int.ofNat N.succ) ↑N.succ)) = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N))
case e_a.e_a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ Ioo (-Int.ofNat N.succ) ↑N.succ = Icc (-Int.ofNat N) ↑N
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ insert (↑N.succ) (insert (-Int.ofNat N.succ) (Ioo (-Int.ofNat N.succ) ↑N.succ)) = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
ext n
case e_a.e_a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ Ioo (-Int.ofNat N.succ) ↑N.succ = Icc (-Int.ofNat N) ↑N
case e_a.e_a.a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 n : β„€ ⊒ n ∈ Ioo (-Int.ofNat N.succ) ↑N.succ ↔ n ∈ Icc (-Int.ofNat N) ↑N
Please generate a tactic in lean4 to solve the state. STATE: case e_a.e_a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ Ioo (-Int.ofNat N.succ) ↑N.succ = Icc (-Int.ofNat N) ↑N TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
simp only [Int.ofNat_eq_coe, mem_Ioo, mem_Icc]
case e_a.e_a.a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 n : β„€ ⊒ n ∈ Ioo (-Int.ofNat N.succ) ↑N.succ ↔ n ∈ Icc (-Int.ofNat N) ↑N
case e_a.e_a.a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 n : β„€ ⊒ -↑N.succ < n ∧ n < ↑N.succ ↔ -↑N ≀ n ∧ n ≀ ↑N
Please generate a tactic in lean4 to solve the state. STATE: case e_a.e_a.a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 n : β„€ ⊒ n ∈ Ioo (-Int.ofNat N.succ) ↑N.succ ↔ n ∈ Icc (-Int.ofNat N) ↑N TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
push_cast
case e_a.e_a.a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 n : β„€ ⊒ -↑N.succ < n ∧ n < ↑N.succ ↔ -↑N ≀ n ∧ n ≀ ↑N
case e_a.e_a.a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 n : β„€ ⊒ -(↑N + 1) < n ∧ n < ↑N + 1 ↔ -↑N ≀ n ∧ n ≀ ↑N
Please generate a tactic in lean4 to solve the state. STATE: case e_a.e_a.a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 n : β„€ ⊒ -↑N.succ < n ∧ n < ↑N.succ ↔ -↑N ≀ n ∧ n ≀ ↑N TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
rw [Int.lt_add_one_iff, neg_add, ←sub_eq_add_neg, Int.sub_one_lt_iff]
case e_a.e_a.a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 n : β„€ ⊒ -(↑N + 1) < n ∧ n < ↑N + 1 ↔ -↑N ≀ n ∧ n ≀ ↑N
no goals
Please generate a tactic in lean4 to solve the state. STATE: case e_a.e_a.a Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 n : β„€ ⊒ -(↑N + 1) < n ∧ n < ↑N + 1 ↔ -↑N ≀ n ∧ n ≀ ↑N TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
norm_num
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ < ↑N.succ
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -1 < ↑N + 1 + ↑N
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ < ↑N.succ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
linarith
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -1 < ↑N + 1 + ↑N
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -1 < ↑N + 1 + ↑N TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
norm_num
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -1 ≀ ↑N + 1 + ↑N
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -Int.ofNat N.succ ≀ ↑N.succ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
linarith
Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -1 ≀ ↑N + 1 + ↑N
no goals
Please generate a tactic in lean4 to solve the state. STATE: Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 ⊒ -1 ≀ ↑N + 1 + ↑N TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
simp
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ -Int.ofNat N.succ βˆ‰ Icc (-Int.ofNat N) ↑N TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
norm_num
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ¬↑N + 1 = -1 + -↑N
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ↑N.succ βˆ‰ insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N) TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
int_sum_nat
[260, 1]
[290, 15]
linarith
case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ¬↑N + 1 = -1 + -↑N
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h.e'_3.h.succ Ξ² : Type inst✝² : AddCommGroup Ξ² inst✝¹ : TopologicalSpace Ξ² inst✝ : ContinuousAdd Ξ² f : β„€ β†’ Ξ² a : Ξ² hfa : HasSum f a this✝¹ : Tendsto (fun n => βˆ‘ i ∈ range n, (f ↑i + f (-↑i))) atTop (𝓝 (a + f 0)) this✝ : Tendsto (fun n => βˆ‘ i ∈ range (n + 1), (f ↑i + f (-↑i)) + -f 0) atTop (𝓝 a) N : β„• ih : βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, f n = βˆ‘ i ∈ range (N + 1), (f ↑i + f (-↑i)) + -f 0 this : Icc (-Int.ofNat N.succ) ↑N.succ = insert (↑N.succ) (insert (-Int.ofNat N.succ) (Icc (-Int.ofNat N) ↑N)) ⊒ ¬↑N + 1 = -1 + -↑N TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
have fact_two_pi_pos : Fact (0 < 2 * Real.pi) := by rw [fact_iff] exact Real.two_pi_pos
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
set g : C(AddCircle (2 * Real.pi), β„‚) := ⟨AddCircle.liftIco (2*Real.pi) 0 f, AddCircle.liftIco_continuous ((periodicf 0).symm) fdiff.continuous.continuousOn⟩ with g_def
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
have two_pi_pos' : 0 < 0 + 2 * Real.pi := by linarith [Real.two_pi_pos]
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
have fourierCoeff_correspondence {i : β„€} : fourierCoeff g i = fourierCoeffOn two_pi_pos' f i := fourierCoeff_liftIco_eq f i
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn two_pi_pos' f i ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
simp at fourierCoeff_correspondence
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn two_pi_pos' f i ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn two_pi_pos' f i ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
have function_sum : HasSum (fun (i : β„€) => fourierCoeff g i β€’ fourier i) g := by apply hasSum_fourier_series_of_summable obtain ⟨C, hC⟩ := fourierCoeffOn_ContDiff_two_bound periodicf fdiff set maj : β„€ β†’ ℝ := fun i ↦ 1 / (i ^ 2) * C with maj_def have summable_maj : Summable maj := by by_cases Ceq0 : C = 0 . rw [maj_def, Ceq0] simp only [one_div, mul_zero] exact summable_zero . rw [← summable_div_const_iff Ceq0] convert Real.summable_one_div_int_pow.mpr one_lt_two using 1 rw [maj_def] ext i simp only [one_div] rw [mul_div_cancel_rightβ‚€] exact Ceq0 rw [summable_congr @fourierCoeff_correspondence, ←summable_norm_iff] apply summable_of_le_on_nonzero _ _ summable_maj . intro i simp . intro i ine0 rw [maj_def, Complex.norm_eq_abs] field_simp exact hC i ine0
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
have := int_sum_nat function_sum
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, fourierCoeff (⇑g) n β€’ fourier n) atTop (𝓝 g) ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
rw [ContinuousMap.tendsto_iff_tendstoUniformly, Metric.tendstoUniformly_iff] at this
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, fourierCoeff (⇑g) n β€’ fourier n) atTop (𝓝 g) ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : Tendsto (fun N => βˆ‘ n ∈ Icc (-Int.ofNat N) ↑N, fourierCoeff (⇑g) n β€’ fourier n) atTop (𝓝 g) ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
have := this Ξ΅ Ξ΅pos
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this✝ : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ this : βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
rw [Filter.eventually_atTop] at this
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this✝ : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ this : βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this✝ : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ this : βˆƒ a, βˆ€ b β‰₯ a, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat b) ↑b, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this✝ : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ this : βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
obtain ⟨Nβ‚€, hNβ‚€βŸ© := this
f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this✝ : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ this : βˆƒ a, βˆ€ b β‰₯ a, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat b) ↑b, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
case intro f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ Nβ‚€ : β„• hNβ‚€ : βˆ€ b β‰₯ Nβ‚€, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat b) ↑b, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this✝ : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ this : βˆƒ a, βˆ€ b β‰₯ a, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat b) ↑b, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC:
https://github.com/fpvandoorn/carleson.git
6d448ddfa1ff78506367ab09a8caac5351011ead
Carleson/Theorem1_1/Approximation.lean
fourierConv_ofTwiceDifferentiable
[297, 1]
[362, 9]
use Nβ‚€
case intro f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ Nβ‚€ : β„• hNβ‚€ : βˆ€ b β‰₯ Nβ‚€, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat b) ↑b, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
case h f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ Nβ‚€ : β„• hNβ‚€ : βˆ€ b β‰₯ Nβ‚€, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat b) ↑b, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅
Please generate a tactic in lean4 to solve the state. STATE: case intro f : ℝ β†’ β„‚ periodicf : Function.Periodic f (2 * Real.pi) fdiff : ContDiff ℝ 2 f Ξ΅ : ℝ Ξ΅pos : Ξ΅ > 0 fact_two_pi_pos : Fact (0 < 2 * Real.pi) g : C(AddCircle (2 * Real.pi), β„‚) := { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } g_def : g = { toFun := AddCircle.liftIco (2 * Real.pi) 0 f, continuous_toFun := β‹― } two_pi_pos' : 0 < 0 + 2 * Real.pi fourierCoeff_correspondence : βˆ€ {i : β„€}, fourierCoeff (⇑g) i = fourierCoeffOn β‹― f i function_sum : HasSum (fun i => fourierCoeff (⇑g) i β€’ fourier i) g this : βˆ€ Ξ΅ > 0, βˆ€αΆ  (n : β„•) in atTop, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat n) ↑n, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ Nβ‚€ : β„• hNβ‚€ : βˆ€ b β‰₯ Nβ‚€, βˆ€ (x : AddCircle (2 * Real.pi)), dist (g x) ((βˆ‘ n ∈ Icc (-Int.ofNat b) ↑b, fourierCoeff (⇑g) n β€’ fourier n) x) < Ξ΅ ⊒ βˆƒ Nβ‚€, βˆ€ N > Nβ‚€, βˆ€ x ∈ Set.Icc 0 (2 * Real.pi), Complex.abs (f x - partialFourierSum f N x) ≀ Ξ΅ TACTIC: