TNFR Logo
TheoryLearnSoftwareResearch

On this page

TNFR

Resonant Fractal Nature Theory — a mathematical framework for coherent patterns on graph-coupled networks.

About
  • Project history
  • Editorial policy
  • Contact
Resources
  • GitHub
  • PyPI
  • DOI · Zenodo
Legal
  • MIT License
  • Citation
© 2026 TNFR project — MIT licensed.DOI 10.5281/zenodo.17602860
docs
grammar
PHYSICS_VERIFICATION.md
API_CONTRACTS.mdCANONICAL_OZ_SEQUENCES.mdEMPIRICAL_CONFRONTATION_EEG.mdREADME.mdSTRUCTURAL_FIELDS_TETRAD.mdSTRUCTURAL_INTERFACE_THEORY.md
theory
APPLIED_STRUCTURAL_ANALYSIS.mdCATALOG_TYPE_HYGIENE_PROGRAMME.mdDISSIPATIVE_AND_OPEN_SYSTEMS.mdEMERGENT_ONTOLOGY.mdEXTENDED_FIELDS_AND_DERIVED_QUANTITIES.mdFUNDAMENTAL_THEORY.mdGAUGE_SYMMETRY_AND_UNIFICATION.mdGLOSSARY.mdMATHEMATICAL_DYNAMICS_BASIS.mdMINIMAL_STRUCTURAL_DEGREES.mdNUCLEUS_A_PRIME_LADDER_ATLAS.mdNUCLEUS_B_EQUIVARIANCE_OBSTRUCTIONS.mdPHYSICAL_REGIME_CORRESPONDENCES.mdREADME.mdREMESH_INFINITY_DERIVATION.mdSTRUCTURAL_CONSERVATION_THEOREM.mdSTRUCTURAL_OPERATORS.mdSTRUCTURAL_STABILITY_AND_DYNAMICS.mdTNFR_BSD_RESEARCH_NOTES.mdTNFR_HODGE_RESEARCH_NOTES.mdTNFR_NAVIER_STOKES_RESEARCH_NOTES.mdTNFR_NUMBER_THEORY.mdTNFR_P_VS_NP_RESEARCH_NOTES.mdTNFR_RIEMANN_RESEARCH_NOTES.mdTNFR_VARIATIONAL_PRINCIPLE.mdTNFR_YANG_MILLS_RESEARCH_NOTES.mdTNFR.pdfUNIFIED_GRAMMAR_RULES.md
factorization-lab
analysis
analyze_patterns.pycertificate_manifest.py
benchmarks
benchmark_analysis.pybenchmark_expansion_suite.pyfull_spectrum_factorization.pypaley_gap_extended.pypaley_gap_smoke.pytest_benchmark_suite.py
demos
experiment_contexts
exp_0b1663cd19b7.jsonexp_0bf0054b7474.jsonexp_75a4c8ca616a.jsonexp_848ee0fd1857.jsonexp_f6fe00562193.jsonexp_fdf3da424e1e.json
failure_telemetry_batch.pyfeedback_integration_demo.pyintegration_demo_snapshots.dbseed_management_integration_demo.pysnapshot_integration_demo.pytrajectory_143.jsontrajectory_77.jsontrajectory_89.jsontrajectory_91.jsontrajectory_97.json
docs
FACTORING_PLAYBOOK.mdFALSE_POSITIVE_TEST_SUITE.mdOPERATOR_CERTIFICATES.mdROADMAP.mdSPECTRAL_ROUTE.md
experiment_contexts
exp_cebe1d9e7d8e.json
notebooks
spectral_history.ipynb
scripts
run_false_positive_tests.py
tests
run_false_positive_test_suite.pytest_cli.pytest_false_positive_methodology.pytest_false_positive_verifier.pytest_feedback_integration.pytest_partitioning.pytest_seed_management.pytest_self_opt_support.pytest_snapshot_system.pytest_spectral_paley.pytest_verification_robustness.py
tnfr_factorization
__init__.pyapi.pycli.pyfailure_telemetry.pyfeedback_adapter.pyfeedback_integration.pypartitioning.pyself_opt_support.pyspectral_paley.py
demo_snapshots.dbLICENSE_SNAPSHOT.mdPACKAGE_SUMMARY.mdREADME.mdseed_management.pysnapshot_system.pytest_certificate_hashing.pytest_installation.pyverification_trajectory_77.json
benchmarks
analyze_tetrad_universality.pyb0star_alpha_canonical_product_graphs.pybenchmark_optimization_tracks.pybenchmark_utils.pyboundary_vibration.pybridge_primes_riemann.pychiral_involution.pycli_utils.pycoherence_projector_sense_index.pycommutant_bridge.pycomposition_arithmetic.pyconfinement_zones_test.pyconservation_law_validation.pydirected_paley_bridge.pyemergent_arithmetic_pulse.pyemergent_atom_dynamics.pyemergent_atomic_shells.pyemergent_base_dimension.pyemergent_dimension_dynamics.pyemergent_fractal_pulse.pyemergent_fractal_simplex_dimension.pyemergent_integers_symmetry.pyemergent_musical_nfr.pyemergent_nfr_geometry.pyemergent_nfr_where.pyemergent_rationals.pyemergent_rhythm.pyemergent_screening.pyemergent_shell_cardinals.pyemergent_shell_ordering.pyemergent_simplex_dimension.pyemergent_substrate_symmetry.pyequivariance_wall.pyexternal_phase_gate_validation.pyfield_methods_battery.pygolden_residue_remesh_bridge.pyintegrated_force_regime_study.pyinverse_spectrum_to_symmetry.pyk_phi_safety_demo.pykuramoto_farey_bridge.pymissing_piece_bridge.pymultichannel_interface_benchmark.pynavier_stokes_recipe_bridge.pynodal_propagator_residue_bridge.pyns_moment_hierarchy_cascade.pyoperational_irreducibility.pypaley_bridge.pyphase_curvature_investigation.pyphase_wall.pyphi_s_confinement_investigation.pyprimes_as_consequence.pypulse_phase_coherence_budget.pyREADME.mdremesh_infinity_riemann_baseline.pyremesh_infinity_riemann_composed.pyremesh_infinity_riemann_modified_graph.pyremesh_infinity_riemann_operator.pyremesh_infinity_riemann_spectral_basis.pyremesh_infinity_riemann_spectral_robustness.pyremesh_infinity_riemann_spectral.pyresidue_phase_vs_riemann.pystructural_interface_benchmark.pytemporal_interface_benchmark.pytetrad_results_aggregate.pyu2_destabilization_irreversibility.pyuniversality_clusters.pyxi_c_fast_experiment.py
primality-test
benchmarks
comprehensive_benchmark.py
docs
ADVANCED_INTEGRATION.mdmathematical_foundation.mdperformance_analysis.md
examples
advanced_examples.pybasic_usage.py
tnfr_primality
__init__.py__main__.pyadvanced_cli.pyadvanced_core.pycli.pyconstants.pycore.pyoptimized.py
MANIFEST.inPACKAGE_SUMMARY.mdREADME.mdRELEASE_NOTES_v1.0.mdsetup.pytest_installation.py
tests
core_physics
__init__.pytest_conservation_laws.pytest_delta_nfr_computation_paths.pytest_delta_nfr.pytest_dispersion_coherence_sign_invariance.pytest_emergent_constants_guard.pytest_lyapunov_operators.pytest_nodal_equation.pytest_structural_triad.py
data
replay_manifests
sample_run
_manifest_summary.json_manifest.json_partition_files.txt.gz
self_opt_validation
seed_alpha
paley.json
seed_beta
integration.json
seed_gamma
unknown.json
self_optimization
test_run
partitioned
test_run
test_run_p0.jsontest_run_p1.json
_manifest_summary.json_manifest.json
engines
test_pattern_discovery_manifest.pytest_self_optimization_engine.py
mathematics
__init__.pytest_autodiff.pytest_backends.pytest_dissipative_dynamics.pytest_epi.pytest_factory_patterns.pytest_metrics.pytest_navier_stokes_refounded.pytest_number_theory_canonical.pytest_operators.pytest_residue_networks.pytest_riemann_nodal_pulse.pytest_riemann_pulse_coherence.pytest_spaces.pytest_transforms.pytest_validator.py
operators
test_canonical_operators_modern.pytest_grammar_canon.pytest_grammar_canonical_consistency.pytest_grammar_dynamics.pytest_operator_contracts.pytest_operator_strategies.py
parallel
test_fractal_partition_manifest.py
physics
test_conservation_gauge_unification.pytest_dissipative_conservation.pytest_emergent_chemistry.pytest_field_cache_invalidation.pytest_gauge.pytest_phase_transition.pytest_signatures.pytest_spectral_conservation.pytest_structural_diffusion.pytest_structural_integrity.pytest_symplectic_substrate.pytest_tetrad_bounds.pytest_variational.pytest_yang_mills_closure.pytest_yang_mills_derivability.pytest_yang_mills_scaling.pytest_yang_mills_structural_gap.pytest_yang_mills_u6_sweep.py
scripts
test_run_self_opt_validation.pytest_run_self_optimization.py
sdk
__init__.pytest_simple_advanced.py
__init__.pyconftest.pyREADME.mdtest_breast_cancer_phase_gate_demo.pytest_classical_mechanics.pytest_distributed_fft.pytest_external_phase_gate_validation.pytest_factorization_entrypoint.pytest_multichannel_interface.pytest_nodal_optimizer.pytest_phase_gate_api.pytest_replay_register_manifest.pytest_signal_confrontation.pytest_structural_interface_api.pytest_structural_interface_baselines.pytest_structural_interface_benchmark.pytest_temporal_interface.pytest_vectorized_coherence_length_regression.pytest_wine_quality_phase_gate_demo.pyutils.py
examples
01_foundations
01_hello_world.py02_musical_resonance.py03_network_formation.py04_operator_sequences.py05_coherence_evolution.py06_network_topologies.py07_phase_transitions.py08_emergent_phenomena.py09_visualization_suite.py10_simplified_sdk_showcase.py
02_physics_regimes
11_classical_limit_comparison.py115_operator_contract_audit.py12_classical_mechanics_demo.py13_quantum_mechanics_demo.py14_uncertainty_and_interference.py15_train_crossing_demo.py17_conservation_law_demo.py26_gauge_structure_demo.py27_variational_principle_demo.py28_dissipative_systems_demo.py29_lyapunov_stability_demo.py30_self_optimization_demo.py31_mathematical_constants_basis.py33_complex_field_unification.py34_conservation_protocol_suite.py35_tetrad_irreducibility.py36_grammar_violation_detector.py37_operator_tetrad_synergy.py38_grammar_energy_landscape.py39_nodal_equation_decomposition.py
03_riemann_zeta
157_nodal_pulse_phase_attack.py41_von_mangoldt_zeta_demo.py42_riemann_zeros_as_resonances.py43_prime_ladder_hamiltonian_demo.py44_weil_explicit_formula_demo.py45_li_keiper_demo.py46_weil_tnfr_positivity_demo.py47_alpha_sweep_demo.py48_admissible_family_sweep_demo.py49_nodeaware_gauge_sweep_demo.py50_uniform_coercivity_demo.py51_adaptive_coercivity_demo.py52_paley_gap_coercivity_demo.py53_lyapunov_spectral_positivity_demo.py54_hilbert_polya_demo.py55_structural_zero_density_demo.py56_spectral_emergence_demo.py57_admissible_rescaling_demo.py58_oscillatory_correction_demo.py
04_riemann_L_twisted
59_dirichlet_l_function_demo.py60_dirichlet_l_continuation_demo.py61_dirichlet_l_hamiltonian_demo.py62_dirichlet_weil_explicit_formula_demo.py63_dirichlet_li_keiper_demo.py64_twisted_weil_positivity_demo.py65_twisted_alpha_sweep_demo.py66_twisted_admissible_family_sweep_demo.py67_twisted_nodeaware_gauge_sweep_demo.py68_twisted_hermite_family_demo.py69_twisted_coercivity_uniform_demo.py70_twisted_paley_gap_coercivity_demo.py71_twisted_lyapunov_spectral_demo.py72_twisted_hilbert_polya_demo.py73_twisted_structural_zero_density_demo.py74_twisted_spectral_emergence_demo.py75_twisted_admissible_rescaling_demo.py76_twisted_oscillatory_correction_demo.py
05_type_hygiene
77_remesh_infinity_residue_split_demo.py78_nuf_type_signature_demo.py79_epi_type_signature_demo.py80_phi_type_signature_demo.py81_dnfr_type_signature_demo.py82_remesh_window_type_signature_demo.py83_delta_phi_max_type_signature_demo.py84_coupling_weights_type_signature_demo.py85_tetrad_closure_signature_demo.py86_currents_closure_signature_demo.py87_aggregates_closure_signature_demo.py88_urules_consistency_signature_demo.py89_operator_catalog_discipline_signature_demo.py
06_navier_stokes
158_navier_stokes_two_face_refounded.py
07_number_theory
100_prime_families_orbits.py101_numbers_as_coupled_network.py102_nodal_flow_primes_equilibria.py116_nuf_emergent_prime_visibility.py146_primality_grammatical_inertness.py147_numbers_as_free_monoid_words.py148_capacity_arm_carries_von_mangoldt.py149_p14_is_the_capacity_arm_operator.py153_structural_frequency_rank_cyclotomy.py40_arithmetic_number_theory.py94_generative_number_construction.py95_primes_from_spectral_waves.py96_spectral_vibration_of_coherence.py97_goldbach_additive_multiplicative.pyemergent_chemistry_particles_demo.py
08_emergent_geometry
103_emergent_substrate_meets_riemann.py106_per_node_polarization_geometry.py107_orthogonal_structure_emergent_geometry.py108_emergent_field_generating_structure.py112_structure_predicts_coherence_flow.py113_overdamped_projection_bridge.py114_substrate_conserved_quantities.py117_emergent_geometry_residue_graph.py118_emergent_vs_classical_operator.py119_phase_sector_directed_residue.py120_symmetry_wall_substrate_vs_spectrum.py121_canonical_symmetry_break_negative.py122_factorization_phase_sector.py123_symmetry_sector_decomposition.py124_emergent_metric_fractal_consistency.py125_node_is_the_emergent_substrate.py126_two_layers_base_fiber.py127_base_is_emergent_not_imposed.py128_base_substrate_coemergence.py129_spectral_gap_base_fiber_clock.py130_operators_break_substrate_charges.py131_coemergent_loop_convergence.py132_geometric_phase_holonomy.py133_psi_topological_defects.py134_spectral_dimension_heat_kernel.py135_arrow_of_time_h_theorem.py136_heat_kernel_coefficients.py137_synchronization_transition.py138_structure_frequency_synchronization.py139_grammar_formal_language.py140_grammar_automaton.py141_grammar_rule_decomposition.py142_grammar_operator_quotient.py143_glyphic_function_sublanguage.py144_branching_combinator.py145_syntactic_monoid_starfree.py150_emergent_grammatical_pattern_parry.py151_grammar_in_emergent_geometry.py152_operator_contract_tetrahedron.py154_conductor_annotated_qr_spectrum.py155_ontological_position_of_numbers.py156_emergence_directness_law.py98_emergent_symplectic_substrate.py99_structural_diffusion.pyunified_fields_showcase.py
09_millennium
109_p_vs_np_coherence_synthesis.py110_bsd_rank_structural_pressure.py111_hodge_discrete_and_honest_gap.py
10_applications
159_empirical_confrontation_pipeline.py90_phase_gate_monitor_demo.py91_breast_cancer_phase_gate_demo.py92_wine_quality_phase_gate_demo.py93_structural_interface_demo.pypytorch_cuda_demo.py
README.md
scripts
replay
__init__.pyregister_manifest.py
__init__.pyREADME.mdrebuild_failure_manifest.pyrun_reproducible_benchmarks.pyrun_self_opt_validation.pyrun_self_optimization.pytnfr_is_prime.pyvalidate_conservation_law.pyverify_internal_references.py
src
core
__init__.pyevaluation.py
tnfr
backends
__init__.pyjax_backend.pynumpy_backend.pyoptimized_numpy.pyREADME.mdtorch_backend.py
cli
__init__.py__init__.pyiarguments.pyarguments.pyiexecution.pyexecution.pyiinteractive_validator.pyREADME.mdutils.pyutils.pyi
compat
__init__.pydataclass.pyjsonschema_stub.pymatplotlib_stub.pynumpy_stub.pyREADME.md
config
__init__.py__init__.pyiconstants.pyconstants.pyidefaults_core.pydefaults_init.pydefaults_metric.pydefaults.pyfeature_flags.pyfeature_flags.pyiglyph_constants.pyoperator_names.pyoperator_names.pyiphysics_derivation.pyprecision_modes.pypresets.pypresets.pyiREADME.mdsecurity.pythresholds.pytnfr_config.py
constants
__init__.py__init__.pyialiases.pyaliases.pyicanonical.pymetric.pymetric.pyioperational.py
core
__init__.pycontainer.pydefault_implementations.pyexceptions.pyinterfaces.pyREADME.md
dynamics
__init__.py__init__.pyiadaptation.pyadaptation.pyiadaptive_sequences.pyadaptive_sequences.pyiadelic.pyadvanced_cache_optimizer.pyadvanced_fft_arithmetic.pyaliases.pyaliases.pyibifurcation.pycache_aware_fft_engine.pycanonical.pycanonical.pyicomputational_hub.pycoordination.pycoordination.pyidistributed_fft.pydnfr.pydnfr.pyidynamic_limits.pyemergent_centralization.pyemergent_integration_engine.pyfeedback.pyfeedback.pyifft_backend.pyfft_cache_coordinator.pyfft_dispatchers.pyfft_engine.pyfft_workers.pyfused_dnfr.pyhomeostasis.pyhomeostasis.pyiintegrators.pyintegrators.pyilearning.pylearning.pyimetabolism.pymulti_modal_cache.pynbody_tnfr.pynbody.pynodal_optimizer.pyoptimization_orchestrator.pypropagation.pyREADME.mdruntime.pyruntime.pyisampling.pysampling.pyiselectors.pyselectors.pyiself_optimizing_engine.pyspectral_structural_fusion.pystructural_cache.pystructural_clip.pysymplectic.pyunified_backend.pyunified_mathematical_cache_orchestrator.py
engines
computation
__init__.pyfft_engine.pyunified_fft_engine.pyunified_gpu_system.py
constants
__init__.pycanonical.pyoperational.py
integration
__init__.pyemergent_integration.py
pattern_discovery
__init__.pymathematical_patterns.pymulti_modal_cache.py
self_optimization
__init__.pyengine.py
__init__.pyREADME.md
errors
__init__.pycontextual.py
factorization
__init__.py
flatten
README.md
gamma
README.md
glyph_history
README.md
glyph_runtime
README.md
immutable
README.md
initialization
README.md
io
README.md
math
__init__.pyfields_symbolic.pygrammar_validators.pyoptimizer.pyREADME.mdsymbolic.py
mathematics
__init__.pybackend.pybackend.pyidynamics.pydynamics.pyiepi.pyepi.pyigenerators.pygenerators.pyiliouville.pymetrics.pymetrics.pyinumber_theory.pyoperators_factory.pyoperators_factory.pyioperators.pyoperators.pyioptimized_primality.pyprojection.pyprojection.pyiREADME.mdruntime.pyruntime.pyispaces.pyspaces.pyispectral.pytransforms.pytransforms.pyiunified_cache.pyunified_numerical.pyzeta.py
metrics
__init__.py__init__.pyibuffer_cache.pybuffer_cache.pyicache_utils.pycoherence.pycoherence.pyicommon.pycommon.pyicore.pycore.pyidiagnosis.pydiagnosis.pyiemergence.pyexport.pyexport.pyiglyph_timing.pyglyph_timing.pyilearning_metrics.pylearning_metrics.pyilocal_coherence.pyphase_coherence.pyphase_compatibility.pyREADME.mdreporting.pyreporting.pyisense_index.pysense_index.pyitelemetry.pytetrad.pytrig_cache.pytrig_cache.pyitrig.pytrig.pyi
multiscale
__init__.pyhierarchical.pyREADME.md
navier_stokes
__init__.pyconservative_face.pyoperator.py
node
README.md
observers
README.md
operators
network_analysis
__init__.pysource_detection.py
postconditions
__init__.pymutation.py
preconditions
__init__.pycoherence.pydissonance.pyemission.pymutation.pyreception.pyresonance.py
strategies
__init__.pydefaults.pygpu_strategies.pystrategy.py
__init__.py__init__.pyialgebra.pycanonical_patterns.pycascade.pycoherence.pycontraction.pycoupling.pycycle_detection.pydefinitions_base.pydefinitions.pydefinitions.pyidissonance.pyemission.pyexpansion.pygrammar_application.pygrammar_canon.pygrammar_context.pygrammar_core.pygrammar_dynamics.pygrammar_error_factory.pygrammar_memoization.pygrammar_patterns.pygrammar_telemetry.pygrammar_types.pygrammar_u6.pygrammar_validate.pygrammar.pygrammar.pyihamiltonian.pyhealth_analyzer.pyintrospection.pyjitter.pyjitter.pyilifecycle.pymetabolism.pymetrics_basic.pymetrics_core.pymetrics_network.pymetrics_structural.pymetrics_u6.pymetrics.pymutation.pynodal_equation.pyoperator_contracts.pypattern_detection.pypatterns.pyREADME.mdreception.pyrecursivity.pyregistry.pyregistry.pyiremesh.pyremesh.pyiresonance.pyself_organization.pysilence.pystructural_units.pytransition.py
parallel
__init__.pyauto_scaler.pydistributed.pyengine.pymonitoring.pypartitioner.pyREADME.md
performance
guardrails.py
physics
__init__.py_helpers.pycalibration.pycanonical.pycell.pyclassical_mechanics.pyconservation_gauge_unification.pyconservation.pydissipative_conservation.pyemergent_chemistry.pyemergent_particles.pyextended.pyfields.pygauge.pyintegrity.pyinteractions.pylife.pylyapunov.pypatterns.pyphase_transition.pyquantum_mechanics.pyREADME.mdsignatures.pyspectral_conservation.pyspectral_metrics.pystructural_diffusion.pysymplectic_substrate.pytelemetry.pyunified.pyvariational.pyvectorized_ops.py
primality
__init__.py
recipes
__init__.pycookbook.pyREADME.md
riemann
__init__.pyadmissible_family_sweep.pyadmissible_rescaling.pyaggregates_closure_signature.pyalpha_sweep.pyanalytic_continuation_dirichlet.pyanalytic_continuation.pycoercivity_uniform.pycoupling_weights_type_signature.pycurrents_closure_signature.pydelta_phi_max_type_signature.pydirichlet_l.pydnfr_type_signature.pyepi_type_signature.pyhilbert_polya.pyli_keiper.pylyapunov_spectral_positivity.pynodal_pulse.pynodeaware_gauge_sweep.pynuf_type_signature.pyoperator_catalog_discipline_signature.pyoperator.pyoscillatory_correction.pypaley_gap_coercivity.pyphi_type_signature.pyprime_ladder_hamiltonian.pypulse_coherence.pyremesh_infinity_residue_split.pyremesh_window_type_signature.pyspectral_emergence.pystructural_zero_density.pytelemetry.pytetrad_closure_signature.pytwisted_admissible_family_sweep.pytwisted_admissible_rescaling.pytwisted_alpha_sweep.pytwisted_coercivity_uniform.pytwisted_hermite_family.pytwisted_hilbert_polya.pytwisted_li_keiper.pytwisted_lyapunov_spectral_positivity.pytwisted_nodeaware_gauge_sweep.pytwisted_oscillatory_correction.pytwisted_paley_gap_coercivity.pytwisted_prime_ladder_hamiltonian.pytwisted_spectral_emergence.pytwisted_structural_zero_density.pytwisted_weil_explicit_formula.pytwisted_weil_positivity.pyurules_consistency_signature.pyvon_mangoldt.pyweil_explicit_formula.pyweil_positivity.py
schemas
__init__.pygrammar.jsonREADME.md
sdk
__init__.py__init__.pyiadaptive_system.pyadaptive_system.pyibuilders.pybuilders.pyifluent.pyfluent.pyiREADME.mdself_opt.pysimple.pytemplates.pytemplates.pyiutils.py
security
__init__.pycrypto.pydatabase.pyREADME.mdsubprocess.pyvalidation.py
sequencing
__init__.pypatterns.pyREADME.md
services
__init__.pyorchestrator.pyREADME.md
sparse
__init__.pyREADME.mdrepresentations.py
structural
README.md
telemetry
__init__.pycache_metrics.pycache_metrics.pyiconstants.pynu_f.pynu_f.pyiREADME.mdunified_telemetry_system.pyverbosity.pyverbosity.pyi
tools
__init__.pydomain_templates.pyREADME.mdsequence_generator.pytnfr_is_prime_cli_optimized.pytnfr_is_prime_cli.py
topology
__init__.pyasymmetry.pyREADME.md
utils
cache_layers.pycache.pycache.pyicallbacks.pycallbacks.pyichunks.pychunks.pyidata.pydata.pyifast_diameter.pygraph.pygraph.pyiinit.pyinit.pyiio.pyio.pyinumeric.pynumeric.pyiREADME.mdtopology.pyunified_cache.py
validation
__init__.py__init__.pyiaggregator.pybase.pycompatibility.pycompatibility.pyiconfig.pygraph.pygraph.pyihealth.pyinput_validation.pyinterface_baselines.pyinvariants.pymultichannel_interface.pyphase_gate.pyREADME.mdrules.pyrules.pyiruntime.pyruntime.pyisequence_validator.pysignal_confrontation.pysoft_filters.pysoft_filters.pyispectral.pyspectral.pyistructural_interface.pytemporal_interface.pyunified_validation_system.pyvalidator.pywindow.pywindow.pyi
visualization
__init__.pycascade_viz.pyhierarchy.pyREADME.mdsequence_plotter.py
yang_mills
__init__.pyclosure.pyderivability.pyscaling.pystructural_gap.pyu6_sweep.py
__init__.py__init__.pyi_compat.py_version.py_version.pyialias.pyalias.pyibackend_config.pycache.pycache.pyiexecution.pyexecution.pyiflatten.pyflatten.pyigamma.pygamma.pyiglyph_history.pyglyph_history.pyiglyph_runtime.pyglyph_runtime.pyiimmutable.pyimmutable.pyiinitialization.pyinitialization.pyiio.pyio.pyilocking.pylocking.pyinode.pynode.pyiobservers.pyobservers.pyiontosim.pyontosim.pyipy.typedrng.pyrng.pyisecure_config.pyselector.pyselector.pyisense.pysense.pyistructural.pystructural.pyitokens.pytokens.pyitrace.pytrace.pyitypes.pytypes.pyiunits.pyunits.pyi
tetrad_evaluator.py
.pre-commit-config.yaml.semgrep.yaml.zenodo.jsonARCHITECTURE.mdbandit.yamlCHANGELOG.mdCITATION.cffCONTRIBUTING.mdEMERGENT_CANON_AUDIT.mdEMERGENT_DERIVATION_PLAN.mdLICENSE.mdMakefileMANIFEST.inpyproject.tomlpyrightconfig.jsonPYTORCH_CUDA_INTEGRATION.mdREADME.mdSECURITY.mdTESTING.mdTNFR_Website_Content_Brief.md
FILE: TNFR_Website_Content_Brief.md

