Details

Time bar (total: 1.6s)

analyze6.0ms (0.4%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.6%0.4%0%0%0%0
0%0%99.6%0.4%0%0%0%1
0%0%99.6%0.4%0%0%0%2
0%0%49.8%0.4%0%49.8%0%3
50%24.9%24.9%0.4%0%49.8%0%4
75%37.4%12.5%0.4%0%49.8%0%5
87.5%43.6%6.2%0.4%0%49.8%0%6
93.8%46.7%3.1%0.4%0%49.8%0%7
96.9%48.2%1.6%0.4%0%49.8%0%8
98.4%49%0.8%0.4%0%49.8%0%9
99.2%49.4%0.4%0.4%0%49.8%0%10
99.6%49.4%0.2%0.4%0%50%0%11
99.8%49.5%0.1%0.4%0%50%0%12
Compiler

Compiled 4 to 3 computations (25% saved)

sample867.0ms (54.7%)

Results
857.0ms8256×body256valid
Bogosity

preprocess7.0ms (0.4%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
045
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(atanh.f32 x)
Outputs
(atanh.f32 x)
Compiler

Compiled 12 to 10 computations (16.7% saved)

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Rules
30×rational.json-simplify-2
22×rational.json-simplify-9
20×rational.json-simplify-31
18×rational.json-simplify-27
12×rational.json-simplify-41
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01229
11829
22829
33829
44829
55829
67029
77929
88729
98929
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
Outputs
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))

eval0.0ms (0%)

Compiler

