Herbie run

Date:Tuesday, August 6th, 2024
Commit:2.2 on release
Hostname:nightly with Racket 8.11.1
Seed:2024219
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: 7.3min)

simplify1.7min (22.9%)

Memory
-49.6MiB live, 137 812.7MiB allocated
Algorithm
288×egg-herbie
Rules
2 442 388×lower-fma.f32
2 441 684×lower-fma.f64
1 259 218×lower-*.f32
1 256 726×lower-*.f64
638 424×lower-+.f32
Stop Event
383×iter limit
221×node limit
68×saturated
Counts
57 672 → 57 267

sample1.3min (18.5%)

Memory
269.9MiB live, 100 566.5MiB allocated
Samples
31.6s221 571×0valid
10.0s26 606×1valid
9.3s65 880×0invalid
3.6s9 719×2valid
3.2s12 235×1invalid
2.6s6 293×3valid
329.0ms1 840×1exit
146.0ms512×2invalid
41.0ms3exit
28.0ms236×0exit
1.0ms4exit
1.0ms5exit
1.0ms4valid
Precisions
Click to see histograms. Total time spent on operations: 46.7s
ival-mult: 11.5s (24.7% of total)
ival-div: 6.6s (14.1% of total)
ival-tan: 4.5s (9.7% of total)
ival-add: 3.2s (6.8% of total)
ival-sub: 3.0s (6.5% of total)
ival-sqrt: 2.7s (5.7% of total)
ival-pow2: 2.6s (5.7% of total)
adjust: 2.2s (4.6% of total)
ival-pow: 2.2s (4.6% of total)
ival-exp: 1.7s (3.6% of total)
ival-sin: 1.7s (3.6% of total)
ival-cos: 910.0ms (1.9% of total)
ival-acos: 693.0ms (1.5% of total)
ival-neg: 497.0ms (1.1% of total)
ival-hypot: 424.0ms (0.9% of total)
const: 416.0ms (0.9% of total)
ival-log: 414.0ms (0.9% of total)
ival-pi: 366.0ms (0.8% of total)
exact: 320.0ms (0.7% of total)
ival-true: 237.0ms (0.5% of total)
ival-asin: 199.0ms (0.4% of total)
ival-assert: 131.0ms (0.3% of total)
ival-fabs: 115.0ms (0.2% of total)
ival-atan: 77.0ms (0.2% of total)
ival-<: 42.0ms (0.1% of total)
ival-and: 11.0ms (0% of total)
Bogosity

rewrite49.4s (11.3%)

Memory
85.3MiB live, 70 588.4MiB allocated
Algorithm
128×batch-egg-rewrite
Rules
581 496×lower-*.f32
579 046×lower-*.f64
571 828×lower-fma.f32
571 128×lower-fma.f64
452 606×lower-/.f32
Stop Event
266×iter limit
127×node limit
unsound
Counts
2 237 → 104 294

soundness46.9s (10.7%)

Memory
-96.2MiB live, 38 980.0MiB allocated
Rules
1 625 276×lower-fma.f32
1 624 862×lower-fma.f64
1 088 920×lower-*.f32
1 086 970×lower-*.f64
513 516×lower-/.f32
Stop Event
300×iter limit
195×node limit
30×fuel
done
Compiler

Compiled 44 005 to 20 643 computations (53.1% saved)

eval33.2s (7.6%)

Memory
956.1MiB live, 50 267.1MiB allocated
Compiler

Compiled 6 306 932 to 471 181 computations (92.5% saved)

prune30.6s (7%)

Memory
-402.8MiB live, 50 676.1MiB allocated
Counts
191 523 → 3 582
Compiler

Compiled 179 010 to 91 340 computations (49% saved)

localize24.6s (5.6%)

Memory
-412.6MiB live, 36 127.5MiB allocated
Samples
7.5s24 084×0valid
2.3s2 824×1valid
1.7s1 343×2valid
1.5s3 241×0invalid
1.1s677×3valid
922.0ms114×3exit
341.0ms26×5exit
268.0ms333×1exit
83.0ms4exit
63.0ms106×0exit
14.0ms14×1invalid
7.0ms4valid
Compiler