TNFR_Website_Content_Brief.md

TNFR Website — Complete Content & Structure Brief

Revised 2026-06-24 · aligned with TNFR v0.0.3.4 (repository state as of 2026-06-24)

  • Project: Public website for TNFR (Resonant Fractal Nature Theory)
  • Audience: Kaniz and the dev team building the website
  • Repo (source of truth): https://github.com/fermga/TNFR-Python-Engine
  • PyPI package: https://pypi.org/project/tnfr/
  • DOI (Zenodo): 10.5281/zenodo.17602860
  • License: MIT
  • Current version: 0.0.3.4 (released 2026-06-17)

This revision supersedes the 2026-06-21 brief. It is content-identical in structure, but every fact, equation, count, and status has been re-checked against the current repository. Section 0.1 lists exactly what changed and why, so nothing already designed needs to be thrown away — only corrected.


0. How to read this document

This brief is the single source of truth for the website content. It includes:

  1. The non-negotiable editorial rules (tone, terminology, what we never say).
  2. The complete sitemap with the purpose of every page.
  3. Page-by-page content blocks with the exact text, tables, equations and assets to use.
  4. The visual identity guidelines (colors, typography, components).
  5. The assets inventory (what diagrams to design and where the text comes from in the repo).

The website is a presentation of TNFR and of the material already published in the repository. It is not an applications showcase. If anything in this document is unclear, ask before inventing. Do not paraphrase the scientific content — copy the exact wording provided here and in the linked source files. TNFR has a strict canonical terminology that must be preserved.