Compiled 11 to 9 computations (18.2% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 11 to 9 computations (18.2% saved)

localize35.0ms (2.2%)

Local error

Found 2 expressions with local error:

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

Compiled 36 to 27 computations (25% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite9.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
54×rational.json-simplify-2
44×bool.json-1
34×rational.json-1
34×rational.json-2
30×rational.json-simplify-27
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01042
14842
29142
312542
415642
517142
617642
719042
819642
Stop Event
saturated
Counts
2 → 13
Calls
Call 1
Inputs
(/.f32 (*.f32 2 x) (-.f32 1 x))
(log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f32 0 (/.f32 (*.f32 2 x) (-.f32 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f32 0 (/.f32 (*.f32 2 x) (+.f32 -1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (/.f32 (*.f32 2 x) (-.f32 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 -1 (/.f32 (*.f32 2 x) (+.f32 -1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (/.f32 (*.f32 2 x) (+.f32 -1 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f32 (/.f32 (*.f32 2 x) (+.f32 -1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x or (/.f32 (*.f32 2 x) (-.f32 1 x)) (/.f32 (*.f32 2 x) (-.f32 1 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f32 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f32 0 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x or (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))) (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))))))

simplify54.0ms (3.4%)

Algorithm
egg-herbie
Rules
422×rational.json-simplify-1
366×rational.json-simplify-2
362×rational.json-simplify-27
356×rational.json-simplify-31
280×rational.json-simplify-33
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0801111
11471111
22451111
33961111
46111111
58861111
612621111
715991111
817641111
918951111
1019451111
1119521111
Stop Event
saturated
Counts
37 → 59
Calls
Call 1
Inputs
(*.f32 2 x)
(+.f32 (*.f32 2 (pow.f32 x 2)) (*.f32 2 x))
(+.f32 (*.f32 2 (pow.f32 x 2)) (+.f32 (*.f32 2 (pow.f32 x 3)) (*.f32 2 x)))
(+.f32 (*.f32 2 (pow.f32 x 2)) (+.f32 (*.f32 2 (pow.f32 x 3)) (+.f32 (*.f32 2 x) (*.f32 2 (pow.f32 x 4)))))
-2
(neg.f32 (+.f32 2 (*.f32 2 (/.f32 1 x))))
(neg.f32 (+.f32 2 (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2 (/.f32 1 (pow.f32 x 2))))))
(neg.f32 (+.f32 2 (+.f32 (*.f32 2 (/.f32 1 x)) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))))
-2
(neg.f32 (+.f32 2 (*.f32 2 (/.f32 1 x))))
(neg.f32 (+.f32 2 (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2 (/.f32 1 (pow.f32 x 2))))))
(neg.f32 (+.f32 2 (+.f32 (*.f32 2 (/.f32 1 x)) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))))
(*.f32 2 x)
(+.f32 (*.f32 2 x) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2/7 (pow.f32 x 7)) (+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))))
(log.f32 -1)
(+.f32 (log.f32 -1) (*.f32 2 (/.f32 1 x)))
(+.f32 (*.f32 2/3 (/.f32 1 (pow.f32 x 3))) (+.f32 (log.f32 -1) (*.f32 2 (/.f32 1 x))))
(+.f32 (*.f32 2/3 (/.f32 1 (pow.f32 x 3))) (+.f32 (log.f32 -1) (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(log.f32 -1)
(+.f32 (log.f32 -1) (*.f32 2 (/.f32 1 x)))
(+.f32 (*.f32 2/3 (/.f32 1 (pow.f32 x 3))) (+.f32 (log.f32 -1) (*.f32 2 (/.f32 1 x))))
(+.f32 (*.f32 2/3 (/.f32 1 (pow.f32 x 3))) (+.f32 (log.f32 -1) (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(+.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)) 0)
(+.f32 0 (/.f32 (*.f32 2 x) (-.f32 1 x)))
(-.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)) 0)
(-.f32 0 (/.f32 (*.f32 2 x) (+.f32 -1 x)))
(*.f32 1 (/.f32 (*.f32 2 x) (-.f32 1 x)))
(*.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)) 1)
(*.f32 -1 (/.f32 (*.f32 2 x) (+.f32 -1 x)))
(*.f32 (/.f32 (*.f32 2 x) (+.f32 -1 x)) -1)
(neg.f32 (/.f32 (*.f32 2 x) (+.f32 -1 x)))
(+.f32 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))) 0)
(+.f32 0 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
(*.f32 1 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
(*.f32 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))) 1)
Outputs
(*.f32 2 x)
(+.f32 (*.f32 2 (pow.f32 x 2)) (*.f32 2 x))
(+.f32 (*.f32 2 x) (*.f32 2 (pow.f32 x 2)))
(+.f32 (*.f32 2 (pow.f32 x 2)) (+.f32 (*.f32 2 (pow.f32 x 3)) (*.f32 2 x)))
(+.f32 (*.f32 2 (pow.f32 x 2)) (+.f32 (*.f32 2 x) (*.f32 2 (pow.f32 x 3))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2 (pow.f32 x 2)) (*.f32 2 (pow.f32 x 3))))
(+.f32 (*.f32 2 (pow.f32 x 2)) (+.f32 (*.f32 2 (pow.f32 x 3)) (+.f32 (*.f32 2 x) (*.f32 2 (pow.f32 x 4)))))
(+.f32 (*.f32 2 (pow.f32 x 2)) (+.f32 (*.f32 2 x) (+.f32 (*.f32 2 (pow.f32 x 3)) (*.f32 2 (pow.f32 x 4)))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2 (pow.f32 x 2)) (+.f32 (*.f32 2 (pow.f32 x 3)) (*.f32 2 (pow.f32 x 4)))))
-2
(neg.f32 (+.f32 2 (*.f32 2 (/.f32 1 x))))
(-.f32 -2 (*.f32 2 (/.f32 1 x)))
(+.f32 -2 (*.f32 (/.f32 1 x) -2))
(neg.f32 (+.f32 2 (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2 (/.f32 1 (pow.f32 x 2))))))
(-.f32 -2 (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2 (/.f32 1 (pow.f32 x 2)))))
(-.f32 (-.f32 -2 (*.f32 2 (/.f32 1 x))) (*.f32 2 (/.f32 1 (pow.f32 x 2))))
(+.f32 -2 (-.f32 (*.f32 (/.f32 1 x) -2) (*.f32 2 (/.f32 1 (pow.f32 x 2)))))
(+.f32 (+.f32 -2 (*.f32 (/.f32 1 x) -2)) (*.f32 (/.f32 1 (pow.f32 x 2)) -2))
(neg.f32 (+.f32 2 (+.f32 (*.f32 2 (/.f32 1 x)) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))))
(-.f32 -2 (+.f32 (*.f32 2 (/.f32 1 x)) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3))))))
(-.f32 (-.f32 -2 (*.f32 2 (/.f32 1 x))) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))
(-.f32 (-.f32 (-.f32 -2 (*.f32 2 (/.f32 1 x))) (*.f32 2 (/.f32 1 (pow.f32 x 2)))) (*.f32 2 (/.f32 1 (pow.f32 x 3))))
(+.f32 -2 (-.f32 (-.f32 (*.f32 (/.f32 1 x) -2) (*.f32 2 (/.f32 1 (pow.f32 x 2)))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))
(+.f32 (+.f32 (+.f32 -2 (*.f32 (/.f32 1 x) -2)) (*.f32 (/.f32 1 (pow.f32 x 2)) -2)) (*.f32 (/.f32 1 (pow.f32 x 3)) -2))
(-.f32 (+.f32 -2 (*.f32 (/.f32 1 x) -2)) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))
-2
(neg.f32 (+.f32 2 (*.f32 2 (/.f32 1 x))))
(-.f32 -2 (*.f32 2 (/.f32 1 x)))
(+.f32 -2 (*.f32 (/.f32 1 x) -2))
(neg.f32 (+.f32 2 (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2 (/.f32 1 (pow.f32 x 2))))))
(-.f32 -2 (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2 (/.f32 1 (pow.f32 x 2)))))
(-.f32 (-.f32 -2 (*.f32 2 (/.f32 1 x))) (*.f32 2 (/.f32 1 (pow.f32 x 2))))
(+.f32 -2 (-.f32 (*.f32 (/.f32 1 x) -2) (*.f32 2 (/.f32 1 (pow.f32 x 2)))))
(+.f32 (+.f32 -2 (*.f32 (/.f32 1 x) -2)) (*.f32 (/.f32 1 (pow.f32 x 2)) -2))
(neg.f32 (+.f32 2 (+.f32 (*.f32 2 (/.f32 1 x)) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))))
(-.f32 -2 (+.f32 (*.f32 2 (/.f32 1 x)) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3))))))
(-.f32 (-.f32 -2 (*.f32 2 (/.f32 1 x))) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))
(-.f32 (-.f32 (-.f32 -2 (*.f32 2 (/.f32 1 x))) (*.f32 2 (/.f32 1 (pow.f32 x 2)))) (*.f32 2 (/.f32 1 (pow.f32 x 3))))
(+.f32 -2 (-.f32 (-.f32 (*.f32 (/.f32 1 x) -2) (*.f32 2 (/.f32 1 (pow.f32 x 2)))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))
(+.f32 (+.f32 (+.f32 -2 (*.f32 (/.f32 1 x) -2)) (*.f32 (/.f32 1 (pow.f32 x 2)) -2)) (*.f32 (/.f32 1 (pow.f32 x 3)) -2))
(-.f32 (+.f32 -2 (*.f32 (/.f32 1 x) -2)) (+.f32 (*.f32 2 (/.f32 1 (pow.f32 x 2))) (*.f32 2 (/.f32 1 (pow.f32 x 3)))))
(*.f32 2 x)
(+.f32 (*.f32 2 x) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2 x) (*.f32 (pow.f32 x 3) 2/3))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3))
(+.f32 (*.f32 2/7 (pow.f32 x 7)) (+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))))
(+.f32 (+.f32 (*.f32 2 x) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))) (*.f32 2/7 (pow.f32 x 7)))
(+.f32 (+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3)) (*.f32 2/7 (pow.f32 x 7)))
(+.f32 (*.f32 2 x) (+.f32 (+.f32 (*.f32 2/7 (pow.f32 x 7)) (*.f32 (pow.f32 x 3) 2/3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/7 (pow.f32 x 7)))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/7 (pow.f32 x 7)))))
(log.f32 -1)
(+.f32 (log.f32 -1) (*.f32 2 (/.f32 1 x)))
(+.f32 (*.f32 2 (/.f32 1 x)) (log.f32 -1))
(+.f32 (*.f32 2/3 (/.f32 1 (pow.f32 x 3))) (+.f32 (log.f32 -1) (*.f32 2 (/.f32 1 x))))
(+.f32 (+.f32 (*.f32 2 (/.f32 1 x)) (log.f32 -1)) (*.f32 (/.f32 1 (pow.f32 x 3)) 2/3))
(+.f32 (*.f32 2/3 (/.f32 1 (pow.f32 x 3))) (+.f32 (log.f32 -1) (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(+.f32 (*.f32 (/.f32 1 (pow.f32 x 3)) 2/3) (+.f32 (log.f32 -1) (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(+.f32 (log.f32 -1) (+.f32 (*.f32 (/.f32 1 (pow.f32 x 3)) 2/3) (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(+.f32 (log.f32 -1) (+.f32 (*.f32 2 (/.f32 1 x)) (+.f32 (*.f32 (/.f32 1 (pow.f32 x 3)) 2/3) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(log.f32 -1)
(+.f32 (log.f32 -1) (*.f32 2 (/.f32 1 x)))
(+.f32 (*.f32 2 (/.f32 1 x)) (log.f32 -1))
(+.f32 (*.f32 2/3 (/.f32 1 (pow.f32 x 3))) (+.f32 (log.f32 -1) (*.f32 2 (/.f32 1 x))))
(+.f32 (+.f32 (*.f32 2 (/.f32 1 x)) (log.f32 -1)) (*.f32 (/.f32 1 (pow.f32 x 3)) 2/3))
(+.f32 (*.f32 2/3 (/.f32 1 (pow.f32 x 3))) (+.f32 (log.f32 -1) (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(+.f32 (*.f32 (/.f32 1 (pow.f32 x 3)) 2/3) (+.f32 (log.f32 -1) (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(+.f32 (log.f32 -1) (+.f32 (*.f32 (/.f32 1 (pow.f32 x 3)) 2/3) (+.f32 (*.f32 2 (/.f32 1 x)) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(+.f32 (log.f32 -1) (+.f32 (*.f32 2 (/.f32 1 x)) (+.f32 (*.f32 (/.f32 1 (pow.f32 x 3)) 2/3) (*.f32 2/5 (/.f32 1 (pow.f32 x 5))))))
(+.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)) 0)
(/.f32 (*.f32 2 x) (-.f32 1 x))
(+.f32 0 (/.f32 (*.f32 2 x) (-.f32 1 x)))
(/.f32 (*.f32 2 x) (-.f32 1 x))
(-.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)) 0)
(/.f32 (*.f32 2 x) (-.f32 1 x))
(-.f32 0 (/.f32 (*.f32 2 x) (+.f32 -1 x)))
(/.f32 (*.f32 2 x) (-.f32 1 x))
(*.f32 1 (/.f32 (*.f32 2 x) (-.f32 1 x)))
(/.f32 (*.f32 2 x) (-.f32 1 x))
(*.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)) 1)
(/.f32 (*.f32 2 x) (-.f32 1 x))
(*.f32 -1 (/.f32 (*.f32 2 x) (+.f32 -1 x)))
(/.f32 (*.f32 2 x) (-.f32 1 x))
(*.f32 (/.f32 (*.f32 2 x) (+.f32 -1 x)) -1)
(/.f32 (*.f32 2 x) (-.f32 1 x))
(neg.f32 (/.f32 (*.f32 2 x) (+.f32 -1 x)))
(/.f32 (*.f32 2 x) (-.f32 1 x))
(+.f32 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))) 0)
(+.f32 0 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
(+.f32 0 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
(*.f32 1 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
(*.f32 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))) 1)
(*.f32 1 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))

eval21.0ms (1.3%)

Compiler

Compiled 1006 to 863 computations (14.2% saved)

prune14.0ms (0.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New53659
Fresh000
Picked011
Done000
Total53760
Error
0.0b
Counts
60 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
0.3b
(*.f32 1/2 (+.f32 (+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3)) (*.f32 2/7 (pow.f32 x 7))))
0.4b
(*.f32 1/2 (+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3)))
0.4b
(*.f32 1/2 (+.f32 (*.f32 2 x) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))))
0.7b
(*.f32 1/2 (+.f32 (*.f32 2 x) (*.f32 (pow.f32 x 3) 2/3)))
0.1b
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
2.6b
(*.f32 1/2 (log1p.f32 (*.f32 2 x)))
32.0b
(*.f32 1/2 (log1p.f32 -2))
Compiler

Compiled 179 to 151 computations (15.6% saved)

localize83.0ms (5.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3))
0.1b
(*.f32 2/5 (pow.f32 x 5))
0.1b
(*.f32 2/7 (pow.f32 x 7))
0.2b
(*.f32 (pow.f32 x 3) 2/3)
Compiler

Compiled 105 to 84 computations (20% saved)

series4.0ms (0.2%)

Counts
4 → 24
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f32 2/7 (pow.f32 x 7))
0.0ms
x
@0
(*.f32 (pow.f32 x 3) 2/3)
0.0ms
x
@0
(*.f32 2/5 (pow.f32 x 5))
0.0ms
x
@inf
(+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3))
0.0ms
x
@inf
(*.f32 (pow.f32 x 3) 2/3)

rewrite7.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
54×bool.json-1
44×rational.json-simplify-1
40×rational.json-simplify-2
36×rational.json-1
36×rational.json-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01982
18682
212682
314882
415682
Stop Event
saturated
Counts
4 → 8
Calls
Call 1
Inputs
(*.f32 (pow.f32 x 3) 2/3)
(*.f32 2/7 (pow.f32 x 7))
(*.f32 2/5 (pow.f32 x 5))
(+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f32 (*.f32 (pow.f32 x 3) 2/3) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f32 0 (*.f32 (pow.f32 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f32 (pow.f32 x 3) 2/3) (*.f32 (pow.f32 x 3) 2/3))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f32 (*.f32 2/7 (pow.f32 x 7)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f32 0 (*.f32 2/7 (pow.f32 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f32 2/7 (pow.f32 x 7)) (*.f32 2/7 (pow.f32 x 7)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f32 (*.f32 2/5 (pow.f32 x 5)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f32 0 (*.f32 2/5 (pow.f32 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x or (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/5 (pow.f32 x 5)))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f32 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f32 (*.f32 (pow.f32 x 3) 2/3) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 x 2))) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 x 2))))))))

