Cancel like terms

Time bar (total: 1.5s)

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample700.0ms (48%)

Memory
38.8MiB live, 491.3MiB allocated
Samples
242.0ms3 806×1valid
120.0ms4 450×0valid
Precisions
Click to see histograms. Total time spent on operations: 213.0ms
ival-sub: 96.0ms (45.1% of total)
ival-add: 63.0ms (29.6% of total)
adjust: 40.0ms (18.8% of total)
exact: 6.0ms (2.8% of total)
ival-true: 5.0ms (2.3% of total)
ival-assert: 3.0ms (1.4% of total)
Bogosity

preprocess19.0ms (1.3%)

Memory
-21.3MiB live, 13.3MiB allocated
Algorithm
egg-herbie
Rules
42×sub-neg
32×+-lowering-+.f64
32×+-lowering-+.f32
22×--lowering--.f32
22×--lowering--.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0817
1253
2793
31113
41433
51613
61683
045
1111
2221
3251
4301
5371
6471
7651
8691
0691
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(- (+ 1 x) x)
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)
Call 2
Inputs
(- (+ 1 x) x)
(- (+ 1 (neg x)) (neg x))
(neg (- (+ 1 (neg x)) (neg x)))
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)
(- (+ 1 (neg x)) (neg x))
#s(literal 1 binary64)
(neg (- (+ 1 (neg x)) (neg x)))
#s(literal -1 binary64)
Symmetry

(abs x)

explain53.0ms (3.6%)