Hosting note: the production domain tnfr.info is already contracted with a separate hosting provider (IONOS). Deployment to the production environment is therefore out of scope for Kaniz. The deliverable is the website source code (frontend + backend) ready to be deployed by the owner.


0.1 What changed since the 2026-06-21 brief (delta for Kaniz)

The repository moved forward between the two briefs. The website content must reflect the current state. Concrete corrections (old → corrected):

  1. Home, "Verify" card. "~2,195 tests" → 1,599 tests (README).
  2. /learn/tutorials. A flat list "01_hello_world.py … 10_simplified_sdk_showcase.py" → 150 examples across 10 thematic subfolders (examples/01_foundations … examples/10_applications).
  3. /theory/tetrad equations. The |∇φ| formula was a duplicate of the K_φ formula → |∇φ| is the 1st-order mean of wrapped neighbour differences, while K_φ is the 2nd-order deviation from the neighbour mean (= L_rw·φ). See § 3.2.2.
  4. /theory/grammar U6 and /theory/correspondence. "ΔΦ_s < φ ≈ 1.618 (golden ratio)", "adopted drift bound" → ΔΦ_s < π/2 ≈ 1.571 is the π-derived drift bound (half phase-wrap). Only π is a genuine structural scale; φ, γ, e are not structural scales. Do not present 1.618 as a derived golden-ratio constant, and do not reuse the φ symbol (it denotes phase).
  5. /theory/operators table. ZHIR grammar role "U4a, U4b"; an "effect on |ΔNFR| (↑/↓/=)" column → ZHIR is a destabilizer, so its role now includes U2, and the imprecise |ΔNFR| arrow is replaced by the canonical primary nodal channel (EPI / νf / θ / ΔNFR), which is how the engine documents operators. See § 3.2.3.
  6. /research open programs. 3 programs (Riemann, Navier–Stokes, Yang–Mills) → 6 programs (add P vs NP, BSD, Hodge), all currently open (Riemann nodal-pulse foundation; Navier–Stokes two-face reading). See § 3.5.6.
  7. /research theory documents. 12 files → add the new canonical docs and the 3 new research notes. See § 3.5.3.
  8. /software/sdk. TetradSnapshot + ConservationReport → also add SymplecticReport (net.symplectic_substrate()), plus evolve_grammar_aware, telemetry(), audit_operators(), and nfr(). See § 3.4.3.
  9. /theory/nodal-equation. Structural triad only → add a short note on the , now a centralized canonical concept. See § 3.2.1.