simplify9.0ms (0.6%)

Algorithm
egg-herbie
Rules
18×rational.json-simplify-1
10×rational.json-simplify-2
rational.json-simplify-33
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034746
151746
252746
Stop Event
saturated
Counts
32 → 20
Calls
Call 1
Inputs
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2 x)
(+.f32 (*.f32 2 x) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(*.f32 2/5 (pow.f32 x 5))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(*.f32 2/5 (pow.f32 x 5))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 (pow.f32 x 3) 2/3) 0)
(+.f32 0 (*.f32 (pow.f32 x 3) 2/3))
(+.f32 (*.f32 2/7 (pow.f32 x 7)) 0)
(+.f32 0 (*.f32 2/7 (pow.f32 x 7)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) 0)
(+.f32 0 (*.f32 2/5 (pow.f32 x 5)))
(*.f32 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 x 2))) 1)
(*.f32 1 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 x 2))))
Outputs
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2/3 (pow.f32 x 3))
(*.f32 2 x)
(*.f32 x 2)
(+.f32 (*.f32 2 x) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 x 2) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (+.f32 (*.f32 x 2) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (+.f32 (*.f32 x 2) (*.f32 2/5 (pow.f32 x 5))))
(*.f32 2/5 (pow.f32 x 5))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (+.f32 (*.f32 x 2) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (+.f32 (*.f32 x 2) (*.f32 2/5 (pow.f32 x 5))))
(*.f32 2/5 (pow.f32 x 5))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (+.f32 (*.f32 x 2) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (+.f32 (*.f32 x 2) (*.f32 2/5 (pow.f32 x 5))))
(+.f32 (*.f32 (pow.f32 x 3) 2/3) 0)
(+.f32 (*.f32 2/3 (pow.f32 x 3)) 0)
(+.f32 0 (*.f32 (pow.f32 x 3) 2/3))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) 0)
(+.f32 (*.f32 2/7 (pow.f32 x 7)) 0)
(+.f32 0 (*.f32 2/7 (pow.f32 x 7)))
(+.f32 0 (*.f32 2/7 (pow.f32 x 7)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) 0)
(+.f32 0 (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) 0)
(*.f32 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 x 2))) 1)
(*.f32 (+.f32 (*.f32 2/3 (pow.f32 x 3)) (+.f32 (*.f32 x 2) (*.f32 2/5 (pow.f32 x 5)))) 1)
(*.f32 1 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 x 2))))
(*.f32 (+.f32 (*.f32 2/3 (pow.f32 x 3)) (+.f32 (*.f32 x 2) (*.f32 2/5 (pow.f32 x 5)))) 1)

