module
stringlengths
17
90
startPos
dict
endPos
dict
nextStartPos
dict
goals
listlengths
0
96
goalsAfter
listlengths
0
96
ppTac
stringlengths
1
12.3k
elaborator
stringclasses
379 values
kind
stringclasses
383 values
Mathlib.FieldTheory.AbelRuffini
{ "line": 106, "column": 2 }
{ "line": 107, "column": 68 }
{ "line": 108, "column": 2 }
[ { "pp": "case neg\nF : Type u_1\ninst✝ : Field F\nn : ℕ\na : F\nh : (map (RingHom.id F) (X ^ n - 1)).Splits\nha : ¬a = 0\n⊢ Group.IsSolvable (X ^ n - C a).Gal", "ppTerm": "?neg✝", "assigned": true, "usedConstants": [ "AddGroup.toSubtractionMonoid", "Polynomial.C", "RingHom.instRing...
[ "case neg\nF : Type u_1\ninst✝ : Field F\nn : ℕ\na : F\nh : (map (RingHom.id F) (X ^ n - 1)).Splits\nha : ¬a = 0\nha' : (algebraMap F (X ^ n - C a).SplittingField) a ≠ 0\n⊢ Group.IsSolvable (X ^ n - C a).Gal" ]
have ha' : algebraMap F (X ^ n - C a).SplittingField a ≠ 0 := mt ((injective_iff_map_eq_zero _).mp (RingHom.injective _) a) ha
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.RingTheory.Algebraic.Cardinality
{ "line": 66, "column": 55 }
{ "line": 67, "column": 68 }
{ "line": 69, "column": 0 }
[ { "pp": "R : Type u\ninst✝⁶ : CommRing R\ninst✝⁵ : IsDomain R\nL : Type u\ninst✝⁴ : CommRing L\ninst✝³ : IsDomain L\ninst✝² : Algebra R L\ninst✝¹ : IsTorsionFree R L\ninst✝ : Algebra.IsAlgebraic R L\n⊢ #L ≤ #((p : R[X]) × { x // x ∈ p.aroots L })", "ppTerm": "?m.33", "assigned": true, "usedConstants...
[]
by simpa only [lift_id] using lift_cardinalMk_le_sigma_polynomial R L
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.ModelTheory.LanguageMap
{ "line": 312, "column": 55 }
{ "line": 312, "column": 67 }
{ "line": 312, "column": 68 }
[ { "pp": "L : Language\nL' : Language\nM : Type w\ninst✝ : L.Structure M\nL'' : Language\ne'✝ : L' ≃ᴸ L''\ne✝ e : L ≃ᴸ L'\ne' : L' ≃ᴸ L''\n⊢ e.invLHom.comp ((e'.invLHom.comp e'.toLHom).comp e.toLHom) = LHom.id L", "ppTerm": "?m.36", "assigned": true, "usedConstants": [ "Eq.mpr", "FirstOrd...
[ "L : Language\nL' : Language\nM : Type w\ninst✝ : L.Structure M\nL'' : Language\ne'✝ : L' ≃ᴸ L''\ne✝ e : L ≃ᴸ L'\ne' : L' ≃ᴸ L''\n⊢ e.invLHom.comp ((LHom.id L').comp e.toLHom) = LHom.id L" ]
e'.left_inv,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.ModelTheory.LanguageMap
{ "line": 446, "column": 78 }
{ "line": 446, "column": 89 }
{ "line": 448, "column": 0 }
[ { "pp": "L : Language\nα : Type w'\nβ : Type u_1\nf : α → β\n⊢ (L.lhomWithConstantsMap f).comp LHom.sumInl = L.lhomWithConstants β", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "FirstOrder.Language.LHom.onRelation", "FirstOrder.Language.LHom.comp", "FirstOrder.Language.L...
[]
ext <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.ModelTheory.LanguageMap
{ "line": 446, "column": 78 }
{ "line": 446, "column": 89 }
{ "line": 448, "column": 0 }
[ { "pp": "L : Language\nα : Type w'\nβ : Type u_1\nf : α → β\n⊢ (L.lhomWithConstantsMap f).comp LHom.sumInl = L.lhomWithConstants β", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "FirstOrder.Language.LHom.onRelation", "FirstOrder.Language.LHom.comp", "FirstOrder.Language.L...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.ModelTheory.LanguageMap
{ "line": 446, "column": 78 }
{ "line": 446, "column": 89 }
{ "line": 448, "column": 0 }
[ { "pp": "L : Language\nα : Type w'\nβ : Type u_1\nf : α → β\n⊢ (L.lhomWithConstantsMap f).comp LHom.sumInl = L.lhomWithConstants β", "ppTerm": "?m.9", "assigned": true, "usedConstants": [ "FirstOrder.Language.LHom.onRelation", "FirstOrder.Language.LHom.comp", "FirstOrder.Language.L...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.FieldTheory.AbelRuffini
{ "line": 180, "column": 4 }
{ "line": 180, "column": 26 }
{ "line": 181, "column": 4 }
[ { "pp": "case pos\nF : Type u_1\ninst✝ : Field F\nn : ℕ\nx : F\nhx : x = 0\n⊢ Group.IsSolvable (X ^ n - C x).Gal", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Eq.mpr", "Polynomial.C", "AddMonoidAlgebra.semiring", "AddGroupWithOne.toAddGroup", "Polynomial.Ga...
[ "case pos\nF : Type u_1\ninst✝ : Field F\nn : ℕ\nx : F\nhx : x = 0\n⊢ Group.IsSolvable (X ^ n).Gal" ]
rw [hx, C_0, sub_zero]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.ModelTheory.Semantics
{ "line": 275, "column": 2 }
{ "line": 275, "column": 25 }
{ "line": 277, "column": 0 }
[ { "pp": "L : Language\nM : Type w\ninst✝ : L.Structure M\nα : Type u'\nl : ℕ\nφ ψ : L.BoundedFormula α l\nv : α → M\nxs : Fin l → M\n⊢ (φ ⊓ ψ).Realize v xs ↔ φ.Realize v xs ∧ ψ.Realize v xs", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "FirstOrder.Language.BoundedFormula.imp", ...
[]
simp [Realize, Min.min]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.ModelTheory.Semantics
{ "line": 275, "column": 2 }
{ "line": 275, "column": 25 }
{ "line": 277, "column": 0 }
[ { "pp": "L : Language\nM : Type w\ninst✝ : L.Structure M\nα : Type u'\nl : ℕ\nφ ψ : L.BoundedFormula α l\nv : α → M\nxs : Fin l → M\n⊢ (φ ⊓ ψ).Realize v xs ↔ φ.Realize v xs ∧ ψ.Realize v xs", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "FirstOrder.Language.BoundedFormula.imp", ...
[]
simp [Realize, Min.min]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.ModelTheory.Semantics
{ "line": 275, "column": 2 }
{ "line": 275, "column": 25 }
{ "line": 277, "column": 0 }
[ { "pp": "L : Language\nM : Type w\ninst✝ : L.Structure M\nα : Type u'\nl : ℕ\nφ ψ : L.BoundedFormula α l\nv : α → M\nxs : Fin l → M\n⊢ (φ ⊓ ψ).Realize v xs ↔ φ.Realize v xs ∧ ψ.Realize v xs", "ppTerm": "?m.18", "assigned": true, "usedConstants": [ "FirstOrder.Language.BoundedFormula.imp", ...
[]
simp [Realize, Min.min]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.ModelTheory.Definability
{ "line": 124, "column": 4 }
{ "line": 126, "column": 24 }
{ "line": 128, "column": 0 }
[ { "pp": "M : Type w\nA : Set M\nL : Language\ninst✝ : L.Structure M\nα : Type u₁\nι : Type u_2\nf : ι → Set (α → M)\nhf : ∀ (i : ι), A.Definable L (f i)\ns : Finset ι\n⊢ A.Definable L (s.inf f)", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.Definable.inter", ...
[]
refine Finset.induction definable_univ (fun i s _ h => ?_) s rw [Finset.inf_insert] exact (hf i).inter h
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.ModelTheory.Definability
{ "line": 124, "column": 4 }
{ "line": 126, "column": 24 }
{ "line": 128, "column": 0 }
[ { "pp": "M : Type w\nA : Set M\nL : Language\ninst✝ : L.Structure M\nα : Type u₁\nι : Type u_2\nf : ι → Set (α → M)\nhf : ∀ (i : ι), A.Definable L (f i)\ns : Finset ι\n⊢ A.Definable L (s.inf f)", "ppTerm": "?m.12", "assigned": true, "usedConstants": [ "Eq.mpr", "Set.Definable.inter", ...
[]
refine Finset.induction definable_univ (fun i s _ h => ?_) s rw [Finset.inf_insert] exact (hf i).inter h
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.ModelTheory.Encoding
{ "line": 231, "column": 4 }
{ "line": 231, "column": 15 }
{ "line": 232, "column": 2 }
[ { "pp": "case equal.hc\nL : Language\nα : Type u'\nl✝ : List ((n : ℕ) × L.BoundedFormula α n)\nn n✝ : ℕ\nt₁✝ t₂✝ : L.Term (α ⊕ Fin n✝)\nl : List ((k : ℕ) × L.Term (α ⊕ Fin k) ⊕ (n : ℕ) × L.Relations n ⊕ ℕ)\n⊢ ⟨n✝, equal t₁✝ t₂✝⟩.fst = ⟨n✝, equal t₁✝ t₂✝⟩.fst", "ppTerm": "?equal.hc", "assigned": true, ...
[]
· simp only
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.ModelTheory.Definability
{ "line": 669, "column": 2 }
{ "line": 669, "column": 62 }
{ "line": 670, "column": 2 }
[ { "pp": "case h\nM : Type w\nA : Set M\nL : Language\ninst✝ : L.Structure M\nf : M → M\nh✝ : TermDefinable₁ L f\nt : L[[↑A]].Formula (Option Unit)\nh : (Function.tupleGraph fun v ↦ f (v ())) = ofPred t.Realize\nv : Fin 2 → M\n⊢ v ∈ {x | (x 0, x 1) ∈ Function.graph f} ↔ v ∈ ofPred (Formula.relabel (fun x ↦ x.eli...
[ "case e'_2\nM : Type w\nA : Set M\nL : Language\ninst✝ : L.Structure M\nf : M → M\nh✝ : TermDefinable₁ L f\nt : L[[↑A]].Formula (Option Unit)\nh : (Function.tupleGraph fun v ↦ f (v ())) = ofPred t.Realize\nv : Fin 2 → M\n⊢ v ∈ ofPred (Formula.relabel (fun x ↦ x.elim 1 fun x ↦ 0) t).Realize ↔\n (v ∘ fun x ↦ x.eli...
convert! Set.ext_iff.1 h (v ∘ (Option.elim · 1 (fun _ ↦ 0)))
Mathlib.Tactic._aux_Mathlib_Tactic_Convert___macroRules_Mathlib_Tactic_convert!_1
Mathlib.Tactic.convert!
Mathlib.ModelTheory.Semantics
{ "line": 492, "column": 2 }
{ "line": 492, "column": 33 }
{ "line": 493, "column": 2 }
[ { "pp": "L : Language\nM : Type w\ninst✝ : L.Structure M\nα : Type u'\nβ : Type v'\ng : α ≃ β\nk : ℕ\nφ : L.BoundedFormula α k\nv : β → M\nxs✝ : Fin k → M\nn : ℕ\nt : L.Term (α ⊕ Fin n)\nxs : Fin n → M\n⊢ realize (Sum.elim v xs ∘ ⇑(g.sumCongr (_root_.Equiv.refl (Fin n)))) t = realize (Sum.elim (v ∘ ⇑g) xs) t", ...
[ "L : Language\nM : Type w\ninst✝ : L.Structure M\nα : Type u'\nβ : Type v'\ng : α ≃ β\nk : ℕ\nφ : L.BoundedFormula α k\nv : β → M\nxs✝ : Fin k → M\nn : ℕ\nt : L.Term (α ⊕ Fin n)\nxs : Fin n → M\n⊢ Sum.elim v xs ∘ ⇑(g.sumCongr (_root_.Equiv.refl (Fin n))) = Sum.elim (v ∘ ⇑g) xs" ]
refine congr (congr rfl ?_) rfl
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.ModelTheory.Ultraproducts
{ "line": 91, "column": 21 }
{ "line": 91, "column": 56 }
{ "line": 93, "column": 0 }
[ { "pp": "case e'_3.e'_3.func\nα : Type u_1\nM : α → Type u_2\nu : Ultrafilter α\nL : Language\ninst✝ : (a : α) → L.Structure (M a)\nβ : Type u_3\nx : β → (a : α) → M a\na : α\nl✝ : ℕ\n_f✝ : L.Functions l✝\n_ts✝ : Fin l✝ → L.Term β\nt_ih : ∀ (a_1 : Fin l✝), Term.realize (fun i ↦ x i a) (_ts✝ a_1) = Term.realize ...
[]
simp only [Term.realize, t_ih]; rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.ModelTheory.Ultraproducts
{ "line": 91, "column": 21 }
{ "line": 91, "column": 56 }
{ "line": 93, "column": 0 }
[ { "pp": "case e'_3.e'_3.func\nα : Type u_1\nM : α → Type u_2\nu : Ultrafilter α\nL : Language\ninst✝ : (a : α) → L.Structure (M a)\nβ : Type u_3\nx : β → (a : α) → M a\na : α\nl✝ : ℕ\n_f✝ : L.Functions l✝\n_ts✝ : Fin l✝ → L.Term β\nt_ih : ∀ (a_1 : Fin l✝), Term.realize (fun i ↦ x i a) (_ts✝ a_1) = Term.realize ...
[]
simp only [Term.realize, t_ih]; rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.ModelTheory.Semantics
{ "line": 994, "column": 27 }
{ "line": 994, "column": 50 }
{ "line": 994, "column": 51 }
[ { "pp": "case imp\nL : Language\nM : Type w\nN : Type u_1\ninst✝³ : L.Structure M\ninst✝² : L.Structure N\nα : Type u'\nn : ℕ\nF : Type u_4\ninst✝¹ : EquivLike F M N\ninst✝ : L.StrongHomClass F M N\ng : F\nv : α → M\nn✝ : ℕ\nf₁✝ f₂✝ : L.BoundedFormula α n✝\nih1 : ∀ {xs : Fin n✝ → M}, f₁✝.Realize (⇑g ∘ v) (⇑g ∘ ...
[ "case imp\nL : Language\nM : Type w\nN : Type u_1\ninst✝³ : L.Structure M\ninst✝² : L.Structure N\nα : Type u'\nn : ℕ\nF : Type u_4\ninst✝¹ : EquivLike F M N\ninst✝ : L.StrongHomClass F M N\ng : F\nv : α → M\nn✝ : ℕ\nf₁✝ f₂✝ : L.BoundedFormula α n✝\nih1 : ∀ {xs : Fin n✝ → M}, f₁✝.Realize (⇑g ∘ v) (⇑g ∘ xs) ↔ f₁✝.Re...
BoundedFormula.Realize,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.ModelTheory.Semantics
{ "line": 996, "column": 8 }
{ "line": 996, "column": 31 }
{ "line": 996, "column": 32 }
[ { "pp": "case all\nL : Language\nM : Type w\nN : Type u_1\ninst✝³ : L.Structure M\ninst✝² : L.Structure N\nα : Type u'\nn : ℕ\nF : Type u_4\ninst✝¹ : EquivLike F M N\ninst✝ : L.StrongHomClass F M N\ng : F\nv : α → M\nn✝ : ℕ\nf✝ : L.BoundedFormula α (n✝ + 1)\nih3 : ∀ {xs : Fin (n✝ + 1) → M}, f✝.Realize (⇑g ∘ v) ...
[ "case all\nL : Language\nM : Type w\nN : Type u_1\ninst✝³ : L.Structure M\ninst✝² : L.Structure N\nα : Type u'\nn : ℕ\nF : Type u_4\ninst✝¹ : EquivLike F M N\ninst✝ : L.StrongHomClass F M N\ng : F\nv : α → M\nn✝ : ℕ\nf✝ : L.BoundedFormula α (n✝ + 1)\nih3 : ∀ {xs : Fin (n✝ + 1) → M}, f✝.Realize (⇑g ∘ v) (⇑g ∘ xs) ↔ ...
BoundedFormula.Realize,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.ModelTheory.Semantics
{ "line": 1109, "column": 2 }
{ "line": 1111, "column": 43 }
{ "line": 1113, "column": 0 }
[ { "pp": "case refine_2\nL : Language\nα : Type u'\nM : Type w\ninst✝ : L[[α]].Structure M\ns : Set α\n⊢ Set.InjOn (fun i ↦ ↑(L.con i)) s →\n ∀ (φ : L[[α]].Sentence) (x x_1 : α),\n (x, x_1) ∈ s ×ˢ s ∩ (Set.diagonal α)ᶜ → ((L.con x).term.equal (L.con x_1).term).not = φ → M ⊨ φ", "ppTerm": "?refine_2",...
[]
· rintro h φ a b ⟨⟨as, bs⟩, ab⟩ rfl simp only [Sentence.Realize, Formula.realize_not, Formula.realize_equal, Term.realize_constants] exact fun contra => ab (h as bs contra)
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.SetTheory.Cardinal.Divisibility
{ "line": 84, "column": 4 }
{ "line": 84, "column": 27 }
{ "line": 85, "column": 4 }
[ { "pp": "n : ℕ\nh : ∀ (a b : ℕ), n ∣ a * b → n ∣ a ∨ n ∣ b\nb c : Cardinal.{u_1}\nhbc : ↑n ∣ b * c\nh' : ℵ₀ ≤ b * c\nhb : b ≠ 0\nhc : c ≠ 0\nhℵ₀ : ℵ₀ ≤ b ∨ ℵ₀ ≤ c\nhn : ↑n ≠ 0\nthis :\n ∀ {n : ℕ},\n (∀ (a b : ℕ), n ∣ a * b → n ∣ a ∨ n ∣ b) →\n ∀ (b c : Cardinal.{u_1}),\n ↑n ∣ b * c → ℵ₀ ≤ b * c ...
[ "n : ℕ\nh : ∀ (a b : ℕ), n ∣ a * b → n ∣ a ∨ n ∣ b\nb c : Cardinal.{u_1}\nhbc : ↑n ∣ b * c\nh' : ℵ₀ ≤ b * c\nhb : b ≠ 0\nhc : c ≠ 0\nhℵ₀ : ℵ₀ ≤ b ∨ ℵ₀ ≤ c\nhn : ↑n ≠ 0\nthis :\n ∀ {n : ℕ},\n (∀ (a b : ℕ), n ∣ a * b → n ∣ a ∨ n ∣ b) →\n ∀ (b c : Cardinal.{u_1}),\n ↑n ∣ b * c → ℵ₀ ≤ b * c → b ≠ 0 → c ...
· rwa [mul_comm] at hbc
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.SetTheory.Cardinal.Divisibility
{ "line": 100, "column": 4 }
{ "line": 100, "column": 47 }
{ "line": 101, "column": 2 }
[ { "pp": "case pos\na : Cardinal.{u_1}\nh : ℵ₀ ≤ a\n⊢ IsPrimePow a ↔ ℵ₀ ≤ a ∨ ∃ n, a = ↑n ∧ IsPrimePow n", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Cardinal", "congrArg", "true_or", "IsPrimePow", "Exists", "Cardinal.aleph0", "LE.le", "Na...
[]
simp [h, (prime_of_aleph0_le h).isPrimePow]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.SetTheory.Cardinal.Divisibility
{ "line": 100, "column": 4 }
{ "line": 100, "column": 47 }
{ "line": 101, "column": 2 }
[ { "pp": "case pos\na : Cardinal.{u_1}\nh : ℵ₀ ≤ a\n⊢ IsPrimePow a ↔ ℵ₀ ≤ a ∨ ∃ n, a = ↑n ∧ IsPrimePow n", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Cardinal", "congrArg", "true_or", "IsPrimePow", "Exists", "Cardinal.aleph0", "LE.le", "Na...
[]
simp [h, (prime_of_aleph0_le h).isPrimePow]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.SetTheory.Cardinal.Divisibility
{ "line": 100, "column": 4 }
{ "line": 100, "column": 47 }
{ "line": 101, "column": 2 }
[ { "pp": "case pos\na : Cardinal.{u_1}\nh : ℵ₀ ≤ a\n⊢ IsPrimePow a ↔ ℵ₀ ≤ a ∨ ∃ n, a = ↑n ∧ IsPrimePow n", "ppTerm": "?pos✝", "assigned": true, "usedConstants": [ "Cardinal", "congrArg", "true_or", "IsPrimePow", "Exists", "Cardinal.aleph0", "LE.le", "Na...
[]
simp [h, (prime_of_aleph0_le h).isPrimePow]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.FieldTheory.Differential.Liouville
{ "line": 72, "column": 8 }
{ "line": 72, "column": 54 }
{ "line": 73, "column": 8 }
[ { "pp": "F : Type u_1\nK : Type u_2\ninst✝¹² : Field F\ninst✝¹¹ : Field K\ninst✝¹⁰ : Differential F\ninst✝⁹ : Differential K\ninst✝⁸ : Algebra F K\ninst✝⁷ : DifferentialAlgebra F K\nA : Type u_3\ninst✝⁶ : Field A\ninst✝⁵ : Algebra K A\ninst✝⁴ : Algebra F A\ninst✝³ : Differential A\ninst✝² : IsScalarTower F K A\...
[ "F : Type u_1\nK : Type u_2\ninst✝¹² : Field F\ninst✝¹¹ : Field K\ninst✝¹⁰ : Differential F\ninst✝⁹ : Differential K\ninst✝⁸ : Algebra F K\ninst✝⁷ : DifferentialAlgebra F K\nA : Type u_3\ninst✝⁶ : Field A\ninst✝⁵ : Algebra K A\ninst✝⁴ : Algebra F A\ninst✝³ : Differential A\ninst✝² : IsScalarTower F K A\ninst✝¹ : Co...
simp only [coe_deriv, hc, algebraMap.coe_zero]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.FieldTheory.Finite.Polynomial
{ "line": 136, "column": 4 }
{ "line": 136, "column": 31 }
{ "line": 136, "column": 32 }
[ { "pp": "case intro.refine_2\nK : Type u_1\nσ : Type u_2\ninst✝² : Field K\ninst✝¹ : Fintype K\ninst✝ : Finite σ\nval✝ : Fintype σ\ne : (σ → K) → K\nx✝ : e ∈ ⊤\nn : σ → K\n⊢ ∑ x, e x * (eval n) (indicator x) = e n", "ppTerm": "?intro.refine_2", "assigned": true, "usedConstants": [ "Finsupp.ins...
[ "case intro.refine_2\nK : Type u_1\nσ : Type u_2\ninst✝² : Field K\ninst✝¹ : Fintype K\ninst✝ : Finite σ\nval✝ : Fintype σ\ne : (σ → K) → K\nx✝ : e ∈ ⊤\nn : σ → K\n⊢ e n * (eval n) (indicator n) = e n", "case intro.refine_2.h₀\nK : Type u_1\nσ : Type u_2\ninst✝² : Field K\ninst✝¹ : Fintype K\ninst✝ : Finite σ\nva...
rw [Finset.sum_eq_single n]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.FieldTheory.Finite.Polynomial
{ "line": 218, "column": 42 }
{ "line": 218, "column": 51 }
{ "line": 218, "column": 51 }
[ { "pp": "case intro\nσ K : Type u\ninst✝² : Fintype K\ninst✝¹ : Field K\ninst✝ : Finite σ\nval✝ : Fintype σ\n⊢ Module.finrank K (R σ K) = Fintype.card (σ → K)", "ppTerm": "?intro", "assigned": true, "usedConstants": [ "Eq.mpr", "congrArg", "CommSemiring.toSemiring", "AddCommG...
[ "case intro\nσ K : Type u\ninst✝² : Fintype K\ninst✝¹ : Field K\ninst✝ : Finite σ\nval✝ : Fintype σ\n⊢ Fintype.card (σ → K) = Fintype.card (σ → K)" ]
finrank_R
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.IsGaloisGroup.Defs
{ "line": 68, "column": 45 }
{ "line": 68, "column": 75 }
{ "line": 68, "column": 75 }
[ { "pp": "G : Type u_1\nA : Type u_2\nB : Type u_4\ninst✝⁶ : Group G\ninst✝⁵ : CommSemiring A\ninst✝⁴ : Semiring B\ninst✝³ : Algebra A B\ninst✝² : MulSemiringAction G B\nhG : IsGaloisGroup G A B\nH : Type u_5\ninst✝¹ : Group H\ninst✝ : MulSemiringAction H B\ne : H ≃* G\nhe : ∀ (h : H) (x : B), e h • x = h • x\nb...
[]
simpa [he'] using h (e.symm g)
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.RingTheory.IsGaloisGroup.Defs
{ "line": 68, "column": 45 }
{ "line": 68, "column": 75 }
{ "line": 68, "column": 75 }
[ { "pp": "G : Type u_1\nA : Type u_2\nB : Type u_4\ninst✝⁶ : Group G\ninst✝⁵ : CommSemiring A\ninst✝⁴ : Semiring B\ninst✝³ : Algebra A B\ninst✝² : MulSemiringAction G B\nhG : IsGaloisGroup G A B\nH : Type u_5\ninst✝¹ : Group H\ninst✝ : MulSemiringAction H B\ne : H ≃* G\nhe : ∀ (h : H) (x : B), e h • x = h • x\nb...
[]
simpa [he'] using h (e.symm g)
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.RingTheory.IsGaloisGroup.Defs
{ "line": 68, "column": 45 }
{ "line": 68, "column": 75 }
{ "line": 68, "column": 75 }
[ { "pp": "G : Type u_1\nA : Type u_2\nB : Type u_4\ninst✝⁶ : Group G\ninst✝⁵ : CommSemiring A\ninst✝⁴ : Semiring B\ninst✝³ : Algebra A B\ninst✝² : MulSemiringAction G B\nhG : IsGaloisGroup G A B\nH : Type u_5\ninst✝¹ : Group H\ninst✝ : MulSemiringAction H B\ne : H ≃* G\nhe : ∀ (h : H) (x : B), e h • x = h • x\nb...
[]
simpa [he'] using h (e.symm g)
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.RingTheory.Invariant.Basic
{ "line": 127, "column": 59 }
{ "line": 128, "column": 57 }
{ "line": 130, "column": 0 }
[ { "pp": "B : Type u_2\nG : Type u_3\ninst✝³ : CommRing B\ninst✝² : Group G\ninst✝¹ : MulSemiringAction G B\ninst✝ : Fintype G\nb : B\nn : ℕ\ng : G\n⊢ g • (charpoly G b).coeff n = (charpoly G b).coeff n", "ppTerm": "?m.28", "assigned": true, "usedConstants": [ "Finsupp.instFunLike", "Eq.m...
[]
by rw [← AddMonoidAlgebra.coeff_smul_apply, smul_charpoly]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.IsGaloisGroup.Basic
{ "line": 93, "column": 2 }
{ "line": 96, "column": 53 }
{ "line": 97, "column": 2 }
[ { "pp": "case refine_1\nG : Type u_1\nA : Type u_2\nB : Type u_3\nK : Type u_4\nL : Type u_5\ninst✝¹⁸ : Group G\ninst✝¹⁷ : CommRing A\ninst✝¹⁶ : CommRing B\ninst✝¹⁵ : MulSemiringAction G B\ninst✝¹⁴ : Algebra A B\ninst✝¹³ : Field K\ninst✝¹² : Field L\ninst✝¹¹ : Algebra K L\ninst✝¹⁰ : Algebra A K\ninst✝⁹ : Algebr...
[ "case refine_2\nG : Type u_1\nA : Type u_2\nB : Type u_3\nK : Type u_4\nL : Type u_5\ninst✝¹⁸ : Group G\ninst✝¹⁷ : CommRing A\ninst✝¹⁶ : CommRing B\ninst✝¹⁵ : MulSemiringAction G B\ninst✝¹⁴ : Algebra A B\ninst✝¹³ : Field K\ninst✝¹² : Field L\ninst✝¹¹ : Algebra K L\ninst✝¹⁰ : Algebra A K\ninst✝⁹ : Algebra B L\ninst✝...
· have := hGKL.faithful refine eq_of_smul_eq_smul fun (y : L) ↦ ?_ obtain ⟨a, b, hb, rfl⟩ := IsFractionRing.div_surjective B y simp only [smul_div₀', ← algebraMap.coe_smul', h]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.FieldTheory.CardinalEmb
{ "line": 182, "column": 84 }
{ "line": 184, "column": 5 }
{ "line": 186, "column": 0 }
[ { "pp": "F : Type u\nE : Type v\ninst✝³ : Field F\ninst✝² : Field E\ninst✝¹ : Algebra F E\nrank_inf : Fact (ℵ₀ ≤ Module.rank F E)\ninst✝ : Algebra.IsAlgebraic F E\ni : (Module.rank F E).ord.ToType\nf : ↥(adjoin F (⇑b ∘ φ '' Iio (i⁺))) →ₐ[F] Ē\n⊢ ((succEquiv i) f).1 = f.comp (Subalgebra.inclusion ⋯)", "ppTer...
[]
by ext rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.FieldTheory.CardinalEmb
{ "line": 195, "column": 60 }
{ "line": 200, "column": 51 }
{ "line": 202, "column": 0 }
[ { "pp": "F : Type u\nE : Type v\ninst✝³ : Field F\ninst✝² : Field E\ninst✝¹ : Algebra F E\nrank_inf : Fact (ℵ₀ ≤ Module.rank F E)\ninst✝ : Algebra.IsAlgebraic F E\ni j : WithTop (Module.rank F E).ord.ToType\nh : i < j\n⊢ failed to pretty print expression (use 'set_option pp.rawOnError true' for raw representati...
[]
by cases j · obtain ⟨i, rfl⟩ := ne_top_iff_exists.mp h.ne exact ⟨le_top, fun incl ↦ (isLeast_leastExt i).1 (incl trivial)⟩ · obtain ⟨i, rfl⟩ := ne_top_iff_exists.mp (h.trans <| coe_lt_top _).ne exact strictMono_filtration (coe_lt_coe.mp h)
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.FieldTheory.Galois.NormalBasis
{ "line": 55, "column": 51 }
{ "line": 55, "column": 64 }
{ "line": 55, "column": 65 }
[ { "pp": "case e'_4\nK : Type u_1\nL : Type u_2\ninst✝³ : Field K\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : Finite L\nthis✝ : Finite K\nthis : Fintype K\nx : L\nhx :\n Ideal.span {X ^ finrank K L - 1} =\n (toSpanSingleton K[X] (AEval' (frobeniusAlgHom K L).toLinearMap)\n ((AEval'.of (frobeniusA...
[ "case e'_4\nK : Type u_1\nL : Type u_2\ninst✝³ : Field K\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : Finite L\nthis✝ : Finite K\nthis : Fintype K\nx : L\nhx :\n Ideal.span {X ^ finrank K L - 1} =\n (toSpanSingleton K[X] (AEval' (frobeniusAlgHom K L).toLinearMap)\n ((AEval'.of (frobeniusAlgHom K L).t...
End.smul_def,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.RingTheory.Invariant.Basic
{ "line": 249, "column": 15 }
{ "line": 249, "column": 35 }
{ "line": 249, "column": 36 }
[ { "pp": "case pos\nB : Type u_2\ninst✝⁴ : CommRing B\nG : Type u_3\ninst✝³ : Group G\ninst✝² : Finite G\ninst✝¹ : MulSemiringAction G B\nQ : Ideal B\ninst✝ : Q.IsPrime\nval✝ : Fintype G\nP : Ideal B := {g | g • Q ≠ Q}.inf fun g ↦ g • Q\nh1 : ¬P ≤ Q\nb : B\nhbQ : b ∉ Q\nhbP : ∀ (g : G), g • Q ≠ Q → b ∈ g • Q\nf ...
[ "case pos\nB : Type u_2\ninst✝⁴ : CommRing B\nG : Type u_3\ninst✝³ : Group G\ninst✝² : Finite G\ninst✝¹ : MulSemiringAction G B\nQ : Ideal B\ninst✝ : Q.IsPrime\nval✝ : Fintype G\nP : Ideal B := {g | g • Q ≠ Q}.inf fun g ↦ g • Q\nh1 : ¬P ≤ Q\nb : B\nhbQ : b ∉ Q\nhbP : ∀ (g : G), g • Q ≠ Q → b ∈ g • Q\nf : B[X] := Mu...
sub_sub_cancel_left,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.FieldTheory.PerfectClosure
{ "line": 169, "column": 10 }
{ "line": 169, "column": 76 }
{ "line": 169, "column": 76 }
[ { "pp": "K : Type u\ninst✝² : CommRing K\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : CharP K p\ne : PerfectClosure K p\nx✝ : ℕ × K\nn : ℕ\nx : K\n⊢ ((n, x).1 + (0, 1).1, (⇑(frobenius K p))^[(0, 1).1] (n, x).2 * (⇑(frobenius K p))^[(n, x).1] (0, 1).2) = (n, x)", "ppTerm": "?m.251", "assigned": true, ...
[]
simp only [iterate_map_one, iterate_zero_apply, mul_one, add_zero]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.FieldTheory.PerfectClosure
{ "line": 169, "column": 10 }
{ "line": 169, "column": 76 }
{ "line": 169, "column": 76 }
[ { "pp": "K : Type u\ninst✝² : CommRing K\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : CharP K p\ne : PerfectClosure K p\nx✝ : ℕ × K\nn : ℕ\nx : K\n⊢ ((n, x).1 + (0, 1).1, (⇑(frobenius K p))^[(0, 1).1] (n, x).2 * (⇑(frobenius K p))^[(n, x).1] (0, 1).2) = (n, x)", "ppTerm": "?m.251", "assigned": true, ...
[]
simp only [iterate_map_one, iterate_zero_apply, mul_one, add_zero]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.FieldTheory.PerfectClosure
{ "line": 169, "column": 10 }
{ "line": 169, "column": 76 }
{ "line": 169, "column": 76 }
[ { "pp": "K : Type u\ninst✝² : CommRing K\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : CharP K p\ne : PerfectClosure K p\nx✝ : ℕ × K\nn : ℕ\nx : K\n⊢ ((n, x).1 + (0, 1).1, (⇑(frobenius K p))^[(0, 1).1] (n, x).2 * (⇑(frobenius K p))^[(n, x).1] (0, 1).2) = (n, x)", "ppTerm": "?m.251", "assigned": true, ...
[]
simp only [iterate_map_one, iterate_zero_apply, mul_one, add_zero]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.FieldTheory.PerfectClosure
{ "line": 169, "column": 10 }
{ "line": 169, "column": 76 }
{ "line": 169, "column": 76 }
[ { "pp": "K : Type u\ninst✝² : CommRing K\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : CharP K p\ne : PerfectClosure K p\nx✝ : ℕ × K\nn : ℕ\nx : K\n⊢ ((n, x).1 + (0, 1).1, (⇑(frobenius K p))^[(0, 1).1] (n, x).2 * (⇑(frobenius K p))^[(n, x).1] (0, 1).2) = (n, x)", "ppTerm": "?m.252", "assigned": true, ...
[]
simp only [iterate_map_one, iterate_zero_apply, mul_one, add_zero]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.FieldTheory.PerfectClosure
{ "line": 169, "column": 10 }
{ "line": 169, "column": 76 }
{ "line": 169, "column": 76 }
[ { "pp": "K : Type u\ninst✝² : CommRing K\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : CharP K p\ne : PerfectClosure K p\nx✝ : ℕ × K\nn : ℕ\nx : K\n⊢ ((n, x).1 + (0, 1).1, (⇑(frobenius K p))^[(0, 1).1] (n, x).2 * (⇑(frobenius K p))^[(n, x).1] (0, 1).2) = (n, x)", "ppTerm": "?m.252", "assigned": true, ...
[]
simp only [iterate_map_one, iterate_zero_apply, mul_one, add_zero]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.FieldTheory.PerfectClosure
{ "line": 169, "column": 10 }
{ "line": 169, "column": 76 }
{ "line": 169, "column": 76 }
[ { "pp": "K : Type u\ninst✝² : CommRing K\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : CharP K p\ne : PerfectClosure K p\nx✝ : ℕ × K\nn : ℕ\nx : K\n⊢ ((n, x).1 + (0, 1).1, (⇑(frobenius K p))^[(0, 1).1] (n, x).2 * (⇑(frobenius K p))^[(n, x).1] (0, 1).2) = (n, x)", "ppTerm": "?m.252", "assigned": true, ...
[]
simp only [iterate_map_one, iterate_zero_apply, mul_one, add_zero]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.FieldTheory.PerfectClosure
{ "line": 349, "column": 14 }
{ "line": 350, "column": 38 }
{ "line": 350, "column": 38 }
[ { "pp": "K : Type u\ninst✝² : CommRing K\np : ℕ\ninst✝¹ : Fact (Nat.Prime p)\ninst✝ : CharP K p\nx : ℕ × K\nn : ℕ\nih : mk K p x ^ n = mk K p (x.1, x.2 ^ n)\n⊢ (⇑(frobenius K p))^[(x.1, x.2 ^ n * x.2).1 + 0]\n ((x.1, x.2 ^ n).1 + x.1,\n (⇑(frobenius K p))^[x.1] (x.1, x.2 ^ n).2 * (⇑(frobenius K p)...
[]
by simp_rw [iterate_frobenius, add_zero, mul_pow, ← pow_mul, ← pow_add, mul_assoc, ← pow_add]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.RingTheory.Invariant.Basic
{ "line": 562, "column": 2 }
{ "line": 562, "column": 23 }
{ "line": 563, "column": 2 }
[ { "pp": "G : Type u_1\nA : Type u_2\nB : Type u_3\nK : Type u_4\nL : Type u_5\ninst✝¹⁸ : Group G\ninst✝¹⁷ : CommRing A\ninst✝¹⁶ : CommRing B\ninst✝¹⁵ : Algebra A B\ninst✝¹⁴ : Field K\ninst✝¹³ : Field L\ninst✝¹² : Algebra K L\ninst✝¹¹ : Algebra A K\ninst✝¹⁰ : Algebra B L\ninst✝⁹ : Algebra A L\ninst✝⁸ : IsFractio...
[ "G : Type u_1\nA : Type u_2\nB : Type u_3\nK : Type u_4\nL : Type u_5\ninst✝¹⁸ : Group G\ninst✝¹⁷ : CommRing A\ninst✝¹⁶ : CommRing B\ninst✝¹⁵ : Algebra A B\ninst✝¹⁴ : Field K\ninst✝¹³ : Field L\ninst✝¹² : Algebra K L\ninst✝¹¹ : Algebra A K\ninst✝¹⁰ : Algebra B L\ninst✝⁹ : Algebra A L\ninst✝⁸ : IsFractionRing A K\ni...
refine ⟨fun x h ↦ ?_⟩
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.GroupTheory.CosetCover
{ "line": 241, "column": 4 }
{ "line": 242, "column": 91 }
{ "line": 243, "column": 4 }
[ { "pp": "case e_a\nG : Type u_1\ninst✝¹ : Group G\nι : Type u_2\nH : ι → Subgroup G\ng : ι → G\ns : Finset ι\ninst✝ : DecidablePred FiniteIndex\nhcovers : ⋃ i ∈ {i ∈ s | (H i).FiniteIndex} ∪ {a ∈ s | ¬(H a).FiniteIndex}, g i • ↑(H i) = Set.univ\nD : Subgroup G := ⨅ k ∈ {i ∈ s | (H i).FiniteIndex}, H k\nhD : D.F...
[ "case e_a\nG : Type u_1\ninst✝¹ : Group G\nι : Type u_2\nH : ι → Subgroup G\ng : ι → G\ns : Finset ι\ninst✝ : DecidablePred FiniteIndex\nhcovers : ⋃ i ∈ {i ∈ s | (H i).FiniteIndex} ∪ {a ∈ s | ¬(H a).FiniteIndex}, g i • ↑(H i) = Set.univ\nD : Subgroup G := ⨅ k ∈ {i ∈ s | (H i).FiniteIndex}, H k\nhD : D.FiniteIndex\n...
· by_cases hfi : (H i).FiniteIndex <;> simp [← Set.smul_set_iUnion₂, Set.iUnion_subtype, ← leftCoset_assoc, f, K, ht, hfi]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.GroupTheory.CosetCover
{ "line": 297, "column": 74 }
{ "line": 300, "column": 49 }
{ "line": 301, "column": 6 }
[ { "pp": "G : Type u_1\ninst✝¹ : Group G\nι : Type u_2\nH : ι → Subgroup G\ng : ι → G\ns : Finset ι\nhcovers : ⋃ i ∈ s, g i • ↑(H i) = Set.univ\ninst✝ : DecidablePred FiniteIndex\nD : Subgroup G := ⨅ k ∈ {i ∈ s | (H i).FiniteIndex}, H k\nhD : D.FiniteIndex\nhD_le : ∀ {i : ι}, i ∈ s → (H i).FiniteIndex → D ≤ H i\...
[]
by have ⟨r, hr, hxr⟩ := this refine ⟨⟨⟨i, hi.1⟩, ⟨r, dite_eq_left hi.2 ▸ hr⟩⟩, rfl, ?_⟩ simpa [K, f, ite_eq_left hi.2] using! hxr
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.FieldTheory.PurelyInseparable.Exponent
{ "line": 149, "column": 39 }
{ "line": 149, "column": 53 }
{ "line": 149, "column": 54 }
[ { "pp": "K : Type u_2\nL : Type u_3\ninst✝³ : Field K\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : IsPurelyInseparable K L\na : L\n⊢ (X ^ ringExpChar K ^ elemExponent K a).natDegree = ringExpChar K ^ elemExponent K a", "ppTerm": "?m.34", "assigned": true, "usedConstants": [ "Eq.mpr", ...
[ "K : Type u_2\nL : Type u_3\ninst✝³ : Field K\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : IsPurelyInseparable K L\na : L\n⊢ ringExpChar K ^ elemExponent K a * X.natDegree = ringExpChar K ^ elemExponent K a" ]
natDegree_pow,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.FieldTheory.PurelyInseparable.Exponent
{ "line": 186, "column": 27 }
{ "line": 186, "column": 41 }
{ "line": 186, "column": 42 }
[ { "pp": "K : Type u_2\nL : Type u_3\ninst✝³ : Field K\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : IsPurelyInseparable K L\na : L\nn : ℕ\nh : a ^ ringExpChar K ^ n ∈ (algebraMap K L).range\np : ℕ\nh✝ : ExpChar K p\nhp : Nat.Prime p\nhchar✝ : CharP K p\ny : K\nhy : (algebraMap K L) y = a ^ ringExpChar K ^ n\...
[ "K : Type u_2\nL : Type u_3\ninst✝³ : Field K\ninst✝² : Field L\ninst✝¹ : Algebra K L\ninst✝ : IsPurelyInseparable K L\na : L\nn : ℕ\nh : a ^ ringExpChar K ^ n ∈ (algebraMap K L).range\np : ℕ\nh✝ : ExpChar K p\nhp : Nat.Prime p\nhchar✝ : CharP K p\ny : K\nhy : (algebraMap K L) y = a ^ ringExpChar K ^ n\nf : K[X] :=...
natDegree_pow,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.FieldTheory.PurelyInseparable.Exponent
{ "line": 217, "column": 2 }
{ "line": 217, "column": 65 }
{ "line": 218, "column": 2 }
[ { "pp": "case zero\nF : Type u_1\nK : Type u_2\nL : Type u_3\ninst✝⁵ : Field K\ninst✝⁴ : Field L\ninst✝³ : Algebra K L\ninst✝² : IsPurelyInseparable K L\ninst✝¹ : FiniteDimensional K L\ninst✝ : CharZero K\nh✝ : ExpChar K 1\n⊢ HasExponent K L", "ppTerm": "?zero", "assigned": true, "usedConstants": [ ...
[ "case prime\nF : Type u_1\nK : Type u_2\nL : Type u_3\ninst✝⁴ : Field K\ninst✝³ : Field L\ninst✝² : Algebra K L\ninst✝¹ : IsPurelyInseparable K L\ninst✝ : FiniteDimensional K L\np : ℕ\nh✝ : ExpChar K p\nhp : Nat.Prime p\nhchar✝ : CharP K p\n⊢ HasExponent K L" ]
· exact ⟨0, fun a ↦ surjective_algebraMap_of_isSeparable K L _⟩
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.FieldTheory.PurelyInseparable.PerfectClosure
{ "line": 64, "column": 4 }
{ "line": 64, "column": 9 }
{ "line": 64, "column": 9 }
[ { "pp": "F : Type u\nE : Type v\ninst✝⁴ : Field F\ninst✝³ : Field E\ninst✝² : Algebra F E\nK : Type w\ninst✝¹ : Field K\ninst✝ : Algebra F K\nx : E\nn : ℕ\nhx : x ^ ringExpChar F ^ n ∈ (algebraMap F E).rangeS\n⊢ x⁻¹ ∈\n (have this := ⋯;\n Subalgebra.perfectClosure F E (ringExpChar F)).carrier", "ppT...
[ "case h\nF : Type u\nE : Type v\ninst✝⁴ : Field F\ninst✝³ : Field E\ninst✝² : Algebra F E\nK : Type w\ninst✝¹ : Field K\ninst✝ : Algebra F K\nx : E\nn : ℕ\nhx : x ^ ringExpChar F ^ n ∈ (algebraMap F E).rangeS\n⊢ x⁻¹ ^ ringExpChar F ^ n ∈ (algebraMap F E).rangeS" ]
use n
Mathlib.Tactic._aux_Mathlib_Tactic_Use___elabRules_Mathlib_Tactic_useSyntax_1
Mathlib.Tactic.useSyntax
Mathlib.FieldTheory.PurelyInseparable.Tower
{ "line": 76, "column": 51 }
{ "line": 79, "column": 60 }
{ "line": 80, "column": 2 }
[ { "pp": "F : Type u\nE : Type v\ninst✝⁷ : Field F\ninst✝⁶ : Field E\ninst✝⁵ : Algebra F E\nK : Type w\ninst✝⁴ : Field K\ninst✝³ : Algebra F K\ninst✝² : Algebra E K\ninst✝¹ : IsScalarTower F E K\ninst✝ : IsPurelyInseparable F E\nι : Type u_1\nv : ι → K\nhsep : ∀ (i : ι), IsSeparable F (v i)\nh : LinearIndependen...
[]
by contrapose refine fun hs ↦ (injective_iff_map_eq_zero _).mp (algebraMap F E).injective _ ?_ rw [hlF, Finsupp.notMem_support_iff.1 hs, zero_pow this]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.FieldTheory.LinearDisjoint
{ "line": 439, "column": 24 }
{ "line": 439, "column": 59 }
{ "line": 439, "column": 60 }
[ { "pp": "F : Type u\nE : Type v\ninst✝⁴ : Field F\ninst✝³ : Field E\ninst✝² : Algebra F E\nA B : IntermediateField F E\ninst✝¹ : IsGalois F ↥A\ninst✝ : FiniteDimensional F E\nh₁ : A ⊔ B = ⊤\nh₂ : A ⊓ B = ⊥\n⊢ finrank F E = finrank F ↥A * finrank F ↥B", "ppTerm": "?m.58", "assigned": true, "usedConst...
[ "F : Type u\nE : Type v\ninst✝⁴ : Field F\ninst✝³ : Field E\ninst✝² : Algebra F E\nA B : IntermediateField F E\ninst✝¹ : IsGalois F ↥A\ninst✝ : FiniteDimensional F E\nh₁ : A ⊔ B = ⊤\nh₂ : A ⊓ B = ⊥\n⊢ finrank F ↥B * finrank (↥B) E = finrank F ↥A * finrank F ↥B" ]
← Module.finrank_mul_finrank F B E,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.FieldTheory.RatFunc.IntermediateField
{ "line": 149, "column": 2 }
{ "line": 149, "column": 42 }
{ "line": 150, "column": 2 }
[ { "pp": "K : Type u_1\ninst✝ : Field K\nf : K⟮X⟯\nhf : ¬∃ c, f = C c\ne : K[X] ≃ₐ[K] ↥K[f] := Polynomial.algEquivOfTranscendental K f ⋯\nφ : K[X][X] :=\n Polynomial.map (algebraMap K K[X]) f.num - Polynomial.C Polynomial.X * Polynomial.map (algebraMap K K[X]) f.denom\nφ_map : (mapEquiv e.toRingEquiv) φ = f.min...
[ "K : Type u_1\ninst✝ : Field K\nf : K⟮X⟯\nhf : ¬∃ c, f = C c\ne : K[X] ≃ₐ[K] ↥K[f] := Polynomial.algEquivOfTranscendental K f ⋯\nφ : K[X][X] :=\n Polynomial.map (algebraMap K K[X]) f.num - Polynomial.C Polynomial.X * Polynomial.map (algebraMap K K[X]) f.denom\nφ_map : (mapEquiv e.toRingEquiv) φ = f.minpolyX ↥K[f]\...
rw [add_comm, X_mul_C, map_neg, neg_mul]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.FieldTheory.PurelyInseparable.Tower
{ "line": 264, "column": 2 }
{ "line": 275, "column": 73 }
{ "line": 277, "column": 0 }
[ { "pp": "F : Type u\nE : Type v\ninst✝⁷ : Field F\ninst✝⁶ : Field E\ninst✝⁵ : Algebra F E\nK : Type w\ninst✝⁴ : Field K\ninst✝³ : Algebra F K\ninst✝² : Algebra E K\ninst✝¹ : IsScalarTower F E K\nx : K\nhsep : IsSeparable F x\ninst✝ : IsPurelyInseparable F E\n⊢ Polynomial.map (algebraMap F E) (minpoly F x) = min...
[]
have hi := IsSeparable.isIntegral hsep have hi' : IsIntegral E x := IsIntegral.tower_top hi refine eq_of_monic_of_dvd_of_natDegree_le (monic hi') ((monic hi).map (algebraMap F E)) (dvd_map_of_isScalarTower F E x) (le_of_eq ?_) have hsep' := IsSeparable.tower_top E hsep have := (isSeparable_adjoin_simple_iff...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.FieldTheory.PurelyInseparable.Tower
{ "line": 264, "column": 2 }
{ "line": 275, "column": 73 }
{ "line": 277, "column": 0 }
[ { "pp": "F : Type u\nE : Type v\ninst✝⁷ : Field F\ninst✝⁶ : Field E\ninst✝⁵ : Algebra F E\nK : Type w\ninst✝⁴ : Field K\ninst✝³ : Algebra F K\ninst✝² : Algebra E K\ninst✝¹ : IsScalarTower F E K\nx : K\nhsep : IsSeparable F x\ninst✝ : IsPurelyInseparable F E\n⊢ Polynomial.map (algebraMap F E) (minpoly F x) = min...
[]
have hi := IsSeparable.isIntegral hsep have hi' : IsIntegral E x := IsIntegral.tower_top hi refine eq_of_monic_of_dvd_of_natDegree_le (monic hi') ((monic hi).map (algebraMap F E)) (dvd_map_of_isScalarTower F E x) (le_of_eq ?_) have hsep' := IsSeparable.tower_top E hsep have := (isSeparable_adjoin_simple_iff...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Geometry.Convex.ConvexSpace.ToSSet
{ "line": 74, "column": 25 }
{ "line": 74, "column": 45 }
{ "line": 76, "column": 0 }
[ { "pp": "case «0»\nR : Type u\ninst✝³ : PartialOrder R\ninst✝² : Semiring R\ninst✝¹ : IsStrictOrderedRing R\nY : Type w\ninst✝ : ConvexSpace R Y\ny₀ y₁ y₂ y₃ : Y\n⊢ ((ConcreteCategory.hom (SimplicialObject.δ (toSSet R Y) 1)) (StdSimplex.affineMapMk ![y₀, y₁, y₂, y₃]))\n (StdSimplex.single ((fun i ↦ i) ⟨0, ...
[]
simp [Fin.succAbove]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Geometry.Convex.ConvexSpace.ToSSet
{ "line": 74, "column": 25 }
{ "line": 74, "column": 45 }
{ "line": 76, "column": 0 }
[ { "pp": "case «1»\nR : Type u\ninst✝³ : PartialOrder R\ninst✝² : Semiring R\ninst✝¹ : IsStrictOrderedRing R\nY : Type w\ninst✝ : ConvexSpace R Y\ny₀ y₁ y₂ y₃ : Y\n⊢ ((ConcreteCategory.hom (SimplicialObject.δ (toSSet R Y) 1)) (StdSimplex.affineMapMk ![y₀, y₁, y₂, y₃]))\n (StdSimplex.single ((fun i ↦ i) ⟨1, ...
[]
simp [Fin.succAbove]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Geometry.Convex.ConvexSpace.ToSSet
{ "line": 74, "column": 25 }
{ "line": 74, "column": 45 }
{ "line": 76, "column": 0 }
[ { "pp": "case «2»\nR : Type u\ninst✝³ : PartialOrder R\ninst✝² : Semiring R\ninst✝¹ : IsStrictOrderedRing R\nY : Type w\ninst✝ : ConvexSpace R Y\ny₀ y₁ y₂ y₃ : Y\n⊢ ((ConcreteCategory.hom (SimplicialObject.δ (toSSet R Y) 1)) (StdSimplex.affineMapMk ![y₀, y₁, y₂, y₃]))\n (StdSimplex.single ((fun i ↦ i) ⟨2, ...
[]
simp [Fin.succAbove]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Geometry.Convex.Segment
{ "line": 170, "column": 4 }
{ "line": 170, "column": 56 }
{ "line": 172, "column": 0 }
[ { "pp": "case neg\nR : Type u_2\nX : Type u_1\ninst✝³ : Semiring R\ninst✝² : PartialOrder R\ninst✝¹ : IsStrictOrderedRing R\ninst✝ : ConvexSpace R X\nx y : X\na b : R\nha : 0 < a\nhb' : 0 ≤ b\nhab✝ : a + b = 1\nhab : a + 0 = 1\nhb : ¬0 < b\n⊢ convexCombPair a b ⋯ hb' hab✝ x y ∈ insert x (Ioo R x y)", "ppTer...
[]
simp [← eq_of_le_of_not_lt hb' hb, add_zero a ▸ hab]
Lean.Elab.Tactic.evalSimp
Lean.Parser.Tactic.simp
Mathlib.Geometry.Convex.Segment
{ "line": 201, "column": 6 }
{ "line": 201, "column": 21 }
{ "line": 201, "column": 22 }
[ { "pp": "R : Type u_1\nX : Type u_2\ninst✝⁴ : Semiring R\ninst✝³ : PartialOrder R\ninst✝² : IsStrictOrderedRing R\ninst✝¹ : ConvexSpace R X\nY : Type u_3\ninst✝ : ConvexSpace R Y\nf : X → Y\nhf : IsAffineMap R f\na b c : X\nh : c ∈ Ioo R a b\n⊢ f c ∈ Ioo R (f a) (f b)", "ppTerm": "?m.35", "assigned": tr...
[ "R : Type u_1\nX : Type u_2\ninst✝⁴ : Semiring R\ninst✝³ : PartialOrder R\ninst✝² : IsStrictOrderedRing R\ninst✝¹ : ConvexSpace R X\nY : Type u_3\ninst✝ : ConvexSpace R Y\nf : X → Y\nhf : IsAffineMap R f\na b c : X\nh : c ∈ Ioo R a b\n⊢ f c ∈ f '' Ioo R a b" ]
← image_Ioo hf,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.FieldTheory.RatFunc.Luroth
{ "line": 221, "column": 2 }
{ "line": 221, "column": 97 }
{ "line": 223, "column": 0 }
[ { "pp": "K : Type u_1\ninst✝ : Field K\nE : IntermediateField K K⟮X⟯\nh : E ≠ ⊥\n⊢ (algebraMap K[X] K⟮X⟯) (c E).num * generator E ≠ 0", "ppTerm": "?m.46", "assigned": true, "usedConstants": [ "Iff.mpr", "IsDomain.to_noZeroDivisors", "HMul.hMul", "_private.Mathlib.FieldTheory....
[]
exact mul_ne_zero_iff.mpr ⟨algebraMap_ne_zero (num_ne_zero (c_ne_zero h)), generator_ne_zero h⟩
Lean.Elab.Tactic.evalExact
Lean.Parser.Tactic.exact
Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Shift
{ "line": 210, "column": 17 }
{ "line": 210, "column": 31 }
{ "line": 210, "column": 31 }
[ { "pp": "k : Type u_1\nV : Type u_2\nP : Type u_3\ninst✝⁷ : Ring k\ninst✝⁶ : PartialOrder k\ninst✝⁵ : IsOrderedAddMonoid k\ninst✝⁴ : AddCommGroup V\ninst✝³ : AffineSpace V P\ninst✝² : Module k V\nn : ℕ\ninst✝¹ : NeZero n\ns : Simplex k P n\ni : Fin (n + 1)\ninst✝ : ZeroLEOneClass k\nw : Fin (n + 1) → k\nhw : ∀ ...
[]
simpa using hj
Lean.Elab.Tactic.Simpa.evalSimpa
Lean.Parser.Tactic.simpa
Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Shift
{ "line": 210, "column": 17 }
{ "line": 210, "column": 31 }
{ "line": 210, "column": 31 }
[ { "pp": "k : Type u_1\nV : Type u_2\nP : Type u_3\ninst✝⁷ : Ring k\ninst✝⁶ : PartialOrder k\ninst✝⁵ : IsOrderedAddMonoid k\ninst✝⁴ : AddCommGroup V\ninst✝³ : AffineSpace V P\ninst✝² : Module k V\nn : ℕ\ninst✝¹ : NeZero n\ns : Simplex k P n\ni : Fin (n + 1)\ninst✝ : ZeroLEOneClass k\nw : Fin (n + 1) → k\nhw : ∀ ...
[]
simpa using hj
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Shift
{ "line": 210, "column": 17 }
{ "line": 210, "column": 31 }
{ "line": 210, "column": 31 }
[ { "pp": "k : Type u_1\nV : Type u_2\nP : Type u_3\ninst✝⁷ : Ring k\ninst✝⁶ : PartialOrder k\ninst✝⁵ : IsOrderedAddMonoid k\ninst✝⁴ : AddCommGroup V\ninst✝³ : AffineSpace V P\ninst✝² : Module k V\nn : ℕ\ninst✝¹ : NeZero n\ns : Simplex k P n\ni : Fin (n + 1)\ninst✝ : ZeroLEOneClass k\nw : Fin (n + 1) → k\nhw : ∀ ...
[]
simpa using hj
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{ "line": 302, "column": 61 }
{ "line": 303, "column": 46 }
{ "line": 305, "column": 0 }
[ { "pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nr : ℝ\nhr : r ≠ 0\n⊢ 2 • o.oangle (r • x) y = 2 • o.oangle x y", "ppTerm": "?m.52", "assigned": true, "usedConstants": [ "InnerProductSpac...
[]
by rcases hr.lt_or_gt with (h | h) <;> simp [h]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{ "line": 309, "column": 61 }
{ "line": 310, "column": 46 }
{ "line": 312, "column": 0 }
[ { "pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nr : ℝ\nhr : r ≠ 0\n⊢ 2 • o.oangle x (r • y) = 2 • o.oangle x y", "ppTerm": "?m.52", "assigned": true, "usedConstants": [ "InnerProductSpac...
[]
by rcases hr.lt_or_gt with (h | h) <;> simp [h]
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Geometry.Euclidean.Angle.Oriented.Rotation
{ "line": 99, "column": 2 }
{ "line": 100, "column": 44 }
{ "line": 101, "column": 2 }
[ { "pp": "case «0»\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nθ : Real.Angle\nx : V\nhx : x ≠ 0\n⊢ ↑(o.rotation θ).toLinearEquiv ((o.basisRightAngleRotation x hx) ((fun i ↦ i) ⟨0, ⋯⟩)) =\n ((Matrix.toLin (o.basisRi...
[ "case «1»\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nθ : Real.Angle\nx : V\nhx : x ≠ 0\n⊢ ↑(o.rotation θ).toLinearEquiv ((o.basisRightAngleRotation x hx) ((fun i ↦ i) ⟨1, ⋯⟩)) =\n ((Matrix.toLin (o.basisRightAngleRota...
· rw [Matrix.toLin_self] simp [rotation_apply, Fin.sum_univ_succ]
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Geometry.Euclidean.Altitude
{ "line": 179, "column": 94 }
{ "line": 182, "column": 77 }
{ "line": 184, "column": 0 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝⁵ : NormedAddCommGroup V\ninst✝⁴ : InnerProductSpace ℝ V\ninst✝³ : MetricSpace P\ninst✝² : NormedAddTorsor V P\nm n : ℕ\ninst✝¹ : NeZero m\ninst✝ : NeZero n\ns : Simplex ℝ P n\ne : Fin (n + 1) ≃ Fin (m + 1)\n⊢ (s.reindex e).altitudeFoot = s.altitudeFoot ∘ ⇑e.symm", ...
[]
by ext i simp only [altitudeFoot, reindex_points, Function.comp_apply] exact orthogonalProjectionSpan_congr (s.range_faceOpposite_reindex e i) rfl
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Geometry.Euclidean.Altitude
{ "line": 317, "column": 2 }
{ "line": 322, "column": 6 }
{ "line": 323, "column": 2 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\nn : ℕ\ns : Simplex ℝ P n\ni j : Fin (n + 1)\nh : i ≠ j\nthis : NeZero n\n⊢ have this := ⋯;\n ⟪s.points j -ᵥ s.altitudeFoot i, s.points i -ᵥ s.altitudeFoot i⟫ ...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\nn : ℕ\ns : Simplex ℝ P n\ni j : Fin (n + 1)\nh : i ≠ j\nthis : NeZero n\n⊢ s.points i -ᵥ s.altitudeFoot i ∈ (vectorSpan ℝ (s.points '' {i}ᶜ))ᗮ" ]
refine Submodule.inner_right_of_mem_orthogonal (K := vectorSpan ℝ (s.points '' {i}ᶜ)) (vsub_mem_vectorSpan_of_mem_affineSpan_of_mem_affineSpan (s.mem_affineSpan_image_iff.2 h.symm) (Affine.Simplex.altitudeFoot_mem_affineSpan_image_compl _ _)) ?_
Lean.Elab.Tactic.evalRefine
Lean.Parser.Tactic.refine
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{ "line": 620, "column": 53 }
{ "line": 620, "column": 83 }
{ "line": 620, "column": 83 }
[ { "pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nhx : x ≠ 0\nhy : y ≠ 0\n⊢ ⟪x, y⟫ / (‖x‖ * ‖y‖) = Real.cos (InnerProductGeometry.angle x y)", "ppTerm": "?m.45", "assigned": true, "usedConstants...
[ "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nhx : x ≠ 0\nhy : y ≠ 0\n⊢ ⟪x, y⟫ / (‖x‖ * ‖y‖) = ⟪x, y⟫ / (‖x‖ * ‖y‖)" ]
InnerProductGeometry.cos_angle
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{ "line": 695, "column": 4 }
{ "line": 699, "column": 25 }
{ "line": 700, "column": 4 }
[ { "pp": "case pos\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nw x y z : V\nh : InnerProductGeometry.angle w x = InnerProductGeometry.angle y z\nhs : (o.oangle w x).sign = (o.oangle y z).sign\nh0 : (w = 0 ∨ x = 0) ∨ y ...
[ "case pos\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nw x y z : V\nh : InnerProductGeometry.angle w x = InnerProductGeometry.angle y z\nhs : (o.oangle w x).sign = (o.oangle y z).sign\nh0 : (w = 0 ∨ x = 0) ∨ y = 0 ∨ z = 0\...
have hpi : π / 2 ≠ π := by intro hpi rw [div_eq_iff, eq_comm, ← sub_eq_zero, mul_two, add_sub_cancel_right] at hpi · exact Real.pi_pos.ne.symm hpi · exact two_ne_zero
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 329, "column": 50 }
{ "line": 329, "column": 76 }
{ "line": 330, "column": 4 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\n⊢ ‖p₁ -ᵥ p₃‖ * ‖p₁ -ᵥ p₃‖ = dist p₁ p₂ * dist p₁ p₂ + dist p₂ p₃ * dist p₂ p₃ ↔ ∠ p₁ p₂ p₃ = π / 2", "ppTerm": "?m.55", "assigned": true,...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\n⊢ ‖p₁ -ᵥ p₃‖ * ‖p₁ -ᵥ p₃‖ = ‖p₁ -ᵥ p₂‖ * ‖p₁ -ᵥ p₂‖ + dist p₂ p₃ * dist p₂ p₃ ↔ ∠ p₁ p₂ p₃ = π / 2" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 339, "column": 4 }
{ "line": 339, "column": 30 }
{ "line": 339, "column": 31 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\n⊢ dist p₁ p₂ * dist p₁ p₂ + dist p₃ p₂ * dist p₃ p₂ ≤ ‖p₁ -ᵥ p₃‖ * ‖p₁ -ᵥ p₃‖ ↔ ⟪p₁ -ᵥ p₂, p₃ -ᵥ p₂⟫ ≤ 0", "ppTerm": "?m.70", "assigned":...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\n⊢ ‖p₁ -ᵥ p₂‖ * ‖p₁ -ᵥ p₂‖ + dist p₃ p₂ * dist p₃ p₂ ≤ ‖p₁ -ᵥ p₃‖ * ‖p₁ -ᵥ p₃‖ ↔ ⟪p₁ -ᵥ p₂, p₃ -ᵥ p₂⟫ ≤ 0" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 358, "column": 13 }
{ "line": 358, "column": 39 }
{ "line": 358, "column": 40 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ ≠ 0 ∨ p₁ -ᵥ p₂ ≠ 0\n⊢ InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃) = Real.arcsin (dist p₁ p₂ / di...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ ≠ 0 ∨ p₁ -ᵥ p₂ ≠ 0\n⊢ InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃) = Real.arcsin (‖p₁ -ᵥ p₂‖ / dist p₁ p₃)" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 367, "column": 13 }
{ "line": 367, "column": 39 }
{ "line": 367, "column": 40 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ ≠ 0\n⊢ InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃) = Real.arctan (dist p₁ p₂ / dist p₃ p₂)", ...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ ≠ 0\n⊢ InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃) = Real.arctan (‖p₁ -ᵥ p₂‖ / dist p₃ p₂)" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{ "line": 864, "column": 42 }
{ "line": 864, "column": 52 }
{ "line": 864, "column": 52 }
[ { "pp": "case refine_1\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nr : ℝ\nm : Fin (Nat.succ 0).succ → ℝ\nhm : m 0 ≠ 0 ∨ m 1 ≠ 0\nh : m 0 • x + (m 1 * r) • x + m 1 • y = 0\n⊢ (m 0 + m 1 * r) • x + m 1 • y = 0 ...
[ "case refine_1\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nr : ℝ\nm : Fin (Nat.succ 0).succ → ℝ\nhm : m 0 ≠ 0 ∨ m 1 ≠ 0\nh : (m 0 + m 1 * r) • x + m 1 • y = 0\n⊢ (m 0 + m 1 * r) • x + m 1 • y = 0 ∧ (m 0 + m 1 * r...
← add_smul
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 410, "column": 13 }
{ "line": 410, "column": 39 }
{ "line": 410, "column": 40 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ ≠ 0 ∨ p₁ -ᵥ p₂ ≠ 0\n⊢ Real.sin (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) = dist p₁ p₂ / dist...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ ≠ 0 ∨ p₁ -ᵥ p₂ ≠ 0\n⊢ Real.sin (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) = ‖p₁ -ᵥ p₂‖ / dist p₁ p₃" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 418, "column": 13 }
{ "line": 418, "column": 39 }
{ "line": 418, "column": 40 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\n⊢ Real.tan (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) = dist p₁ p₂ / dist p₃ p₂", "ppTerm": "?m.102", ...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\n⊢ Real.tan (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) = ‖p₁ -ᵥ p₂‖ / dist p₃ p₂" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 436, "column": 13 }
{ "line": 436, "column": 39 }
{ "line": 436, "column": 40 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\n⊢ Real.sin (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) * dist p₁ p₃ = dist p₁ p₂", "ppTerm": "?m.102", ...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\n⊢ Real.sin (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) * dist p₁ p₃ = ‖p₁ -ᵥ p₂‖" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 446, "column": 13 }
{ "line": 446, "column": 39 }
{ "line": 446, "column": 40 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ ≠ 0 ∨ p₁ -ᵥ p₂ = 0\n⊢ Real.tan (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) * dist p₃ p₂ = dist...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ ≠ 0 ∨ p₁ -ᵥ p₂ = 0\n⊢ Real.tan (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) * dist p₃ p₂ = ‖p₁ -ᵥ p₂‖" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 453, "column": 2 }
{ "line": 457, "column": 59 }
{ "line": 459, "column": 0 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ∠ p₁ p₂ p₃ = π / 2\nh0 : p₁ = p₂ ∨ p₃ ≠ p₂\n⊢ dist p₃ p₂ / Real.cos (∠ p₂ p₃ p₁) = dist p₁ p₃", "ppTerm": "?m.35", "assigned": true, ...
[]
rw [angle, ← inner_eq_zero_iff_angle_eq_pi_div_two, real_inner_comm, ← neg_eq_zero, ← inner_neg_left, neg_vsub_eq_vsub_rev] at h rw [ne_comm, ← @vsub_ne_zero V, ← @vsub_eq_zero_iff_eq V, or_comm] at h0 rw [angle, dist_eq_norm_vsub' V p₃ p₂, dist_eq_norm_vsub V p₁ p₃, ← vsub_add_vsub_cancel p₁ p₂ p₃, add_com...
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 453, "column": 2 }
{ "line": 457, "column": 59 }
{ "line": 459, "column": 0 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ∠ p₁ p₂ p₃ = π / 2\nh0 : p₁ = p₂ ∨ p₃ ≠ p₂\n⊢ dist p₃ p₂ / Real.cos (∠ p₂ p₃ p₁) = dist p₁ p₃", "ppTerm": "?m.35", "assigned": true, ...
[]
rw [angle, ← inner_eq_zero_iff_angle_eq_pi_div_two, real_inner_comm, ← neg_eq_zero, ← inner_neg_left, neg_vsub_eq_vsub_rev] at h rw [ne_comm, ← @vsub_ne_zero V, ← @vsub_eq_zero_iff_eq V, or_comm] at h0 rw [angle, dist_eq_norm_vsub' V p₃ p₂, dist_eq_norm_vsub V p₁ p₃, ← vsub_add_vsub_cancel p₁ p₂ p₃, add_com...
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 466, "column": 13 }
{ "line": 466, "column": 39 }
{ "line": 466, "column": 40 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ = 0 ∨ p₁ -ᵥ p₂ ≠ 0\n⊢ dist p₁ p₂ / Real.sin (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) = dist...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ = 0 ∨ p₁ -ᵥ p₂ ≠ 0\n⊢ ‖p₁ -ᵥ p₂‖ / Real.sin (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) = dist p₁ p₃" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Unoriented.RightAngle
{ "line": 476, "column": 13 }
{ "line": 476, "column": 39 }
{ "line": 476, "column": 40 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ = 0 ∨ p₁ -ᵥ p₂ ≠ 0\n⊢ dist p₁ p₂ / Real.tan (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) = dist...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\np₁ p₂ p₃ : P\nh : ⟪p₂ -ᵥ p₃, p₁ -ᵥ p₂⟫ = 0\nh0 : p₂ -ᵥ p₃ = 0 ∨ p₁ -ᵥ p₂ ≠ 0\n⊢ ‖p₁ -ᵥ p₂‖ / Real.tan (InnerProductGeometry.angle (p₂ -ᵥ p₃) (p₁ -ᵥ p₃)) = dist p₃ p₂" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{ "line": 979, "column": 6 }
{ "line": 979, "column": 42 }
{ "line": 979, "column": 43 }
[ { "pp": "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\n⊢ (o.oangle (y - x) y).sign = -(o.oangle x y).sign", "ppTerm": "?m.39", "assigned": true, "usedConstants": [ "Eq.mpr", "InnerProduct...
[ "V : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\n⊢ (o.oangle (y - x) y).sign = (o.oangle (1 • y - x) y).sign" ]
← o.oangle_sign_smul_sub_left x y 1,
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic
{ "line": 1040, "column": 8 }
{ "line": 1040, "column": 18 }
{ "line": 1040, "column": 18 }
[ { "pp": "case neg.inl\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nh : ‖x‖ = ‖y‖\nhn : ¬x = y\nhy : y ≠ 0\nr : ℝ\nhr0 : 0 ≤ r\nhr : r • y + 1 • y = x\n⊢ |(o.oangle (y - x) y).toReal| < π / 2", "ppTerm": "?...
[ "case neg.inl\nV : Type u_1\ninst✝² : NormedAddCommGroup V\ninst✝¹ : InnerProductSpace ℝ V\ninst✝ : Fact (finrank ℝ V = 2)\no : Orientation ℝ V (Fin 2)\nx y : V\nh : ‖x‖ = ‖y‖\nhn : ¬x = y\nhy : y ≠ 0\nr : ℝ\nhr0 : 0 ≤ r\nhr : (r + 1) • y = x\n⊢ |(o.oangle (y - x) y).toReal| < π / 2" ]
← add_smul
Lean.Elab.Tactic.evalRewriteSeq
null
Mathlib.Geometry.Euclidean.Basic
{ "line": 133, "column": 36 }
{ "line": 133, "column": 62 }
{ "line": 133, "column": 63 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\nv : V\np₁ p₂ : P\nhv : v ≠ 0\nr : ℝ\n| ⟪v, v⟫ * (r * r) + 2 * ⟪v, p₁ -ᵥ p₂⟫ * r + (⟪p₁ -ᵥ p₂, p₁ -ᵥ p₂⟫ - dist p₁ p₂ * dist p₁ p₂) = 0", "ppTerm": "?m.92",...
[ "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\nv : V\np₁ p₂ : P\nhv : v ≠ 0\nr : ℝ\n| ⟪v, v⟫ * (r * r) + 2 * ⟪v, p₁ -ᵥ p₂⟫ * r + (⟪p₁ -ᵥ p₂, p₁ -ᵥ p₂⟫ - ‖p₁ -ᵥ p₂‖ * ‖p₁ -ᵥ p₂‖) = 0" ]
dist_eq_norm_vsub V p₁ p₂,
Lean.Elab.Tactic.Conv.evalRewrite
null
Mathlib.Geometry.Euclidean.Sphere.Basic
{ "line": 82, "column": 2 }
{ "line": 82, "column": 13 }
{ "line": 84, "column": 0 }
[ { "pp": "P : Type u_2\ninst✝ : MetricSpace P\ns : Sphere P\n⊢ { center := s.center, radius := s.radius } = s", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Real", "EuclideanGeometry.Sphere.ext", "EuclideanGeometry.Sphere.mk", "EuclideanGeometry.Sphere.center", ...
[]
ext <;> rfl
Lean.Parser.Tactic.«_aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tactic_<;>__1»
Lean.Parser.Tactic.«tactic_<;>_»
Mathlib.Geometry.Euclidean.Sphere.Basic
{ "line": 82, "column": 2 }
{ "line": 82, "column": 13 }
{ "line": 84, "column": 0 }
[ { "pp": "P : Type u_2\ninst✝ : MetricSpace P\ns : Sphere P\n⊢ { center := s.center, radius := s.radius } = s", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Real", "EuclideanGeometry.Sphere.ext", "EuclideanGeometry.Sphere.mk", "EuclideanGeometry.Sphere.center", ...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Geometry.Euclidean.Sphere.Basic
{ "line": 82, "column": 2 }
{ "line": 82, "column": 13 }
{ "line": 84, "column": 0 }
[ { "pp": "P : Type u_2\ninst✝ : MetricSpace P\ns : Sphere P\n⊢ { center := s.center, radius := s.radius } = s", "ppTerm": "?m.10", "assigned": true, "usedConstants": [ "Real", "EuclideanGeometry.Sphere.ext", "EuclideanGeometry.Sphere.mk", "EuclideanGeometry.Sphere.center", ...
[]
ext <;> rfl
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Geometry.Euclidean.Angle.Bisector
{ "line": 294, "column": 4 }
{ "line": 299, "column": 12 }
{ "line": 300, "column": 4 }
[ { "pp": "case pos\nV : Type u_1\nP : Type u_2\ninst✝⁵ : NormedAddCommGroup V\ninst✝⁴ : InnerProductSpace ℝ V\ninst✝³ : MetricSpace P\ninst✝² : NormedAddTorsor V P\ninst✝¹ : Fact (finrank ℝ V = 2)\ninst✝ : Oriented ℝ V (Fin 2)\np p₁ p₂ p₃ : P\nha : AffineIndependent ℝ ![p₁, p₂, p₃]\nh : dist p ↑((orthogonalProje...
[ "case pos\nV : Type u_1\nP : Type u_2\ninst✝⁵ : NormedAddCommGroup V\ninst✝⁴ : InnerProductSpace ℝ V\ninst✝³ : MetricSpace P\ninst✝² : NormedAddTorsor V P\ninst✝¹ : Fact (finrank ℝ V = 2)\ninst✝ : Oriented ℝ V (Fin 2)\np p₁ p₂ p₃ : P\nha : AffineIndependent ℝ ![p₁, p₂, p₃]\nh : dist p ↑((orthogonalProjection line[ℝ...
have hinf : line[ℝ, p₁, p₂] ⊓ line[ℝ, p₁, p₃] = affineSpan ℝ {p₁} := by convert (ha.inf_affineSpan_eq_affineSpan_inter {0, 1} {0, 2}) · simp · simp · suffices {p₁} = ![p₁, p₂, p₃] '' {0} by grind simp
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Geometry.Euclidean.Sphere.OrthRadius
{ "line": 90, "column": 4 }
{ "line": 90, "column": 63 }
{ "line": 91, "column": 4 }
[ { "pp": "case refine_1\nV : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns : Sphere P\np q : P\nh : s.orthRadius p ≤ s.orthRadius q\nh' : (ℝ ∙ (p -ᵥ s.center))ᗮ ≤ (ℝ ∙ (q -ᵥ s.center))ᗮ\nr : ℝ\nhr : r • (p -ᵥ s.center...
[ "case refine_1\nV : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns : Sphere P\np q : P\nh : s.orthRadius p ≤ s.orthRadius q\nh' : (ℝ ∙ (p -ᵥ s.center))ᗮ ≤ (ℝ ∙ (q -ᵥ s.center))ᗮ\nr : ℝ\nhr : r • (p -ᵥ s.center) = q -ᵥ s.c...
have hp : p ∈ s.orthRadius q := h (s.self_mem_orthRadius p)
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_tacticHave___1
Lean.Parser.Tactic.tacticHave__
Mathlib.Geometry.Euclidean.Sphere.PolePolar
{ "line": 67, "column": 4 }
{ "line": 68, "column": 16 }
{ "line": 70, "column": 0 }
[ { "pp": "case neg\nV : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns : Sphere P\nhs : s.radius ≠ 0\np : P\nh : ¬p = s.center\n⊢ ℝ ∙ (s.radius / dist p s.center) ^ 2 • (p -ᵥ s.center) = ℝ ∙ (p -ᵥ s.center)", "ppTe...
[]
refine Submodule.span_singleton_smul_eq ?_ _ simp [hs, h]
Lean.Elab.Tactic.evalTacticSeq1Indented
Lean.Parser.Tactic.tacticSeq1Indented
Mathlib.Geometry.Euclidean.Sphere.PolePolar
{ "line": 67, "column": 4 }
{ "line": 68, "column": 16 }
{ "line": 70, "column": 0 }
[ { "pp": "case neg\nV : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns : Sphere P\nhs : s.radius ≠ 0\np : P\nh : ¬p = s.center\n⊢ ℝ ∙ (s.radius / dist p s.center) ^ 2 • (p -ᵥ s.center) = ℝ ∙ (p -ᵥ s.center)", "ppTe...
[]
refine Submodule.span_singleton_smul_eq ?_ _ simp [hs, h]
Lean.Elab.Tactic.evalTacticSeq
Lean.Parser.Tactic.tacticSeq
Mathlib.Geometry.Euclidean.Sphere.Basic
{ "line": 598, "column": 4 }
{ "line": 598, "column": 31 }
{ "line": 600, "column": 0 }
[ { "pp": "case h₂\nV : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns : Sphere P\np₁ p₂ : P\nx✝ : p₁ ∈ s ∧ p₂ ∈ s ∧ dist p₁ p₂ = 2 * s.radius\nh₁ : p₁ ∈ s\nh₂ : p₂ ∈ s\nhr : dist p₁ p₂ = 2 * s.radius\n⊢ dist p₂ p₁ = s....
[]
rw [dist_comm, hr, two_mul]
Lean.Parser.Tactic._aux_Init_Tactics___macroRules_Lean_Parser_Tactic_rwSeq_1
Lean.Parser.Tactic.rwSeq
Mathlib.Geometry.Euclidean.Sphere.Tangent
{ "line": 111, "column": 2 }
{ "line": 112, "column": 37 }
{ "line": 114, "column": 0 }
[ { "pp": "case refine_2\nV : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns : Sphere P\np q : P\nas : AffineSubspace ℝ P\nh : s.IsTangentAt p as\n⊢ q = p → q ∈ s ∧ q ∈ as", "ppTerm": "?refine_2", "assigned": tr...
[]
· rintro rfl exact ⟨h.mem_sphere, h.mem_space⟩
Lean.Elab.Tactic.evalTacticCDot
Lean.cdot
Mathlib.Geometry.Euclidean.Sphere.Tangent
{ "line": 131, "column": 46 }
{ "line": 132, "column": 84 }
{ "line": 133, "column": 2 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns : Sphere P\nas : AffineSubspace ℝ P\np q : P\nh : s.IsTangentAt p as\nhq : q ∈ as\nhqp : q ≠ p\nthis : s.radius ^ 2 < dist q s.center ^ 2\n⊢ s.radius < dist ...
[]
by simpa [sq_lt_sq, abs_of_nonneg (s.radius_nonneg_of_mem h.mem_sphere)] using this
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Geometry.Euclidean.Sphere.Tangent
{ "line": 169, "column": 58 }
{ "line": 173, "column": 19 }
{ "line": 175, "column": 0 }
[ { "pp": "V : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns : Sphere P\nas : AffineSubspace ℝ P\nh : s.IsTangent as\np : P\nhp : p ∈ as\n⊢ s.radius ≤ dist p s.center", "ppTerm": "?m.28", "assigned": true, ...
[]
by obtain ⟨x, h⟩ := h refine le_of_sq_le_sq ?_ dist_nonneg rw [h.dist_sq_eq_of_mem hp, le_add_iff_nonneg_right] exact sq_nonneg _
[anonymous]
Lean.Parser.Term.byTactic
Mathlib.Geometry.Euclidean.Circumcenter
{ "line": 152, "column": 8 }
{ "line": 152, "column": 54 }
{ "line": 153, "column": 8 }
[ { "pp": "case h.right\nV : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nι : Type u_3\nhne : Nonempty ι\ninst✝ : Finite ι\np : ι → P\nha : AffineIndependent ℝ p\nval✝ : Fintype ι\nhm :\n ∀ {ι : Type u_3} [hne : Nonem...
[ "case h.right\nV : Type u_1\nP : Type u_2\ninst✝⁴ : NormedAddCommGroup V\ninst✝³ : InnerProductSpace ℝ V\ninst✝² : MetricSpace P\ninst✝¹ : NormedAddTorsor V P\nι : Type u_3\nhne : Nonempty ι\ninst✝ : Finite ι\np : ι → P\nha : AffineIndependent ℝ p\nval✝ : Fintype ι\nhm :\n ∀ {ι : Type u_3} [hne : Nonempty ι] [Fini...
replace hdist : 0 = cr := by simpa using hdist
Lean.Elab.Tactic.evalReplace
Lean.Parser.Tactic.replace
Mathlib.Geometry.Euclidean.Sphere.Tangent
{ "line": 502, "column": 10 }
{ "line": 502, "column": 42 }
{ "line": 502, "column": 42 }
[ { "pp": "case neg.refine_2\nV : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns₁ s₂ : Sphere P\nh : dist s₁.center s₂.center = s₁.radius + s₂.radius\nh₁ : 0 ≤ s₁.radius\nh₂ : 0 ≤ s₂.radius\nh0 : ¬s₁.radius + s₂.radius ...
[ "case neg.refine_2\nV : Type u_1\nP : Type u_2\ninst✝³ : NormedAddCommGroup V\ninst✝² : InnerProductSpace ℝ V\ninst✝¹ : MetricSpace P\ninst✝ : NormedAddTorsor V P\ns₁ s₂ : Sphere P\nh : dist s₁.center s₂.center = s₁.radius + s₂.radius\nh₁ : 0 ≤ s₁.radius\nh₂ : 0 ≤ s₂.radius\nh0 : ¬s₁.radius + s₂.radius = 0\n⊢ s₂.ra...
abs_of_nonneg (add_nonneg h₁ h₂)
Lean.Elab.Tactic.evalRewriteSeq
null