I love the idea of LED bulbs (much more so than CFLs, since those die quickly in our 25-year-old house), but they've currently got the same problem that CFLs do: they won't work with a dimmer. Yes, I know that some CFLs are dimmer-compatible now, but they're hard to find.
I'm nothing resembling an electrician or electrical engineer, but I have a conceptual idea of how you would make it work. Add a microcontroller that reads the incoming voltage. As the voltage steps down, turn off individual LEDs in the array in a fixed sequence. Half voltage == half of the LEDs are off, for instance.
Is the science sound on this? And would it add more than, say, $2/bulb?