Details

Time bar (total: 1.2s)

analyze3.0ms (0.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
75%75%25%0%0%0%0%4
85.7%75%12.5%0%12.5%0%0%5
92.3%75%6.2%0%18.7%0%0%6
96%75%3.1%0%21.9%0%0%7
98%75%1.6%0%23.4%0%0%8
99%75%0.8%0%24.2%0%0%9
99.5%75%0.4%0%24.6%0%0%10
99.7%75%0.2%0%24.8%0%0%11
99.9%75%0.1%0%24.9%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample703.0ms (60.4%)

Results
659.0ms8256×body256valid
1.0ms13×body256infinite
Bogosity

preprocess20.0ms (1.7%)

Algorithm
egg-herbie
Rules
250×fma-def
122×associate-*r*
114×associate-+r+
114×associate-+l+
88×distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
11819
24015
37715
414915
524115
631915
742015
873115
988615
1091615
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Outputs
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
(*.f64 x (+.f64 1 (*.f64 x -1/2)))
(*.f64 x (fma.f64 x -1/2 1))
(fma.f64 x (*.f64 x -1/2) x)
(fma.f64 -1/2 (*.f64 x x) x)
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify28.0ms (2.5%)

Algorithm
egg-herbie
Rules
250×fma-def
122×associate-*r*
114×associate-+r+
114×associate-+l+
88×distribute-lft-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0819
11819
24015
37715
414915
524115
631915
742015
873115
988615
1091615
Stop Event
saturated
Counts
1 → 5
Calls
Call 1
Inputs
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Outputs
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
(*.f64 x (+.f64 1 (*.f64 x -1/2)))
(*.f64 x (fma.f64 x -1/2 1))
(fma.f64 x (*.f64 x -1/2) x)
(fma.f64 -1/2 (*.f64 x x) x)

eval1.0ms (0.1%)

Compiler

Compiled 33 to 21 computations (36.4% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New325
Fresh011
Picked000
Done000
Total336
Error
0b
Counts
6 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0b
(fma.f64 x (*.f64 x -1/2) x)
0.0b
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Compiler

Compiled 15 to 10 computations (33.3% saved)

localize8.0ms (0.7%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Compiler

Compiled 19 to 14 computations (26.3% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
0.0ms
x
@0
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
0.0ms
x
@-inf
(*.f64 x (-.f64 1 (*.f64 x 1/2)))

rewrite53.0ms (4.5%)

Algorithm
batch-egg-rewrite
Rules
1646×add-sqr-sqrt
1624×*-un-lft-identity
1518×add-cube-cbrt
1502×add-cbrt-cube
160×pow1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
116719
2203719
Stop Event
node limit
Counts
1 → 19
Calls
Call 1
Inputs
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 x (*.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 (*.f64 x -1/2) x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 1 (*.f64 1/4 (*.f64 x x)))) (+.f64 1 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 1 (*.f64 1/8 (pow.f64 x 3)))) (+.f64 1 (+.f64 (*.f64 x 1/2) (*.f64 1/4 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 1/4 (*.f64 x x))) x) (+.f64 1 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (*.f64 1/8 (pow.f64 x 3))) x) (+.f64 1 (+.f64 (*.f64 x 1/2) (*.f64 1/4 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 1 (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 x) (log1p.f64 (*.f64 x -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 (log.f64 x) (log1p.f64 (*.f64 x -1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))))))))

simplify53.0ms (4.6%)

