Details

Time bar (total: 9.5s)

sample357.0ms

Algorithm
intervals
Results
65.0ms450×body80valid
8.0ms19×body640valid
4.0ms13×body320valid
1.0msbody160valid
1.0msbody1280valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
010959
141756
2213653
3500152

prune23.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

localize54.0ms

Local error

Found 4 expressions with local error:

4.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.9b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
5.0b
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
6.6b
(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)))

rewrite58.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:
20.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)))

series537.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
42.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
91.0ms
(* (* x1 x1) (- (* 4.0 (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0))) 6.0))
298.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)))

simplify117.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
08513320
134782548
250022518

prune875.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

localize50.0ms

Local error

Found 4 expressions with local error:

4.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.9b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
4.9b
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
6.6b
(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))))

rewrite42.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:
20.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))
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))))

series452.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
42.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
45.0ms
(* (* (pow x1 2) 4.0) (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)))
261.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))))

simplify106.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07672997
131952275
250012248

prune904.0ms

Filtered
170 candidates to 92 candidates (54.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1673170
Fresh178
Picked101
Done000
Total16910179

Merged error: 0.1b

Counts
179 → 10

localize56.0ms

Local error

Found 4 expressions with local error:

4.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.8b
(fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3))))
4.9b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
6.6b
(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))))
6.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))))

series458.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
45.0ms
(fma (* 8.0 (pow x1 2)) x2 (- (* 12.0 (pow x1 4)) (* 4.0 (pow x1 3))))
42.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
269.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))))

simplify87.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06692889
124422207
250022180

prune1.0s

Filtered
157 candidates to 86 candidates (54.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1561157
Fresh279
Picked011
Done000
Total1589167

Merged error: 0.1b

Counts
167 → 9

localize47.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))))
4.6b
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
4.9b
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
6.6b
(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)))))

rewrite39.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))))
20.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)))))

series546.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* x1 (fma x1 (/ (* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) 4.0) (fma x1 x1 1.0)) (* x1 (- 6.0))))
104.0ms
(- (/ (- (+ (* (* 3.0 x1) x1) (* 2.0 x2)) x1) (+ (* x1 x1) 1.0)) 3.0)
48.0ms
(* (fma 3.0 (* x1 x1) (- (* 2.0 x2) x1)) (* (* 3.0 x1) x1))
289.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)))))

simplify106.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
07173060
129072355
250012328

prune841.0ms

Filtered
169 candidates to 94 candidates (55.6%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1681169
Fresh077
Picked011
Done011
Total16810178

Merged error: 0.1b

Counts
178 → 10

regimes455.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
06854
17254
27654
37654

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.5s13903×body80valid
166.0ms402×body640valid
92.0ms169×body1280valid
90.0ms282×body320valid
36.0ms174×body160valid