On the Subject of Pushing Plumbing

I'd wash your hands after this one...

NOTE: Striked out rules means that the rule shouldn't be true.

Inputs
Red Yellow
  • Serial has '1'
  • 1 = RJ45
  • Duplicate ports
  • Duplicate serial characters
  • Serial has '2'
  • RCA ≥ 1
  • No duplicate ports
  • Serial has '1' or 'L'
Green Blue
  • Serial ≥ 3 numbers
  • One or more DVI-D ports
  • Red Input
  • Yellow Input
This input active if the others aren't.
  • Port types ≥ 4
  • Batteries ≥ 4
  • No ports
  • No batteries

Outputs
Red Yellow
  • Serials ≥ 1
  • Batteries = 1
  • Serial > 2 numbers
  • Active inputs > 2
  • Duplicate ports
  • Serial has '4' or '8'
  • Serial has '2'
  • Green Input
Green Blue
  • 3 = active inputs
  • 3 = ports
  • 3 > ports
  • Serial > 3 numbers
This output active if the others aren't.
  • All inputs are active
  • Any other output is inactive
  • batteries < 2
  • 0 = parallels