Skip to main content

Fractal Universal Computation Engine

Project description

CMFO: Fractal Universal Computation Engine

PyPI version Python 3.9+ License: MIT

CMFO is a deterministic geometric computing platform that replaces probabilistic approximation with geometric inversion on a 7-dimensional φ-manifold.

Installation

pip install cmfo

Optional Dependencies

# For CUDA acceleration
pip install cmfo[cuda]

# For development
pip install cmfo[dev]

# For documentation building
pip install cmfo[docs]

# Install all extras
pip install cmfo[cuda,dev,docs]

Quick Start

import cmfo

# Display CMFO information
cmfo.info()

# Create a T7 Tensor
from cmfo import T7Tensor
tensor = cmfo.tensor([1, 1, 1, 1, 1, 1, 1])

# Use gamma-phi operations
from cmfo import gamma_step
result = gamma_step(0.5)

# Phi-based logic operations
from cmfo import phi_and, phi_or, phi_xor, phi_not
a = phi_and(1.0, 0.0)
b = phi_or(1.0, 0.0)
c = phi_xor(1.0, 1.0)

Features

  • T7 Tensor Operations: 7-dimensional tensor computations on φ-manifold
  • Gamma-Phi Functions: Fractal geometric operations
  • Phi Logic: Deterministic, reversible logic gates (AND, OR, XOR, NOT, NAND)
  • Native Performance: C/C++ core with Python bindings
  • CUDA Support: Optional GPU acceleration
  • CLI Tools: Command-line interface for common operations

Core Components

T7 Tensor

7-dimensional tensors for fractal computations:

from cmfo import T7Tensor

# Create tensor
t = T7Tensor([1.618, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0])

# Operations available
# (see full API documentation)

Phi Logic

Reversible geometric logic operations:

from cmfo import phi_and, phi_or, phi_xor

# Deterministic logic
result = phi_and(1.0, 1.0)  # Returns phi-scaled result

Gamma Step

Fractal iteration function:

from cmfo import gamma_step

# Compute gamma step
value = gamma_step(0.5)

Architecture

CMFO operates on a unified mathematical structure where Physics, Logic, and Language are isomorphic operations:

  • L1: Theory - Unified Field mathematical axioms
  • L2: Engine - C++/CUDA high-performance core
  • L3: Logic - Matrix compiler for text-to-matrix translation
  • L4: User - Python API and CLI

Documentation

Verified Claims

This package contains executable proofs for:

  1. Physics: α⁵ correction for particle mass derivation (Error < 10⁻⁹)
  2. Logic: Reversible Boolean operations via unitary rotations
  3. Mining: O(1) geometric inversion of cryptographic hashes

See the main repository for verification scripts.

Requirements

  • Python 3.9 or higher
  • NumPy >= 1.20
  • Optional: CUDA-capable GPU for acceleration

License

MIT License with commercial restrictions for enterprise modules.

Author

Jonnathan Montero Viques
Email: jmvlavacar@hotmail.com
Location: San José, Costa Rica

Citation

If you use CMFO in your research, please cite:

@software{cmfo2024,
  title = {CMFO: Fractal Universal Computation Engine},
  author = {Montero Viques, Jonnathan},
  year = {2024},
  url = {https://github.com/1JONMONTERV/CMFO-COMPUTACION-FRACTAL-}
}

Contributing

See CONTRIBUTING.md in the main repository.

Support

For issues, questions, or commercial licensing:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmfo-1.1.1.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmfo-1.1.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file cmfo-1.1.1.tar.gz.

File metadata

  • Download URL: cmfo-1.1.1.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for cmfo-1.1.1.tar.gz
Algorithm Hash digest
SHA256 c8fd3b72b8ee93d822f30aaf2903ad3ce2fe497dd393e86ea5942e831494d61f
MD5 285683a51e254228a8d6f29529d5d1b6
BLAKE2b-256 b48767f620e69aaf034b4371364ea7d280e819a663a4936ee5ab08ac28a037ba

See more details on using hashes here.

File details

Details for the file cmfo-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: cmfo-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for cmfo-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cca10e4ce4dc1d0f669ef6a63a5afb21bc93341e5c9cb495b9db46613783a7a9
MD5 b353ea61b0e715503045a2d5ba190799
BLAKE2b-256 52fc3431b6a089b08d223bcd4e821656eadaadf6522cc3ac68b493ff00e48c7f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page