Herbie run

Date:Tuesday, June 18th, 2024
Commit:2f9055fd on zane-job-abstraction3
Hostname:nightly with Racket 8.11.1
Seed:2024170
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 4.1min)

simplify50.8s (20.7%)

Algorithm
171×egg-herbie
Rules
75472×fma-define
41138×fmm-def
39769×distribute-lft-in
36586×distribute-rgt-in
35136×*-commutative
Stop Event
35×saturated
136×node limit
Counts
55760 → 46752

sample48.5s (19.8%)

Results
21.4s128500×0valid
8.0s15268×1valid
2.7s6373×3valid
2.6s19681×0invalid
2.2s5795×2valid
954.0ms924×4valid
3.0ms5valid
2.0ms5exit
Precisions
Click to see histograms. Total time spent on operations: 30.1s
ival-mult: 7.9s (26.2% of total)
ival-tan: 4.1s (13.7% of total)
ival-div: 3.9s (13% of total)
ival-sub: 2.0s (6.6% of total)
ival-add: 1.9s (6.4% of total)
ival-sin: 1.8s (5.9% of total)
ival-pow2: 1.6s (5.4% of total)
ival-cos: 1.3s (4.2% of total)
ival-exp: 1.1s (3.8% of total)
ival-sqrt: 1.0s (3.4% of total)
adjust: 823.0ms (2.7% of total)
ival-acos: 659.0ms (2.2% of total)
ival-pow: 411.0ms (1.4% of total)
...in/eval/compile.rkt:77:19: 325.0ms (1.1% of total)
ival-hypot: 291.0ms (1% of total)
ival-pi: 232.0ms (0.8% of total)
ival-neg: 216.0ms (0.7% of total)
ival-true: 138.0ms (0.5% of total)
...in/eval/compile.rkt:76:19: 122.0ms (0.4% of total)
ival-assert: 99.0ms (0.3% of total)
ival-fabs: 90.0ms (0.3% of total)
ival-<: 43.0ms (0.1% of total)
ival-and: 13.0ms (0% of total)
Bogosity

soundness28.3s (11.5%)

Rules
26081×log1p-expm1-u
24570×fma-define
20832×expm1-log1p-u
18169×times-frac
17621×*-commutative
Stop Event
saturated
94×node limit
18×fuel
unsound
done
Compiler

Compiled 22525 to 6581 computations (70.8% saved)

localize19.8s (8.1%)

Results
5.2s13793×0valid
4.2s253×5exit
1.8s2619×1valid
963.0ms690×2valid
780.0ms1635×0invalid
664.0ms427×3valid
89.0ms38×4valid
3.0ms5valid
Compiler

