Details

Time bar (total: 2.2s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample964.0ms (44.5%)

Results
946.0ms8256×body256valid
1.0msbody256invalid

preprocess99.0ms (4.6%)

Algorithm
egg-herbie
Rules
597×unsub-neg_binary64
579×distribute-rgt-out--_binary64
492×fma-neg_binary64
445×distribute-neg-in_binary64
411×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1139
2209
3319
4489
5769
61239
73189
86579
914219
1027459
1141279
1250429
1353549
1456579
1557539
1658319
1760999
1870459
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify90.0ms (4.2%)

Algorithm
egg-herbie
Rules
597×unsub-neg_binary64
579×distribute-rgt-out--_binary64
492×fma-neg_binary64
445×distribute-neg-in_binary64
411×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1139
2209
3319
4489
5769
61239
73189
86579
914219
1027459
1141279
1250429
1353549
1456579
1557539
1658319
1760999
1870459
Stop Event
node limit
Counts
1 → 1
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 7 to 5 computations (28.6% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 17 to 8 computations (52.9% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(sqrt.f64 (-.f64 1 (*.f64 x x)))
1.0ms
x
@0
(sqrt.f64 (-.f64 1 (*.f64 x x)))
1.0ms
x
@-inf
(sqrt.f64 (-.f64 1 (*.f64 x x)))

rewrite44.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
580×pow1_binary64
544×add-log-exp_binary64
543×log1p-expm1-u_binary64
543×expm1-log1p-u_binary64
531×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
11269
215439
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) (cbrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) (pow.f64 (-.f64 1 (*.f64 x x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 2) 1/2) (pow.f64 (cbrt.f64 (-.f64 1 (*.f64 x x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 4))) (sqrt.f64 (+.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 1 (pow.f64 x 6))) (sqrt.f64 (+.f64 1 (+.f64 (*.f64 x x) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (-.f64 1 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (*.f64 x x)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (*.f64 x (neg.f64 x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (-.f64 1 (*.f64 x x)))))))))

simplify41.0ms (1.9%)

Algorithm
egg-herbie
Rules
689×associate-*l*_binary64
643×fma-def_binary64
591×distribute-neg-frac_binary64
543×associate-*r*_binary64
276×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
051276
1151256
2450244
31605238
46475238
Stop Event
node limit
Counts
34 → 45
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(*.f64 (sqrt.f64 -1) x)
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (*.f64 -1/8 (pow.f64 x 4)))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/16 (pow.f64 x 6) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 (fma.f64 -1/2 (*.f64 x x) 1) (fma.f64 -1/8 (pow.f64 x 4) (*.f64 -1/16 (pow.f64 x 6))))
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) (fma.f64 -1/16 (pow.f64 x 6) 1)))
(*.f64 (sqrt.f64 -1) x)
(*.f64 x (sqrt.f64 -1))
(+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))
(+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x))
(fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)))
(fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x)) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(-.f64 (+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))))
(+.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x)) (/.f64 -1/8 (*.f64 (neg.f64 (sqrt.f64 -1)) (pow.f64 x 3))))
(+.f64 (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/8 (sqrt.f64 -1)) (pow.f64 x 3))))
(+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/8 (pow.f64 x 3)) (sqrt.f64 -1))))
(-.f64 (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (+.f64 (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))) (*.f64 (sqrt.f64 -1) x))) (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))) (-.f64 (+.f64 (*.f64 x (sqrt.f64 -1)) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))) (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))))
(+.f64 (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))) (+.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x)) (/.f64 -1/8 (*.f64 (neg.f64 (sqrt.f64 -1)) (pow.f64 x 3)))))
(+.f64 (/.f64 (/.f64 1/2 x) (sqrt.f64 -1)) (-.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3)))))
(-.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 (/.f64 -1 (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/8 (*.f64 x x)) 1/2)))
(+.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 (/.f64 1 (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/8 (*.f64 x x)) 1/2)))
(*.f64 -1 (*.f64 (sqrt.f64 -1) x))
(neg.f64 (*.f64 x (sqrt.f64 -1)))
(*.f64 (sqrt.f64 -1) (neg.f64 x))
(*.f64 x (neg.f64 (sqrt.f64 -1)))
(-.f64 (*.f64 -1 (*.f64 (sqrt.f64 -1) x)) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1))))
(neg.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x)))
(-.f64 (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))) (*.f64 x (sqrt.f64 -1)))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x))))
(+.f64 (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))) (-.f64 (neg.f64 (*.f64 x (sqrt.f64 -1))) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))))
(fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (neg.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x))))
(-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 x) (sqrt.f64 -1))))
(-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/2 (*.f64 x (sqrt.f64 -1)))))
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3)))) (*.f64 -1 (*.f64 (sqrt.f64 -1) x))) (+.f64 (*.f64 1/16 (/.f64 1 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))) (*.f64 1/2 (/.f64 1 (*.f64 (sqrt.f64 -1) x)))))
(-.f64 (+.f64 (/.f64 1/8 (*.f64 (pow.f64 (sqrt.f64 -1) 3) (pow.f64 x 3))) (neg.f64 (*.f64 x (sqrt.f64 -1)))) (+.f64 (/.f64 1/2 (*.f64 x (sqrt.f64 -1))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))))
(fma.f64 1/8 (/.f64 (/.f64 -1 (sqrt.f64 -1)) (pow.f64 x 3)) (-.f64 (neg.f64 (fma.f64 x (sqrt.f64 -1) (/.f64 (/.f64 1/2 (sqrt.f64 -1)) x))) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))))
(+.f64 (/.f64 -1/2 (*.f64 x (sqrt.f64 -1))) (-.f64 (/.f64 -1/8 (*.f64 (sqrt.f64 -1) (pow.f64 x 3))) (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5))))))
(-.f64 (*.f64 (/.f64 -1 (*.f64 x (sqrt.f64 -1))) (+.f64 (/.f64 1/8 (*.f64 x x)) 1/2)) (fma.f64 x (sqrt.f64 -1) (/.f64 1/16 (*.f64 (pow.f64 (sqrt.f64 -1) 5) (pow.f64 x 5)))))