Algorithm
egg-herbie
Rules
1054×*-commutative
836×fma-def
796×associate-/l*
710×associate-*r*
688×associate-+r+
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
066607
1156587
2444551
32410531
44499531
Stop Event
node limit
Counts
31 → 35
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(+.f64 x (*.f64 x (*.f64 x -1/2)))
(+.f64 x (*.f64 (*.f64 x -1/2) x))
(-.f64 (exp.f64 (log1p.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))))) 1)
(/.f64 (*.f64 x (-.f64 1 (*.f64 1/4 (*.f64 x x)))) (+.f64 1 (*.f64 x 1/2)))
(/.f64 (*.f64 x (-.f64 1 (*.f64 1/8 (pow.f64 x 3)))) (+.f64 1 (+.f64 (*.f64 x 1/2) (*.f64 1/4 (*.f64 x x)))))
(/.f64 (*.f64 (-.f64 1 (*.f64 1/4 (*.f64 x x))) x) (+.f64 1 (*.f64 x 1/2)))
(/.f64 (*.f64 (-.f64 1 (*.f64 1/8 (pow.f64 x 3))) x) (+.f64 1 (+.f64 (*.f64 x 1/2) (*.f64 1/4 (*.f64 x x)))))
(pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 1)
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))) 2)
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))) 3)
(pow.f64 (pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 3) 1/3)
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 1 (*.f64 x -1/2))))
(log.f64 (+.f64 1 (expm1.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))))))
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 3))
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(exp.f64 (+.f64 (log.f64 x) (log1p.f64 (*.f64 x -1/2))))
(exp.f64 (*.f64 (+.f64 (log.f64 x) (log1p.f64 (*.f64 x -1/2))) 1))
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))))
Outputs
x
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(+.f64 x (*.f64 x (*.f64 x -1/2)))
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(+.f64 x (*.f64 (*.f64 x -1/2) x))
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(-.f64 (exp.f64 (log1p.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))))) 1)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(/.f64 (*.f64 x (-.f64 1 (*.f64 1/4 (*.f64 x x)))) (+.f64 1 (*.f64 x 1/2)))
(/.f64 (-.f64 1 (*.f64 1/4 (*.f64 x x))) (/.f64 (+.f64 1 (*.f64 x 1/2)) x))
(*.f64 (/.f64 x (fma.f64 x 1/2 1)) (+.f64 1 (*.f64 (*.f64 x x) -1/4)))
(/.f64 (+.f64 x (*.f64 (pow.f64 x 3) -1/4)) (fma.f64 x 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 3) -1/4 x) (fma.f64 x 1/2 1))
(/.f64 (*.f64 x (-.f64 1 (*.f64 1/8 (pow.f64 x 3)))) (+.f64 1 (+.f64 (*.f64 x 1/2) (*.f64 1/4 (*.f64 x x)))))
(/.f64 (*.f64 x (-.f64 1 (*.f64 1/8 (pow.f64 x 3)))) (+.f64 1 (fma.f64 x 1/2 (*.f64 1/4 (*.f64 x x)))))
(*.f64 (/.f64 x (+.f64 1 (*.f64 x (+.f64 (*.f64 x 1/4) 1/2)))) (+.f64 1 (*.f64 (pow.f64 x 3) -1/8)))
(/.f64 x (/.f64 (fma.f64 x (fma.f64 x 1/4 1/2) 1) (fma.f64 (pow.f64 x 3) -1/8 1)))
(/.f64 (fma.f64 -1/8 (pow.f64 x 4) x) (fma.f64 x (fma.f64 x 1/4 1/2) 1))
(/.f64 (*.f64 (-.f64 1 (*.f64 1/4 (*.f64 x x))) x) (+.f64 1 (*.f64 x 1/2)))
(/.f64 (-.f64 1 (*.f64 1/4 (*.f64 x x))) (/.f64 (+.f64 1 (*.f64 x 1/2)) x))
(*.f64 (/.f64 x (fma.f64 x 1/2 1)) (+.f64 1 (*.f64 (*.f64 x x) -1/4)))
(/.f64 (+.f64 x (*.f64 (pow.f64 x 3) -1/4)) (fma.f64 x 1/2 1))
(/.f64 (fma.f64 (pow.f64 x 3) -1/4 x) (fma.f64 x 1/2 1))
(/.f64 (*.f64 (-.f64 1 (*.f64 1/8 (pow.f64 x 3))) x) (+.f64 1 (+.f64 (*.f64 x 1/2) (*.f64 1/4 (*.f64 x x)))))
(/.f64 (*.f64 x (-.f64 1 (*.f64 1/8 (pow.f64 x 3)))) (+.f64 1 (fma.f64 x 1/2 (*.f64 1/4 (*.f64 x x)))))
(*.f64 (/.f64 x (+.f64 1 (*.f64 x (+.f64 (*.f64 x 1/4) 1/2)))) (+.f64 1 (*.f64 (pow.f64 x 3) -1/8)))
(/.f64 x (/.f64 (fma.f64 x (fma.f64 x 1/4 1/2) 1) (fma.f64 (pow.f64 x 3) -1/8 1)))
(/.f64 (fma.f64 -1/8 (pow.f64 x 4) x) (fma.f64 x (fma.f64 x 1/4 1/2) 1))
(pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 1)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(pow.f64 (sqrt.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))) 2)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(pow.f64 (cbrt.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))) 3)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(pow.f64 (pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 3) 1/3)
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(sqrt.f64 (pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 2))
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 1 (*.f64 x -1/2))))
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(log.f64 (+.f64 1 (expm1.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))))))
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(cbrt.f64 (pow.f64 (+.f64 x (*.f64 x (*.f64 x -1/2))) 3))
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(expm1.f64 (log1p.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))
(exp.f64 (+.f64 (log.f64 x) (log1p.f64 (*.f64 x -1/2))))
(*.f64 x (exp.f64 (log1p.f64 (*.f64 x -1/2))))
(exp.f64 (*.f64 (+.f64 (log.f64 x) (log1p.f64 (*.f64 x -1/2))) 1))
(exp.f64 (+.f64 (log.f64 x) (log1p.f64 (*.f64 x -1/2))))
(*.f64 x (exp.f64 (log1p.f64 (*.f64 x -1/2))))
(log1p.f64 (expm1.f64 (+.f64 x (*.f64 x (*.f64 x -1/2)))))
(fma.f64 -1/2 (*.f64 x x) x)
(*.f64 x (fma.f64 x -1/2 1))

