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.
-
LogicInt
in IndisputableMonolith.Foundation.IntegersFromLogic
decl_use
-
mk
in IndisputableMonolith.Foundation.IntegersFromLogic
decl_use
-
toInt
in IndisputableMonolith.Foundation.IntegersFromLogic
decl_use
-
toInt_one
in IndisputableMonolith.Foundation.IntegersFromLogic
decl_use
-
toInt_zero
in IndisputableMonolith.Foundation.IntegersFromLogic
decl_use
-
LogicRat
in IndisputableMonolith.Foundation.RationalsFromLogic
decl_use
-
mk
in IndisputableMonolith.Foundation.RationalsFromLogic
decl_use
-
LogicInt
in IndisputableMonolith.NumberTheory.LogicLedgerInterop
decl_use