Equations
- Esolangs.AxOrThm.Expr.call name es = Esolangs.AxOrThm.Expr.call' es[0]!.depth name es
Instances For
@[irreducible]
Equations
- e.lift n t = { depth := e.depth + n, expr := match h : e.expr with | Esolangs.AxOrThm.Expr'.arg i => Esolangs.AxOrThm.Expr'.arg (if i < t then i else i + n) | Esolangs.AxOrThm.Expr'.call name args => Esolangs.AxOrThm.Expr'.call name (List.map (fun (e₁ : Esolangs.AxOrThm.Expr) => e₁.lift n t) args) }
Instances For
@[irreducible]
Equations
- st.lift n t = { depth := st.depth + n, stat := match h : st.stat with | Esolangs.AxOrThm.Stat'.eq a b => Esolangs.AxOrThm.Stat'.eq (a.lift n t) (b.lift n t) | Esolangs.AxOrThm.Stat'.rel name es => Esolangs.AxOrThm.Stat'.rel name (List.map (fun (x : Esolangs.AxOrThm.Expr) => x.lift n t) es) | Esolangs.AxOrThm.Stat'.not p => Esolangs.AxOrThm.Stat'.not (p.lift n t) | Esolangs.AxOrThm.Stat'.imp p q => Esolangs.AxOrThm.Stat'.imp (p.lift n t) (q.lift n t) | Esolangs.AxOrThm.Stat'.all p => Esolangs.AxOrThm.Stat'.all (p.lift n (t + 1)) }
Instances For
Equations
Instances For
Equations
- Esolangs.AxOrThm.Stat.nonempty d = (Esolangs.AxOrThm.Stat.eq (Esolangs.AxOrThm.Expr.arg (d + 1) 0) (Esolangs.AxOrThm.Expr.arg (d + 1) 0)).exi
Instances For
Equations
Instances For
Equations
- st.exiu = (st.and ((st.lift 1 1).imp (Esolangs.AxOrThm.Stat.eq (Esolangs.AxOrThm.Expr.arg (st.depth + 1) 0) (Esolangs.AxOrThm.Expr.arg (st.depth + 1) 1))).all).exi
Instances For
Instances For
Instances For
theorem
Esolangs.AxOrThm.Stat.ind
{p : Stat → Prop}
(h₁ : ∀ (d : ℕ) (a b : Expr), p ((eq a b).setDepth d))
(h₂ : ∀ (d : ℕ) (name : String) (es : List Expr), p (rel d name es))
(h₃ : ∀ (d : ℕ) (a : Stat), p a → p (a.not.setDepth d))
(h₄ : ∀ (d : ℕ) (a b : Stat), p a → p b → p ((a.imp b).setDepth d))
(h₅ : ∀ (d : ℕ) (a : Stat), p a → p (a.all.setDepth d))
(e : Stat)
:
p e
@[simp]
@[simp]
instance
Esolangs.AxOrThm.instEquivalenceCModelRawEquiv
{sign : Signature}
:
EquivalenceC (ModelRaw.Equiv sign)
instance
Esolangs.AxOrThm.instEquivalenceCStatEquiv
{sign : Signature}
:
EquivalenceC (Stat.Equiv sign)
theorem
Esolangs.AxOrThm.Model.evalStat_out_quot
{sign : Signature}
{m : Model}
{p : Stat}
(h : ModelRaw.WF sign m.raw.out)
: