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.6min (22.7%)

Memory
-153.3MiB live, 138 000.4MiB 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.4min (18.8%)

Memory
514.0MiB live, 102 470.5MiB allocated
Samples
33.1s221 571×0valid
10.0s26 606×1valid
9.3s65 880×0invalid
3.8s9 719×2valid
3.2s12 235×1invalid
2.4s6 293×3valid
389.0ms1 840×1exit
144.0ms512×2invalid
35.0ms236×0exit
1.0ms3exit
1.0ms4exit
1.0ms5exit
1.0ms4valid
Precisions
Click to see histograms. Total time spent on operations: 48.9s
ival-mult: 12.1s (24.8% of total)
ival-div: 7.9s (16.2% of total)
ival-tan: 4.3s (8.7% of total)
ival-sub: 3.6s (7.3% of total)
ival-add: 2.8s (5.7% of total)
ival-exp: 2.4s (4.8% of total)
ival-pow2: 2.4s (4.8% of total)
ival-sqrt: 2.3s (4.6% of total)
ival-pow: 2.2s (4.5% of total)
adjust: 2.1s (4.3% of total)
ival-sin: 2.0s (4% of total)
ival-cos: 834.0ms (1.7% of total)
const: 633.0ms (1.3% of total)
ival-neg: 623.0ms (1.3% of total)
ival-acos: 585.0ms (1.2% of total)
ival-hypot: 393.0ms (0.8% of total)
ival-pi: 352.0ms (0.7% of total)
exact: 329.0ms (0.7% of total)
ival-log: 304.0ms (0.6% of total)
ival-true: 248.0ms (0.5% of total)
ival-asin: 185.0ms (0.4% of total)
ival-fabs: 145.0ms (0.3% of total)
ival-assert: 132.0ms (0.3% of total)
ival-atan: 104.0ms (0.2% of total)
ival-<: 44.0ms (0.1% of total)
ival-and: 11.0ms (0% of total)
Bogosity

rewrite49.8s (11.4%)

Memory
-199.5MiB live, 69 338.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

soundness45.8s (10.5%)

Memory
279.4MiB live, 38 975.9MiB 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.3s (7.6%)

Memory
401.6MiB live, 50 501.6MiB allocated
Compiler

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

prune30.1s (6.9%)

Memory
-703.3MiB live, 49 701.1MiB allocated
Counts
191 523 → 3 582
Compiler

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

regimes24.8s (5.7%)

Memory
-63.2MiB live, 36 790.5MiB allocated
Counts
15 257 → 916
Calls

156 calls:

1.8s
l
1.1s
t
1.1s
k
756.0ms
(*.f64 l l)
635.0ms
U
Compiler

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

localize24.2s (5.6%)

Memory
206.0MiB live, 36 834.1MiB allocated
Samples
7.7s24 084×0valid
2.0s2 824×1valid
1.6s1 343×2valid
1.5s3 241×0invalid
1.2s677×3valid
961.0ms114×3exit
299.0ms333×1exit
63.0ms26×5exit
44.0ms106×0exit
34.0ms4exit
16.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.4s
ival-mult: 3.2s (27.8% of total)
ival-div: 1.6s (14% of total)
ival-tan: 1.5s (12.8% of total)
ival-add: 1.1s (9.3% of total)
ival-sqrt: 692.0ms (6.1% of total)
adjust: 607.0ms (5.3% of total)
ival-cos: 604.0ms (5.3% of total)
ival-sub: 364.0ms (3.2% of total)
ival-asin: 269.0ms (2.4% of total)
const: 236.0ms (2.1% of total)
ival-sin: 232.0ms (2% of total)
ival-pow2: 190.0ms (1.7% of total)
ival-pow: 189.0ms (1.7% of total)
ival-neg: 117.0ms (1% of total)
ival-exp: 115.0ms (1% of total)
ival-acos: 108.0ms (0.9% of total)
ival-log: 103.0ms (0.9% of total)
ival-hypot: 78.0ms (0.7% of total)
exact: 62.0ms (0.5% of total)
ival-pi: 39.0ms (0.3% of total)
ival-atan: 33.0ms (0.3% of total)
ival-true: 29.0ms (0.3% of total)
ival-tanh: 14.0ms (0.1% of total)
ival-assert: 14.0ms (0.1% of total)
ival-fabs: 14.0ms (0.1% of total)
ival-sinh: 4.0ms (0% of total)
ival-cbrt: 4.0ms (0% of total)

