Theorem: Arith.Model.Definable.comp₁ (Arithmetization/Definability/Hierarchy.lean)

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
hP : DefinablePred L (Γ, m + 1) P
⊢ Definable L (Γ, m + 1) fun v => P (f v)
Tactic:
match Γ with
| 𝚺 =>
  rcases hP with ⟨p, hp⟩; rcases hf with ⟨pf, hpf⟩
  exact ⟨(pf ⋏ (p.rew [→ #0])).ex, by intro v; simp [hp.df.iff, hpf.df.iff]⟩
| 𝚷 =>
  rcases hP with ⟨p, hp⟩; rcases hf with ⟨pf, hpf⟩
  exact ⟨(pf.negSigma ⋎ (p.rew [→ #0])).all, by intro v; simp [hp.df.iff, hpf.df.iff, ←imp_iff_not_or]⟩
| 𝚫 =>
  rcases hP with ⟨p, hp⟩; rcases hf with ⟨pf, hpf⟩
  exact of_sigma_of_pi
    ⟨(pf ⋏ (p.sigma.rew [→ #0])).ex, by intro v; simp [hp.df.iff, hpf.df.iff, HSemiformula.val_sigma]  ⟩
    ⟨(pf.negSigma ⋎ (p.pi.rew [→ #0])).all, by intro v; simp [hp.df.iff, hpf.df.iff, ←imp_iff_not_or, hp.proper.iff']⟩
State after:
no goals

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
hP : DefinablePred L (𝚺, m + 1) P
⊢ Definable L (𝚺, m + 1) fun v => P (f v)
Tactic:
rcases hP with ⟨p, hp⟩
State after:
case mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚺, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
⊢ Definable L (𝚺, m + 1) fun v => P (f v)

State before:
case mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚺, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
⊢ Definable L (𝚺, m + 1) fun v => P (f v)
Tactic:
rcases hf with ⟨pf, hpf⟩
State after:
case mk.intro.mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚺, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ Definable L (𝚺, m + 1) fun v => P (f v)

State before:
case mk.intro.mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚺, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ Definable L (𝚺, m + 1) fun v => P (f v)
Tactic:
exact ⟨(pf ⋏ (p.rew [→ #0])).ex, by intro v; simp [hp.df.iff, hpf.df.iff]⟩
State after:
no goals

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚺, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ DefinedWithParam (fun v => P (f v)) (pf ⋏ HSemiformula.rew [→ #0] p).ex
Tactic:
intro v
State after:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚺, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
v : Fin k → M
⊢ (fun v => P (f v)) v ↔ (Semiformula.Evalm M v id) (pf ⋏ HSemiformula.rew [→ #0] p).ex.val

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚺, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
v : Fin k → M
⊢ (fun v => P (f v)) v ↔ (Semiformula.Evalm M v id) (pf ⋏ HSemiformula.rew [→ #0] p).ex.val
Tactic:
simp [hp.df.iff, hpf.df.iff]
State after:
no goals

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
hP : DefinablePred L (𝚷, m + 1) P
⊢ Definable L (𝚷, m + 1) fun v => P (f v)
Tactic:
rcases hP with ⟨p, hp⟩
State after:
case mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚷, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
⊢ Definable L (𝚷, m + 1) fun v => P (f v)

State before:
case mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚷, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
⊢ Definable L (𝚷, m + 1) fun v => P (f v)
Tactic:
rcases hf with ⟨pf, hpf⟩
State after:
case mk.intro.mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚷, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ Definable L (𝚷, m + 1) fun v => P (f v)

State before:
case mk.intro.mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚷, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ Definable L (𝚷, m + 1) fun v => P (f v)
Tactic:
exact ⟨(pf.negSigma ⋎ (p.rew [→ #0])).all, by intro v; simp [hp.df.iff, hpf.df.iff, ←imp_iff_not_or]⟩
State after:
no goals

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚷, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ DefinedWithParam (fun v => P (f v)) (pf.negSigma ⋎ HSemiformula.rew [→ #0] p).all
Tactic:
intro v
State after:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚷, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
v : Fin k → M
⊢ (fun v => P (f v)) v ↔ (Semiformula.Evalm M v id) (pf.negSigma ⋎ HSemiformula.rew [→ #0] p).all.val

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚷, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
v : Fin k → M
⊢ (fun v => P (f v)) v ↔ (Semiformula.Evalm M v id) (pf.negSigma ⋎ HSemiformula.rew [→ #0] p).all.val
Tactic:
simp [hp.df.iff, hpf.df.iff, ←imp_iff_not_or]
State after:
no goals

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
hP : DefinablePred L (𝚫, m + 1) P
⊢ Definable L (𝚫, m + 1) fun v => P (f v)
Tactic:
rcases hP with ⟨p, hp⟩
State after:
case mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
⊢ Definable L (𝚫, m + 1) fun v => P (f v)

State before:
case mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
hf : DefinableFunction L (𝚺, m + 1) f
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
⊢ Definable L (𝚫, m + 1) fun v => P (f v)
Tactic:
rcases hf with ⟨pf, hpf⟩
State after:
case mk.intro.mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ Definable L (𝚫, m + 1) fun v => P (f v)

State before:
case mk.intro.mk.intro
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ Definable L (𝚫, m + 1) fun v => P (f v)
Tactic:
exact of_sigma_of_pi
  ⟨(pf ⋏ (p.sigma.rew [→ #0])).ex, by intro v; simp [hp.df.iff, hpf.df.iff, HSemiformula.val_sigma]  ⟩
  ⟨(pf.negSigma ⋎ (p.pi.rew [→ #0])).all, by intro v; simp [hp.df.iff, hpf.df.iff, ←imp_iff_not_or, hp.proper.iff']⟩
State after:
no goals

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ DefinedWithParam (fun v => P (f v)) (pf ⋏ HSemiformula.rew [→ #0] p.sigma).ex
Tactic:
intro v
State after:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
v : Fin k → M
⊢ (fun v => P (f v)) v ↔ (Semiformula.Evalm M v id) (pf ⋏ HSemiformula.rew [→ #0] p.sigma).ex.val

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
v : Fin k → M
⊢ (fun v => P (f v)) v ↔ (Semiformula.Evalm M v id) (pf ⋏ HSemiformula.rew [→ #0] p.sigma).ex.val
Tactic:
simp [hp.df.iff, hpf.df.iff, HSemiformula.val_sigma]
State after:
no goals

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
⊢ DefinedWithParam (fun v => P (f v)) (pf.negSigma ⋎ HSemiformula.rew [→ #0] p.pi).all
Tactic:
intro v
State after:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
v : Fin k → M
⊢ (fun v => P (f v)) v ↔ (Semiformula.Evalm M v id) (pf.negSigma ⋎ HSemiformula.rew [→ #0] p.pi).all.val

State before:
L : Language
inst✝⁹ : L.ORing
ξ : Type v
n : ℕ
M : Type u_1
inst✝⁸ : Zero M
inst✝⁷ : One M
inst✝⁶ : Add M
inst✝⁵ : Mul M
inst✝⁴ : LT M
inst✝³ : M ⊧ₘ* 𝐏𝐀⁻
inst✝² : Structure L M
inst✝¹ : Structure.ORing L M
inst✝ : Structure.Monotone L M
Γ✝ : HierarchySymbol
k✝ : ℕ
P✝ Q : (Fin k✝ → M) → Prop
m k : ℕ
P : M → Prop
f : (Fin k → M) → M
Γ : SigmaPiDelta
p : HSemiformula L M 1 (𝚫, m + 1)
hp : DefinedWithParam (fun v => P (v 0)) p
pf : HSemiformula L M (k + 1) (𝚺, m + 1)
hpf : DefinedWithParam (fun v => v 0 = f fun x => v x.succ) pf
v : Fin k → M
⊢ (fun v => P (f v)) v ↔ (Semiformula.Evalm M v id) (pf.negSigma ⋎ HSemiformula.rew [→ #0] p.pi).all.val
Tactic:
simp [hp.df.iff, hpf.df.iff, ←imp_iff_not_or, hp.proper.iff']
State after:
no goals