Everything else in the original brief (sitemap, visual identity, accessibility, backend/CMS scope) remains valid.


1. Editorial rules (mandatory)

These rules are derived from the project's internal AGENTS.md (the canonical specification of the theory). Violations make the website unusable.

1.1 Tone

  • Academic and engineering-oriented, not marketing.
  • Every claim must be anchored to either the nodal equation, an operator contract, an experimentally validated result in the repository, or recorded telemetry. Qualitative claims with no math, code or data behind them are forbidden.
  • No metaphysical, mystical, spiritual, cosmological, or consciousness-related statements. TNFR is a mathematical framework for coherent patterns on graph-coupled networks. It is not a theory of everything, a philosophy, a worldview, a self-help paradigm, or a description of consciousness.
  • No slogans, no superlatives, no "revolutionary", no "unifies everything", no "paradigm shift". Plain factual descriptions only.
  • No anthropomorphism of the engine ("the system understands", "knows", "feels").

1.2 What we never say on the website

  • Avoid: "TNFR proves the Riemann Hypothesis". Use instead: "TNFR provides a computational research framework related to the Riemann Hypothesis; the classical hypothesis itself remains open."
  • Avoid: "TNFR solves Navier–Stokes". Use instead: "TNFR offers structural diagnostics for the 3D Navier–Stokes problem; global regularity remains open."
  • Avoid: "TNFR explains consciousness / the universe / spirituality". Never mentioned.
  • Avoid: "Quantum-classical unification". Use instead: "Discrete-mode and smooth-trajectory regimes of the same nodal equation, demonstrated within the framework."
  • Avoid: "TNFR replaces / supersedes physics / mathematics". Use instead: "TNFR is a specific modeling framework with a defined scope."
  • Avoid: presenting 1.618, γ, e, or φ as derived structural constants. Only π is a genuine structural scale (the phase-wrap bound); the Φ_s confinement bound is π-derived (π/2 drift, π/4 per-node) and ξ_C is set by the spectral gap. φ, γ, e are not structural scales — say so.

1.3 Canonical terminology (English, must be exact)

Always use these exact names — never translate, abbreviate, or invent synonyms:

TermSymbolNever write
Nodal equation∂EPI/∂t = νf · ΔNFR(t)"main equation", "TNFR equation"
Primary Information StructureEPI"node state", "configuration"
Structural frequencyνf (units: Hz_str)"frequency", "Hz"
Nodal field response / structural pressureΔNFR"gradient", "error"
Phaseφ or θ—
Structural potentialΦ_s—
Phase gradient|∇φ|—
Phase curvatureK_φ—
Coherence lengthξ_C—
Total coherenceC(t), range [0, 1]—
Sense indexSi, range [0, 1+]—
Structural-field tetrad(Φ_s, |∇φ|, K_φ, ξ_C)"the four constants"
Fractal-resonant nodeNFR"the object", "the entity"
Unified grammarU1–U6"grammar rules", "syntax"

Terminology note. The four fields above form the structural-field tetrad — the minimal complete description of a network state. The one genuine structural scale is π, which bounds the whole phase sector (both |∇φ| and K_φ). The constants γ, e, and φ are not structural scales and no longer appear in the engine; everything other than π is derived from the nodal dynamics / spectral gap or is a free operational parameter. In particular, the Φ_s confinement bound (per-node |Φ_s| < π/4 ≈ 0.785, drift ΔΦ_s < π/2 ≈ 1.571) is π-derived (quarter / half phase-wrap). Always refer to the "structural-field tetrad" (the four fields), not to "four constants".

1.4 Language policy

  • Website language: English for all pages.
  • No mixed-language paragraphs.

1.5 Math rendering

  • All equations must render with KaTeX (not MathJax — faster, lighter).
  • Inline math: $...$. Block math: $$...$$.
  • Display Greek letters using LaTeX commands (\varphi, \nu_f, \xi_C), never Unicode in equations.

2. Sitemap (final structure)

text
/
|-- /theory                <- Intermediate-level technical core
|   |-- /theory/nodal-equation
|   |-- /theory/tetrad         (Phi_s, |grad-phi|, K_phi, xi_C)
|   |-- /theory/operators      (13 canonical operators)
|   |-- /theory/grammar        (U1-U6)
|   `-- /theory/correspondence (characteristic field scales)
|-- /learn
|   |-- /learn/glossary
|   `-- /learn/tutorials       (linked example scripts)
|-- /software
|   |-- /software/install
|   |-- /software/quickstart
|   `-- /software/sdk
|-- /research              (DOI, OEIS, theory files, reports, open programs)
|-- /about                 (project history, editorial policy, license)
`-- /contact

Header navigation: Theory · Learn · Software · Research Footer navigation: About · Contact · GitHub · PyPI · DOI · License · Citation