eval14.0ms (0.7%)

Compiler

Compiled 606 to 462 computations (23.8% saved)

prune6.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New43245
Fresh000
Picked011
Done000
Total43346
Error
0b
Counts
46 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.9b
1
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.7b
(fma.f64 -1/2 (*.f64 x x) 1)
Compiler

Compiled 16 to 12 computations (25% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 13 to 7 computations (46.2% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite36.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
455×pow1_binary64
443×add-sqr-sqrt_binary64
434×*-un-lft-identity_binary64
422×add-log-exp_binary64
421×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11148
211838
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(fma.f64 -1/2 (*.f64 x x) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 -1/2 (*.f64 x x) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/2 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 -1/2 (*.f64 x x)) 3) 1) (+.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) (*.f64 -1/2 (*.f64 x x))) (-.f64 1 (*.f64 (*.f64 -1/2 (*.f64 x x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) (*.f64 -1/2 (*.f64 x x))) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))))

simplify137.0ms (6.3%)

Algorithm
egg-herbie
Rules
1106×sqr-pow_binary64
618×cube-prod_binary64
554×fabs-mul_binary64
536×pow-sqr_binary64
446×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
08105
11687
22787
35187
411487
534587
6125487
7215387
8231787
9250187
10270987
11300487
12339787
13387787
14443887
15512087
16595387
17634787
18663587
19691387
20698787
21702387
22796487
Stop Event
node limit
Counts
33 → 26
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)

eval6.0ms (0.3%)

Compiler

Compiled 260 to 167 computations (35.8% saved)

prune7.0ms (0.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh011
Picked101
Done011
Total25429
Error
0b
Counts
29 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.9b
1
0.7b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.7b
(/.f64 (-.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) (*.f64 -1/2 (*.f64 x x))) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))
Compiler

Compiled 39 to 27 computations (30.8% saved)

localize19.0ms (0.9%)

Local error

Found 6 expressions with local error:

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

Compiled 64 to 34 computations (46.9% saved)

series4.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

