Equations
- Lean.«termMacro.trace[__]_» = Lean.ParserDescr.node `Lean.«termMacro.trace[__]_» 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "Macro.trace[") (Lean.ParserDescr.const `ident)) (Lean.ParserDescr.symbol "]")) (Lean.ParserDescr.unary `interpolatedStr (Lean.ParserDescr.cat `term 0)))
Equations
- Lean.binderIdent = Lean.ParserDescr.nodeWithAntiquot "binderIdent" `Lean.binderIdent (Lean.ParserDescr.binary `orelse (Lean.ParserDescr.const `ident) (Lean.ParserDescr.symbol "_"))
Equations
- Lean.unbracketedExplicitBinders = Lean.ParserDescr.nodeWithAntiquot "unbracketedExplicitBinders" `Lean.unbracketedExplicitBinders (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.unary `many1 Lean.binderIdent) (Lean.ParserDescr.unary `optional (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " : ") (Lean.ParserDescr.cat `term 0))))
Equations
- Lean.bracketedExplicitBinders = Lean.ParserDescr.nodeWithAntiquot "bracketedExplicitBinders" `Lean.bracketedExplicitBinders (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "(") (Lean.ParserDescr.unary `many1 Lean.binderIdent)) (Lean.ParserDescr.symbol " : ")) (Lean.ParserDescr.cat `term 0)) (Lean.ParserDescr.symbol ")"))
Equations
- Lean.explicitBinders = Lean.ParserDescr.nodeWithAntiquot "explicitBinders" `Lean.explicitBinders (Lean.ParserDescr.binary `orelse (Lean.ParserDescr.unary `many1 Lean.bracketedExplicitBinders) Lean.unbracketedExplicitBinders)
def
Lean.expandExplicitBindersAux
(combinator : Lean.Syntax)
(idents : Array Lean.Syntax)
(type? : Option Lean.Syntax)
(body : Lean.Syntax)
:
Equations
- Lean.expandExplicitBindersAux combinator idents type? body = (fun loop => loop (Array.size idents) body) (Lean.expandExplicitBindersAux.loop combinator idents type?)
def
Lean.expandExplicitBindersAux.loop
(combinator : Lean.Syntax)
(idents : Array Lean.Syntax)
(type? : Option Lean.Syntax)
(i : Nat)
(acc : Lean.Syntax)
:
def
Lean.expandBrackedBindersAux
(combinator : Lean.Syntax)
(binders : Array Lean.Syntax)
(body : Lean.Syntax)
:
Equations
- Lean.expandBrackedBindersAux combinator binders body = (fun loop => loop (Array.size binders) body) (Lean.expandBrackedBindersAux.loop combinator binders)
def
Lean.expandBrackedBindersAux.loop
(combinator : Lean.Syntax)
(binders : Array Lean.Syntax)
(i : Nat)
(acc : Lean.Syntax)
:
Equations
- Lean.expandBrackedBindersAux.loop combinator binders 0 acc = pure acc
- Lean.expandBrackedBindersAux.loop combinator binders (Nat.succ i_2) acc = do let a ← Lean.expandExplicitBindersAux combinator (Lean.Syntax.getArgs (Lean.Syntax.getOp (Array.getOp binders i_2) 1)) (some (Lean.Syntax.getOp (Array.getOp binders i_2) 3)) acc Lean.expandBrackedBindersAux.loop combinator binders i_2 a
def
Lean.expandExplicitBinders
(combinatorDeclName : Lean.Name)
(explicitBinders : Lean.Syntax)
(body : Lean.Syntax)
:
Equations
- Lean.expandExplicitBinders combinatorDeclName explicitBinders body = do let a ← Lean.getRef let combinator : Lean.Syntax := Lean.mkIdentFrom a combinatorDeclName let explicitBinders : Lean.Syntax := Lean.Syntax.getOp explicitBinders 0 if (Lean.Syntax.getKind explicitBinders == `Lean.unbracketedExplicitBinders) = true then let idents := Lean.Syntax.getArgs (Lean.Syntax.getOp explicitBinders 0); let type? := if Lean.Syntax.isNone (Lean.Syntax.getOp explicitBinders 1) = true then none else some (Lean.Syntax.getOp (Lean.Syntax.getOp explicitBinders 1) 1); Lean.expandExplicitBindersAux combinator idents type? body else if Array.all (Lean.Syntax.getArgs explicitBinders) (fun a => Lean.Syntax.getKind a == `Lean.bracketedExplicitBinders) 0 (Array.size (Lean.Syntax.getArgs explicitBinders)) = true then Lean.expandBrackedBindersAux combinator (Lean.Syntax.getArgs explicitBinders) body else Lean.Macro.throwError "unexpected explicit binder"
def
Lean.expandBrackedBinders
(combinatorDeclName : Lean.Name)
(bracketedExplicitBinders : Lean.Syntax)
(body : Lean.Syntax)
:
Equations
- Lean.expandBrackedBinders combinatorDeclName bracketedExplicitBinders body = do let a ← Lean.getRef let combinator : Lean.Syntax := Lean.mkIdentFrom a combinatorDeclName Lean.expandBrackedBindersAux combinator #[bracketedExplicitBinders] body
Equations
- Lean.unifConstraint = Lean.ParserDescr.nodeWithAntiquot "unifConstraint" `Lean.unifConstraint (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.cat `term 0) (Lean.ParserDescr.binary `orelse (Lean.ParserDescr.symbol " =?= ") (Lean.ParserDescr.symbol " ≟ "))) (Lean.ParserDescr.cat `term 0))
Equations
- Lean.unifConstraintElem = Lean.ParserDescr.nodeWithAntiquot "unifConstraintElem" `Lean.unifConstraintElem (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.const `colGe) Lean.unifConstraint) (Lean.ParserDescr.unary `optional (Lean.ParserDescr.symbol ", ")))
Equations
- Lean.«command_Unif_hint___Where_|-⊢_» = Lean.ParserDescr.node `Lean.«command_Unif_hint___Where_|-⊢_» 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.const `attrKind) (Lean.ParserDescr.symbol "unif_hint ")) (Lean.ParserDescr.unary `optional (Lean.ParserDescr.const `ident))) (Lean.ParserDescr.unary `many (Lean.ParserDescr.const `bracketedBinder))) (Lean.ParserDescr.symbol " where ")) (Lean.ParserDescr.unary `withPosition (Lean.ParserDescr.unary `many Lean.unifConstraintElem))) (Lean.ParserDescr.binary `orelse (Lean.ParserDescr.symbol "|-") (Lean.ParserDescr.symbol "⊢ "))) Lean.unifConstraint)
Equations
- «term∃_,_» = Lean.ParserDescr.node `«term∃_,_» 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "∃ ") Lean.explicitBinders) (Lean.ParserDescr.symbol ", ")) (Lean.ParserDescr.cat `term 0))
Equations
- «termExists_,_» = Lean.ParserDescr.node `«termExists_,_» 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "exists") Lean.explicitBinders) (Lean.ParserDescr.symbol ", ")) (Lean.ParserDescr.cat `term 0))
Equations
- «termΣ_,_» = Lean.ParserDescr.node `«termΣ_,_» 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "Σ") Lean.explicitBinders) (Lean.ParserDescr.symbol ", ")) (Lean.ParserDescr.cat `term 0))
Equations
- «termΣ'_,_» = Lean.ParserDescr.node `«termΣ'_,_» 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "Σ'") Lean.explicitBinders) (Lean.ParserDescr.symbol ", ")) (Lean.ParserDescr.cat `term 0))
Equations
- «term_×__1» = Lean.ParserDescr.node `«term_×__1» 35 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen Lean.bracketedExplicitBinders (Lean.ParserDescr.symbol " × ")) (Lean.ParserDescr.cat `term 35))
Equations
- «term_×'_» = Lean.ParserDescr.node `«term_×'_» 35 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen Lean.bracketedExplicitBinders (Lean.ParserDescr.symbol " ×' ")) (Lean.ParserDescr.cat `term 35))
Equations
- calcStep = Lean.ParserDescr.nodeWithAntiquot "calcStep" `calcStep (Lean.ParserDescr.unary `ppIndent (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.const `colGe) (Lean.ParserDescr.cat `term 0)) (Lean.ParserDescr.symbol " := ")) (Lean.ParserDescr.unary `withPosition (Lean.ParserDescr.cat `term 0))))
Equations
- calc = Lean.ParserDescr.node `calc 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "calc") (Lean.ParserDescr.const `ppLine)) (Lean.ParserDescr.unary `withPosition (Lean.ParserDescr.unary `many1 (Lean.ParserDescr.binary `andthen calcStep (Lean.ParserDescr.const `ppLine)))))
Equations
- tacticCalc_ = Lean.ParserDescr.node `tacticCalc_ 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.nonReservedSymbol "calc " false) (Lean.ParserDescr.unary `withPosition (Lean.ParserDescr.unary `many1 calcStep)))
Equations
- unexpandUnit x = let discr := x; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.paren #[Lean.Syntax.atom info "(", Lean.Syntax.node Lean.SourceInfo.none `null #[], Lean.Syntax.atom info ")"])
Equations
- unexpandListNil x = let discr := x; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term[_]» #[Lean.Syntax.atom info "[", Lean.Syntax.node Lean.SourceInfo.none `null #[], Lean.Syntax.atom info "]"])
Equations
- unexpandListCons x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 2 = true then let discr := Lean.Syntax.getArg discr_2 0; let discr_3 := Lean.Syntax.getArg discr_2 1; if Lean.Syntax.isOfKind discr_3 `«term[_]» = true then let discr_4 := Lean.Syntax.getArg discr_3 0; let discr_5 := Lean.Syntax.getArg discr_3 1; if Lean.Syntax.matchesNull discr_5 0 = true then let discr_6 := Lean.Syntax.getArg discr_3 2; let x := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term[_]» #[Lean.Syntax.atom info "[", Lean.Syntax.node Lean.SourceInfo.none `null #[x], Lean.Syntax.atom info "]"]) else let discr_6 := Lean.Syntax.getArg discr_3 1; let discr_7 := Lean.Syntax.getArg discr_3 2; let xs := { elemsAndSeps := Lean.Syntax.getArgs discr_6 }; let x := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term[_]» #[Lean.Syntax.atom info "[", Lean.Syntax.node Lean.SourceInfo.none `null (Array.append #[x, Lean.Syntax.atom info ","] xs.elemsAndSeps), Lean.Syntax.atom info "]"]) else let discr := Lean.Syntax.getArg discr_2 1; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandListToArray x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 1 = true then let discr := Lean.Syntax.getArg discr_2 0; if Lean.Syntax.isOfKind discr `«term[_]» = true then let discr_3 := Lean.Syntax.getArg discr 0; let discr_4 := Lean.Syntax.getArg discr 1; let discr := Lean.Syntax.getArg discr 2; let xs := { elemsAndSeps := Lean.Syntax.getArgs discr_4 }; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term#[_,]» #[Lean.Syntax.atom info "#[", Lean.Syntax.node Lean.SourceInfo.none `null (Array.append #[] xs.elemsAndSeps), Lean.Syntax.atom info "]"]) else let discr := Lean.Syntax.getArg discr_2 0; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandProdMk x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 2 = true then let discr := Lean.Syntax.getArg discr_2 0; let discr_3 := Lean.Syntax.getArg discr_2 1; if Lean.Syntax.isOfKind discr_3 `Lean.Parser.Term.paren = true then let discr_4 := Lean.Syntax.getArg discr_3 0; let discr_5 := Lean.Syntax.getArg discr_3 1; if Lean.Syntax.matchesNull discr_5 2 = true then let discr_6 := Lean.Syntax.getArg discr_5 0; let discr_7 := Lean.Syntax.getArg discr_5 1; if Lean.Syntax.matchesNull discr_7 1 = true then let discr_8 := Lean.Syntax.getArg discr_7 0; if Lean.Syntax.isOfKind discr_8 `Lean.Parser.Term.tupleTail = true then let discr_9 := Lean.Syntax.getArg discr_8 0; let discr_10 := Lean.Syntax.getArg discr_8 1; let discr_11 := Lean.Syntax.getArg discr_3 2; let ys := { elemsAndSeps := Lean.Syntax.getArgs discr_10 }; let y := discr_6; let x := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.paren #[Lean.Syntax.atom info "(", Lean.Syntax.node Lean.SourceInfo.none `null #[x, Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.tupleTail #[Lean.Syntax.atom info ",", Lean.Syntax.node Lean.SourceInfo.none `null (Array.append #[y, Lean.Syntax.atom info ","] ys.elemsAndSeps)]]], Lean.Syntax.atom info ")"]) else let discr_9 := Lean.Syntax.getArg discr_7 0; let discr_10 := Lean.Syntax.getArg discr_3 2; let y := discr_3; let x := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.paren #[Lean.Syntax.atom info "(", Lean.Syntax.node Lean.SourceInfo.none `null #[x, Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.tupleTail #[Lean.Syntax.atom info ",", Lean.Syntax.node Lean.SourceInfo.none `null #[y]]]], Lean.Syntax.atom info ")"]) else let discr_8 := Lean.Syntax.getArg discr_5 1; let discr_9 := Lean.Syntax.getArg discr_3 2; let y := discr_3; let x := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.paren #[Lean.Syntax.atom info "(", Lean.Syntax.node Lean.SourceInfo.none `null #[x, Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.tupleTail #[Lean.Syntax.atom info ",", Lean.Syntax.node Lean.SourceInfo.none `null #[y]]]], Lean.Syntax.atom info ")"]) else let discr_6 := Lean.Syntax.getArg discr_3 1; let discr_7 := Lean.Syntax.getArg discr_3 2; let y := discr_3; let x := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.paren #[Lean.Syntax.atom info "(", Lean.Syntax.node Lean.SourceInfo.none `null #[x, Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.tupleTail #[Lean.Syntax.atom info ",", Lean.Syntax.node Lean.SourceInfo.none `null #[y]]]], Lean.Syntax.atom info ")"]) else let discr_4 := Lean.Syntax.getArg discr_2 1; let y := discr_4; let x := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.paren #[Lean.Syntax.atom info "(", Lean.Syntax.node Lean.SourceInfo.none `null #[x, Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.tupleTail #[Lean.Syntax.atom info ",", Lean.Syntax.node Lean.SourceInfo.none `null #[y]]]], Lean.Syntax.atom info ")"]) else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandIte x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 3 = true then let discr := Lean.Syntax.getArg discr_2 0; let discr_3 := Lean.Syntax.getArg discr_2 1; let discr_4 := Lean.Syntax.getArg discr_2 2; let e := discr_4; let t := discr_3; let c := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `termIfThenElse #[Lean.Syntax.atom info "if", c, Lean.Syntax.atom info "then", t, Lean.Syntax.atom info "else", e]) else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandSorryAx x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 1 = true then let discr := Lean.Syntax.getArg discr_2 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.hole = true then let discr := Lean.Syntax.getArg discr 0; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.sorry #[Lean.Syntax.atom info "sorry"]) else let discr := Lean.Syntax.getArg discr_2 0; throw () else let discr_3 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_3 2 = true then let discr := Lean.Syntax.getArg discr_3 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.hole = true then let discr := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr_3 1; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.hole = true then let discr := Lean.Syntax.getArg discr 0; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.sorry #[Lean.Syntax.atom info "sorry"]) else let discr := Lean.Syntax.getArg discr_3 1; throw () else let discr := Lean.Syntax.getArg discr_3 0; let discr := Lean.Syntax.getArg discr_3 1; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandEqNDRec x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 2 = true then let discr := Lean.Syntax.getArg discr_2 0; let discr_3 := Lean.Syntax.getArg discr_2 1; let h := discr_3; let m := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.subst #[h, Lean.Syntax.atom info "▸", Lean.Syntax.node Lean.SourceInfo.none `null #[m]]) else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandEqRec x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 2 = true then let discr := Lean.Syntax.getArg discr_2 0; let discr_3 := Lean.Syntax.getArg discr_2 1; let h := discr_3; let m := discr; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `Lean.Parser.Term.subst #[h, Lean.Syntax.atom info "▸", Lean.Syntax.node Lean.SourceInfo.none `null #[m]]) else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandExists x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 1 = true then let discr := Lean.Syntax.getArg discr_2 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.fun = true then let discr_3 := Lean.Syntax.getArg discr 0; let discr_4 := Lean.Syntax.getArg discr 1; if Lean.Syntax.isOfKind discr_4 `Lean.Parser.Term.basicFun = true then let discr := Lean.Syntax.getArg discr_4 0; if Lean.Syntax.matchesNull discr 1 = true then let discr_5 := Lean.Syntax.getArg discr 0; cond (Lean.Syntax.isOfKind discr_5 `ident) (let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; if Lean.Syntax.isOfKind discr `«term∃_,_» = true then let discr_6 := Lean.Syntax.getArg discr 0; let discr_7 := Lean.Syntax.getArg discr 1; if Lean.Syntax.isOfKind discr_7 `Lean.explicitBinders = true then let discr_8 := Lean.Syntax.getArg discr_7 0; if Lean.Syntax.isOfKind discr_8 `Lean.unbracketedExplicitBinders = true then let discr_9 := Lean.Syntax.getArg discr_8 0; let discr_10 := Lean.Syntax.getArg discr_8 1; if Lean.Syntax.matchesNull discr_10 0 = true then let discr_11 := Lean.Syntax.getArg discr 2; let discr := Lean.Syntax.getArg discr 3; let b := discr; let xs := Lean.Syntax.getArgs discr_9; let x := discr_5; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term∃_,_» #[Lean.Syntax.atom info "∃", Lean.Syntax.node Lean.SourceInfo.none `Lean.explicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `Lean.unbracketedExplicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `null (Array.append #[Lean.Syntax.node Lean.SourceInfo.none `Lean.binderIdent #[x]] xs), Lean.Syntax.node Lean.SourceInfo.none `null #[]]], Lean.Syntax.atom info ",", b]) else let discr_11 := Lean.Syntax.getArg discr_8 1; let discr_12 := Lean.Syntax.getArg discr 2; let discr_13 := Lean.Syntax.getArg discr 3; let b := discr; let x := discr_5; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term∃_,_» #[Lean.Syntax.atom info "∃", Lean.Syntax.node Lean.SourceInfo.none `Lean.explicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `Lean.unbracketedExplicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.binderIdent #[x]], Lean.Syntax.node Lean.SourceInfo.none `null #[]]], Lean.Syntax.atom info ",", b]) else let discr_9 := Lean.Syntax.getArg discr_7 0; let discr_10 := Lean.Syntax.getArg discr 2; let discr_11 := Lean.Syntax.getArg discr 3; let b := discr; let x := discr_5; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term∃_,_» #[Lean.Syntax.atom info "∃", Lean.Syntax.node Lean.SourceInfo.none `Lean.explicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `Lean.unbracketedExplicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.binderIdent #[x]], Lean.Syntax.node Lean.SourceInfo.none `null #[]]], Lean.Syntax.atom info ",", b]) else let discr_8 := Lean.Syntax.getArg discr 1; let discr_9 := Lean.Syntax.getArg discr 2; let discr_10 := Lean.Syntax.getArg discr 3; let b := discr; let x := discr_5; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term∃_,_» #[Lean.Syntax.atom info "∃", Lean.Syntax.node Lean.SourceInfo.none `Lean.explicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `Lean.unbracketedExplicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.binderIdent #[x]], Lean.Syntax.node Lean.SourceInfo.none `null #[]]], Lean.Syntax.atom info ",", b]) else let discr := Lean.Syntax.getArg discr_4 2; let b := discr; let x := discr_5; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term∃_,_» #[Lean.Syntax.atom info "∃", Lean.Syntax.node Lean.SourceInfo.none `Lean.explicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `Lean.unbracketedExplicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.binderIdent #[x]], Lean.Syntax.node Lean.SourceInfo.none `null #[]]], Lean.Syntax.atom info ",", b])) (let discr_6 := Lean.Syntax.getArg discr 0; if Lean.Syntax.isOfKind discr_6 `Lean.Parser.Term.paren = true then let discr := Lean.Syntax.getArg discr_6 0; let discr := Lean.Syntax.getArg discr_6 1; if Lean.Syntax.matchesNull discr 2 = true then let discr_7 := Lean.Syntax.getArg discr 0; cond (Lean.Syntax.isOfKind discr_7 `ident) (let discr_8 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_8 1 = true then let discr := Lean.Syntax.getArg discr_8 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.typeAscription = true then let discr_9 := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr 1; let discr_10 := Lean.Syntax.getArg discr_6 2; let discr_11 := Lean.Syntax.getArg discr_4 1; let discr_12 := Lean.Syntax.getArg discr_4 2; let b := discr_12; let t := discr; let x := discr_7; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term∃_,_» #[Lean.Syntax.atom info "∃", Lean.Syntax.node Lean.SourceInfo.none `Lean.explicitBinders #[Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.bracketedExplicitBinders #[Lean.Syntax.atom info "(", Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.binderIdent #[x]], Lean.Syntax.atom info ":", t, Lean.Syntax.atom info ")"]]], Lean.Syntax.atom info ",", b]) else let discr := Lean.Syntax.getArg discr_8 0; let discr := Lean.Syntax.getArg discr_6 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 1; let discr := Lean.Syntax.getArg discr_6 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) (let discr_8 := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr 1; let discr := Lean.Syntax.getArg discr_6 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) else let discr := Lean.Syntax.getArg discr_6 1; let discr := Lean.Syntax.getArg discr_6 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) else let discr := Lean.Syntax.getArg discr_4 0; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := Lean.Syntax.getArg discr_2 0; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandSigma x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 1 = true then let discr := Lean.Syntax.getArg discr_2 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.fun = true then let discr_3 := Lean.Syntax.getArg discr 0; let discr_4 := Lean.Syntax.getArg discr 1; if Lean.Syntax.isOfKind discr_4 `Lean.Parser.Term.basicFun = true then let discr := Lean.Syntax.getArg discr_4 0; if Lean.Syntax.matchesNull discr 1 = true then let discr_5 := Lean.Syntax.getArg discr 0; if Lean.Syntax.isOfKind discr_5 `Lean.Parser.Term.paren = true then let discr := Lean.Syntax.getArg discr_5 0; let discr := Lean.Syntax.getArg discr_5 1; if Lean.Syntax.matchesNull discr 2 = true then let discr_6 := Lean.Syntax.getArg discr 0; cond (Lean.Syntax.isOfKind discr_6 `ident) (let discr_7 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_7 1 = true then let discr := Lean.Syntax.getArg discr_7 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.typeAscription = true then let discr_8 := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr 1; let discr_9 := Lean.Syntax.getArg discr_5 2; let discr_10 := Lean.Syntax.getArg discr_4 1; let discr_11 := Lean.Syntax.getArg discr_4 2; let b := discr_11; let t := discr; let x := discr_6; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term_×__1» #[Lean.Syntax.node Lean.SourceInfo.none `Lean.bracketedExplicitBinders #[Lean.Syntax.atom info "(", Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.binderIdent #[x]], Lean.Syntax.atom info ":", t, Lean.Syntax.atom info ")"], Lean.Syntax.atom info "×", b]) else let discr := Lean.Syntax.getArg discr_7 0; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 1; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) (let discr_7 := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr 1; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) else let discr := Lean.Syntax.getArg discr_5 1; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr_4 0; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := Lean.Syntax.getArg discr_2 0; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandPSigma x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 1 = true then let discr := Lean.Syntax.getArg discr_2 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.fun = true then let discr_3 := Lean.Syntax.getArg discr 0; let discr_4 := Lean.Syntax.getArg discr 1; if Lean.Syntax.isOfKind discr_4 `Lean.Parser.Term.basicFun = true then let discr := Lean.Syntax.getArg discr_4 0; if Lean.Syntax.matchesNull discr 1 = true then let discr_5 := Lean.Syntax.getArg discr 0; if Lean.Syntax.isOfKind discr_5 `Lean.Parser.Term.paren = true then let discr := Lean.Syntax.getArg discr_5 0; let discr := Lean.Syntax.getArg discr_5 1; if Lean.Syntax.matchesNull discr 2 = true then let discr_6 := Lean.Syntax.getArg discr 0; cond (Lean.Syntax.isOfKind discr_6 `ident) (let discr_7 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_7 1 = true then let discr := Lean.Syntax.getArg discr_7 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.typeAscription = true then let discr_8 := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr 1; let discr_9 := Lean.Syntax.getArg discr_5 2; let discr_10 := Lean.Syntax.getArg discr_4 1; let discr_11 := Lean.Syntax.getArg discr_4 2; let b := discr_11; let t := discr; let x := discr_6; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term_×'_» #[Lean.Syntax.node Lean.SourceInfo.none `Lean.bracketedExplicitBinders #[Lean.Syntax.atom info "(", Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.node Lean.SourceInfo.none `Lean.binderIdent #[x]], Lean.Syntax.atom info ":", t, Lean.Syntax.atom info ")"], Lean.Syntax.atom info "×'", b]) else let discr := Lean.Syntax.getArg discr_7 0; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 1; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) (let discr_7 := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr 1; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) else let discr := Lean.Syntax.getArg discr_5 1; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr_4 0; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := Lean.Syntax.getArg discr_2 0; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- unexpandSubtype x = let discr := x; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.app = true then let discr_1 := Lean.Syntax.getArg discr 0; let discr_2 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_2 1 = true then let discr := Lean.Syntax.getArg discr_2 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.fun = true then let discr_3 := Lean.Syntax.getArg discr 0; let discr_4 := Lean.Syntax.getArg discr 1; if Lean.Syntax.isOfKind discr_4 `Lean.Parser.Term.basicFun = true then let discr := Lean.Syntax.getArg discr_4 0; if Lean.Syntax.matchesNull discr 1 = true then let discr_5 := Lean.Syntax.getArg discr 0; if Lean.Syntax.isOfKind discr_5 `Lean.Parser.Term.paren = true then let discr := Lean.Syntax.getArg discr_5 0; let discr := Lean.Syntax.getArg discr_5 1; if Lean.Syntax.matchesNull discr 2 = true then let discr_6 := Lean.Syntax.getArg discr 0; cond (Lean.Syntax.isOfKind discr_6 `ident) (let discr_7 := Lean.Syntax.getArg discr 1; if Lean.Syntax.matchesNull discr_7 1 = true then let discr := Lean.Syntax.getArg discr_7 0; if Lean.Syntax.isOfKind discr `Lean.Parser.Term.typeAscription = true then let discr_8 := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr 1; let discr_9 := Lean.Syntax.getArg discr_5 2; let discr_10 := Lean.Syntax.getArg discr_4 1; let discr_11 := Lean.Syntax.getArg discr_4 2; let p := discr_11; let type := discr; let x := discr_6; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term{__:_//_}» #[Lean.Syntax.atom info "{", x, Lean.Syntax.node Lean.SourceInfo.none `null #[Lean.Syntax.atom info ":", type], Lean.Syntax.atom info "//", p, Lean.Syntax.atom info "}"]) else let discr := Lean.Syntax.getArg discr_7 0; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 1; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) (let discr_7 := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr 1; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) else let discr := Lean.Syntax.getArg discr_5 1; let discr := Lean.Syntax.getArg discr_5 2; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr_6 := Lean.Syntax.getArg discr 0; cond (Lean.Syntax.isOfKind discr_6 `ident) (let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; let p := discr; let x := discr_6; do let info ← Lean.MonadRef.mkInfoFromRefPos let _ ← Lean.getCurrMacroScope let _ ← Lean.getMainModule pure (Lean.Syntax.node Lean.SourceInfo.none `«term{__:_//_}» #[Lean.Syntax.atom info "{", x, Lean.Syntax.node Lean.SourceInfo.none `null #[], Lean.Syntax.atom info "//", p, Lean.Syntax.atom info "}"])) (let discr := Lean.Syntax.getArg discr 0; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw ()) else let discr := Lean.Syntax.getArg discr_4 0; let discr := Lean.Syntax.getArg discr_4 1; let discr := Lean.Syntax.getArg discr_4 2; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := Lean.Syntax.getArg discr_2 0; throw () else let discr := Lean.Syntax.getArg discr 1; throw () else let discr := x; throw ()
Equations
- tacticFunext__ = Lean.ParserDescr.node `tacticFunext__ 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.nonReservedSymbol "funext " false) (Lean.ParserDescr.unary `many1 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.const `colGt) (Lean.ParserDescr.cat `term 1024))))
Equations
- «command_ClassAbbrev__:_:=__,» = Lean.ParserDescr.node `«command_ClassAbbrev__:_:=__,» 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.const `declModifiers) (Lean.ParserDescr.symbol "class ")) (Lean.ParserDescr.symbol "abbrev ")) (Lean.ParserDescr.const `declId)) (Lean.ParserDescr.unary `many (Lean.ParserDescr.const `bracketedBinder))) (Lean.ParserDescr.unary `optional (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol ":") (Lean.ParserDescr.cat `term 0)))) (Lean.ParserDescr.symbol ":=")) (Lean.ParserDescr.unary `withPosition (Lean.ParserDescr.unary `many (Lean.ParserDescr.unary `group (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.const `colGe) (Lean.ParserDescr.cat `term 0)) (Lean.ParserDescr.unary `optional (Lean.ParserDescr.symbol ",")))))))
Equations
- «tactic·.__;_» = Lean.ParserDescr.node `«tactic·.__;_» 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `orelse (Lean.ParserDescr.symbol "·") (Lean.ParserDescr.symbol ".")) (Lean.ParserDescr.const `ppHardSpace)) (Lean.ParserDescr.unary `many1Indent (Lean.ParserDescr.unary `group (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.cat `tactic 0) (Lean.ParserDescr.unary `optional (Lean.ParserDescr.symbol ";"))) (Lean.ParserDescr.const `ppLine)))))
Equations
- solve = Lean.ParserDescr.node `solve 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.nonReservedSymbol "solve " false) (Lean.ParserDescr.unary `withPosition (Lean.ParserDescr.unary `many1 (Lean.ParserDescr.unary `group (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.const `colGe) (Lean.ParserDescr.symbol "|")) (Lean.ParserDescr.const `tacticSeq))))))