Skip to content

Commit

Permalink
refactor: remove unnecessary field and notation
Browse files Browse the repository at this point in the history
  • Loading branch information
chabulhwi committed Feb 17, 2025
1 parent 954a654 commit b7e3a3d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions TPIL/Exam/Exam01.lean
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,10 @@ Prove the theorem `Paradox.spearShield` below:
classical Chinese philosophical work known as Han Feizi (韓非子). -/
class SpearShield (Spear : Type u) (Shield : Type v) where
CanPierce : Spear → Shield → Prop
CanBlock : Shield → Spear → Prop

section

namespace SpearShield

infix:55 " can_pierce " => CanPierce
infix:55 " can_block " => CanBlock

end SpearShield
infix:55 " can_pierce " => SpearShield.CanPierce

variable {Spear : Type u} {Shield : Type u} [SpearShield Spear Shield]

Expand Down

0 comments on commit b7e3a3d

Please sign in to comment.