rewrite71.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
569×log-prod_binary64
366×fma-def_binary64
361×pow-prod-down_binary64
348×fma-neg_binary64
263×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01040
123122
2326822
Stop Event
node limit
Counts
3 → 156
Calls
Call 1
Inputs
(*.f64 (*.f64 -1/2 (*.f64 x x)) (*.f64 -1/2 (*.f64 x x)))
(/.f64 (-.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) (*.f64 -1/2 (*.f64 x x))) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))
(*.f64 -1/2 (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/4) (pow.f64 x 4))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/4) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/4) (pow.f64 x 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/4) (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 1/4 (pow.f64 x 4) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/2 (*.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/4 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/16 (pow.f64 x 8)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/2)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/8 (pow.f64 x 6)) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/64 (pow.f64 x 12)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/16 (pow.f64 x 8)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/4) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/64 (pow.f64 x 12)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/4 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/4 (pow.f64 x 4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/4 (pow.f64 x 4) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/4 (pow.f64 x 4) 1) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) 1)) 2) (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) 1)) (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/4 (pow.f64 x 4))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 -1/2 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (fma.f64 -1/2 (*.f64 x x) -1)) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/2 (*.f64 x x) 1))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/2 (*.f64 x x) 1)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 -1/2 (*.f64 x x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (fma.f64 -1/2 (*.f64 x x) -1)) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1/2 (*.f64 x x) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/2 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/4 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 2) (*.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (*.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (/.f64 1 (neg.f64 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1)) (fma.f64 1/4 (pow.f64 x 4) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 2) 1) (/.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (fma.f64 -1/2 (*.f64 x x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 1) (/.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (fma.f64 -1/2 (*.f64 x x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1)) -2) (/.f64 (fma.f64 1/4 (pow.f64 x 4) -1) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 2) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (/.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 -1/2 (*.f64 x x) 1) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) -1/2) (/.f64 (fma.f64 1/4 (pow.f64 x 4) -1) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 2) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (/.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 -1/2 (*.f64 x x) 1) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 1/4 (pow.f64 x 4) -1) (fma.f64 -1/8 (pow.f64 x 6) -1)) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (fma.f64 1/4 (pow.f64 x 4) -1) 3) (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) 1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fma.f64 1/4 (pow.f64 x 4) -1) (neg.f64 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/2 (*.f64 x x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fma.f64 1/4 (pow.f64 x 4) -1) 3) (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (*.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (/.f64 (*.f64 (pow.f64 x 4) -1/2) (fma.f64 -1/2 (*.f64 x x) -1)) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 -1/2 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/2 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 (*.f64 x x)) 1 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/4 (pow.f64 x 4)) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1)) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (fma.f64 -1/2 (*.f64 x x) -1)) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/4 (/.f64 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) -1)) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (*.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 x) x) (*.f64 (pow.f64 (cbrt.f64 x) 2) -1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 (*.f64 x (sqrt.f64 -1/2)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 -1/2) (sqrt.f64 (*.f64 (pow.f64 x 4) -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 x) x 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (fma.f64 -1/2 (*.f64 x x) -1))) 2) (cbrt.f64 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (fma.f64 -1/2 (*.f64 x x) -1))) (sqrt.f64 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (*.f64 x x) 1/4)) x 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cbrt.f64 (*.f64 1/16 (pow.f64 x 8)))) (sqrt.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1)) -2) (/.f64 (*.f64 1/4 (pow.f64 x 4)) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) -1/2) (/.f64 (*.f64 1/4 (pow.f64 x 4)) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 -1/2 (*.f64 x x)) 1) (/.f64 (*.f64 -1/2 (*.f64 x x)) (fma.f64 -1/2 (*.f64 x x) -1)) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (*.f64 1/16 (pow.f64 x 8))) 1) (/.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (fma.f64 -1/2 (*.f64 x x) -1)) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 (*.f64 x x) 1/4) 1) (/.f64 (*.f64 x x) (fma.f64 -1/2 (*.f64 x x) -1)) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 -1/2 (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (/.f64 (*.f64 (pow.f64 x 4) -1/2) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 -1/2 (*.f64 x x)) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (/.f64 (*.f64 -1/2 (*.f64 x x)) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1/4 (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (/.f64 (pow.f64 x 4) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (*.f64 1/16 (pow.f64 x 8))) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (/.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 (*.f64 x x) 1/4) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (/.f64 (*.f64 x x) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 -1/2 (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (/.f64 (*.f64 (pow.f64 x 4) -1/2) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 -1/2 (*.f64 x x)) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (/.f64 (*.f64 -1/2 (*.f64 x x)) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1/4 (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (/.f64 (pow.f64 x 4) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (cbrt.f64 (*.f64 1/16 (pow.f64 x 8))) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (/.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 (*.f64 x x) 1/4) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (/.f64 (*.f64 x x) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (fma.f64 1/4 (pow.f64 x 4) -1)) (fma.f64 -1/2 (*.f64 x x) 1) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (*.f64 1/4 (pow.f64 x 4)) (fma.f64 -1/8 (pow.f64 x 6) -1)) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) 1)) (neg.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/2 x) 1) x 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/2 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 -1/2 x) (sqrt.f64 x)) (sqrt.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/4 (pow.f64 x 4)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/8 (pow.f64 x 6)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/64 (pow.f64 x 12)) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 -1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 -1/8 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 2 (log.f64 x) (log.f64 -1/2)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/2 (*.f64 x x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/4 (pow.f64 x 4) -1) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 2) (*.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (*.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (/.f64 1 (neg.f64 (fma.f64 -1/2 (*.f64 x x) -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (fma.f64 -1/2 (*.f64 x x) -1)) (fma.f64 1/4 (pow.f64 x 4) -1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 2) 1) (/.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (fma.f64 -1/2 (*.f64 x x) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 1) (/.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (fma.f64 -1/2 (*.f64 x x) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1)) -2) (/.f64 (fma.f64 1/4 (pow.f64 x 4) -1) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 2) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (/.f64 (sqrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (fma.f64 -1/2 (*.f64 x x) 1) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2))) (cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) -1) -1/2) (/.f64 (fma.f64 1/4 (pow.f64 x 4) -1) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) 2) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (/.f64 (cbrt.f64 (fma.f64 1/4 (pow.f64 x 4) -1)) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (fma.f64 -1/2 (*.f64 x x) 1) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1))) (sqrt.f64 (fma.f64 -1/2 (*.f64 x x) -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (fma.f64 1/4 (pow.f64 x 4) -1) (fma.f64 -1/8 (pow.f64 x 6) -1)) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 -1/2 (*.f64 x x) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/2 (*.f64 x x))))))))

