目录文档-技术白皮书50-参数注册卡 Template v1.0

第7章 约束、依赖与派生公式


I. 目的与范围(Purpose & Scope)


II. 前置条件与输入(Prerequisites & Inputs)


III. 约束类型与声明(Constraint Types & Declarations)

统一字段:constraints{ bounds, enum, mutex, conditional[], consistency[], freshness, cov_group_rule }


IV. 依赖与血缘(Dependencies & Lineage)


V. 派生公式(Derived Relations,规范口径)

  1. 括号化与符号:任何含除号/积分/复合算符的表达一律加括号;对数/指数/卷积写作 ln(·)、log10(·)、exp(·)、conv(·)。
  2. 量纲闭合:派生表达式需通过 I70-dim_check;随附 check_dim_report.json,发布时 p_dim = 1.0。
  3. 路径积分型
    • 到达时:T_arr = ( ∫ ( n_eff / c_ref ) d ell ) = ( 1 / c_ref ) * ( ∫ n_eff d ell )。
    • 相位:Phi = ( 2π / λ_ref ) * ( ∫ n_eff d ell )。
      文中显式 gamma(ell)、d ell;卡片记录 delta_form。
  4. 典型派生示例
    • 线性派生:τ_sys = τ_base + α_T·ΔT。
    • 比值/乘积:y = X/Y、y = X·Y(按 Δ 法一阶近似给出不确定度合成)。
    • 组合派生:以形状/维度兼容为前提(数组/张量)。

VI. 不确定度与协方差对接(UQ & Covariance Coupling)


VII. 规范示例(Normative Examples)

# A) 条件与互斥

constraints:

bounds: { min: 0.0, max: 1.0 }

enum: { values: ["locked","holdover","free"] }

mutex:

- { of: ["locked","free"], rule: "not_both" }

conditional:

- if: { symbol: "clock_state", eq: "locked" }

then: { rule: "sigma_y_le", value: 1.0e-11 } # Allan 偏差阈值

# B) 依赖与派生

constraints:

depends_on: ["ENV-02-ΔT","CAL-02-τ_base"]

derived: "( τ_sys = τ_base + α_T * ΔT )" # 括号化表达式

see:

- "EFT.WP.Core.Metrology v1.0:check_dim"

- "EFT.WP.Core.Equations v1.1:S20-1"

# C) 路径函数派生(有效折射率 → 到达时)

path:

gamma: "gamma(ell)"

measure: "d ell"

delta_form: "general"

derived_latency:

expr: "( T_arr = ∫ ( n_eff / c_ref ) d ell )"

coverage: { type: "confidence", k: 2 }


VIII. 校验规则(Validation Rules)


IX. 模式片段(Schema Snippet)

{

"type": "object",

"properties": {

"constraints": {

"type": "object",

"properties": {

"depends_on": { "type": "array", "items": { "type": "string" } },

"derived": { "type": "string" },

"bounds": { "type": "object", "properties": { "min": {"type":"number"}, "max":{"type":"number"} } },

"enum": { "type": "object", "properties": { "values": { "type": "array" } } },

"conditional":{ "type": "array" }

}

}

},

"required": ["constraints"]

}


X. 交叉引用(Cross-References)


XI. 执行勾选清单(Checklist)


版权与许可(CC BY 4.0)

版权声明:除另有说明外,《能量丝理论》(含文本、图表、插图、符号与公式)的著作权由作者(“屠广林”先生)享有。
许可方式:本作品采用 Creative Commons 署名 4.0 国际许可协议(CC BY 4.0)进行许可;在注明作者与来源的前提下,允许为商业或非商业目的进行复制、转载、节选、改编与再分发。
署名格式(建议):作者:“屠广林”;作品:《能量丝理论》;来源:energyfilament.org;许可证:CC BY 4.0。

首次发布: 2025-11-11|当前版本:v5.1
协议链接:https://creativecommons.org/licenses/by/4.0/