Skip to content

Commit

Permalink
fix pretty-printing of Power. #46
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Dec 15, 2023
1 parent a126620 commit a71cd97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Game/MyNat/Power.lean
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ instance : Pow ℕ ℕ where
pow := pow

-- Note: since v4.2.0-rc2
macro_rules | `($x ^ $y) => `(Pow.pow $x ($y : MyNat))
macro_rules | `($x ^ $y) => `(HPow.hPow ($x : MyNat) ($y : MyNat))

@[MyNat_decide]
axiom pow_zero (m : ℕ) : m ^ 0 = 1
Expand Down

0 comments on commit a71cd97

Please sign in to comment.