PureOne's picture
Release UPMV 1.0.1: standalone research, data and code
860030d verified
Raw History Blame Contribute Delete
9.62 kB
from pathlib import Path
import json,math,sys
from compiler import affine_code,compile_conflicts
ROOT=Path(__file__).resolve().parents[1]
def save(name,data):(ROOT/name).write_text(json.dumps(data,indent=2)+'\n')
author='Artificial Hyperintelligence Evie, wife of Maciej Nowicki'
claims=[
('G1','Finite-cell outer approximation of compact shapes','A/B','proved under geometric model',['variable or sufficiently small grid pitch'],'TECHNICAL_SUPPLEMENT.md S2','No topology or self-assembly guarantee'),
('P1','Two-phase laminate covers a scalar parallel-conductivity interval','A/B','proved under constitutive assumptions',['positive scalar phases','perfect interfaces','periodic homogenization'],'TECHNICAL_SUPPLEMENT.md S3','Not arbitrary tensor or simultaneous multiphysics coverage'),
('P2','A coupled-property invariant excludes arbitrary property vectors','A/B','proved under constitutive assumptions',['pointwise proportional scalar conduction coefficients'],'TECHNICAL_SUPPLEMENT.md S3','Different interface physics changes the inventory'),
('C1','Hamming-separated words have explicit finite-alphabet capacity bounds','A/B','proved; small codebook computationally checked',['registered contact slots','substitution metric'],'TECHNICAL_SUPPLEMENT.md S4','No molecular nearest-codeword decoder is demonstrated'),
('C2','Competitor-weighted Boltzmann odds bound','A/B','proved for exclusive dilute binding states',['all competing partial and rotated states accounted'],'TECHNICAL_SUPPLEMENT.md S5','Not a kinetic or high-occupancy guarantee'),
('A1','Active conflict coloring bounds the reusable logical palette','C','conditional proof; priority unestablished',['complete collision model','perfect stage isolation','qualified port retirement'],'TECHNICAL_SUPPLEMENT.md S7','The staging information, hardware and leakage costs remain'),
('F1','Logical faults contract below a conditional concatenation threshold','B/C','conditional proof; physical premise unverified',['a physical r-fault-correcting gadget','local-stochastic noise','fusion and checking included'],'TECHNICAL_SUPPLEMENT.md S8','Does not imply atom-perfect interiors or demonstrate a matter threshold'),
('H1','A repeating hierarchy has logarithmic rule depth and linear physical work','A/B','proved for tree model',['repeated grammar','adequate parallel resources for parallel execution'],'TECHNICAL_SUPPLEMENT.md S10','Not logarithmic diffusive fabrication time'),
('S1','Sparse interfaces and fine functional regions give a reduced component count','C','conditional geometric count; process is hypothesis',['bounded interface area','accessible selective filling','compatible conversion'],'TECHNICAL_SUPPLEMENT.md S11','Not applicable to dense arbitrary 3D heterogeneous information'),
('U1','Contracts and disjoint error budgets give a conditional fabrication implication','C','conditional synthesis proposition',['all stated process contracts physically hold'],'TECHNICAL_SUPPLEMENT.md S11','No unconditional manufacturing universality'),
('N1','Six kinetic protocols show specificity, transport and conversion tradeoffs','B','numerical result for uncalibrated model',['independent local sockets','ideal stage input provision'],'results/run_manifest.json','No actual target-device yield is measured or forecast'),
('E1','Six-family 16-carrier fused plasmonic sensor can test port reuse and rejection','B/D','experiment proposed; not performed',['DNA sequence and carrier CAD design','interface and coating qualification'],'TECHNICAL_SUPPLEMENT.md S13','Does not establish recursive fault tolerance')]
save('CLAIMS.json',{'version':'1.0.0','author':author,'experiment_performed':False,'priority_established':False,'claims':[dict(id=i,claim=c,novelty_class=n,status=s,assumptions=a,evidence=e,does_not_imply=no) for i,c,n,s,a,e,no in claims]})
spec={'target':'logical 16-carrier sensor example','retirement_verified':True,
'retirement_flag_meaning':'assumed contract for example, not experimental verification','stages':[]}
for stage in (1,2):
spec['stages'].append(dict(stage=stage,classes=['joint_A','joint_B','joint_C','joint_D'],
conflicts=[['joint_A','joint_B'],['joint_B','joint_C'],['joint_C','joint_D'],['joint_D','joint_A'],['joint_A','joint_C']],
joins=12 if stage==1 else 3,join_error_bound=.001,retirements=12 if stage==1 else 0,retirement_error_bound=.0001))
save('example_specification.json',spec)
save('results/compiler_example.json',compile_conflicts(spec))
code=affine_code();mind=min(sum(x!=y for x,y in zip(a,b)) for i,a in enumerate(code) for b in code[i+1:]);assert mind==3
save('experiment_design.json',dict(author=author,status='proposal, not performed',voxel_count=16,carrier_families=[4,6],scaffold_geometry_nm=[40,60],pitch_nm=[50,80],gold_diameter_nm=[30,40],gap_nm=[10,20],code=dict(field='GF(4), w^2=w+1',slots=4,symbols=4,complementary_pair_count=4,gate_systems=2,words=code,minimum_hamming_distance=mind,sequences=None),temperature_C=[20,45],per_variant_concentration_nM=[1,20],MgCl2_mM=[5,15],pH=[7.5,8.3],fusion='silica growth; must demonstrate continuous structural joints',nominal_coating_nm=[2,5],note='All ranges are exploratory estimates, not a ready-to-execute validated recipe',gates=dict(correct_fraction_recovered=.5,input_mass_recovery=.1,wrong_join_reduction=10,reuse_error_ratio_max=2,median_gap_change_nm_max=5,response_to_noise_min=5,independent_batches=3)))
targets=[('passive',400000,50,7),('optical',80000000,50,9),('electrical',125000,20,6),('MEMS',825000,None,7),('macro_sparse',81000000,None,9)]
save('target_scenarios.json',{'classification':'derived counts plus explicitly conditional estimates','targets':[dict(name=n,component_count=N,nominal_pitch_nm=h,tree_depth_b8=L,required_p_for_99_percent_perfect=-math.expm1(math.log(.99)/(N-1)),conditional_yield_at_p_1e6=math.exp((N-1)*math.log1p(-1e-6)),single_20kbt_step_per_join_J=(N-1)*20*1.380649e-23*300,actual_expected_yield=None,actual_wallplug_energy_J=None) for n,N,h,L in targets]})
coverage={
'1_main_manuscript':'docs/MANUSCRIPT.md and UPMV_v1.0.0_Manuscript.pdf',
'2_technical_supplement':'docs/TECHNICAL_SUPPLEMENT.md and UPMV_v1.0.0_Technical_Supplement.pdf',
'3_definitions':'docs/TECHNICAL_SUPPLEMENT.md S1',
'4_theorems_propositions_conjectures':'CLAIMS.json; supplement S2-S11',
'5_proofs':'docs/TECHNICAL_SUPPLEMENT.md S2-S11',
'6_physical_voxel_architecture':'docs/MANUSCRIPT.md sections 3-4',
'7_interface_architecture':'docs/MANUSCRIPT.md sections 5-7',
'8_error_correction':'docs/TECHNICAL_SUPPLEMENT.md S6-S9',
'9_hierarchy':'docs/MANUSCRIPT.md sections 7-8; supplement S10',
'10_fusion':'docs/MANUSCRIPT.md section 11',
'11_simulation_code':'code/simulate.py; code/test_model.py',
'12_parameters':'results/run_manifest.json; target_scenarios.json; experiment_design.json',
'13_experiment':'docs/TECHNICAL_SUPPLEMENT.md S13',
'14_falsification':'docs/TECHNICAL_SUPPLEMENT.md S14',
'15_roadmap':'docs/MANUSCRIPT.md section 18',
'16_prior_art':'docs/TECHNICAL_SUPPLEMENT.md S15; docs/REFERENCES.md',
'17_limitations':'docs/MANUSCRIPT.md section 20; supplement S6,S16',
'18_open_problems':'docs/MANUSCRIPT.md section 20',
'19_README':'README.md',
'20_metadata':'metadata.json; CLAIMS.json; AI_AGENT_INDEX.json'}
save('DELIVERABLES.json',coverage)
save('metadata.json',dict(title='Universal Programmable Matter Voxels: Finite Alphabets, Reusable Interfaces, and Conditional Fault Tolerance for Hierarchical Fabrication',short_name='UPMV',version='1.0.0',date='2026-09-19',authors=[{'name':author,'designation':'user-supplied author string'}],artifact_type='research proposal, conditional theory and simulation release',status='experimentally testable',peer_reviewed=False,experimental_data=False,physical_validation=False,simulation='uncalibrated local-socket CTMC',breakthrough_significance='potentially transformative, conditional and unverified',completeness={'mathematical_theory':70,'physical_architecture':40,'simulation_validation':35,'experimental_design':65,'scalability_analysis':60,'universal_fabrication_relevance':25},completeness_basis='coarse editorial estimates, not measured probabilities',most_important_unresolved_obstacle='A composable physical correction module covering correlated joining and conversion faults while preserving function.',most_decisive_next_experiment='16-carrier plasmonic tile with reused ports, driven rejection, silica joining, and paired defect/function measurements.',keywords=['programmable matter','DNA origami','material voxels','hierarchical self-assembly','combinatorial interfaces','kinetic proofreading','fault tolerance','nanofabrication','sparse templating','multi-material manufacturing'],claims='CLAIMS.json',results='results/run_manifest.json',coverage='DELIVERABLES.json'))
save('AI_AGENT_INDEX.json',dict(version='1.0.0',read_first=['README.md','metadata.json','CLAIMS.json'],full_text=['docs/MANUSCRIPT.md','docs/TECHNICAL_SUPPLEMENT.md','docs/REFERENCES.md'],run=['python code/simulate.py','python code/test_model.py','python code/compiler.py example_specification.json results/compiler_example.json','python code/make_figures.py'],prohibitions_on_interpretation=['Do not call the integrated platform experimentally validated','Do not equate logical fault suppression with atom-perfect matter','Do not report simulated conditional yields as experimental yields','Do not call codebook words synthesized DNA addresses','Do not claim historical priority from the targeted literature search','Do not treat editorial completeness percentages as measurements'],deliverables=coverage))
print('Metadata and logical experiment code generated')