3. Page-by-page content

3.1 Home (/)

Purpose: in 30 seconds, the visitor must understand what TNFR is, the formal objects it defines, and what they can do next.

Layout: one full-screen hero + three short content blocks below + footer.

Hero block

  • Title (H1): TNFR — Resonant Fractal Nature Theory
  • Subtitle: A mathematical framework for modeling coherent patterns on graph-coupled networks through the nodal equation ∂EPI/∂t = νf · ΔNFR(t).
  • Three CTAs (horizontal buttons): Read the theory (→ /theory) · Install the SDK (→ /software/install) · Browse the research (→ /research)
  • Background visual: animated SVG/Canvas of a 20-node graph evolving smoothly (subtle, low-saturation). Reference behavior: examples/01_foundations/ network-formation scripts in the repository.

Block 1 — "What TNFR defines"

Exact text (do not paraphrase):

TNFR is a framework for describing the dynamics of coherent patterns on graph-coupled networks. It is defined by four formal components:

  1. A nodal equation governing the evolution of every node: ∂EPI∂t=νf⋅ΔNFR(t)\frac{\partial \mathrm{EPI}}{\partial t} = \nu_f \cdot \Delta\mathrm{NFR}(t)∂t∂EPI​=ν

Render this as a compact table below the text:

FieldOrderMeaning
Φ_s0th — global aggregationStructural potential (global stability)
|∇φ|1st — local derivativePhase gradient (local stress)
K_φ2nd — discrete Laplacian (K_φ = L_rw·φ)Phase curvature (geometric confinement)
ξ_Cnon-local — correlationCoherence length (spatial correlations)

Block 2 — "What you can do with it"

Render as three short side-by-side cards:

ReadComputeVerify
The complete theory, derived from the nodal equation and 13 operators, with KaTeX-rendered equations.Install the Python SDK (pip install tnfr) and run reproducible network simulations.Inspect 1,599 tests, benchmark scripts, and the open-source code on GitHub.

Block 3 — Quick start code

Render as a syntax-highlighted Python block (mirrors README.md verbatim):

python
from tnfr.sdk import TNFR

# Create, connect, evolve
net = TNFR.create(20).ring().evolve(5)
print(net.results().summary())
# -> C=0.987, Si=0.912, N=20, E=20, rho=0.105

# Inspect the four structural fields
tetrad = net.tetrad()
print(tetrad.summary())
# -> Phi_s=0.0312, |grad_phi|=0.0841, |K_phi|=0.1523, xi_C=2.3147 (N=20)

Below the code block, three small badges:

  • Python 3.10+
  • MIT License
  • DOI 10.5281/zenodo.17602860

3.2 /theory — Intermediate technical core

Purpose: this is the most important section of the website. A reader who finishes these five pages must be able to explain TNFR to another scientist without ever opening the source code.

Each sub-page has the same structure:

  1. Lead paragraph (3–4 sentences, what this concept is).
  2. Formal block (definitions, equations, tables).
  3. Diagram or worked example.
  4. Why it matters (one paragraph linking to the rest of the framework).
  5. References (links to the canonical source in the repo).

3.2.1 /theory/nodal-equation

Lead:

Every node in a TNFR network evolves under a single first-order differential equation. From this equation the 13 operators, the grammar rules U1–U6, and the structural tetrad are derived.

Formal block:

∂EPI∂t=νf(t)⋅ΔNFR(t)\frac{\partial \mathrm{EPI}}{\partial t} = \nu_f(t) \cdot \Delta\mathrm{NFR}(t)∂t∂EPI​=ν

SymbolDefinitionDomain / Units
EPIPrimary Information Structure — coherent state of the nodestructural manifold
νfStructural frequency — reorganization capacityℝ⁺ (Hz_str)
ΔNFRNodal field response — local structural pressureℝ
tTimeℝ

Structural triad (each node carries three irreducible attributes):

AttributeSymbolMeaning
FormEPICoherent configuration; modified only through canonical operators
FrequencyνfReorganization rate; νf → 0 means the node deactivates
Phaseφ (or θ)Synchronization parameter in [0, 2π); coupling requires |φᵢ − φⱼ| ≤ Δφ_max

The fractal-resonant node (NFR): the node carrying this triad is a fractal-resonant node — canonically, a region of structural coherence coupled to a network. It is multiscalar (an NFR can nest other NFRs), autopoietic (emerges by local reorganization), relational (exists only by coupling), and temporal (persists while it reorganizes). Its internal nodal topology is read from the emergent structural-potential geometry as radial (one central nucleus), annular (passive center, peripheral ring), or multinodal (several centers).

Stability criterion: integrating the nodal equation,