localize14.0ms (0.9%)

Compiler

Compiled 9 to 9 computations (0% saved)

localize18.0ms (1.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(log1p.f32 (*.f32 2 x))
Compiler

Compiled 17 to 13 computations (23.5% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(log1p.f32 (*.f32 2 x))
0.0ms
x
@-inf
(log1p.f32 (*.f32 2 x))
0.0ms
x
@0
(log1p.f32 (*.f32 2 x))

rewrite5.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
22×bool.json-1
18×rational.json-simplify-2
16×rational.json-1
16×rational.json-2
16×rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
13311
25711
36211
Stop Event
saturated
Counts
1 → 4
Calls
Call 1
Inputs
(log1p.f32 (*.f32 2 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f32 (log1p.f32 (*.f32 2 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f32 0 (log1p.f32 (*.f32 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 (log1p.f32 (*.f32 2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (log1p.f32 (*.f32 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x or (log1p.f32 (*.f32 2 x)) (log1p.f32 (*.f32 2 x)))))))

simplify115.0ms (7.2%)

Algorithm
egg-herbie
Rules
1806×rational.json-simplify-27
1198×rational.json-simplify-1
1164×rational.json-simplify-29
980×rational.json-simplify-33
944×rational.json-simplify-34
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
064672
1120672
2229672
3605672
41612672
53395672
64171672
74473672
84678672
94805672
104830672
116223672
126303672
136303672
146331672
156334672
166334672
Stop Event
saturated
Counts
16 → 55
Calls
Call 1
Inputs
(*.f32 2 x)
(+.f32 (*.f32 -2 (pow.f32 x 2)) (*.f32 2 x))
(+.f32 (*.f32 -2 (pow.f32 x 2)) (+.f32 (*.f32 8/3 (pow.f32 x 3)) (*.f32 2 x)))
(+.f32 (*.f32 -2 (pow.f32 x 2)) (+.f32 (*.f32 8/3 (pow.f32 x 3)) (+.f32 (*.f32 2 x) (*.f32 -4 (pow.f32 x 4)))))
(+.f32 (log.f32 2) (*.f32 -1 (log.f32 (/.f32 1 x))))
(+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (+.f32 (log.f32 2) (*.f32 1/2 (/.f32 1 x))))
(-.f32 (+.f32 (*.f32 1/2 (/.f32 1 x)) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (log.f32 2))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(-.f32 (+.f32 (*.f32 1/2 (/.f32 1 x)) (+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (log.f32 2)))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (log.f32 -2))
(+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (+.f32 (*.f32 1/2 (/.f32 1 x)) (log.f32 -2)))
(-.f32 (+.f32 (*.f32 1/2 (/.f32 1 x)) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (log.f32 -2))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(-.f32 (+.f32 (*.f32 1/2 (/.f32 1 x)) (+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (log.f32 -2)))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(+.f32 (log1p.f32 (*.f32 2 x)) 0)
(+.f32 0 (log1p.f32 (*.f32 2 x)))
(*.f32 (log1p.f32 (*.f32 2 x)) 1)
(*.f32 1 (log1p.f32 (*.f32 2 x)))
Outputs
(*.f32 2 x)
(+.f32 (*.f32 -2 (pow.f32 x 2)) (*.f32 2 x))
(+.f32 (*.f32 2 x) (*.f32 -2 (pow.f32 x 2)))
(+.f32 (*.f32 -2 (pow.f32 x 2)) (+.f32 (*.f32 8/3 (pow.f32 x 3)) (*.f32 2 x)))
(+.f32 (*.f32 -2 (pow.f32 x 2)) (+.f32 (*.f32 2 x) (*.f32 8/3 (pow.f32 x 3))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 -2 (pow.f32 x 2)) (*.f32 8/3 (pow.f32 x 3))))
(+.f32 (*.f32 -2 (pow.f32 x 2)) (+.f32 (*.f32 8/3 (pow.f32 x 3)) (+.f32 (*.f32 2 x) (*.f32 -4 (pow.f32 x 4)))))
(+.f32 (+.f32 (*.f32 -2 (pow.f32 x 2)) (+.f32 (*.f32 8/3 (pow.f32 x 3)) (*.f32 -4 (pow.f32 x 4)))) (*.f32 2 x))
(+.f32 (*.f32 -2 (pow.f32 x 2)) (+.f32 (*.f32 2 x) (+.f32 (*.f32 8/3 (pow.f32 x 3)) (*.f32 -4 (pow.f32 x 4)))))
(+.f32 (*.f32 2 x) (+.f32 (*.f32 -2 (pow.f32 x 2)) (+.f32 (*.f32 8/3 (pow.f32 x 3)) (*.f32 -4 (pow.f32 x 4)))))
(+.f32 (log.f32 2) (*.f32 -1 (log.f32 (/.f32 1 x))))
(+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (+.f32 (log.f32 2) (*.f32 1/2 (/.f32 1 x))))
(+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (+.f32 (log.f32 2) (*.f32 (/.f32 1 x) 1/2)))
(+.f32 (log.f32 2) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (*.f32 (/.f32 1 x) 1/2)))
(+.f32 (log.f32 2) (-.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (*.f32 (/.f32 1 x) -1/2)))
(+.f32 (log.f32 2) (-.f32 (*.f32 (/.f32 1 x) 1/2) (*.f32 1 (log.f32 (/.f32 1 x)))))
(-.f32 (+.f32 (*.f32 1/2 (/.f32 1 x)) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (log.f32 2))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(-.f32 (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (+.f32 (log.f32 2) (*.f32 (/.f32 1 x) 1/2))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(-.f32 (+.f32 (log.f32 2) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (*.f32 (/.f32 1 x) 1/2))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(+.f32 (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (*.f32 (/.f32 1 x) 1/2)) (+.f32 (log.f32 2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8)))
(+.f32 (log.f32 2) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (+.f32 (*.f32 (/.f32 1 x) 1/2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))))
(+.f32 (-.f32 (*.f32 (/.f32 1 x) 1/2) (*.f32 1 (log.f32 (/.f32 1 x)))) (+.f32 (log.f32 2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8)))
(-.f32 (+.f32 (*.f32 1/2 (/.f32 1 x)) (+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (log.f32 2)))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(-.f32 (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (*.f32 -1 (log.f32 (/.f32 1 x)))) (log.f32 2))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(-.f32 (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (log.f32 2) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (*.f32 1/24 (/.f32 1 (pow.f32 x 3)))))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(+.f32 (-.f32 (+.f32 (log.f32 2) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (*.f32 (/.f32 1 x) 1/2))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2)))) (*.f32 1/24 (/.f32 1 (pow.f32 x 3))))
(+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (+.f32 (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (*.f32 (/.f32 1 x) 1/2)) (+.f32 (log.f32 2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))))
(+.f32 (log.f32 2) (+.f32 (*.f32 -1 (log.f32 (/.f32 1 x))) (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8)))))
(-.f32 (+.f32 (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8) (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (log.f32 2) (*.f32 1/24 (/.f32 1 (pow.f32 x 3)))))) (*.f32 (log.f32 (/.f32 1 x)) 1))
(-.f32 (+.f32 (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8) (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (log.f32 2) (*.f32 1/24 (/.f32 1 (pow.f32 x 3)))))) (*.f32 1 (log.f32 (/.f32 1 x))))
(+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (+.f32 (-.f32 (*.f32 (/.f32 1 x) 1/2) (*.f32 1 (log.f32 (/.f32 1 x)))) (+.f32 (log.f32 2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))))
(+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (log.f32 -2))
(+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (+.f32 (*.f32 1/2 (/.f32 1 x)) (log.f32 -2)))
(+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (+.f32 (*.f32 (/.f32 1 x) 1/2) (log.f32 -2)))
(+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (log.f32 -2)))
(-.f32 (+.f32 (*.f32 (/.f32 1 x) 1/2) (log.f32 -2)) (*.f32 1 (log.f32 (/.f32 -1 x))))
(-.f32 (+.f32 (*.f32 1/2 (/.f32 1 x)) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (log.f32 -2))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(-.f32 (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (log.f32 -2))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (log.f32 -2) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))))
(+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (+.f32 (log.f32 -2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))))
(-.f32 (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (log.f32 -2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))) (*.f32 (log.f32 (/.f32 -1 x)) 1))
(-.f32 (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (log.f32 -2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))) (*.f32 1 (log.f32 (/.f32 -1 x))))
(+.f32 (-.f32 (*.f32 (/.f32 1 x) 1/2) (*.f32 1 (log.f32 (/.f32 -1 x)))) (+.f32 (log.f32 -2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8)))
(-.f32 (+.f32 (*.f32 1/2 (/.f32 1 x)) (+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (log.f32 -2)))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(-.f32 (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (log.f32 -2)))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(-.f32 (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (+.f32 (log.f32 -2) (+.f32 (*.f32 (/.f32 1 x) 1/2) (*.f32 1/24 (/.f32 1 (pow.f32 x 3)))))) (*.f32 1/8 (/.f32 1 (pow.f32 x 2))))
(+.f32 (*.f32 (/.f32 1 x) 1/2) (-.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (-.f32 (-.f32 (*.f32 1/8 (/.f32 1 (pow.f32 x 2))) (*.f32 -1 (log.f32 (/.f32 -1 x)))) (log.f32 -2))))
(+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (+.f32 (*.f32 -1 (log.f32 (/.f32 -1 x))) (+.f32 (log.f32 -2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8)))))
(+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (-.f32 (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (log.f32 -2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))) (*.f32 (log.f32 (/.f32 -1 x)) 1)))
(+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (-.f32 (+.f32 (*.f32 (/.f32 1 x) 1/2) (+.f32 (log.f32 -2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))) (*.f32 1 (log.f32 (/.f32 -1 x)))))
(+.f32 (*.f32 1/24 (/.f32 1 (pow.f32 x 3))) (+.f32 (-.f32 (*.f32 (/.f32 1 x) 1/2) (*.f32 1 (log.f32 (/.f32 -1 x)))) (+.f32 (log.f32 -2) (*.f32 (/.f32 1 (pow.f32 x 2)) -1/8))))
(+.f32 (log1p.f32 (*.f32 2 x)) 0)
(+.f32 0 (log1p.f32 (*.f32 2 x)))
(+.f32 (log1p.f32 (*.f32 2 x)) 0)
(*.f32 (log1p.f32 (*.f32 2 x)) 1)
(*.f32 1 (log1p.f32 (*.f32 2 x)))
(*.f32 1 (log1p.f32 (*.f32 2 x)))

