Herbie run

Date:Wednesday, July 17th, 2024
Commit:c34c16ee on main
Hostname:nightly with Racket 8.11.1
Seed:2024199
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.5min)

simplify1.7min (22.8%)

Memory
481.1MiB live, 149 823.4MiB allocated
Algorithm
288×egg-herbie
Rules
2 613 128×accelerator-lowering-fma.f32
2 613 128×accelerator-lowering-fma.f64
1 275 512×*-lowering-*.f32
1 275 512×*-lowering-*.f64
674 144×+-lowering-+.f32
Stop Event
256×iter limit
224×node limit
64×saturated
Counts
55 404 → 55 404

sample1.3min (17.8%)

Memory
942.7MiB live, 107 285.3MiB allocated
Samples
32.2s221 724×0valid
9.9s26 690×1valid
9.5s65 106×0invalid
3.8s12 287×1invalid
3.6s9 555×2valid
2.3s6 109×3valid
344.0ms1 915×1exit
341.0ms567×2invalid
71.0ms114×4valid
30.0ms263×0exit
18.0ms42×5exit
2.0ms4exit
0.0ms2exit
Precisions
Click to see histograms. Total time spent on operations: 48.0s
ival-mult: 12.5s (26.1% of total)
ival-div: 6.9s (14.4% of total)
ival-tan: 3.9s (8.2% of total)
ival-sub: 3.3s (6.9% of total)
ival-pow2: 2.8s (5.8% of total)
ival-pow: 2.7s (5.6% of total)
ival-add: 2.6s (5.4% of total)
ival-sqrt: 2.4s (5.1% of total)
ival-sin: 2.1s (4.4% of total)
ival-exp: 2.0s (4.2% of total)
adjust: 2.0s (4.1% of total)
ival-cos: 807.0ms (1.7% of total)
ival-acos: 590.0ms (1.2% of total)
ival-neg: 560.0ms (1.2% of total)
ival-hypot: 432.0ms (0.9% of total)
const: 392.0ms (0.8% of total)
exact: 375.0ms (0.8% of total)
ival-log: 360.0ms (0.7% of total)
ival-pi: 353.0ms (0.7% of total)
ival-true: 256.0ms (0.5% of total)
ival-asin: 210.0ms (0.4% of total)
ival-assert: 128.0ms (0.3% of total)
ival-fabs: 97.0ms (0.2% of total)
ival-atan: 76.0ms (0.2% of total)
ival-<: 61.0ms (0.1% of total)
ival-and: 11.0ms (0% of total)
Bogosity

rewrite53.3s (11.9%)

Memory
482.0MiB live, 79 868.6MiB allocated
Algorithm
128×batch-egg-rewrite
Rules
602 612×*-lowering-*.f32
602 612×*-lowering-*.f64
563 226×accelerator-lowering-fma.f32
563 226×accelerator-lowering-fma.f64
466 926×/-lowering-/.f64
Stop Event
135×iter limit
128×node limit
Counts
2 203 → 107 700

soundness45.5s (10.1%)

Memory
88.8MiB live, 36 348.1MiB allocated
Rules
1 578 784×accelerator-lowering-fma.f32
1 578 784×accelerator-lowering-fma.f64
1 077 432×*-lowering-*.f32
1 077 432×*-lowering-*.f64
508 134×/-lowering-/.f64
Stop Event
196×iter limit
189×node limit
31×fuel
done
Compiler

Compiled 46 193 to 22 079 computations (52.2% saved)

eval34.1s (7.6%)

Memory
637.9MiB live, 52 737.2MiB allocated
Compiler

Compiled 6 474 936 to 477 314 computations (92.6% saved)

prune29.9s (6.7%)

Memory
-879.3MiB live, 52 696.1MiB allocated
Counts
194 575 → 3 692
Compiler

Compiled 181 296 to 94 342 computations (48% saved)

regimes26.6s (5.9%)

Memory
-97.4MiB live, 40 975.1MiB allocated
Counts
16 229 → 957
Calls

156 calls:

1.6s
l
1.1s
k
1.0s
t
643.0ms
d
639.0ms
(/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) #s(literal 2 binary64)) (pow.f64 (sin.f64 ky) #s(literal 2 binary64)))))
Compiler