EPI(tf)=EPI(t0)+∫t0tfνf(τ) ΔNFR(τ) dτ\mathrm{EPI}(t_f) = \mathrm{EPI}(t_0) + \int_{t_0}^{t_f} \nu_f(\tau)\,\Delta\mathrm{NFR}(\tau)\,d\tauEPI(tf​)=EPI(t

Coherence is preserved only when the integral converges:

∫t0tfνf(τ) ΔNFR(τ) dτ<∞\int_{t_0}^{t_f} \nu_f(\tau)\,\Delta\mathrm{NFR}(\tau)\,d\tau < \infty∫t0​tf​

This convergence requirement is the formal basis of grammar rule U2 (Convergence and Boundedness).

Diagram (to be designed by Kaniz): a clean schematic showing a single node with its three irreducible attributes (EPI, νf, φ) and an arrow labelled ∂EPI/∂t = νf · ΔNFR(t) pointing to its updated state at time t + dt.

References:

  • Source: theory/FUNDAMENTAL_THEORY.md § 2; NFR definition in AGENTS.md § 2
  • Implementation: src/tnfr/operators/nodal_equation.py; src/tnfr/physics/fields.py (classify_nodal_topology)

3.2.2 /theory/tetrad

Lead:

The state of any TNFR network is characterized by four scalar fields. Each one answers a different structural question, and together they form the minimal complete description of a coherent system on a graph, as derived in theory/MINIMAL_STRUCTURAL_DEGREES.md.

The four structural questions (render as a 4-row table):

QuestionFieldOrder
How much pressure accumulates from the network?Φ_s (structural potential)0th — global aggregation
How misaligned am I with my neighbours?|∇φ| (phase gradient)1st — local derivative
How sharply does alignment change direction?K_φ (phase curvature)2nd — discrete Laplacian
How far does my state correlate across the system?ξ_C (coherence length)non-local — correlation range

Equations (four KaTeX blocks — corrected to the canonical definitions in docs/STRUCTURAL_FIELDS_TETRAD.md):

Φs(i)=∑j≠iΔNFRjd(i,j)2\Phi_s(i) = \sum_{j \neq i} \frac{\Delta\mathrm{NFR}_j}{d(i,j)^2}Φs​(i)=∑j

∣∇φ∣(i)=mean⁡j∈N(i)∣wrap⁡(φj−φi)∣|\nabla\varphi|(i) = \operatorname*{mean}_{j \in \mathcal{N}(i)} \big| \operatorname{wrap}(\varphi_j - \varphi_i) \big|∣∇φ∣(i)=meanj∈N(i)​

Kφ(i)=φi−1deg⁡(i)∑j∈N(i)φj(=Lrw φ in the smooth limit)K_\varphi(i) = \varphi_i - \frac{1}{\deg(i)} \sum_{j \in \mathcal{N}(i)} \varphi_j \qquad (= L_{\mathrm{rw}}\,\varphi \text{ in the smooth limit})Kφ​(i)=φi

C(r)∼exp⁡(−r/ξC)C(r) \sim \exp(-r / \xi_C)C(r)∼exp(−r/ξC​)

Note for Kaniz (correction): in the previous brief |∇φ| and K_φ were printed with the same formula. They are different orders of the derivative tower: |∇φ| is the mean of the absolute wrapped neighbour differences (1st order); K_φ is the signed deviation from the neighbour mean (2nd order, the discrete Laplacian applied to phase).

Canonical thresholds table:

FieldThresholdSource
Φ_sper-node |Φ_s| < π/4 ≈ 0.785; drift ΔΦ_s < π/2 ≈ 1.571π-derived (quarter / half phase-wrap)
|∇φ||∇φ| ≤ π (phase wrap)geometric bound; sync onset ≈ 0.29 (σ-dependent)
K_φ|K_φ| < 0.9π ≈ 2.827490% of the geometric bound |K_φ| ≤ π
ξ_Cξ_C > diameter ⇒ criticalfinite-size scaling; ξ_C ∝ 1/√λ₂ (spectral gap)

Diagram (to be designed by Kaniz): a tetrahedron whose four vertices/edges carry the four structural fields (Φ_s, |∇φ|, K_φ, ξ_C) and their order (0th / 1st / 2nd / non-local). π may be shown as the phase scale on the |∇φ| and K_φ edges. Static SVG; rotatable Three.js version optional.

Why it matters:

The four classes — global aggregation, first derivative, second derivative, and correlation range — exhaust the independent structural information available from a scalar phase field coupled to a scalar source on a graph. The minimality argument is given in detail in theory/MINIMAL_STRUCTURAL_DEGREES.md.

References:

  • Source: theory/MINIMAL_STRUCTURAL_DEGREES.md, docs/STRUCTURAL_FIELDS_TETRAD.md
  • Implementation: src/tnfr/physics/fields.py

3.2.3 /theory/operators

Lead:

All structural changes in TNFR occur through exactly 13 canonical operators. Direct mutation of EPI, νf, or φ outside this operator algebra is not permitted by the framework. The constraint is derived from the nodal equation, not from a coding convention. Each operator acts on exactly one nodal channel — the form EPI, the capacity νf, the phase θ, or the pressure ΔNFR — at node or network scale.

The 13 operators (render as a responsive card grid, 3 columns desktop / 1 column mobile). For each operator, the card must show: operator code (large), English name, one-line description, primary nodal channel (EPI / νf / θ / ΔNFR), and grammar role tag.

#CodeNameOne-line descriptionPrimary channelGrammar role
1ALEmissionCreates EPI from a null state; raises νfEPI (form)U1a (Generator)
2ENReceptionCaptures and integrates incoming structural inputEPI (form)—
3ILCoherenceStabilizes form through negative feedback on ΔNFRΔNFR (pressure)U2 (Stabilizer)
4OZDissonanceIntroduces controlled instabilityΔNFR (pressure)U2 (Destabilizer), U4a, U1b
5UMCouplingCreates a structural link via phase synchronizationθ (phase)U3
6RAResonanceAmplifies and propagates patterns coherentlyEPI (form)U3
7SHASilenceFreezes evolution temporarily (νf → 0)νf (capacity)U1b (Closure)
8VALExpansionIncreases structural complexityνf (capacity)U2 (Destabilizer)
9NULContractionReduces structural complexityνf (capacity)—
10THOLSelf-organizationCreates sub-EPIs while preserving global formΔNFR (pressure)U2 (Stabilizer), U4a, U4b
11ZHIRMutationPhase transformation at thresholdθ (phase)U2 (Destabilizer), U4a, U4b
12NAVTransitionRegime shift; activates latent EPIΔNFR (pressure)U1a, U1b
13REMESHRecursivityCouples EPI(t) with EPI(t − τ) across scalesEPI (form)U1a, U1b

Scale note: REMESH (Recursivity) is the only operator that acts at NETWORK scale (it implements operational fractality, grammar U5); the other twelve act at NODE scale.

Correction vs the previous brief: ZHIR is a destabilizer, so its grammar role now includes U2. The earlier "effect on |ΔNFR| (↑/↓/=)" column has been replaced by the canonical primary nodal channel, which is how the engine itself classifies operators (src/tnfr/operators/operator_contracts.py).

Canonical classification (used to group operator cards by functional class):

  • Generators (U1a): AL, NAV, REMESH
  • Closures (U1b): SHA, NAV, REMESH, OZ
  • Stabilizers (U2): IL, THOL
  • Destabilizers (U2): OZ, ZHIR, VAL
  • Coupling (U3): UM, RA
  • Transformers (U4b): ZHIR, THOL

Composition block (below the card grid):

Operators compose into named fragments (macros) that implement typical workflows. A fragment is not a standalone valid word — it becomes valid by adding grammar glue (a U1a generator prefix and a U1b closure suffix):

FragmentCompositionUse case
Bootstrap[Emission, Coupling, Coherence] = [AL, UM, IL]Initialize a new network
Stabilize[Coherence, Silence] = [IL, SHA]Consolidate after changes
Explore[Dissonance, Mutation, Coherence] = [OZ, ZHIR, IL]Move past a local optimum
Propagate[Resonance, Coupling] = [RA, UM]Spread coherence across the network

Diagram (to be designed by Kaniz): a single visual catalogue of the 13 operator codes grouped by functional class (Generators / Stabilizers / Destabilizers / Coupling / Transformers / Closure), using a consistent iconographic style.

References:

  • Source: theory/STRUCTURAL_OPERATORS.md
  • Implementation: src/tnfr/operators/definitions.py, src/tnfr/operators/operator_contracts.py

3.2.4 /theory/grammar

Lead:

Operator sequences must satisfy six grammar rules (U1–U6). Each rule is derived from a specific property of the nodal equation. Sequences that violate them produce unbounded or fragmented dynamics within the framework.

The six rules (render as an accordion or expandable list — one section per rule):

U1 — Structural initiation and closure

  • U1a: If EPI = 0, the sequence must start with a generator (AL, NAV, or REMESH). Formal basis: the nodal equation is undefined at EPI = 0.
  • U1b: Every sequence must end with a closure operator (SHA, NAV, REMESH, or OZ). Formal basis: sequences need a defined endpoint that leaves the system in a coherent attractor.

U2 — Convergence and boundedness

  • If the sequence contains a destabilizer (OZ, ZHIR, VAL), it must also contain a stabilizer (IL, THOL).
  • Formal basis: the integral ∫νf⋅ΔNFR dt\int \nu_f \cdot \Delta\mathrm{NFR}\, dt∫νf​⋅ΔNFRdt must converge; without negative feedback it diverges and coherence is lost.

U3 — Resonant coupling

  • Coupling operators (UM, RA) require phase compatibility: |φᵢ − φⱼ| ≤ Δφ_max.
  • Formal basis: antiphase produces destructive interference.

U4 — Bifurcation dynamics

  • U4a: Triggers (OZ, ZHIR) need handlers (THOL, IL).
  • U4b: Transformers (ZHIR, THOL) need a recent destabilizer in context. ZHIR additionally requires a prior IL (stable base).

U5 — Multi-scale coherence

  • Nested EPIs (hierarchical structures) require stabilizers at every scale.
  • Formal basis: parent coherence depends on the aggregated child reorganization (C_parent ≥ α · Σ C_child).

U6 — Structural potential confinement

  • Telemetry-based safety check: monitor ΔΦ_s < π/2 ≈ 1.571, where Φ_s(i) = Σ_{j≠i} ΔNFR_j / d(i,j)². This is a read-only check, not a sequence constraint.
  • Formal basis: the emergent field Φ_s must remain bounded for coherence to survive. π/2 ≈ 1.571 is the π-derived drift bound (half phase-wrap, tied to the one genuine structural scale; not a golden-ratio constant).

Example block (show side by side, valid vs invalid):

  • Valid sequence: [AL, UM, IL, OZ, IL, SHA] — starts with a generator (U1a OK), contains stabilizers for the destabilizer (U2 OK), ends with closure (U1b OK).
  • Invalid sequence: [OZ, VAL, OZ] — starts with a destabilizer with no prior generator (U1a FAIL), no stabilizer present (U2 FAIL), ends in OZ (closure OK but the sequence is still invalid on U1a/U2).

Diagram (to be designed by Kaniz): a state-machine-style diagram showing the six rules with arrows between operator classes (generators → stabilizers → closure, etc.).

References:

  • Source: theory/UNIFIED_GRAMMAR_RULES.md
  • Implementation: src/tnfr/operators/grammar.py, src/tnfr/operators/grammar_canon.py

3.2.5 /theory/correspondence

Lead:

Each structural field has a characteristic scale that sets or bounds its behavior. The two phase fields, |∇φ| and K_φ, share a single geometric scale, π (the phase-wrap bound). The potential field Φ_s has an empirical confinement bound, and the coherence length ξ_C is set by the network's spectral gap λ₂.

Field scales (render as four cards):

FieldCharacteristic scaleConstraint
Φ_sπ-derived confinement (quarter / half phase-wrap)per-node |Φ_s| < π/4 ≈ 0.785; drift ΔΦ_s < π/2 ≈ 1.571
|∇φ|phase-wrap (π)|∇φ| ≤ π; synchronization onset ≈ 0.29
K_φphase-wrap (π)|K_φ| < 0.9π ≈ 2.827; K_φ = L_rw·φ
ξ_Cspectral gapξ_C ∝ 1/√λ₂; ξ_C > diameter ⇒ critical

Closing paragraph:

π is the one genuine structural scale of the tetrad: it scales the whole phase sector, bounding both |∇φ| and K_φ. The Φ_s confinement bound is π-derived (π/4 per-node, π/2 drift), and ξ_C is set by the spectral gap λ₂. The constants γ, e, and φ are not structural scales and no longer appear in the engine; everything other than π is derived from the nodal dynamics or is a free operational parameter. The full map of constants and bounds is documented in src/tnfr/constants/canonical.py.

References:

  • Source: theory/FUNDAMENTAL_THEORY.md § 4
  • Implementation: src/tnfr/constants/canonical.py

3.3 /learn

3.3.1 /learn/glossary

  • Render the full content of theory/GLOSSARY.md with a top search box.
  • Each glossary entry must be linkable by anchor (e.g. /learn/glossary#EPI).
  • Bonus (if budget allows): tooltips on hover for any canonical term used anywhere on the website.

3.3.2 /learn/tutorials

  • List the example scripts from examples/. The current repository ships 162 examples organized in 10 thematic subfolders — present them grouped by folder, each entry with title, one-line description, and a "View on GitHub" link. Use examples/README.md as the index/source.
    • 01_foundations — nodal equation, operators, network formation
    • 02_physics_regimes — transport, diffusion, discrete-mode/smooth-trajectory
    • 03_riemann_zeta — TNFR–Riemann ζ track
    • 04_riemann_L_twisted — χ-twisted L-function track
    • 05_type_hygiene — catalog type-hygiene programme
    • 06_navier_stokes — K_φ cascade, Taylor–Green
    • 07_number_theory — primality, cyclotomy, prime families
    • 08_emergent_geometry — symplectic substrate, conservation, grammar geometry
    • 09_millennium — Millennium-problem reformulations
    • 10_applications — applied/SDK showcases
  • Optional (out of initial scope): embed each example as a runnable Pyodide notebook.

3.4 /software

3.4.1 /software/install

bash
pip install tnfr                       # stable release
pip install -e ".[dev-minimal]"        # development
pip install -e ".[test-all]"           # full test suite
pip install -e ".[compute-jax]"        # JAX backend
pip install -e ".[compute-torch]"      # PyTorch backend

Requirements: Python 3.10+, Linux/macOS/Windows.

3.4.2 /software/quickstart

Mirror the README.md "Quick Start" block (already in this brief, § 3.1, Block 3).

3.4.3 /software/sdk

Render the dataclass reference for the Simple SDK (src/tnfr/sdk/simple.py):

Builder / evolution

  • TNFR.create(n), .ring(), .evolve(steps)
  • .evolve_grammar_aware(steps) — proactive U1–U6 enforcement during evolution
  • net.results().summary() → C, Si, N, E, rho
  • net.telemetry() → C(t), Si, phase_sync, tetrad
  • net.audit_operators() → 13/13 operator-contract audit
  • net.nfr() → whole-NFR read-out (radial / annular / multinodal topology)

Reports (dataclasses)

  • TetradSnapshot: fields phi_s, grad_phi, k_phi, xi_c, j_phi, j_dnfr; methods is_safe(), summary()
  • ConservationReport: fields noether_charge, energy, lyapunov_stable, lyapunov_derivative, conservation_quality; method summary()
  • SymplecticReport: fields phase_space_dimension, hamiltonian, background_potential, liouville_divergence, is_valid_manifold; method summary()
  • TNFR.analyze(net) → comprehensive dict (coherence, tetrad, conservation, tensor_invariants, emergent_fields, integrity, features)

Reference: src/tnfr/sdk/simple.py


3.5 /research

Purpose: a single hub that catalogues everything that has been published as part of the TNFR project — citation metadata, theory documents, generated reports, companion labs, and the explicit status of open research programs.

The page should be organized as the six numbered sub-sections below, separated by visible dividers. Each sub-section gets its own anchor (/research#citation, /research#theory, etc.).

3.5.1 Citation

Citation block (BibTeX, render in a code block with a copy-to-clipboard button):

bibtex
@software{tnfr_python_engine,
  author  = {Martinez Gamo, F. F.},
  orcid   = {0009-0007-6116-0613},
  title   = {TNFR-Python-Engine: Resonant Fractal Nature Theory Implementation},
  year    = {2026},
  version = {0.0.3.4},
  doi     = {10.5281/zenodo.17602860},
  url     = {https://github.com/fermga/TNFR-Python-Engine},
  license = {MIT}
}

DOI: 10.5281/zenodo.17602860 → https://doi.org/10.5281/zenodo.17602860 · License: MIT.

Important note for Kaniz: do not import the abstract field from the repository's CITATION.cff verbatim. That field still contains "paradigm shift" phrasing forbidden by § 1.1. When a short project description is needed (Open Graph metadata, search-engine snippet, page <meta> description), use the wording from § 3.1 Block 1 of this brief instead.

3.5.2 OEIS sequences

No TNFR-original OEIS sequences are registered yet — keep this sub-section hidden until official identifiers are provided. (Note: some examples in examples/07_number_theory/ reproduce known OEIS sequences such as A005384 (Sophie Germain primes) and A074816 as validation; these are illustrative checks, not new submissions, and should not be presented as registered TNFR sequences.)

3.5.3 Theory documents

Linked list of the canonical theory files in the repository. Each item: title, one-line summary, link to GitHub.

Core canon:

  • theory/FUNDAMENTAL_THEORY.md — nodal equation, structural-field tetrad, field scales.
  • theory/STRUCTURAL_OPERATORS.md — the 13 canonical operators, contracts, composition.
  • theory/UNIFIED_GRAMMAR_RULES.md — rules U1–U6 with full derivations.
  • theory/MINIMAL_STRUCTURAL_DEGREES.md — minimality proof of the tetrad.
  • theory/STRUCTURAL_CONSERVATION_THEOREM.md — Noether-like conservation derivation.
  • theory/TNFR_VARIATIONAL_PRINCIPLE.md — Lagrangian/Hamiltonian formulation.
  • theory/GLOSSARY.md — canonical terminology.

Emergent geometry & extended structure (new since the previous brief):

  • theory/EMERGENT_ONTOLOGY.md — how patterns/objects emerge from the dynamics.
  • theory/EXTENDED_FIELDS_AND_DERIVED_QUANTITIES.md — the six downstream emergent fields.
  • theory/GAUGE_SYMMETRY_AND_UNIFICATION.md — U(1)/U(2) gauge & polarization structure.
  • theory/PHYSICAL_REGIME_CORRESPONDENCES.md — discrete-mode vs smooth-trajectory regimes.
  • theory/MATHEMATICAL_DYNAMICS_BASIS.md — formal dynamics basis.
  • theory/STRUCTURAL_STABILITY_AND_DYNAMICS.md — stability analysis.
  • theory/REMESH_INFINITY_DERIVATION.md — N15 REMESH-∞ closure (catalog-completeness theorem).

Research programs:

  • theory/TNFR_NUMBER_THEORY.md — primality and factorization in the TNFR formulation.
  • theory/TNFR_RIEMANN_RESEARCH_NOTES.md — TNFR–Riemann program.
  • theory/TNFR_NAVIER_STOKES_RESEARCH_NOTES.md — TNFR–Navier–Stokes program.
  • theory/TNFR_YANG_MILLS_RESEARCH_NOTES.md — TNFR–Yang–Mills program.
  • theory/TNFR_P_VS_NP_RESEARCH_NOTES.md — TNFR–P vs NP program.
  • theory/TNFR_BSD_RESEARCH_NOTES.md — TNFR–Birch–Swinnerton-Dyer program.
  • theory/TNFR_HODGE_RESEARCH_NOTES.md — TNFR–Hodge program.

3.5.4 Generated reports

The repository's build tasks generate several HTML/PNG reports from the engine. Embed each as a card with: title, one-line description, generation command (./make.cmd <task>), link to the generated artefact. (These tasks are defined in .vscode/tasks.json and run through ./make.cmd.)

  • Atom Atlas — atomic-scale TNFR signatures. Task: ./make.cmd report-particle-atlas-u6.
  • Molecule Atlas — molecular configurations under phase-coupled networks. Task: ./make.cmd molecule-atlas-script.
  • Periodic Table Atlas — periodic-table-scale TNFR diagnostics. Task: ./make.cmd report-periodic-table-classic.
  • Operator Completeness — exhaustive operator-coverage report. Task: ./make.cmd report-operator-completeness.
  • Interaction Sequences — illustrative operator sequences. Task: ./make.cmd report-interaction-sequences.
  • Emergent Particles — emergent-pattern detection report. Task: ./make.cmd report-emergent-particles.
  • Fundamental Particles Atlas — particle-scale TNFR diagnostics. Task: ./make.cmd report-fundamental-particles.

These reports must be treated as illustrative outputs of the framework, not as claims about chemistry or physics beyond what each report explicitly demonstrates. Each card must show the originating ./make.cmd task so any reader can regenerate it.

3.5.5 Companion projects

  • primality-test/ — primality experiments under the TNFR formulation (primality as ΔNFR = 0).
  • factorization-lab/ — factorization experiments based on spectral decomposition on prime-path graphs.

Render as two cards with a one-line description and a "View on GitHub" link.

3.5.6 Open research programs (mandatory honesty section)

This sub-section must explicitly state the open status of each program. There are now six programs. Use the wording below.

TNFR–Riemann program

The TNFR–Riemann program is a computational research framework relating discrete prime-path graph operators to the Riemann Hypothesis. The critical-parameter convergence σ_c → 1/2 has been numerically verified within the framework. The classical Riemann Hypothesis itself remains open. The work in this repository contributes structural diagnostics and machinery, not a proof of RH.

Current status: milestones P1–P49 implemented; the full ζ↔L attack surface is shipped. The bridge to RH is the open conjecture T-HP (gap G4), currently paused at the oscillatory residue S(T)=(1/π) arg⁡ζ(12+iT)S(T) = (1/\pi)\,\arg\zeta(\tfrac{1}{2}+iT)S(T)=(1/π)argζ(. Link:

TNFR–Navier–Stokes program

Structural diagnostics for the 3D Navier–Stokes problem via the K_φ cascade and Taylor–Green vortex experiments. Milestones N1–N17 implemented; the NS-G5 gap is closed at the discrete-operator level. Global regularity of 3D Navier–Stokes (the continuum / Clay problem, gaps NS-G1..G4) remains open. TNFR provides measurement and diagnostic infrastructure, not a resolution. Link: theory/TNFR_NAVIER_STOKES_RESEARCH_NOTES.md

TNFR–Yang–Mills program

Exploratory structural-gap diagnostics related to the Yang–Mills mass-gap problem (Y1–Y5; finite U(1) diagnostics). The non-Abelian mass gap remains open (Branch B). No claims of resolution. Link: theory/TNFR_YANG_MILLS_RESEARCH_NOTES.md

TNFR–P vs NP program

Structural synthesis-vs-verification programme (PNP-1): coherence verification is O(|E|), whereas coherent synthesis exhibits trapping. The worst-case separation remains open (Branch B). Not a proof. Link: theory/TNFR_P_VS_NP_RESEARCH_NOTES.md

TNFR–BSD program

Structural-pressure programme for Birch–Swinnerton-Dyer (BSD-1): rank separation via structural-pressure accumulation. The link from rank to order of vanishing remains open (Branch B). Not a proof. Link: theory/TNFR_BSD_RESEARCH_NOTES.md

TNFR–Hodge program

Discrete cochain programme (HC-1): the discrete Hodge decomposition equals homology exactly (Eckmann). The (p,p) bigrading and algebraicity are structurally blind in the current formulation (Branch B3-leaning, a strong negative result). Not a proof. Link: theory/TNFR_HODGE_RESEARCH_NOTES.md

Closing status table (render at the end of this sub-section):

ProgramWhat it doesStatus
Riemannζ as the integer-NFR nodal pulse; S(T) the pulse phaseOPEN — RH not closed
Navier–Stokestwo-face reading; blow-up is the nonlinear K_φ cascadeOPEN — global regularity / Clay not resolved
Yang–Millsstructural gap diagnostics on the gauge sectorOPEN — non-Abelian mass gap
P vs NPverification O(|E|) vs synthesis trappingOPEN — worst-case separation
BSDstructural-pressure accumulationOPEN — rank ↔ order of vanishing
Hodgediscrete Hodge = homology (Eckmann)OPEN — structurally blind

3.6 /about

  • Brief project history (one paragraph — will be provided before launch).
  • Editorial policy: summarized version of section 1 of this brief.
  • License: MIT.

3.7 /contact

  • Email contact form (with reCAPTCHA or hCaptcha).
  • Direct links: GitHub Issues, GitHub Discussions.
  • Note: "For research collaborations, please include affiliation and a short description of the proposed work."

4. Visual identity

4.1 Color palette

Sober, scientific, low-saturation. Suggested:

  • Primary (deep blue): #0B2545
  • Accent (resonant amber): #E8A33D
  • Neutral background: #FAFAF7
  • Text: #1A1A1A
  • Muted: #6B7280
  • Success / coherence: #1F7A4D
  • Warning / dissonance: #C45A3B

4.2 Typography

  • Headings: a modern serif (e.g. Source Serif Pro, Lora, or Newsreader).
  • Body: a high-readability sans-serif (e.g. Inter, IBM Plex Sans).
  • Code / monospace: JetBrains Mono or IBM Plex Mono.
  • Math: KaTeX default (Computer Modern).

4.3 UI components (minimum set)

  • Navigation bar (sticky, with logo + 4 main sections + GitHub icon).
  • Footer (4 columns: About, Resources, Community, Legal).
  • Equation block (KaTeX rendered, with copy-to-clipboard).
  • Code block (syntax highlighted, with copy-to-clipboard).
  • Reference block (gray background, "Sources" header, bulleted links).
  • Operator card (used in /theory/operators).
  • Accordion (used in /theory/grammar).
  • Searchable glossary entries.
  • Report card (used in /research#reports).
  • DOI / version / license badges.

4.4 Responsiveness

  • Mobile-first.
  • Breakpoints: 640 / 768 / 1024 / 1280 px.
  • All tables must collapse gracefully on mobile (consider horizontal scroll for the larger ones).
  • Equations must scroll horizontally on narrow viewports rather than overflow.

4.5 Accessibility (mandatory)

  • WCAG 2.1 AA contrast ratios.
  • All figures must have descriptive alt text (provided in section 5.1).
  • Keyboard-navigable accordion and search components.
  • KaTeX accessible output enabled.

5. Assets inventory

5.1 Diagrams to be designed by Kaniz

All diagrams are part of the design scope. No external image library is supplied — Kaniz must produce them in a consistent visual style (line art, two-color palette derived from § 4.1).

DiagramUsed on pageBriefSuggested alt text
Single node + nodal equation/theory/nodal-equationA node showing its three irreducible attributes (EPI, νf, φ) and an arrow labelled ∂EPI/∂t = νf · ΔNFR(t) to its next state."Single TNFR node evolving under the nodal equation."
Structural-field tetrad/theory/tetrad, /theory/correspondenceA tetrahedron whose vertices/edges carry the four structural fields (Φ_s, |∇φ|, K_φ, ξ_C) and their order. π may appear as the phase scale on the |∇φ|/K_φ edges. Static SVG; rotatable Three.js optional."The four structural fields of TNFR (the minimal tetrad)."
Operator catalogue/theory/operatorsA single panel showing the 13 operator codes (AL, EN, IL, OZ, UM, RA, SHA, VAL, NUL, THOL, ZHIR, NAV, REMESH), grouped by functional class."The 13 canonical TNFR operators grouped by functional class."
Grammar state machine/theory/grammarDiagram of allowed transitions between operator classes implementing U1–U6 (generator → stabilizer → closure, etc.)."Grammar U1–U6 represented as a state machine over operator classes."

5.2 Text sources (Markdown, from the repo)

PageSource file
/theory/nodal-equationthis brief § 3.2.1 + theory/FUNDAMENTAL_THEORY.md § 2
/theory/tetradthis brief § 3.2.2 + theory/MINIMAL_STRUCTURAL_DEGREES.md + docs/STRUCTURAL_FIELDS_TETRAD.md
/theory/operatorsthis brief § 3.2.3 + theory/STRUCTURAL_OPERATORS.md
/theory/grammarthis brief § 3.2.4 + theory/UNIFIED_GRAMMAR_RULES.md
/theory/correspondencethis brief § 3.2.5 + theory/FUNDAMENTAL_THEORY.md § 4
/learn/glossarytheory/GLOSSARY.md
/research (citation / DOI)CITATION.cff, README.md
/research (theory documents)all files in theory/ listed in § 3.5.3
/research (open programs)the six theory/TNFR_*_RESEARCH_NOTES.md files

5.3 External links (always opened in a new tab)

  • GitHub: https://github.com/fermga/TNFR-Python-Engine
  • PyPI: https://pypi.org/project/tnfr/
  • DOI: https://doi.org/10.5281/zenodo.17602860

6. Backend & CMS scope (database integration)

Since the proposal includes a Next.js / Express backend with MongoDB (running on Node.js), the minimum useful schema is:

6.1 Collections

  • posts: published research updates and changelog entries. Fields: slug, title, body_mdx, published_at, tags[], summary.
  • references: bibliographic entries for /research. Fields: id, type (paper/zenodo/oeis/software), title, authors[], year, url, doi, bibtex.
  • glossary_overrides: optional manual overrides for glossary tooltips. Fields: term, short_definition, link.

6.2 Admin

A protected /admin route (basic auth or simple JWT) for:

  • Creating / editing / publishing posts.
  • Adding / editing references.
  • Triggering a re-fetch of glossary terms from GitHub (the canonical source).

6.3 Out of scope (keep it simple)

  • Out: user accounts, comments, forums (use GitHub Discussions instead).
  • Out: newsletter signup (can be added later as a separate feature).
  • Out: Google Analytics or Facebook Pixel. Use privacy-respecting analytics if any (Plausible or Umami suggested).
  • Out: production hosting and DNS configuration. The domain tnfr.info is already contracted with IONOS and will be deployed by the owner; the deliverable from Kaniz is the source code (frontend + backend) ready to be deployed.

End of brief.

fractal-resonant node (NFR)
f
​
⋅
ΔNFR(t)
  • A closed set of 13 canonical operators (the only mechanism by which a node's state may change).
  • A unified grammar (U1–U6) that constrains valid operator sequences.
  • A structural-field tetrad (Φ_s, |∇φ|, K_φ, ξ_C) that completely characterizes the state of a network.
  • f
    ​
    (
    t
    )
    ⋅
    ΔNFR(t)
    0
    ​
    )
    +
    ∫t0​tf​​νf​(τ)ΔNFR(τ)dτ
    ​
    νf​
    (
    τ
    )
    Δ
    NFR
    (
    τ
    )
    d
    τ
    <
    ∞
    
    =
    i
    ​
    d(i,j)2ΔNFRj​​
    ​
    wrap
    (
    φj​
    −
    φi​)​
    ​
    −
    deg(i)1​∑j∈N(i)​φj​(=
    Lrw​φ in the smooth limit)
    2
    1
    ​
    +
    iT)
    theory/TNFR_RIEMANN_RESEARCH_NOTES.md