localize37.0ms (2.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f32 (pow.f32 x 3) 2/3)
Compiler

Compiled 37 to 29 computations (21.6% saved)

localize65.0ms (4.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))
0.1b
(*.f32 2/5 (pow.f32 x 5))
0.2b
(*.f32 (pow.f32 x 3) 2/3)
Compiler

Compiled 70 to 56 computations (20% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))
0.0ms
x
@0
(+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))
0.0ms
x
@-inf
(+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))

rewrite8.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
32×bool.json-1
24×rational.json-simplify-2
22×rational.json-simplify-1
20×rational.json-1
20×rational.json-2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01231
15531
28331
38931
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f32 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f32 1 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x or (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5))) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5))))))))

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Rules
rational.json-simplify-2
rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
018392
120392
Stop Event
saturated
Counts
14 → 7
Calls
Call 1
Inputs
(*.f32 2/3 (pow.f32 x 3))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(*.f32 2/5 (pow.f32 x 5))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(*.f32 2/5 (pow.f32 x 5))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(*.f32 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5))) 1)
(*.f32 1 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5))))
Outputs
(*.f32 2/3 (pow.f32 x 3))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(*.f32 2/5 (pow.f32 x 5))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(*.f32 2/5 (pow.f32 x 5))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(+.f32 (*.f32 2/3 (pow.f32 x 3)) (*.f32 2/5 (pow.f32 x 5)))
(+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3)))
(*.f32 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5))) 1)
(*.f32 (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3))) 1)
(*.f32 1 (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5))))
(*.f32 (+.f32 (*.f32 2/5 (pow.f32 x 5)) (*.f32 2/3 (pow.f32 x 3))) 1)

