In music theory when naming intervals, a lowered diminished interval is a doubly diminished interval (dd) and a raised augmented interval is a doubly augmented interval (AA). Ex a C# to a Gb would be a doubly diminished 5th (dd5) and a Cb to a F# would be a doubly augmented 4th (AA4). However, these intervals can be converted to their enharmonic equivalent so the make more sense so instead of having a C# to a Gb you could write it as C# to F# and have it be a P4 and instead of having a Cb to F# you could write a B to F# and have it be a P5.
I have never actually seen a naturally occurring doubly diminished or doubly augmented interval I have only isolated examples in theory books. Is there ever any scenario where any doubly diminished or doubly augmented intervals are used in melodies or chords?