Compiled 38 050 to 4 723 computations (87.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.8s
ival-mult: 3.3s (27.8% of total)
ival-div: 1.5s (12.3% of total)
ival-tan: 1.4s (11.8% of total)
ival-add: 892.0ms (7.6% of total)
adjust: 826.0ms (7% of total)
ival-cos: 673.0ms (5.7% of total)
ival-sqrt: 626.0ms (5.3% of total)
const: 607.0ms (5.1% of total)
ival-sin: 282.0ms (2.4% of total)
ival-sub: 261.0ms (2.2% of total)
ival-asin: 236.0ms (2% of total)
ival-pow2: 187.0ms (1.6% of total)
ival-acos: 166.0ms (1.4% of total)
ival-pow: 160.0ms (1.4% of total)
ival-log: 160.0ms (1.4% of total)
ival-exp: 152.0ms (1.3% of total)
ival-neg: 125.0ms (1.1% of total)
ival-tanh: 69.0ms (0.6% of total)
exact: 60.0ms (0.5% of total)
ival-pi: 44.0ms (0.4% of total)
ival-hypot: 41.0ms (0.3% of total)
ival-atan: 39.0ms (0.3% of total)
ival-true: 28.0ms (0.2% of total)
ival-assert: 13.0ms (0.1% of total)
ival-fabs: 13.0ms (0.1% of total)
ival-cbrt: 4.0ms (0% of total)
ival-sinh: 3.0ms (0% of total)

regimes24.4s (5.6%)

Memory
-73.0MiB live, 36 396.8MiB allocated
Counts
15 257 → 916
Calls

156 calls:

1.6s
l
1.2s
t
983.0ms
k
721.0ms
d
554.0ms
x
Compiler

Compiled 19 556 to 13 530 computations (30.8% saved)

preprocess14.3s (3.3%)

Memory
135.2MiB live, 17 627.6MiB allocated
Algorithm
32×egg-herbie
Rules
229 844×lower-fma.f64
229 844×lower-fma.f32
79 498×lower-*.f32
79 270×lower-*.f64
36 848×lower-/.f32
Stop Event
64×iter limit
41×node limit
23×saturated
Compiler

Compiled 52 992 to 15 716 computations (70.3% saved)

explain10.2s (2.3%)

Memory
-6.8MiB live, 14 728.9MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue4870
-.f64#fcancellation4592
cos.f64#fsensitivity4120
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))))sensitivity2550
*.f64#fn*o2420
+.f64#fnan-rescue2360
sqrt.f64#fuflow-rescue1790
pow.f64#foflow-rescue1290
asin.f64(asin.f64 (sqrt.f64 (/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (/.f64 Om Omc) #s(literal 2 binary64))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 (/.f64 t l) #s(literal 2 binary64)))))))sensitivity1230
tan.f64(tan.f64 (*.f64 (PI.f64) l))sensitivity1221
-.f64#fnan-rescue1180
*.f64#fu*o1150
pow.f64(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) (PI.f64)) n) (/.f64 (-.f64 #s(literal 1 binary64) k) #s(literal 2 binary64)))sensitivity9536
/.f64#fo/o730
*.f64#fn*u700
pow.f64#fuflow-rescue590
/.f64#fo/n570
/.f64#fu/u550
+.f64#fcancellation550
cos.f64(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M))oflow-rescue480
(/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64))overflow48
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M)overflow48
(*.f64 K (+.f64 m n))overflow48
*.f64#fo*u480
/.f64#fn/o310
/.f64#fn/u250
/.f64#fu/n200
log.f64(log.f64 (/.f64 (+.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)))) (-.f64 (exp.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f)) (exp.f64 (neg.f64 (*.f64 (/.f64 (PI.f64) #s(literal 4 binary64)) f))))))sensitivity70
Confusion
Predicted +Predicted -
+192639
-11435084
Precision
0.6275659824046921
Recall
0.9801526717557252
Confusion?
Predicted +Predicted MaybePredicted -
+1926138
-1143385046
Precision?
0.62001287001287
Recall?
0.9806615776081425
Freqs
test
numberfreq
05123
12675
2344
344
45
51
Total Confusion?
Predicted +Predicted MaybePredicted -
+2500
-007
Precision?
1.0
Recall?
1.0
Samples
2.3s13 178×0valid
980.0ms1 998×1valid
403.0ms786×2valid
223.0ms410×3valid
6.0ms12×5exit
Compiler

Compiled 8 490 to 2 164 computations (74.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.8s
ival-mult: 958.0ms (33.8% of total)
ival-tan: 381.0ms (13.4% of total)
ival-div: 291.0ms (10.3% of total)
ival-sub: 139.0ms (4.9% of total)
ival-add: 137.0ms (4.8% of total)
adjust: 128.0ms (4.5% of total)
ival-exp: 106.0ms (3.7% of total)
ival-sin: 106.0ms (3.7% of total)
ival-sqrt: 103.0ms (3.6% of total)
ival-pow2: 98.0ms (3.5% of total)
ival-pow: 82.0ms (2.9% of total)
ival-cos: 61.0ms (2.2% of total)
ival-acos: 55.0ms (1.9% of total)
ival-neg: 38.0ms (1.3% of total)
ival-pi: 36.0ms (1.3% of total)
ival-hypot: 24.0ms (0.8% of total)
exact: 18.0ms (0.6% of total)
ival-true: 15.0ms (0.5% of total)
ival-asin: 14.0ms (0.5% of total)
ival-log: 14.0ms (0.5% of total)
const: 9.0ms (0.3% of total)
ival-fabs: 9.0ms (0.3% of total)
ival-assert: 7.0ms (0.2% of total)
ival-atan: 7.0ms (0.2% of total)

series8.7s (2%)

Memory
231.8MiB live, 12 372.9MiB allocated
Counts
2 237 → 57 672
Calls

12462 calls:

TimeVariablePointExpression
252.0ms
l
@0
(+ (* (* 1/4 (/ Om l)) (sqrt (/ 1 (+ (* -1/2 (+ (cos (* kx -2)) (cos (* ky -2)))) 1)))) 1/2)
133.0ms
c0
@0
(* (/ c0 (* 2 w)) (+ (* (sqrt (+ (* c0 (/ (* d d) (* h (* w (* D D))))) (neg M))) (sqrt (+ (* c0 (/ (* d d) (* h (* w (* D D))))) M))) (/ (* c0 (* d d)) (* h (* w (* D D))))))
91.0ms
NaChar
@0
(/ NaChar (- 2 (/ (+ (* -1/2 (/ (* (+ (+ EAccept Ev) (- Vef mu)) (+ (+ EAccept Ev) (- Vef mu))) KbT)) (neg (+ (+ EAccept Ev) (- Vef mu)))) KbT)))
87.0ms
v
@inf
(log (/ 1 (acos (+ (* (* v v) (+ (* (* v v) 4) 4)) -1))))
84.0ms
f
@-inf
(/ (log (tanh (* (* (PI) 1/4) f))) (* (PI) 1/4))

analyze8.3s (1.9%)

Memory
75.2MiB live, 12 679.5MiB allocated
Algorithm
32×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%98.2%1.8%0%0%0%0
22.2%21.8%76.4%1.8%0%0%0%1
22.6%21.8%74.8%1.8%0%1.6%0%2
28.6%26.5%66.3%1.8%0%5.5%0%3
32.6%29.6%61.2%1.8%0%7.4%0%4
35.8%32.3%58%1.8%0%8%0%5
40.1%36.1%54%1.8%0%8.1%0%6
45.5%40.6%48.7%1.8%0%8.9%0%7
47.9%42.1%45.8%1.8%0%10.3%0%8
51%44.7%42.9%1.8%0%10.6%0%9
52.2%45.5%41.7%1.8%0%11%0%10
53.9%46.8%39.9%1.8%0%11.5%0%11
55.7%47.9%38.2%1.8%0%12.2%0%12
Compiler

Compiled 798 to 574 computations (28.1% saved)

bsearch5.3s (1.2%)

Memory
33.2MiB live, 7 574.8MiB allocated
Algorithm
308×left-value
209×binary-search
Stop Event
189×narrow-enough
20×predicate-same
Samples
2.6s15 151×0valid
631.0ms3 716×0invalid
70.0ms326×1valid
55.0ms169×2valid
30.0ms35×1invalid
28.0ms82×3valid
1.0ms2invalid
Compiler

Compiled 66 717 to 47 006 computations (29.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.5s
ival-mult: 681.0ms (27.3% of total)
ival-div: 422.0ms (16.9% of total)
ival-sub: 276.0ms (11% of total)
ival-pow: 271.0ms (10.8% of total)
ival-add: 226.0ms (9% of total)
ival-sin: 159.0ms (6.4% of total)
ival-tan: 115.0ms (4.6% of total)
ival-pow2: 111.0ms (4.4% of total)
ival-neg: 49.0ms (2% of total)
ival-sqrt: 41.0ms (1.6% of total)
ival-exp: 31.0ms (1.2% of total)
adjust: 26.0ms (1% of total)
const: 21.0ms (0.8% of total)
ival-cos: 18.0ms (0.7% of total)
exact: 17.0ms (0.7% of total)
ival-true: 14.0ms (0.6% of total)
ival-atan: 9.0ms (0.4% of total)
ival-assert: 7.0ms (0.3% of total)
ival-fabs: 4.0ms (0.2% of total)
ival-pi: 1.0ms (0% of total)

end0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated

Profiling

Loading profile data...