eval43.0ms (2.7%)

Compiler

Compiled 1965 to 1689 computations (14% saved)

prune17.0ms (1.1%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New91192
Fresh011
Picked011
Done235
Total93699
Error
0.0b
Counts
99 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.3b
(*.f32 1/2 (+.f32 (+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3)) (*.f32 2/7 (pow.f32 x 7))))
0.4b
(*.f32 1/2 (+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3)))
0.4b
(*.f32 1/2 (+.f32 (*.f32 2 x) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))))
0.7b
(*.f32 1/2 (+.f32 (*.f32 2 x) (*.f32 (pow.f32 x 3) 2/3)))
1.3b
(*.f32 1/2 (*.f32 2 x))
0.1b
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
Compiler

Compiled 89 to 74 computations (16.9% saved)

localize12.0ms (0.8%)

Compiler

Compiled 12 to 9 computations (25% saved)

localize60.0ms (3.8%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3))
0.1b
(*.f32 2/5 (pow.f32 x 5))
0.2b
(*.f32 (pow.f32 x 3) 2/3)
Compiler

Compiled 68 to 54 computations (20.6% saved)

eval6.0ms (0.4%)

Compiler

Compiled 269 to 225 computations (16.4% saved)

prune6.0ms (0.4%)

Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New18018
Fresh000
Picked011
Done055
Total18624
Error
0.0b
Counts
24 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.3b
(*.f32 1/2 (+.f32 (+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3)) (*.f32 2/7 (pow.f32 x 7))))
0.4b
(*.f32 1/2 (+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3)))
0.4b
(*.f32 1/2 (+.f32 (*.f32 2 x) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))))
0.7b
(*.f32 1/2 (+.f32 (*.f32 2 x) (*.f32 (pow.f32 x 3) 2/3)))
1.3b
(*.f32 1/2 (*.f32 2 x))
0.1b
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
Compiler