preprocess15.0s (3.4%)

Memory
82.0MiB live, 18 234.8MiB 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.0s (2.3%)

Memory
-135.6MiB live, 15 027.1MiB 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.1s13 178×0valid
726.0ms1 998×1valid
380.0ms786×2valid
235.0ms12×5exit
224.0ms410×3valid
Compiler

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

Precisions
Click to see histograms. Total time spent on operations: 2.4s
ival-mult: 527.0ms (21.6% of total)
ival-tan: 355.0ms (14.6% of total)
ival-div: 309.0ms (12.7% of total)
ival-add: 165.0ms (6.8% of total)
ival-sub: 145.0ms (6% of total)
ival-sin: 131.0ms (5.4% of total)
ival-sqrt: 125.0ms (5.1% of total)
adjust: 120.0ms (4.9% of total)
ival-pow2: 106.0ms (4.4% of total)
ival-exp: 106.0ms (4.4% of total)
ival-cos: 69.0ms (2.8% of total)
ival-pow: 68.0ms (2.8% of total)
ival-pi: 38.0ms (1.6% of total)
ival-neg: 30.0ms (1.2% of total)
ival-acos: 29.0ms (1.2% of total)
ival-hypot: 27.0ms (1.1% of total)
exact: 19.0ms (0.8% of total)
ival-true: 16.0ms (0.7% of total)
ival-log: 16.0ms (0.7% of total)
ival-asin: 9.0ms (0.4% of total)
const: 8.0ms (0.3% of total)
ival-assert: 7.0ms (0.3% of total)
ival-atan: 5.0ms (0.2% of total)
ival-fabs: 4.0ms (0.2% of total)

analyze8.3s (1.9%)

Memory
214.0MiB live, 13 074.9MiB 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)

series8.1s (1.9%)

Memory
291.6MiB live, 12 160.1MiB allocated
Counts
2 237 → 57 672
Calls

12462 calls:

TimeVariablePointExpression
124.0ms
f
@0
(* (/ 4 (PI)) (log (* (* (PI) 1/4) f)))
104.0ms
f
@-inf
(/ (log (tanh (* (* (PI) 1/4) f))) (* (PI) 1/4))
69.0ms
l
@-inf
(* (* (+ (* (/ l Om) (+ (* (neg (- U U*)) (* n (/ l Om))) (* l -2))) t) (* n 2)) U)
64.0ms
n
@-inf
(* (/ 1 (sqrt k)) (pow (* (* 2 (PI)) n) (/ (- 1 k) 2)))
62.0ms
a
@0
(/ (* a (pow k m)) (+ (+ 1 (* 10 k)) (* k k)))

bsearch5.7s (1.3%)

Memory
-93.3MiB live, 7 714.7MiB allocated
Algorithm
308×left-value
209×binary-search
Stop Event
189×narrow-enough
20×predicate-same
Samples
2.9s15 151×0valid
664.0ms3 716×0invalid
81.0ms326×1valid
60.0ms82×3valid
55.0ms169×2valid
6.0ms35×1invalid
1.0ms2invalid
Compiler

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

Precisions
Click to see histograms. Total time spent on operations: 2.8s
ival-mult: 638.0ms (22.7% of total)
ival-div: 569.0ms (20.2% of total)
ival-sub: 351.0ms (12.5% of total)
ival-pow: 328.0ms (11.7% of total)
ival-sin: 155.0ms (5.5% of total)
ival-add: 143.0ms (5.1% of total)
ival-tan: 137.0ms (4.9% of total)
ival-pow2: 135.0ms (4.8% of total)
ival-exp: 105.0ms (3.7% of total)
ival-sqrt: 71.0ms (2.5% of total)
ival-neg: 47.0ms (1.7% of total)
const: 28.0ms (1% of total)
adjust: 26.0ms (0.9% of total)
ival-cos: 25.0ms (0.9% of total)
exact: 17.0ms (0.6% of total)
ival-true: 14.0ms (0.5% of total)
ival-atan: 9.0ms (0.3% of total)
ival-assert: 7.0ms (0.2% of total)
ival-fabs: 4.0ms (0.1% of total)
ival-pi: 1.0ms (0% of total)

end0.0ms (0%)

Memory
0.7MiB live, 0.6MiB allocated

Profiling

Loading profile data...