Compiled 21211 to 2601 computations (87.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.6s
ival-tan: 3.5s (33.3% of total)
ival-mult: 1.6s (15% of total)
ival-div: 977.0ms (9.2% of total)
ival-pow: 565.0ms (5.3% of total)
ival-add: 547.0ms (5.1% of total)
ival-hypot: 518.0ms (4.9% of total)
ival-cos: 511.0ms (4.8% of total)
adjust: 380.0ms (3.6% of total)
ival-sub: 377.0ms (3.5% of total)
ival-sin: 315.0ms (3% of total)
ival-pow2: 312.0ms (2.9% of total)
ival-sqrt: 286.0ms (2.7% of total)
ival-exp: 134.0ms (1.3% of total)
ival-acos: 100.0ms (0.9% of total)
ival-asin: 97.0ms (0.9% of total)
ival-cbrt: 58.0ms (0.5% of total)
...in/eval/compile.rkt:77:19: 53.0ms (0.5% of total)
ival-neg: 52.0ms (0.5% of total)
ival-log: 43.0ms (0.4% of total)
ival-expm1: 35.0ms (0.3% of total)
ival-log1p: 33.0ms (0.3% of total)
...in/eval/compile.rkt:76:19: 30.0ms (0.3% of total)
ival-pi: 26.0ms (0.2% of total)
ival-true: 19.0ms (0.2% of total)
ival-assert: 15.0ms (0.1% of total)
ival-fabs: 13.0ms (0.1% of total)

rewrite19.0s (7.8%)

Algorithm
76×batch-egg-rewrite
Rules
42262×log1p-expm1-u
32072×expm1-log1p-u
20551×add-exp-log
20175×pow1
19574×add-log-exp
Stop Event
75×node limit
unsound
Counts
1090 → 28135

prune17.5s (7.1%)

Counts
67848 → 1970
Compiler

Compiled 88418 to 48380 computations (45.3% saved)

eval13.0s (5.3%)

Compiler

Compiled 2302614 to 291306 computations (87.3% saved)

regimes11.7s (4.8%)

Counts
5863 → 400
Calls

114 calls:

693.0ms
l
593.0ms
k
498.0ms
t
410.0ms
NaChar
379.0ms
(*.f64 l l)
Compiler

Compiled 5640 to 4225 computations (25.1% saved)

analyze11.0s (4.5%)

Algorithm
32×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%98.2%1.8%0%0%0%0
0%0%98.2%1.8%0%0%0%1
0%0%98.2%1.8%0%0%0%2
0%0%98.2%1.8%0%0%0%3
0.8%0.8%97.5%1.8%0%0%0%4
1.2%1.2%97.1%1.8%0%0%0%5
2.4%2.3%95.9%1.8%0%0%0%6
4.8%4.7%93.6%1.8%0%0%0%7
6%5.9%92.4%1.8%0%0%0%8
7.6%7.4%90.8%1.8%0%0%0%9
9.6%9.4%88.8%1.8%0%0%0%10
10.8%10.6%87.6%1.8%0%0%0%11
11.8%11.6%86.7%1.8%0%0%0%12
Compiler

Compiled 793 to 574 computations (27.6% saved)

series9.4s (3.8%)

Counts
1090 → 27625
Calls

7452 calls:

TimeVariablePointExpression
285.0ms
c0
@0
(* c0 (log (pow (exp M) (/ (sqrt -1) (* w 2)))))
151.0ms
M
@inf
(* c0 (log (pow (exp M) (/ (sqrt -1) (* w 2)))))
130.0ms
D
@0
(* c0 (/ (+ (* c0 (* d (/ d (* D (* w (* h D)))))) (sqrt (* (+ (* c0 (* d (/ d (* D (* w (* h D)))))) M) (+ (* (/ c0 (* w (* h D))) (/ (* d d) D)) (neg M))))) (* 2 w)))
125.0ms
mu
@inf
(/ NdChar (- (+ 2 (+ (/ EDonor KbT) (* Vef (+ (/ 1 KbT) (/ mu (* Vef KbT)))))) (/ Ec KbT)))
117.0ms
ky
@0
(* 1/2 (log (exp (/ 1 (sqrt (+ (* 1 1) (* (* (/ 2 (/ Om l)) (sqrt (+ (* (sin kx) (sin kx)) (* (sin ky) (sin ky))))) (* (/ 2 (/ Om l)) (sqrt (+ (* (sin kx) (sin kx)) (* (sin ky) (sin ky))))))))))))

explain7.0s (2.9%)

Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
cos.f64#fsensitivity4222
+.f64#fnan-rescue2600
acos.f64(acos.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 5 binary64) (*.f64 v v))) (-.f64 (*.f64 v v) #s(literal 1 binary64))))sensitivity2540
sqrt.f64#foflow-rescue1860
-.f64#fcancellation1691
*.f64#fn*o1380
tan.f64(tan.f64 (*.f64 (PI.f64) l))sensitivity1300
*.f64#fu*o870
*.f64#fo*u660
/.f64#fo/o560
cos.f64(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M))oflow-rescue550
(/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64))overflow55
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M)overflow55
(*.f64 K (+.f64 m n))overflow55
+.f64#fcancellation491
/.f64#fu/u450
-.f64(-.f64 (*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))) (*.f64 M M))nan-rescue440
(*.f64 (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))) (/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D))))overflow212
(*.f64 c0 (*.f64 d d))overflow234
(/.f64 (*.f64 c0 (*.f64 d d)) (*.f64 (*.f64 w h) (*.f64 D D)))overflow354
(*.f64 D D)overflow50
(*.f64 d d)overflow208
(*.f64 w h)overflow36
(*.f64 (*.f64 w h) (*.f64 D D))overflow32
(*.f64 M M)overflow44
sqrt.f64#fuflow-rescue410
*.f64#fn*u400
/.f64#fo/n310
/.f64#fn/u200
/.f64#fu/n200
/.f64#fn/o110
tan.f64(tan.f64 (*.f64 (PI.f64) l))oflow-rescue10
(*.f64 (PI.f64) l)overflow1
Confusion
Predicted +Predicted -
+103422
-8352973
Precision
0.5532370251471375
Recall
0.9791666666666666
Confusion?
Predicted +Predicted MaybePredicted -
+1034220
-83532970
Precision?
0.5528281750266809
Recall?
0.9810606060606061
Freqs
test
numberfreq
02995
11643
2201
321
43
51
Total Confusion?
Predicted +Predicted MaybePredicted -
+1510
-003
Precision?
1.0
Recall?
1.0
Results
1.6s7354×0valid
857.0ms1452×1valid
289.0ms446×2valid
257.0ms400×3valid
48.0ms74×4valid
2.0ms5valid
Compiler

