Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GeneticCode/GeneticCode.lean
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ deriving instance Repr for AminoAcid


/- # General Definitions # -/
def NucBase.isRNABase (b : NucBase) : Bool := b matches U | A | G | C
def NucBase.isRNABase : Bool := n matches U | A | G | C

def NucBase.isDNABase (b : NucBase) : Bool := b matches T | A | G | C
def NucBase.isDNABase : Bool := n matches T | A | G | C

def Redundant (f : α → β) : Prop := ¬ Injective f

Expand Down