"""Create logic_validator
Generated by Phi-Octopus Eden
2025-11-06 05:18:50.759360
"""

```python
def create_logic_validator(rule: str) -> callable:
    """
    Creates a logic validator function based on the provided rule.
    
    Args:
        rule (str): A string representing a logical expression that will be used as the validation rule.
                    Example: 'x > 10 and y < 5'
    
    Returns:
        callable: A function that takes variable number of arguments, evaluates them against the given rule,
                  and returns True if the rule is satisfied, False otherwise.

    Raises:
        ValueError: If the provided rule cannot be compiled.
    """
    import ast
    from functools import reduce

    class LogicValidator(ast.NodeVisitor):
        def __init__(self, variables):
            self.variables = {var.strip(): None for var in variables}
        
        def visit_Name(self, node):
            if node.id in self.variables:
                self.variables[node.id] = ast.literal_eval(node)
            else:
                raise ValueError(f"Variable '{node.id}' not found.")
        
        def visit_BoolOp(self, node):
            values = [self.visit(value) for value in node.values]
            return reduce(lambda x, y: eval(f'{x} {node.op.__class__.__name__} {y}'), values)
        
        def generic_visit(self, node):
            raise ValueError("Unsupported operation.")
    
    def logic_validator(*args):
        visitor = LogicValidator(args)
        try:
            for var in visitor.variables:
                visitor.visit(ast.parse(var, mode='eval'))
            return bool(visitor.visit(ast.parse(rule, mode='eval')))
        except Exception as e:
            raise e
    
    return logic_validator

# Example usage
validator = create_logic_validator('x > 10 and y < 5')
print(validator(x=12, y=4))  # True
print(validator(x=8, y=6))   # False
```