Compiled 5106 to 1288 computations (74.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.3s
ival-mult: 578.0ms (25.3% of total)
ival-tan: 527.0ms (23.1% of total)
ival-sin: 319.0ms (14% of total)
ival-div: 194.0ms (8.5% of total)
ival-add: 116.0ms (5.1% of total)
ival-sub: 102.0ms (4.5% of total)
ival-pow2: 82.0ms (3.6% of total)
ival-cos: 76.0ms (3.3% of total)
adjust: 68.0ms (3% of total)
ival-sqrt: 57.0ms (2.5% of total)
ival-exp: 55.0ms (2.4% of total)
ival-acos: 27.0ms (1.2% of total)
ival-hypot: 18.0ms (0.8% of total)
ival-neg: 17.0ms (0.7% of total)
ival-pow: 17.0ms (0.7% of total)
ival-true: 10.0ms (0.4% of total)
...in/eval/compile.rkt:76:19: 8.0ms (0.4% of total)
ival-fabs: 6.0ms (0.3% of total)
ival-assert: 6.0ms (0.3% of total)
ival-pi: 4.0ms (0.2% of total)

preprocess4.7s (1.9%)

Algorithm
19×egg-herbie
Rules
8472×fma-define
7355×fmm-def
4855×times-frac
4263×unsub-neg
3921×sub-neg
Stop Event
saturated
14×node limit
Compiler

Compiled 26006 to 11272 computations (56.7% saved)

bsearch4.4s (1.8%)

Algorithm
140×binary-search
66×left-value
Stop Event
140×narrow-enough
Results
2.6s16025×0valid
101.0ms267×2valid
59.0ms321×1valid
13.0ms43×3valid
1.0ms13×0invalid
Compiler

Compiled 37402 to 28274 computations (24.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.0s
ival-div: 333.0ms (16.8% of total)
ival-add: 308.0ms (15.5% of total)
ival-mult: 286.0ms (14.4% of total)
ival-exp: 223.0ms (11.3% of total)
ival-cos: 147.0ms (7.4% of total)
ival-sub: 146.0ms (7.4% of total)
ival-pow2: 142.0ms (7.2% of total)
ival-sin: 121.0ms (6.1% of total)
ival-tan: 81.0ms (4.1% of total)
ival-neg: 56.0ms (2.8% of total)
ival-pow: 47.0ms (2.4% of total)
ival-sqrt: 31.0ms (1.6% of total)
adjust: 18.0ms (0.9% of total)
ival-true: 14.0ms (0.7% of total)
...in/eval/compile.rkt:76:19: 10.0ms (0.5% of total)
ival-assert: 9.0ms (0.5% of total)
ival-hypot: 9.0ms (0.5% of total)
ival-fabs: 1.0ms (0.1% of total)

end0.0ms (0%)

Profiling

Loading profile data...