Memory
1.8MiB live, 63.2MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1245(39825890.528960824)0-(-.f64 (+.f64 #s(literal 1 binary64) x) x)
00-0-(+.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (+.f64 #s(literal 1 binary64) x) x)cancellation1291
Confusion
Predicted +Predicted -
+1240
-5127
Precision
0.9612403100775194
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+12400
-51126
Precision?
0.9538461538461539
Recall?
1.0
Freqs
test
numberfreq
0127
1129
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
14.0ms238×1valid
9.0ms274×0valid
Compiler

Compiled 36 to 20 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-add: 5.0ms (41.6% of total)
adjust: 3.0ms (25% of total)
ival-sub: 3.0ms (25% of total)
ival-assert: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.1%
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify4.0ms (0.3%)

Memory
4.3MiB live, 4.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 #s(literal 1 binary64) x)
cost-diff384
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Rules
32×+-lowering-+.f64
32×+-lowering-+.f32
22×--lowering--.f32
22×--lowering--.f64
20×sub-neg
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0414
1116
2226
3256
4306
5376
6476
7656
8696
0696
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(- (+ 1 x) x)
(+ 1 x)
1
x
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
1
#s(literal 1 binary64)
x

localize19.0ms (1.3%)

Memory
-5.5MiB live, 23.7MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(+.f64 #s(literal 1 binary64) x)
accuracy53.1%
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Samples
7.0ms119×1valid
7.0ms137×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-add: 2.0ms (37.4% of total)
ival-sub: 2.0ms (37.4% of total)
adjust: 1.0ms (18.7% of total)
ival-assert: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series1.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#<alt (- (+ 1 x) x)>
#<alt (+ 1 x)>
Outputs
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt (+ 1 x)>
#<alt (+ 1 x)>
#<alt (+ 1 x)>
#<alt x>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt x>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(+ 1 x)
0.0ms
x
@-inf
(+ 1 x)
0.0ms
x
@inf
(- (+ 1 x) x)
0.0ms
x
@0
(+ 1 x)
0.0ms
x
@0
(- (+ 1 x) x)

rewrite459.0ms (31.5%)

Memory
5.4MiB live, 289.3MiB allocated
Algorithm
batch-egg-rewrite
Rules
6 796×accelerator-lowering-fma.f32
6 796×accelerator-lowering-fma.f64
3 056×*-lowering-*.f32
3 056×*-lowering-*.f64
2 636×/-lowering-/.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048
1344
22984
338334
090364
Stop Event
iter limit
node limit
Counts
2 → 132
Calls
Call 1
Inputs
(- (+ 1 x) x)
(+ 1 x)
Outputs
#s(literal 1 binary64)
(+.f64 #s(literal 1 binary64) x)
(+.f64 #s(literal 1 binary64) (neg.f64 x))
(+.f64 x #s(literal 1 binary64))
(+.f64 (neg.f64 x) #s(literal 1 binary64))
(+.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(exp.f64 (log1p.f64 x))
(exp.f64 (*.f64 (neg.f64 (log1p.f64 x)) #s(literal -1 binary64)))
(exp.f64 (*.f64 (log1p.f64 x) #s(literal 1 binary64)))
(-.f64 #s(literal 1 binary64) x)
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (/.f64 (*.f64 x (*.f64 x x)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(-.f64 (/.f64 (*.f64 x x) (+.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))))
(fma.f64 #s(literal 1 binary64) x #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (neg.f64 x) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 x #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 x #s(literal -1 binary64) #s(literal 1 binary64))
(fma.f64 (+.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (neg.f64 x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 (neg.f64 x) (-.f64 (neg.f64 x) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
(fma.f64 (*.f64 (*.f64 x (*.f64 x x)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (*.f64 x (*.f64 x (fma.f64 x x x))))) #s(literal 1 binary64))
(fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))
(fma.f64 (*.f64 x (*.f64 x (-.f64 x (+.f64 #s(literal 1 binary64) x)))) (/.f64 #s(literal 1 binary64) (*.f64 x (-.f64 x (+.f64 #s(literal 1 binary64) x)))) #s(literal 1 binary64))
(fma.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal -1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) (fma.f64 x x #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64))) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) x) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) x))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x x #s(literal -1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(neg.f64 (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))))
(/.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (log1p.f64 x))))
(/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (neg.f64 x))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (neg.f64 x)))
(/.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(/.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) (*.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (*.f64 (+.f64 #s(literal 1 binary64) x) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (*.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (+.f64 x #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 (+.f64 #s(literal 1 binary64) x) (fma.f64 x x #s(literal 1 binary64))))
(/.f64 (-.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x (fma.f64 x x x))) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) (*.f64 (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) (*.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) (*.f64 (fma.f64 x x #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64))) (+.f64 x #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) #s(literal 1 binary64)) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (+.f64 x #s(literal -1 binary64)))
(/.f64 (neg.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) (neg.f64 (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (+.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))) (/.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))) (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))) (fma.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)) (*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))))
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))) (*.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)))) (+.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(/.f64 (*.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))) (fma.f64 x (*.f64 x x) #s(literal 1 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(/.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x x)))) (exp.f64 (log1p.f64 (fma.f64 x x x))))
(/.f64 (exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (exp.f64 (log.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)))) (exp.f64 (log.f64 (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))))
(/.f64 (exp.f64 (log.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)))) (exp.f64 (log.f64 (neg.f64 (+.f64 #s(literal 1 binary64) x)))))
(/.f64 (exp.f64 (log.f64 (fma.f64 x x #s(literal -1 binary64)))) (exp.f64 (log.f64 (+.f64 x #s(literal -1 binary64)))))
(pow.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64))
(pow.f64 (/.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #s(literal -1 binary64))
(pow.f64 (/.f64 (+.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))
(*.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(*.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(*.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))))
(*.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) x))))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (pow.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (fma.f64 x (*.f64 x x) #s(literal 1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (pow.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal -1 binary64)))
(*.f64 (fma.f64 x x #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))))
(*.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(*.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x x #s(literal -1 binary64))) (+.f64 x #s(literal -1 binary64)))
(*.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (fma.f64 (fma.f64 x x x) (*.f64 (fma.f64 x x x) (fma.f64 x x x)) #s(literal 1 binary64))) (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x x x) (fma.f64 x x x)))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64))))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64))))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))))
(*.f64 (pow.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal 1 binary64)) (pow.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) x))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x))
(*.f64 (pow.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (fma.f64 (fma.f64 x x x) (*.f64 (fma.f64 x x x) (fma.f64 x x x)) #s(literal 1 binary64))) #s(literal 1 binary64)) (pow.f64 (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) #s(literal 1 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x x x) (fma.f64 x x x)))) #s(literal 1 binary64)) (pow.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal 1 binary64)) (pow.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) #s(literal 1 binary64)))
(*.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x x)))) (exp.f64 (neg.f64 (log1p.f64 (fma.f64 x x x)))))
(*.f64 (exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))) (exp.f64 (neg.f64 (log1p.f64 x))))

simplify6.0ms (0.4%)

Memory
5.3MiB live, 5.3MiB allocated
Algorithm
egg-herbie
Rules
20×*-lowering-*.f32
20×*-lowering-*.f64
+-lowering-+.f64
+-lowering-+.f32
distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0642
11742
21842
32742
43342
53342
03342
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
1
1
1
1
1
1
1
1
1
1
1
1
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)

eval18.0ms (1.2%)

Memory
-0.5MiB live, 30.0MiB allocated
Compiler

Compiled 2 614 to 436 computations (83.3% saved)

prune15.0ms (1%)

Memory
2.2MiB live, 33.6MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1551156
Fresh000
Picked101
Done000
Total1561157
Accuracy
100.0%
Counts
157 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 1 binary64)
Compiler

Compiled 2 to 2 computations (0% saved)

simplify3.0ms (0.2%)

Memory
4.1MiB live, 4.1MiB allocated
Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
131
031
Stop Event
saturated
saturated
Calls
Call 1
Inputs
1
Outputs
1
#s(literal 1 binary64)

localize6.0ms (0.4%)

Memory
10.4MiB live, 10.4MiB allocated
Samples
3.0ms256×0valid
Compiler

Compiled 3 to 4 computations (-33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

rewrite7.0ms (0.5%)

Memory
-22.5MiB live, 8.8MiB allocated
Algorithm
batch-egg-rewrite
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

simplify2.0ms (0.2%)

Memory
2.8MiB live, 2.8MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

eval0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Memory
1.8MiB live, 1.8MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 1 binary64)
Compiler

Compiled 9 to 6 computations (33.3% saved)

regimes3.0ms (0.2%)

Memory
5.7MiB live, 5.7MiB allocated
Accuracy

Total -30.0b remaining (-∞%)

Threshold costs -30b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(literal 1 binary64)
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Outputs
#s(literal 1 binary64)
Calls

2 calls:

1.0ms
x
1.0ms
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Compiler

Compiled 8 to 5 computations (37.5% saved)

simplify6.0ms (0.4%)

Memory
9.7MiB live, 9.7MiB allocated
Algorithm
egg-herbie
Rules
1-exp_binary64
1-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
141
Stop Event
saturated
Calls
Call 1
Inputs
#s(literal 1 binary64)
Outputs
#s(literal 1 binary64)

soundness120.0ms (8.3%)

Memory
-20.5MiB live, 74.4MiB allocated
Rules
6 796×accelerator-lowering-fma.f32
6 796×accelerator-lowering-fma.f64
3 056×*-lowering-*.f32
3 056×*-lowering-*.f64
2 636×/-lowering-/.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048
1344
22984
338334
090364
Stop Event
done
iter limit
node limit
Compiler

Compiled 4 to 4 computations (0% saved)

preprocess16.0ms (1.1%)

Memory
3.5MiB live, 34.5MiB allocated
Remove

(abs x)

Compiler

Compiled 20 to 16 computations (20% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...