fn build_thm0(&self,
    atom: AtomId, vis: Modifiers, span: FileSpan, full: Span, thm: ProofId,
  ) -> Thm {
    let mut de = ExprDedup::new(self.pd, &[]);
    let concl = self.to_expr(&mut de, self.concl(thm));
    let (eheap, ret) = de.build0(concl);
    let (heap, head) = self.build0(thm);
    Thm {
      atom, span, full, doc: None, vis,
      args: Box::new([]), hyps: Box::new([]), heap: eheap, ret,
      kind: ThmKind::Thm(Some(Proof { heap, hyps: Box::new([]), head })),
    }
  }
/// Constructs a theorem with no free variables or hypotheses.
Constructs a theorem with no free variables or hypotheses.
Constructs a theorem with no free variables or hypotheses .
fn build_thm0(&self,
    atom: AtomId, vis: Modifiers, span: FileSpan, full: Span, thm: ProofId,
  ) -> Thm {
    let mut de = ExprDedup::new(self.pd, &[]);
    let concl = self.to_expr(&mut de, self.concl(thm));
    let (eheap, ret) = de.build0(concl);
    let (heap, head) = self.build0(thm);
    Thm {
      atom, span, full, doc: None, vis,
      args: Box::new([]), hyps: Box::new([]), heap: eheap, ret,
      kind: ThmKind::Thm(Some(Proof { heap, hyps: Box::new([]), head })),
    }
  }
fn build_thm0 ( & self , atom : AtomId , vis : Modifiers , span : FileSpan , full : Span , thm : ProofId , ) -> Thm { let mut de = ExprDedup :: new ( self . pd , & [ ] ) ; let concl = self . to_expr ( & mut de , self . concl ( thm ) ) ; let ( eheap , ret ) = de . build0 ( concl ) ; let ( heap , head ) = self . build0 ( thm ) ; Thm { atom , span , full , doc : None , vis , args : Box :: new ( [ ] ) , hyps : Box :: new ( [ ] ) , heap : eheap , ret , kind : ThmKind :: Thm ( Some ( Proof { heap , hyps : Box :: new ( [ ] ) , head } ) ) , } }
Constructs a theorem with no free variables or hypotheses.
Constructs a theorem with no free variables or hypotheses .
&self
atom
AtomId
vis
Modifiers
span
FileSpan
full
Span
thm
ProofId
&self
atom
AtomId
vis
Modifiers
span
FileSpan
full
Span
thm
ProofId