Compiled 89 to 74 computations (16.9% saved)

regimes24.0ms (1.5%)

Counts
8 → 1
Calls
Call 1
Inputs
(*.f32 1/2 (*.f32 2 x))
(*.f32 1/2 (log1p.f32 -2))
(*.f32 1/2 (log1p.f32 (*.f32 2 x)))
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
(*.f32 1/2 (+.f32 (*.f32 2 x) (*.f32 (pow.f32 x 3) 2/3)))
(*.f32 1/2 (+.f32 (*.f32 2 x) (+.f32 (*.f32 (pow.f32 x 3) 2/3) (*.f32 2/5 (pow.f32 x 5)))))
(*.f32 1/2 (+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3)))
(*.f32 1/2 (+.f32 (+.f32 (+.f32 (*.f32 2 x) (*.f32 2/5 (pow.f32 x 5))) (*.f32 (pow.f32 x 3) 2/3)) (*.f32 2/7 (pow.f32 x 7))))
Outputs
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
Calls

4 calls:

6.0ms
(log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)))
5.0ms
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
5.0ms
(/.f32 (*.f32 2 x) (-.f32 1 x))
5.0ms
x
Results
ErrorSegmentsBranch
0.1b1x
0.1b1(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
0.1b1(log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x)))
0.1b1(/.f32 (*.f32 2 x) (-.f32 1 x))
Compiler

Compiled 124 to 101 computations (18.5% saved)

regimes5.0ms (0.3%)

Accuracy

Total -30.7b remaining (-2428%)

Threshold costs -30.7b (-2428%)

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

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
1.3b1x
Compiler

Compiled 18 to 15 computations (16.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01342
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
(*.f32 1/2 (*.f32 2 x))
Outputs
(*.f32 1/2 (log1p.f32 (/.f32 (*.f32 2 x) (-.f32 1 x))))
(*.f32 1/2 (*.f32 2 x))
Compiler

Compiled 17 to 14 computations (17.6% saved)

soundness0.0ms (0%)

end15.0ms (1%)

Compiler

Compiled 16 to 13 computations (18.8% saved)

Profiling

Loading profile data...