Compiled 20 499 to 14 078 computations (31.3% saved)

localize24.3s (5.4%)

Memory
-81.4MiB live, 37 429.1MiB allocated
Samples
7.5s23 205×0valid
2.6s2 014×2valid
2.3s3 301×1valid
1.3s3 104×0invalid
970.0ms117×3exit
732.0ms613×3valid
77.0ms311×0exit
75.0ms17×5exit
71.0ms40×4valid
23.0ms46×2exit
Compiler

Compiled 36 546 to 4 654 computations (87.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.8s
ival-mult: 3.6s (30% of total)
ival-div: 1.8s (15.2% of total)
ival-tan: 1.4s (12% of total)
ival-add: 1.1s (8.9% of total)
ival-cos: 783.0ms (6.6% of total)
ival-sqrt: 604.0ms (5.1% of total)
adjust: 553.0ms (4.7% of total)
ival-sub: 303.0ms (2.6% of total)
ival-sin: 279.0ms (2.4% of total)
ival-pow: 242.0ms (2% of total)
ival-pow2: 215.0ms (1.8% of total)
const: 199.0ms (1.7% of total)
ival-asin: 174.0ms (1.5% of total)
ival-acos: 142.0ms (1.2% of total)
ival-exp: 129.0ms (1.1% of total)
ival-neg: 108.0ms (0.9% of total)
exact: 69.0ms (0.6% of total)
ival-log: 69.0ms (0.6% of total)
ival-pi: 34.0ms (0.3% of total)
ival-atan: 32.0ms (0.3% of total)
ival-true: 30.0ms (0.3% of total)
ival-hypot: 17.0ms (0.1% of total)
ival-assert: 13.0ms (0.1% of total)
ival-tanh: 11.0ms (0.1% of total)
ival-fabs: 7.0ms (0.1% of total)
ival-sinh: 1.0ms (0% of total)

preprocess14.6s (3.2%)

Memory
-89.9MiB live, 18 687.2MiB allocated
Algorithm
64×egg-herbie
Rules
231 692×accelerator-lowering-fma.f32
231 692×accelerator-lowering-fma.f64
79 878×*-lowering-*.f32
79 878×*-lowering-*.f64
37 028×+-lowering-+.f32
Stop Event
41×node limit
32×iter limit
23×saturated
Compiler

Compiled 56 378 to 17 190 computations (69.5% saved)

explain10.3s (2.3%)

Memory
10.0MiB live, 14 899.2MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation4620
sqrt.f64#foflow-rescue4540
cos.f64#fsensitivity3811
*.f64#fn*o2730
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))))sensitivity2532
+.f64#fnan-rescue2510
sqrt.f64#fuflow-rescue1710
pow.f64#foflow-rescue1470
*.f64#fu*o1310
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)))))))sensitivity1250
tan.f64(tan.f64 (*.f64 (PI.f64) l))sensitivity1190
-.f64#fnan-rescue1070
pow.f64(pow.f64 (*.f64 (*.f64 #s(literal 2 binary64) (PI.f64)) n) (/.f64 (-.f64 #s(literal 1 binary64) k) #s(literal 2 binary64)))sensitivity9028
/.f64#fo/o690
+.f64#fcancellation640
pow.f64#fuflow-rescue590
*.f64#fn*u590
cos.f64(cos.f64 (-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M))oflow-rescue580
(/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64))overflow58
(-.f64 (/.f64 (*.f64 K (+.f64 m n)) #s(literal 2 binary64)) M)overflow58
(*.f64 K (+.f64 m n))overflow58
*.f64#fo*u550
/.f64#fn/o500
/.f64#fu/u500
/.f64#fo/n440
/.f64#fn/u390
/.f64#fu/n180
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))))))sensitivity50
Confusion
Predicted +Predicted -
+199638
-10915067
Precision
0.6465824425008099
Recall
0.9813176007866273
Confusion?
Predicted +Predicted MaybePredicted -
+1996137
-1091315036
Precision?
0.6402693170888105
Recall?
0.9818092428711898
Freqs
test
numberfreq
05105
12683
2364
338
41
51
Total Confusion?
Predicted +Predicted MaybePredicted -
+2600
-015
Precision?
0.9629629629629629
Recall?
1.0
Samples
2.3s13 180×0valid
826.0ms2 024×1valid
445.0ms756×2valid
197.0ms414×3valid
3.0ms4valid
1.0ms5exit
Compiler