simplify162.0ms (7.5%)

Algorithm
egg-herbie
Rules
1369×sqr-pow_binary64
697×pow-sqr_binary64
577×cube-prod_binary64
404×fabs-mul_binary64
381×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
012273
123255
243255
397255
4287255
51107255
61851255
71975255
82144255
92343255
102614255
112973255
123422255
133946255
144572255
155323255
165635255
175861255
186059255
196115255
206139255
216973255
227886255
Stop Event
node limit
Counts
192 → 162
Calls
Call 1
Inputs
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (pow.f64 x 2))
Outputs
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
(*.f64 1/4 (pow.f64 x 4))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x -1/2) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(*.f64 x (*.f64 x -1/2))

localize7.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

Compiled 19 to 10 computations (47.4% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite44.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
671×pow1_binary64
628×add-log-exp_binary64
627×log1p-expm1-u_binary64
627×expm1-log1p-u_binary64
616×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0710
11458
217538
Stop Event
node limit
Counts
1 → 33
Calls
Call 1
Inputs
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 -1/2 (*.f64 x x) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))) (/.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/2 (*.f64 x x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 2) (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (/.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))) (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3))) (+.f64 (*.f64 1/4 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4))) (+.f64 1 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (*.f64 -1/8 (pow.f64 (*.f64 x x) 3)))) (neg.f64 (+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (*.f64 1/4 (pow.f64 x 4)))) (neg.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/2 (*.f64 x x) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (*.f64 x (sqrt.f64 -1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/2 (*.f64 x x) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 -1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (*.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -1/2 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/4 (pow.f64 x 4))) (cbrt.f64 (*.f64 -1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -1/2)) (*.f64 x (sqrt.f64 -1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/2 x) x 1)))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/2 (*.f64 x x) 1)))))))

simplify138.0ms (6.4%)

Algorithm
egg-herbie
Rules
1106×sqr-pow_binary64
618×cube-prod_binary64
554×fabs-mul_binary64
536×pow-sqr_binary64
446×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
08105
11687
22787
35187
411487
534587
6125487
7215387
8231787
9250187
10270987
11300487
12339787
13387787
14443887
15512087
16595387
17634787
18663587
19691387
20698787
21702387
22796487
Stop Event
node limit
Counts
45 → 38
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(*.f64 -1/2 (pow.f64 x 2))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(*.f64 -1/2 (pow.f64 x 2))
(*.f64 -1/2 (*.f64 x x))
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(fma.f64 -1/2 (*.f64 x x) 1)
(fma.f64 x (*.f64 -1/2 x) 1)

eval157.0ms (7.3%)

Compiler

Compiled 7149 to 4980 computations (30.3% saved)

prune40.0ms (1.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3221323
Fresh101
Picked011
Done022
Total3234327
Error
0b
Counts
327 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.9b
1
0.7b
(/.f64 (-.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) (*.f64 -1/2 (*.f64 x x))) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))
Compiler

Compiled 39 to 27 computations (30.8% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.9b
1
0.7b
(/.f64 (-.f64 (*.f64 (*.f64 -1/2 (*.f64 x x)) (*.f64 -1/2 (*.f64 x x))) 1) (-.f64 (*.f64 -1/2 (*.f64 x x)) 1))
Compiler

Compiled 39 to 27 computations (30.8% saved)

regimes14.0ms (0.7%)

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

4 calls:

5.0ms
x
2.0ms
(*.f64 x x)
2.0ms
(-.f64 1 (*.f64 x x))
2.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(*.f64 x x)
Compiler

Compiled 62 to 38 computations (38.7% saved)

regimes8.0ms (0.4%)

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

2 calls:

4.0ms
x
2.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
0.7b1x
0.7b1(*.f64 x x)
Compiler

Compiled 43 to 26 computations (39.5% saved)

regimes5.0ms (0.2%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
2 → 1
Calls
Call 1
Inputs
1
1
Outputs
1
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
0.9b1x
Compiler

Compiled 5 to 4 computations (20% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
11820
22520
32920
43120
Stop Event
saturated
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
1
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(+.f64 1 (*.f64 -1/2 (*.f64 x x)))
(+.f64 1 (*.f64 (*.f64 x x) -1/2))
1

end24.0ms (1.1%)

Stop Event
fuel
Compiler

Compiled 32 to 23 computations (28.1% saved)

Profiling

Loading profile data...