localize5.0ms (0.4%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

eval39.0ms (3.3%)

Compiler

Compiled 377 to 262 computations (30.5% saved)

prune5.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New33235
Fresh000
Picked101
Done011
Total34337
Error
0b
Counts
37 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
38.8b
(*.f64 x (*.f64 x -1/2))
23.9b
x
Compiler

Compiled 16 to 11 computations (31.3% saved)

localize5.0ms (0.4%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
38.8b
(*.f64 x (*.f64 x -1/2))
23.9b
x
Compiler

Compiled 16 to 11 computations (31.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
38.8b
(*.f64 x (*.f64 x -1/2))
23.9b
x
Compiler

Compiled 16 to 11 computations (31.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
38.8b
(*.f64 x (*.f64 x -1/2))
23.9b
x
Compiler

Compiled 16 to 11 computations (31.3% saved)

regimes46.0ms (4%)

Counts
4 → 1
Calls
Call 1
Inputs
x
(*.f64 x (*.f64 x -1/2))
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
(fma.f64 x (*.f64 x -1/2) x)
Outputs
(fma.f64 x (*.f64 x -1/2) x)
Calls

2 calls:

41.0ms
x
4.0ms
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Results
ErrorSegmentsBranch
0b1x
0b1(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Compiler

Compiled 30 to 19 computations (36.7% saved)

regimes7.0ms (0.6%)

Counts
3 → 1
Calls
Call 1
Inputs
x
(*.f64 x (*.f64 x -1/2))
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Outputs
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Calls

2 calls:

3.0ms
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
3.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(*.f64 x (-.f64 1 (*.f64 x 1/2)))
Compiler

Compiled 24 to 16 computations (33.3% saved)

regimes9.0ms (0.8%)

Accuracy

Total -58.7b remaining (-2984.4%)

Threshold costs -58.7b (-2984.4%)

Counts
2 → 3
Calls
Call 1
Inputs
x
(*.f64 x (*.f64 x -1/2))
Outputs
(*.f64 x (*.f64 x -1/2))
x
(*.f64 x (*.f64 x -1/2))
Calls

1 calls:

9.0ms
x
Results
ErrorSegmentsBranch
2.0b3x
Compiler

Compiled 9 to 5 computations (44.4% saved)

bsearch26.0ms (2.2%)

Algorithm
binary-search
Steps
TimeLeftRight
13.0ms
1.6271596262415977
920758.9838565404
13.0ms
-232.0936633814322
-0.6609980307864933
Results
22.0ms272×body256valid
Compiler

Compiled 182 to 128 computations (29.7% saved)

simplify7.0ms (0.6%)

Algorithm
egg-herbie
Rules
18×*-commutative
10×+-commutative
distribute-lft-neg-in
neg-mul-1
cancel-sign-sub-inv
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02274
13974
25174
35974
46574
56774
66874
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(fma.f64 x (*.f64 x -1/2) x)
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
(if (<=.f64 x -2) (*.f64 x (*.f64 x -1/2)) (if (<=.f64 x 2) x (*.f64 x (*.f64 x -1/2))))
x
Outputs
(fma.f64 x (*.f64 x -1/2) x)
(*.f64 x (-.f64 1 (*.f64 x 1/2)))
(*.f64 x (+.f64 1 (*.f64 x -1/2)))
(if (<=.f64 x -2) (*.f64 x (*.f64 x -1/2)) (if (<=.f64 x 2) x (*.f64 x (*.f64 x -1/2))))
(if (or (<=.f64 x -2) (not (<=.f64 x 2))) (*.f64 x (*.f64 x -1/2)) x)
x
Compiler

Compiled 33 to 22 computations (33.3% saved)

soundness111.0ms (9.6%)

Algorithm
egg-herbie
Rules
250×fma-def
122×associate-*r*
114×associate-+r+
114×associate-+l+
88×distribute-lft-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0819
11819
24015
37715
414915
524115
631915
742015
873115
988615
1091615
Stop Event
saturated
Compiler

Compiled 64 to 42 computations (34.4% saved)

end26.0ms (2.2%)

Compiler

Compiled 30 to 19 computations (36.7% saved)

Profiling

Loading profile data...