pith. machine review for the scientific record. sign in
def definition def or abbrev

ofLogicInt

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

  99def ofLogicInt (n : LogicInt) : LogicRat :=

proof body

Definition body.

 100  mk n 1 (by
 101    intro h
 102    have : toInt (1 : LogicInt) = toInt (0 : LogicInt) := congrArg toInt h
 103    rw [toInt_one, toInt_zero] at this
 104    exact one_ne_zero this)
 105
 106/-! ## 4. Zero, One, Negation, Addition, Multiplication -/
 107
 108/-- Zero in `LogicRat`. -/

depends on (8)

Lean names referenced from this declaration's body.