Details

Time bar (total: 9.3s)

sample342.0ms

Algorithm
intervals
Results
44.0ms471×body80valid
16.0msbody1280valid
3.0msbody640valid
3.0msbody320valid
2.0ms11×body160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
010959
141756
2213653
3500152

prune22.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 2

localize53.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
5.6b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
5.6b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
7.0b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
91×*-un-lft-identity
69×prod-diff
65×add-cube-cbrt
61×times-frac
21×fma-neg
18×pow1 add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
pow-prod-down prod-exp cbrt-unprod
associate-/r/
add-log-exp
distribute-rgt-in distribute-lft-in
expm1-log1p-u flip3-+ associate-*r* associate-*l* flip-+ log1p-expm1-u div-inv
sub-neg
flip3-- associate-*r/ *-commutative flip--
associate--l- diff-log div-sub fma-udef unswap-sqr
Counts
4 → 168
Calls
4 calls:
19.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
18.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
3.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

series549.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
43.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
93.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
306.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0)))

simplify114.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
08513320
134782548
250022518

prune896.0ms

Filtered
180 candidates to 98 candidates (54.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1728180
Fresh011
Picked101
Done000
Total1739182

Merged error: 0.1b

Counts
182 → 9

localize48.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
3.0b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
5.6b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
7.0b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
90×*-un-lft-identity
64×add-cube-cbrt
63×prod-diff
61×times-frac
21×fma-neg
15×pow1 add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
associate-/r/
pow-prod-down prod-exp cbrt-unprod
associate-*l* add-log-exp
expm1-log1p-u flip3-+ associate-*r* flip-+ log1p-expm1-u div-inv
fma-udef
*-commutative
associate--l- distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log div-sub flip-- unswap-sqr
Counts
4 → 157
Calls
4 calls:
4.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
19.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
1.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

series550.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
112.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
43.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
290.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0)))))

simplify98.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07173060
129072355
250012328

prune905.0ms

Filtered
169 candidates to 93 candidates (55.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1681169
Fresh088
Picked011
Done000
Total16810178

Merged error: 0.1b

Counts
178 → 10

localize50.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
5.6b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
5.6b
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
7.0b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
63×add-cube-cbrt prod-diff
61×times-frac
23×add-exp-log
21×fma-neg
18×add-cbrt-cube
15×pow1
14×difference-of-squares
13×prod-exp distribute-lft-out--
cbrt-unprod
associate-/r/
pow-prod-down
add-log-exp
expm1-log1p-u flip3-+ associate-*r* associate-*l* flip-+ log1p-expm1-u div-inv
fma-udef
*-commutative
associate--l- distribute-rgt-in pow-to-exp sub-neg flip3-- distribute-lft-in diff-log div-sub pow-exp flip--
Counts
4 → 158
Calls
4 calls:
19.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
6.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
6.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
1.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

series477.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
43.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
48.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
274.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

simplify105.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07672997
131952275
250012248

prune905.0ms

Filtered
170 candidates to 91 candidates (53.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1682170
Fresh178
Picked101
Done011
Total17010180

Merged error: 0.1b

Counts
180 → 10

localize60.0ms

Local error

Found 4 expressions with local error:

3.0b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
5.5b
(fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3))))
5.6b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
7.0b
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3)))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt
88×*-un-lft-identity
63×prod-diff
62×add-cube-cbrt
61×times-frac
21×fma-neg
14×difference-of-squares
13×pow1 add-exp-log add-cbrt-cube distribute-lft-out--
associate-/r/
pow-prod-down prod-exp cbrt-unprod add-log-exp
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u div-inv
associate-*l*
fma-udef
associate--l- sub-neg flip3-- diff-log div-sub associate-*r* *-commutative flip--
Counts
4 → 145
Calls
4 calls:
19.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
1.0ms
(fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3))))
7.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
1.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3)))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

series489.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
44.0ms
(fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3))))
50.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
284.0ms
(fma (* (- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0) 2.0) (/ (* x1 (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1))) (fma x1 x1 1.0)) (+ (/ (fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3)))) (fma x1 x1 1.0)) (* (* x1 x1) (- 6.0))))

simplify93.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06692889
124422207
250022180

prune968.0ms

Filtered
157 candidates to 85 candidates (54.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1570157
Fresh088
Picked011
Done011
Total15710167

Merged error: 0.1b

Counts
167 → 10

regimes428.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05551
15951
26051
36051

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.2s13679×body80valid
155.0ms431×body640valid
92.0ms195×body1280valid
82.0ms313×body320valid
30.0ms158×body160valid