Compiled 8 430 to 2 164 computations (74.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.6s
ival-mult: 627.0ms (23.9% of total)
ival-div: 365.0ms (13.9% of total)
ival-tan: 294.0ms (11.2% of total)
ival-sub: 248.0ms (9.4% of total)
ival-sqrt: 145.0ms (5.5% of total)
ival-add: 123.0ms (4.7% of total)
ival-exp: 115.0ms (4.4% of total)
ival-sin: 111.0ms (4.2% of total)
ival-pow2: 108.0ms (4.1% of total)
adjust: 107.0ms (4.1% of total)
ival-pow: 74.0ms (2.8% of total)
ival-cos: 64.0ms (2.4% of total)
ival-pi: 59.0ms (2.2% of total)
ival-neg: 47.0ms (1.8% of total)
ival-acos: 28.0ms (1.1% of total)
ival-hypot: 23.0ms (0.9% of total)
exact: 21.0ms (0.8% of total)
ival-true: 16.0ms (0.6% of total)
ival-assert: 14.0ms (0.5% of total)
ival-log: 14.0ms (0.5% of total)
ival-asin: 9.0ms (0.3% of total)
const: 7.0ms (0.3% of total)
ival-atan: 5.0ms (0.2% of total)
ival-fabs: 4.0ms (0.2% of total)

bsearch9.8s (2.2%)

Memory
-130.9MiB live, 13 595.2MiB allocated
Algorithm
289×left-value
258×binary-search
Stop Event
245×narrow-enough
13×predicate-same
Samples
4.9s30 737×0valid
1.3s8 211×0invalid
301.0ms239×1invalid
264.0ms1 008×1valid
64.0ms208×2valid
27.0ms72×3valid
5.0ms20×2invalid
3.0ms4valid
Compiler

Compiled 82 828 to 56 387 computations (31.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.3s
ival-mult: 1.3s (24.8% of total)
ival-div: 956.0ms (18.1% of total)
ival-pow: 858.0ms (16.3% of total)
ival-sub: 459.0ms (8.7% of total)
ival-add: 418.0ms (7.9% of total)
ival-sin: 279.0ms (5.3% of total)
ival-tan: 271.0ms (5.1% of total)
ival-pow2: 216.0ms (4.1% of total)
ival-neg: 124.0ms (2.3% of total)
ival-sqrt: 97.0ms (1.8% of total)
ival-exp: 69.0ms (1.3% of total)
adjust: 57.0ms (1.1% of total)
ival-cos: 43.0ms (0.8% of total)
exact: 41.0ms (0.8% of total)
ival-true: 31.0ms (0.6% of total)
const: 18.0ms (0.3% of total)
ival-assert: 15.0ms (0.3% of total)
ival-atan: 11.0ms (0.2% of total)
ival-fabs: 4.0ms (0.1% of total)

series9.2s (2.1%)

Memory
-319.3MiB live, 11 509.8MiB allocated
Counts
2 203 → 55 404
Calls

12126 calls:

TimeVariablePointExpression
251.0ms
kx
@-inf
(/ (+ (* th (* -1/6 (* th th))) th) (/ (sqrt (+ (* (- 1 (cos (+ ky ky))) 1/2) (+ 1/2 (* -1/2 (cos (+ kx kx)))))) (sin ky)))
211.0ms
f
@-inf
(/ (log (tanh (* (* (PI) 1/4) f))) (* (PI) 1/4))
206.0ms
Vef
@0
(+ (/ NdChar (+ 1 (exp (/ (neg (- (- (- Ec Vef) EDonor) mu)) KbT)))) (/ NaChar (+ 1 (exp (/ (+ (+ (+ Ev Vef) EAccept) (neg mu)) KbT)))))
88.0ms
a
@0
(/ (* a (pow k m)) (+ (+ 1 (* 10 k)) (* k k)))
81.0ms
B
@0
(* B 7/360)

analyze8.9s (2%)

Memory
-279.2MiB live, 13 046.7MiB 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 793 to 574 computations (27.6% saved)

end0.0ms (0%)

Memory
0.5MiB live, 0.5MiB allocated

Profiling

Loading profile data...